2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME
='libgfortran'
559 PACKAGE_VERSION
='0.3'
560 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
562 PACKAGE_URL
='http://www.gnu.org/software/libgfortran/'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
604 ac_subst_vars
='am__EXEEXT_FALSE
610 LIBGFOR_BUILD_QUAD_FALSE
611 LIBGFOR_BUILD_QUAD_TRUE
616 extra_ldflags_libgfortran
641 LIBGFOR_USE_SYMVER_SUN_FALSE
642 LIBGFOR_USE_SYMVER_SUN_TRUE
643 LIBGFOR_USE_SYMVER_GNU_FALSE
644 LIBGFOR_USE_SYMVER_GNU_TRUE
645 LIBGFOR_USE_SYMVER_FALSE
646 LIBGFOR_USE_SYMVER_TRUE
673 MAINTAINER_MODE_FALSE
683 INSTALL_STRIP_PROGRAM
745 program_transform_name
758 enable_option_checking
760 enable_version_specific_runtime_libs
762 enable_maintainer_mode
764 enable_dependency_tracking
773 enable_libquadmath_support
774 with_system_libunwind
776 ac_precious_vars
='build_alias
789 # Initialize some variables set by options.
791 ac_init_version
=false
792 ac_unrecognized_opts
=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
803 program_transform_name
=s
,x
,x
,
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir
='${exec_prefix}/bin'
818 sbindir
='${exec_prefix}/sbin'
819 libexecdir
='${exec_prefix}/libexec'
820 datarootdir
='${prefix}/share'
821 datadir
='${datarootdir}'
822 sysconfdir
='${prefix}/etc'
823 sharedstatedir
='${prefix}/com'
824 localstatedir
='${prefix}/var'
825 includedir
='${prefix}/include'
826 oldincludedir
='/usr/include'
827 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir
='${datarootdir}/info'
833 libdir
='${exec_prefix}/lib'
834 localedir
='${datarootdir}/locale'
835 mandir
='${datarootdir}/man'
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\
$ac_option
849 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
859 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
861 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
864 -build |
--build |
--buil |
--bui |
--bu)
865 ac_prev
=build_alias
;;
866 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
867 build_alias
=$ac_optarg ;;
869 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
870 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
871 ac_prev
=cache_file
;;
872 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
873 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
874 cache_file
=$ac_optarg ;;
877 cache_file
=config.cache
;;
879 -datadir |
--datadir |
--datadi |
--datad)
881 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
882 datadir
=$ac_optarg ;;
884 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
885 |
--dataroo |
--dataro |
--datar)
886 ac_prev
=datarootdir
;;
887 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
888 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
889 datarootdir
=$ac_optarg ;;
891 -disable-* |
--disable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=no
;;
907 -docdir |
--docdir |
--docdi |
--doc |
--do)
909 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
912 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
914 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
917 -enable-* |
--enable-*)
918 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
921 as_fn_error
"invalid feature name: $ac_useropt"
922 ac_useropt_orig
=$ac_useropt
923 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
928 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
929 ac_unrecognized_sep
=', ';;
931 eval enable_
$ac_useropt=\
$ac_optarg ;;
933 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
934 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
935 |
--exec |
--exe |
--ex)
936 ac_prev
=exec_prefix
;;
937 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
938 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
939 |
--exec=* |
--exe=* |
--ex=*)
940 exec_prefix
=$ac_optarg ;;
942 -gas |
--gas |
--ga |
--g)
943 # Obsolete; use --with-gas.
946 -help |
--help |
--hel |
--he |
-h)
948 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
949 ac_init_help
=recursive
;;
950 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
951 ac_init_help
=short
;;
953 -host |
--host |
--hos |
--ho)
954 ac_prev
=host_alias
;;
955 -host=* |
--host=* |
--hos=* |
--ho=*)
956 host_alias
=$ac_optarg ;;
958 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
960 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
962 htmldir
=$ac_optarg ;;
964 -includedir |
--includedir |
--includedi |
--included |
--include \
965 |
--includ |
--inclu |
--incl |
--inc)
966 ac_prev
=includedir
;;
967 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
968 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
969 includedir
=$ac_optarg ;;
971 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
973 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
974 infodir
=$ac_optarg ;;
976 -libdir |
--libdir |
--libdi |
--libd)
978 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
981 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
982 |
--libexe |
--libex |
--libe)
983 ac_prev
=libexecdir
;;
984 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
985 |
--libexe=* |
--libex=* |
--libe=*)
986 libexecdir
=$ac_optarg ;;
988 -localedir |
--localedir |
--localedi |
--localed |
--locale)
990 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
991 localedir
=$ac_optarg ;;
993 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
994 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
995 ac_prev
=localstatedir
;;
996 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
997 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
998 localstatedir
=$ac_optarg ;;
1000 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1002 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1003 mandir
=$ac_optarg ;;
1005 -nfp |
--nfp |
--nf)
1006 # Obsolete; use --without-fp.
1009 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1010 |
--no-cr |
--no-c |
-n)
1013 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1014 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1017 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1018 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1019 |
--oldin |
--oldi |
--old |
--ol |
--o)
1020 ac_prev
=oldincludedir
;;
1021 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1022 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1023 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1024 oldincludedir
=$ac_optarg ;;
1026 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1028 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1029 prefix
=$ac_optarg ;;
1031 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1032 |
--program-pre |
--program-pr |
--program-p)
1033 ac_prev
=program_prefix
;;
1034 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1035 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1036 program_prefix
=$ac_optarg ;;
1038 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1039 |
--program-suf |
--program-su |
--program-s)
1040 ac_prev
=program_suffix
;;
1041 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1042 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1043 program_suffix
=$ac_optarg ;;
1045 -program-transform-name |
--program-transform-name \
1046 |
--program-transform-nam |
--program-transform-na \
1047 |
--program-transform-n |
--program-transform- \
1048 |
--program-transform |
--program-transfor \
1049 |
--program-transfo |
--program-transf \
1050 |
--program-trans |
--program-tran \
1051 |
--progr-tra |
--program-tr |
--program-t)
1052 ac_prev
=program_transform_name
;;
1053 -program-transform-name=* |
--program-transform-name=* \
1054 |
--program-transform-nam=* |
--program-transform-na=* \
1055 |
--program-transform-n=* |
--program-transform-=* \
1056 |
--program-transform=* |
--program-transfor=* \
1057 |
--program-transfo=* |
--program-transf=* \
1058 |
--program-trans=* |
--program-tran=* \
1059 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1060 program_transform_name
=$ac_optarg ;;
1062 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1064 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1065 pdfdir
=$ac_optarg ;;
1067 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1069 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1072 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1073 |
-silent |
--silent |
--silen |
--sile |
--sil)
1076 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1078 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1080 sbindir
=$ac_optarg ;;
1082 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1083 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1084 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1086 ac_prev
=sharedstatedir
;;
1087 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1088 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1089 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1091 sharedstatedir
=$ac_optarg ;;
1093 -site |
--site |
--sit)
1095 -site=* |
--site=* |
--sit=*)
1098 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1100 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1101 srcdir
=$ac_optarg ;;
1103 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1104 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1105 ac_prev
=sysconfdir
;;
1106 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1107 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1108 sysconfdir
=$ac_optarg ;;
1110 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1111 ac_prev
=target_alias
;;
1112 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1113 target_alias
=$ac_optarg ;;
1115 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1118 -version |
--version |
--versio |
--versi |
--vers |
-V)
1119 ac_init_version
=: ;;
1122 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1125 as_fn_error
"invalid package name: $ac_useropt"
1126 ac_useropt_orig
=$ac_useropt
1127 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1132 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1133 ac_unrecognized_sep
=', ';;
1135 eval with_
$ac_useropt=\
$ac_optarg ;;
1137 -without-* |
--without-*)
1138 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1141 as_fn_error
"invalid package name: $ac_useropt"
1142 ac_useropt_orig
=$ac_useropt
1143 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1148 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149 ac_unrecognized_sep
=', ';;
1151 eval with_
$ac_useropt=no
;;
1154 # Obsolete; use --with-x.
1157 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1158 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1159 ac_prev
=x_includes
;;
1160 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1161 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1162 x_includes
=$ac_optarg ;;
1164 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1165 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1166 ac_prev
=x_libraries
;;
1167 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1168 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1169 x_libraries
=$ac_optarg ;;
1171 -*) as_fn_error
"unrecognized option: \`$ac_option'
1172 Try \`$0 --help' for more information."
1176 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 case $ac_envvar in #(
1179 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1180 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1182 eval $ac_envvar=\
$ac_optarg
1183 export $ac_envvar ;;
1186 # FIXME: should be removed in autoconf 3.0.
1187 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1188 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1189 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1190 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1196 if test -n "$ac_prev"; then
1197 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1198 as_fn_error
"missing argument to $ac_option"
1201 if test -n "$ac_unrecognized_opts"; then
1202 case $enable_option_checking in
1204 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209 # Check all directory arguments for consistency.
1210 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val
=\$
$ac_var
1216 # Remove trailing slashes.
1219 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\
$ac_val;;
1222 # Be sure to have absolute directory names.
1224 [\\/$
]* | ?
:[\\/]* ) continue;;
1225 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1227 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1235 target
=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x
; then
1239 if test "x$build_alias" = x
; then
1240 cross_compiling
=maybe
1241 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1242 If a cross compiler is detected then cross compile mode will be used." >&2
1243 elif test "x$build_alias" != "x$host_alias"; then
1249 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1251 test "$silent" = yes && exec 6>/dev
/null
1254 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di
=`ls -di .` &&
1256 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error
"working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error
"pwd does not report name of working directory"
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted
=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir
=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1294 ac_srcdir_defaulted
=no
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1298 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1300 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1312 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1314 for ac_var
in $ac_precious_vars; do
1315 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1317 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1322 # Report the --help message.
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1328 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1335 Defaults for the options are specified in brackets.
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1359 For better control, use the options below.
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1386 --program-prefix=PREFIX prepend PREFIX to installed program names
1387 --program-suffix=SUFFIX append SUFFIX to installed program names
1388 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1391 --build=BUILD configure
for building on BUILD
[guessed
]
1392 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1393 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1397 if test -n "$ac_init_help"; then
1398 case $ac_init_help in
1399 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1404 --disable-option-checking ignore unrecognized
--enable/--with options
1405 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1406 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1407 --enable-version-specific-runtime-libs
1408 specify that runtime libraries should be installed
1409 in a compiler-specific directory
1410 --enable-intermodule build the library
in one step
1411 --enable-maintainer-mode enable make rules and dependencies not useful
1412 (and sometimes confusing
) to the casual installer
1413 --enable-multilib build many library versions
(default
)
1414 --disable-dependency-tracking speeds up one-time build
1415 --enable-dependency-tracking do not reject slow dependency extractors
1416 --disable-symvers disable symbol versioning
for libgfortran
1417 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1418 --enable-static[=PKGS
] build static libraries
[default
=yes]
1419 --enable-fast-install[=PKGS
]
1420 optimize
for fast installation
[default
=yes]
1421 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1422 --disable-largefile omit support
for large files
1423 --disable-libquadmath-support
1424 disable libquadmath support
for Fortran
1427 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1428 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1429 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1430 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1432 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1433 --with-system-libunwind use installed libunwind
1435 Some influential environment variables
:
1436 CC C compiler
command
1437 CFLAGS C compiler flags
1438 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1439 nonstandard directory
<lib dir
>
1440 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1441 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1442 you have headers
in a nonstandard directory
<include dir
>
1444 FC Fortran compiler
command
1445 FCFLAGS Fortran compiler flags
1447 Use these variables to override the choices made by
`configure' or to help
1448 it to find libraries and programs with nonstandard names/locations.
1450 Report bugs to the package provider.
1451 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1452 General help using GNU software: <http://www.gnu.org/gethelp/>.
1457 if test "$ac_init_help" = "recursive"; then
1458 # If there are subdirs, report their specific --help.
1459 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1460 test -d "$ac_dir" ||
1461 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1468 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1476 ac_abs_top_builddir=$ac_pwd
1477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1478 # for backward compatibility:
1479 ac_top_builddir=$ac_top_build_prefix
1482 .) # We are building in place.
1484 ac_top_srcdir=$ac_top_builddir_sub
1485 ac_abs_top_srcdir=$ac_pwd ;;
1486 [\\/]* | ?:[\\/]* ) # Absolute name.
1487 ac_srcdir=$srcdir$ac_dir_suffix;
1488 ac_top_srcdir=$srcdir
1489 ac_abs_top_srcdir=$srcdir ;;
1491 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492 ac_top_srcdir=$ac_top_build_prefix$srcdir
1493 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1497 cd "$ac_dir" || { ac_status=$?; continue; }
1498 # Check for guested configure.
1499 if test -f "$ac_srcdir/configure.gnu"; then
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then
1504 $SHELL "$ac_srcdir/configure" --help=recursive
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1508 cd "$ac_pwd" || { ac_status=$?; break; }
1512 test -n "$ac_init_help" && exit $ac_status
1513 if $ac_init_version; then
1515 GNU Fortran Runtime Library configure 0.3
1516 generated by GNU Autoconf 2.64
1518 Copyright (C) 2009 Free Software Foundation, Inc.
1519 This configure script is free software; the Free Software Foundation
1520 gives unlimited permission to copy, distribute and modify it.
1525 ## ------------------------ ##
1526 ## Autoconf initialization. ##
1527 ## ------------------------ ##
1529 # ac_fn_c_try_compile LINENO
1530 # --------------------------
1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile ()
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext
1536 if { { ac_try="$ac_compile"
1538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1539 *) ac_try_echo
=$ac_try;;
1541 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1545 if test -s conftest.err
; then
1546 grep -v '^ *+' conftest.err
>conftest.er1
1547 cat conftest.er1
>&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.
$ac_objext; then :
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.
$ac_ext >&5
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1565 } # ac_fn_c_try_compile
1567 # ac_fn_c_try_cpp LINENO
1568 # ----------------------
1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1572 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1573 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } >/dev/null && {
1589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1599 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1604 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1607 # the include files in INCLUDES and setting the cache variable VAR
1609 ac_fn_c_check_header_mongrel ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 $as_echo_n "(cached) " >&6
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1622 # Is the header compilable?
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1624 $as_echo_n "checking $2 usability... " >&6; }
1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1630 if ac_fn_c_try_compile "$LINENO"; then :
1631 ac_header_compiler=yes
1633 ac_header_compiler=no
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1637 $as_echo "$ac_header_compiler" >&6; }
1639 # Is the header present?
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1641 $as_echo_n "checking $2 presence... " >&6; }
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1646 if ac_fn_c_try_cpp "$LINENO"; then :
1647 ac_header_preproc=yes
1649 ac_header_preproc=no
1651 rm -f conftest.err conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1653 $as_echo "$ac_header_preproc" >&6; }
1655 # So? What about this header?
1656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1659 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1665 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1667 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1669 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1671 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1679 $as_echo_n "(cached) " >&6
1681 eval "$3=\$ac_header_compiler"
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689 } # ac_fn_c_check_header_mongrel
1691 # ac_fn_c_try_run LINENO
1692 # ----------------------
1693 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1694 # that executables *can* be run.
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if { { ac_try="$ac_link"
1700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1701 *) ac_try_echo
=$ac_try;;
1703 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_link") 2>&5
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1709 { { case "(($ac_try" in
1710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_try") 2>&5
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; }; }; then :
1721 $as_echo "$as_me: program exited with status $ac_status" >&5
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1725 ac_retval=$ac_status
1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1734 # -------------------------------------------------------
1735 # Tests whether HEADER exists and can be compiled using the include files in
1736 # INCLUDES, setting the cache variable VAR accordingly.
1737 ac_fn_c_check_header_compile ()
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1743 $as_echo_n "(cached) " >&6
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1750 if ac_fn_c_try_compile "$LINENO"; then :
1755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 } # ac_fn_c_check_header_compile
1764 # ac_fn_c_try_link LINENO
1765 # -----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded.
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 rm -f conftest.$ac_objext conftest$ac_exeext
1771 if { { ac_try="$ac_link"
1773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1774 *) ac_try_echo
=$ac_try;;
1776 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_link") 2>conftest.err
1780 if test -s conftest.err
; then
1781 grep -v '^ *+' conftest.err
>conftest.er1
1782 cat conftest.er1
>&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } && {
1787 test -z "$ac_c_werror_flag" ||
1788 test ! -s conftest.err
1789 } && test -s conftest
$ac_exeext && {
1790 test "$cross_compiling" = yes ||
1791 $as_test_x conftest
$ac_exeext
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.
$ac_ext >&5
1800 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1801 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1802 # interfere with the next link command; also delete a directory that is
1803 # left behind by Apple's compiler. We do this before executing the actions.
1804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1808 } # ac_fn_c_try_link
1810 # ac_fn_c_check_func LINENO FUNC VAR
1811 # ----------------------------------
1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1813 ac_fn_c_check_func
()
1815 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1819 $as_echo_n "(cached) " >&6
1821 if test x
$gcc_no_link = xyes
; then
1822 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1828 #define $2 innocuous_$2
1830 /* System header to define __stub macros and hopefully few prototypes,
1831 which can conflict with char $2 (); below.
1832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833 <limits.h> exists even on freestanding compilers. */
1836 # include <limits.h>
1838 # include <assert.h>
1843 /* Override any GCC internal prototype to avoid an error.
1844 Use char because int might match the return type of a GCC
1845 builtin and then its argument prototype would still apply. */
1850 /* The GNU C library defines this for functions which it implements
1851 to always fail with ENOSYS. Some functions are actually named
1852 something starting with __ and the normal name is an alias. */
1853 #if defined __stub_$2 || defined __stub___$2
1865 if ac_fn_c_try_link
"$LINENO"; then :
1870 rm -f core conftest.err conftest.
$ac_objext \
1871 conftest
$ac_exeext conftest.
$ac_ext
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1878 } # ac_fn_c_check_func
1880 # ac_fn_fc_try_compile LINENO
1881 # ---------------------------
1882 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1883 ac_fn_fc_try_compile
()
1885 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1886 rm -f conftest.
$ac_objext
1887 if { { ac_try
="$ac_compile"
1889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_compile") 2>conftest.err
1896 if test -s conftest.err; then
1897 grep -v '^ *+' conftest.err >conftest.er1
1898 cat conftest.er1 >&5
1899 mv -f conftest.er1 conftest.err
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } && {
1903 test -z "$ac_fc_werror_flag" ||
1904 test ! -s conftest.err
1905 } && test -s conftest.$ac_objext; then :
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1916 } # ac_fn_fc_try_compile
1918 # ac_fn_fc_try_link LINENO
1919 # ------------------------
1920 # Try to link conftest.$ac_ext, and return whether this succeeded.
1921 ac_fn_fc_try_link ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 rm -f conftest.$ac_objext conftest$ac_exeext
1925 if { { ac_try="$ac_link"
1927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1928 *) ac_try_echo
=$ac_try;;
1930 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_link") 2>conftest.err
1934 if test -s conftest.err
; then
1935 grep -v '^ *+' conftest.err
>conftest.er1
1936 cat conftest.er1
>&5
1937 mv -f conftest.er1 conftest.err
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; } && {
1941 test -z "$ac_fc_werror_flag" ||
1942 test ! -s conftest.err
1943 } && test -s conftest
$ac_exeext && {
1944 test "$cross_compiling" = yes ||
1945 $as_test_x conftest
$ac_exeext
1949 $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.
$ac_ext >&5
1954 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1955 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1956 # interfere with the next link command; also delete a directory that is
1957 # left behind by Apple's compiler. We do this before executing the actions.
1958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1959 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1962 } # ac_fn_fc_try_link
1964 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1965 # -------------------------------------------
1966 # Tests whether TYPE exists after having included INCLUDES, setting cache
1967 # variable VAR accordingly.
1968 ac_fn_c_check_type
()
1970 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1972 $as_echo_n "checking for $2... " >&6; }
1973 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1974 $as_echo_n "(cached) " >&6
1977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1989 if ac_fn_c_try_compile
"$LINENO"; then :
1990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
2002 if ac_fn_c_try_compile
"$LINENO"; then :
2007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2016 } # ac_fn_c_check_type
2018 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2019 # --------------------------------------------
2020 # Tries to find the compile-time value of EXPR in a program that includes
2021 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2023 ac_fn_c_compute_int
()
2025 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2026 if test "$cross_compiling" = yes; then
2027 # Depending upon the size, compute the lo and hi bounds.
2028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2034 static int test_array [1 - 2 * !(($2) >= 0)];
2041 if ac_fn_c_try_compile
"$LINENO"; then :
2044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2050 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2057 if ac_fn_c_try_compile
"$LINENO"; then :
2058 ac_hi
=$ac_mid; break
2060 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2061 if test $ac_lo -le $ac_mid; then
2065 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2076 static int test_array [1 - 2 * !(($2) < 0)];
2083 if ac_fn_c_try_compile
"$LINENO"; then :
2086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2092 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2099 if ac_fn_c_try_compile
"$LINENO"; then :
2100 ac_lo
=$ac_mid; break
2102 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2103 if test $ac_mid -le $ac_hi; then
2107 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2117 # Binary search between lo and hi bounds.
2118 while test "x$ac_lo" != "x$ac_hi"; do
2119 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2126 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2133 if ac_fn_c_try_compile
"$LINENO"; then :
2136 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2141 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2148 static long int longval () { return $2; }
2149 static unsigned long int ulongval () { return $2; }
2156 FILE *f = fopen ("conftest.val", "w");
2161 long int i = longval ();
2164 fprintf (f, "%ld", i);
2168 unsigned long int i = ulongval ();
2171 fprintf (f, "%lu", i);
2173 /* Do not output a trailing newline, as this causes \r\n confusion
2174 on some platforms. */
2175 return ferror (f) || fclose (f) != 0;
2181 if ac_fn_c_try_run
"$LINENO"; then :
2182 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2186 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2187 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2191 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2194 } # ac_fn_c_compute_int
2196 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2197 # ----------------------------------------------------
2198 # Tries to find if the field MEMBER exists in type AGGR, after including
2199 # INCLUDES, setting cache variable VAR accordingly.
2200 ac_fn_c_check_member
()
2202 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2204 $as_echo_n "checking for $2.$3... " >&6; }
2205 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 $as_echo_n "(cached) " >&6
2208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2221 if ac_fn_c_try_compile
"$LINENO"; then :
2224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2231 if (sizeof ac_aggr.$3)
2237 if ac_fn_c_try_compile
"$LINENO"; then :
2242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2248 $as_echo "$ac_res" >&6; }
2249 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2251 } # ac_fn_c_check_member
2252 cat >config.log
<<_ACEOF
2253 This file contains any messages produced by compilers while
2254 running configure, to aid debugging if configure makes a mistake.
2256 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2257 generated by GNU Autoconf 2.64. Invocation command line was
2269 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2270 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2271 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2272 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2273 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2275 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2276 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2278 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2279 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2280 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2281 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2282 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2283 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2284 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir
=.
2293 $as_echo "PATH: $as_dir"
2309 # Keep a trace of the command line.
2310 # Strip out --no-create and --no-recursion so they do not pile up.
2311 # Strip out --silent because we don't want to record it for future runs.
2312 # Also quote any args containing shell meta-characters.
2313 # Make two passes to allow for proper duplicate-argument suppression.
2317 ac_must_keep_next
=false
2323 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2324 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2325 |
-silent |
--silent |
--silen |
--sile |
--sil)
2328 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2331 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2333 as_fn_append ac_configure_args1
" '$ac_arg'"
2334 if test $ac_must_keep_next = true
; then
2335 ac_must_keep_next
=false
# Got value, back to normal.
2338 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2339 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2340 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2341 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2342 case "$ac_configure_args0 " in
2343 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2346 -* ) ac_must_keep_next
=true
;;
2349 as_fn_append ac_configure_args
" '$ac_arg'"
2354 { ac_configure_args0
=; unset ac_configure_args0
;}
2355 { ac_configure_args1
=; unset ac_configure_args1
;}
2357 # When interrupted or exit'd, cleanup temporary files, and complete
2358 # config.log. We remove comments because anyway the quotes in there
2359 # would cause problems or look ugly.
2360 # WARNING: Use '\'' to represent an apostrophe within the trap.
2361 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2362 trap 'exit_status=$?
2363 # Save into config.log some information that might help in debugging.
2368 ## ---------------- ##
2369 ## Cache variables. ##
2370 ## ---------------- ##
2373 # The following way of writing the cache mishandles newlines in values,
2375 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2376 eval ac_val=\$$ac_var
2380 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2381 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2384 _ | IFS | as_nl) ;; #(
2385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2386 *) { eval $ac_var=; unset $ac_var;} ;;
2391 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2392 *${as_nl}ac_space=\ *)
2394 "s/'\''/'\''\\\\'\'''\''/g;
2395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2406 ## ----------------- ##
2407 ## Output variables. ##
2408 ## ----------------- ##
2411 for ac_var in $ac_subst_vars
2413 eval ac_val=\$$ac_var
2415 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2417 $as_echo "$ac_var='\''$ac_val'\''"
2421 if test -n "$ac_subst_files"; then
2423 ## ------------------- ##
2424 ## File substitutions. ##
2425 ## ------------------- ##
2428 for ac_var
in $ac_subst_files
2430 eval ac_val
=\$
$ac_var
2432 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2434 $as_echo "$ac_var='\''$ac_val'\''"
2439 if test -s confdefs.h; then
2449 test "$ac_signal" != 0 &&
2450 $as_echo "$as_me: caught signal $ac_signal"
2451 $as_echo "$as_me: exit $exit_status"
2453 rm -f core *.core core.conftest.* &&
2454 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2457 for ac_signal
in 1 2 13 15; do
2458 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2462 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2463 rm -f -r conftest
* confdefs.h
2465 $as_echo "/* confdefs.h */" > confdefs.h
2467 # Predefined preprocessor variables.
2469 cat >>confdefs.h
<<_ACEOF
2470 #define PACKAGE_NAME "$PACKAGE_NAME"
2473 cat >>confdefs.h
<<_ACEOF
2474 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2477 cat >>confdefs.h
<<_ACEOF
2478 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2481 cat >>confdefs.h
<<_ACEOF
2482 #define PACKAGE_STRING "$PACKAGE_STRING"
2485 cat >>confdefs.h
<<_ACEOF
2486 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2489 cat >>confdefs.h
<<_ACEOF
2490 #define PACKAGE_URL "$PACKAGE_URL"
2494 # Let the site file select an alternate cache file if it wants to.
2495 # Prefer an explicitly selected file to automatically selected ones.
2498 if test -n "$CONFIG_SITE"; then
2499 ac_site_file1
=$CONFIG_SITE
2500 elif test "x$prefix" != xNONE
; then
2501 ac_site_file1
=$prefix/share
/config.site
2502 ac_site_file2
=$prefix/etc
/config.site
2504 ac_site_file1
=$ac_default_prefix/share
/config.site
2505 ac_site_file2
=$ac_default_prefix/etc
/config.site
2507 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2509 test "x$ac_site_file" = xNONE
&& continue
2510 if test -r "$ac_site_file"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2512 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2513 sed 's/^/| /' "$ac_site_file" >&5
2518 if test -r "$cache_file"; then
2519 # Some versions of bash will fail to source /dev/null (special
2520 # files actually), so we avoid doing that.
2521 if test -f "$cache_file"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2523 $as_echo "$as_me: loading cache $cache_file" >&6;}
2525 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2526 *) .
"./$cache_file";;
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2531 $as_echo "$as_me: creating cache $cache_file" >&6;}
2535 as_fn_append ac_header_list
" unistd.h"
2536 as_fn_append ac_header_list
" sys/time.h"
2537 as_fn_append ac_header_list
" sys/times.h"
2538 as_fn_append ac_header_list
" sys/resource.h"
2539 as_fn_append ac_header_list
" sys/types.h"
2540 as_fn_append ac_header_list
" sys/stat.h"
2541 as_fn_append ac_header_list
" sys/wait.h"
2542 as_fn_append ac_header_list
" floatingpoint.h"
2543 as_fn_append ac_header_list
" ieeefp.h"
2544 as_fn_append ac_header_list
" fenv.h"
2545 as_fn_append ac_header_list
" fptrap.h"
2546 as_fn_append ac_header_list
" fpxcp.h"
2547 as_fn_append ac_header_list
" pwd.h"
2548 as_fn_append ac_header_list
" complex.h"
2549 as_fn_append ac_func_list
" getrusage"
2550 as_fn_append ac_func_list
" times"
2551 as_fn_append ac_func_list
" mkstemp"
2552 as_fn_append ac_func_list
" strtof"
2553 as_fn_append ac_func_list
" strtold"
2554 as_fn_append ac_func_list
" snprintf"
2555 as_fn_append ac_func_list
" ftruncate"
2556 as_fn_append ac_func_list
" chsize"
2557 as_fn_append ac_func_list
" chdir"
2558 as_fn_append ac_func_list
" getlogin"
2559 as_fn_append ac_func_list
" gethostname"
2560 as_fn_append ac_func_list
" kill"
2561 as_fn_append ac_func_list
" link"
2562 as_fn_append ac_func_list
" symlink"
2563 as_fn_append ac_func_list
" sleep"
2564 as_fn_append ac_func_list
" ttyname"
2565 as_fn_append ac_func_list
" alarm"
2566 as_fn_append ac_func_list
" access"
2567 as_fn_append ac_func_list
" fork"
2568 as_fn_append ac_func_list
" execl"
2569 as_fn_append ac_func_list
" wait"
2570 as_fn_append ac_func_list
" setmode"
2571 as_fn_append ac_func_list
" execve"
2572 as_fn_append ac_func_list
" pipe"
2573 as_fn_append ac_func_list
" dup2"
2574 as_fn_append ac_func_list
" close"
2575 as_fn_append ac_func_list
" fcntl"
2576 as_fn_append ac_func_list
" strcasestr"
2577 as_fn_append ac_func_list
" getrlimit"
2578 as_fn_append ac_func_list
" gettimeofday"
2579 as_fn_append ac_func_list
" stat"
2580 as_fn_append ac_func_list
" fstat"
2581 as_fn_append ac_func_list
" lstat"
2582 as_fn_append ac_func_list
" getpwuid"
2583 as_fn_append ac_func_list
" vsnprintf"
2584 as_fn_append ac_func_list
" dup"
2585 as_fn_append ac_func_list
" getcwd"
2586 as_fn_append ac_func_list
" localtime_r"
2587 as_fn_append ac_func_list
" gmtime_r"
2588 as_fn_append ac_func_list
" getpwuid_r"
2589 as_fn_append ac_func_list
" ttyname_r"
2590 as_fn_append ac_func_list
" clock_gettime"
2591 as_fn_append ac_func_list
" readlink"
2592 as_fn_append ac_func_list
" getgid"
2593 as_fn_append ac_func_list
" getpid"
2594 as_fn_append ac_func_list
" getppid"
2595 as_fn_append ac_func_list
" getuid"
2596 as_fn_append ac_func_list
" geteuid"
2597 as_fn_append ac_func_list
" umask"
2598 as_fn_append ac_func_list
" getegid"
2599 as_fn_append ac_func_list
" secure_getenv"
2600 as_fn_append ac_func_list
" __secure_getenv"
2601 as_fn_append ac_func_list
" mkostemp"
2602 as_fn_append ac_func_list
" strnlen"
2603 as_fn_append ac_func_list
" strndup"
2604 as_fn_append ac_header_list
" math.h"
2605 # Check that the precious variables saved in the cache have kept the same
2607 ac_cache_corrupted
=false
2608 for ac_var
in $ac_precious_vars; do
2609 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2610 eval ac_new_set
=\
$ac_env_${ac_var}_set
2611 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2612 eval ac_new_val
=\
$ac_env_${ac_var}_value
2613 case $ac_old_set,$ac_new_set in
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2616 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2617 ac_cache_corrupted
=: ;;
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2620 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2621 ac_cache_corrupted
=: ;;
2624 if test "x$ac_old_val" != "x$ac_new_val"; then
2625 # differences in whitespace do not lead to failure.
2626 ac_old_val_w
=`echo x $ac_old_val`
2627 ac_new_val_w
=`echo x $ac_new_val`
2628 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2630 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2631 ac_cache_corrupted
=:
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2634 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2635 eval $ac_var=\
$ac_old_val
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2638 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2640 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2643 # Pass precious variables to config.status.
2644 if test "$ac_new_set" = set; then
2646 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2647 *) ac_arg
=$ac_var=$ac_new_val ;;
2649 case " $ac_configure_args " in
2650 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2651 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2655 if $ac_cache_corrupted; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2659 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2660 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2662 ## -------------------- ##
2663 ## Main body of script. ##
2664 ## -------------------- ##
2667 ac_cpp
='$CPP $CPPFLAGS'
2668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2676 ac_config_headers
="$ac_config_headers config.h"
2679 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2680 for ac_t
in install-sh
install.sh shtool
; do
2681 if test -f "$ac_dir/$ac_t"; then
2683 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2688 if test -z "$ac_aux_dir"; then
2689 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2692 # These three variables are undocumented and unsupported,
2693 # and are intended to be withdrawn in a future Autoconf release.
2694 # They can cause serious problems if a builder's source tree is in a directory
2695 # whose full name contains unusual characters.
2696 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2697 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2698 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2701 # Make sure we can run config.sub.
2702 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2703 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2706 $as_echo_n "checking build system type... " >&6; }
2707 if test "${ac_cv_build+set}" = set; then :
2708 $as_echo_n "(cached) " >&6
2710 ac_build_alias
=$build_alias
2711 test "x$ac_build_alias" = x
&&
2712 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2713 test "x$ac_build_alias" = x
&&
2714 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2715 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2716 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2720 $as_echo "$ac_cv_build" >&6; }
2721 case $ac_cv_build in
2723 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2726 ac_save_IFS
=$IFS; IFS
='-'
2732 # Remember, the first character of IFS is used to create $*,
2733 # except with old shells:
2736 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2739 case ${build_alias} in
2740 "") build_noncanonical
=${build} ;;
2741 *) build_noncanonical
=${build_alias} ;;
2744 case ${host_alias} in
2745 "") host_noncanonical
=${build_noncanonical} ;;
2746 *) host_noncanonical
=${host_alias} ;;
2749 case ${target_alias} in
2750 "") target_noncanonical
=${host_noncanonical} ;;
2751 *) target_noncanonical
=${target_alias} ;;
2755 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2756 # have matching libraries, they should use host libraries: Makefile.tpl
2757 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2758 # However, they still use the build modules, because the corresponding
2759 # host modules (e.g. bison) are only built for the host when bootstrap
2761 # - build_subdir is where we find build modules, and never changes.
2762 # - build_libsubdir is where we find build libraries, and can be overridden.
2764 # Prefix 'build-' so this never conflicts with target_subdir.
2765 build_subdir
="build-${build_noncanonical}"
2767 # Check whether --with-build-libsubdir was given.
2768 if test "${with_build_libsubdir+set}" = set; then :
2769 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2771 build_libsubdir
="$build_subdir"
2774 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2775 if ( test $srcdir = .
&& test -d gcc
) \
2776 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2777 host_subdir
="host-${host_noncanonical}"
2782 target_subdir
=${target_noncanonical}
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2790 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2791 # Check whether --enable-version-specific-runtime-libs was given.
2792 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2793 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2794 yes) version_specific_libs
=yes ;;
2795 no
) version_specific_libs
=no
;;
2796 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2799 version_specific_libs
=no
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2803 $as_echo "$version_specific_libs" >&6; }
2805 # Build with intermodule optimisations
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2807 $as_echo_n "checking for --enable-intermodule... " >&6; }
2808 # Check whether --enable-intermodule was given.
2809 if test "${enable_intermodule+set}" = set; then :
2810 enableval
=$enable_intermodule; case "$enable_intermodule" in
2811 yes) onestep
="-onestep";;
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2819 $as_echo "$enable_intermodule" >&6; }
2820 if test x
$onestep = x-onestep
; then
2830 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2832 # You will slowly go insane if you do not grok the following fact: when
2833 # building this library, the top-level /target/ becomes the library's /host/.
2835 # configure then causes --target to default to --host, exactly like any
2836 # other package using autoconf. Therefore, 'target' and 'host' will
2837 # always be the same. This makes sense both for native and cross compilers
2838 # just think about it for a little while. :-)
2840 # Also, if this library is being configured as part of a cross compiler, the
2841 # top-level configure script will pass the "real" host as $with_cross_host.
2843 # Do not delete or change the following two lines. For why, see
2844 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2846 $as_echo_n "checking host system type... " >&6; }
2847 if test "${ac_cv_host+set}" = set; then :
2848 $as_echo_n "(cached) " >&6
2850 if test "x$host_alias" = x
; then
2851 ac_cv_host
=$ac_cv_build
2853 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2854 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2859 $as_echo "$ac_cv_host" >&6; }
2862 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2865 ac_save_IFS
=$IFS; IFS
='-'
2871 # Remember, the first character of IFS is used to create $*,
2872 # except with old shells:
2875 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2879 $as_echo_n "checking target system type... " >&6; }
2880 if test "${ac_cv_target+set}" = set; then :
2881 $as_echo_n "(cached) " >&6
2883 if test "x$target_alias" = x
; then
2884 ac_cv_target
=$ac_cv_host
2886 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2887 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2892 $as_echo "$ac_cv_target" >&6; }
2893 case $ac_cv_target in
2895 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2897 target
=$ac_cv_target
2898 ac_save_IFS
=$IFS; IFS
='-'
2904 # Remember, the first character of IFS is used to create $*,
2905 # except with old shells:
2908 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2911 # The aliases save the names the user supplied, while $host etc.
2912 # will get canonicalized.
2913 test -n "$target_alias" &&
2914 test "$program_prefix$program_suffix$program_transform_name" = \
2916 program_prefix
=${target_alias}-
2921 target_alias
=${target_alias-$host_alias}
2924 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2925 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2926 # 1.9.6: minimum required version
2927 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2928 # of other PACKAGE_* variables will, however, and there's nothing
2929 # we can do about that; they come from AC_INIT).
2930 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2931 # file in the top srcdir, etc, etc), so stop complaining.
2932 # no-dist: we don't want 'dist' and related rules.
2933 # -Wall: turns on all automake warnings...
2934 # -Wno-portability: ...except this one, since GNU make is required.
2935 am__api_version
='1.11'
2937 # Find a good install program. We prefer a C program (faster),
2938 # so one script is as good as another. But avoid the broken or
2939 # incompatible versions:
2940 # SysV /etc/install, /usr/sbin/install
2941 # SunOS /usr/etc/install
2942 # IRIX /sbin/install
2944 # AmigaOS /C/install, which installs bootblocks on floppy discs
2945 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2946 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2947 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2948 # OS/2's system install, which has a completely different semantic
2949 # ./install, which can be erroneously created by make from ./install.sh.
2950 # Reject install programs that cannot install multiple files.
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2952 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2953 if test -z "$INSTALL"; then
2954 if test "${ac_cv_path_install+set}" = set; then :
2955 $as_echo_n "(cached) " >&6
2957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir
=.
2962 # Account for people who put trailing slashes in PATH elements.
2963 case $as_dir/ in #((
2964 .
/ | .
// |
/[cC
]/* | \
2965 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2966 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2969 # OSF1 and SCO ODT 3.0 have their own names for install.
2970 # Don't use installbsd from OSF since it installs stuff as root
2972 for ac_prog
in ginstall scoinst
install; do
2973 for ac_exec_ext
in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2975 if test $ac_prog = install &&
2976 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2977 # AIX install. It has an incompatible calling convention.
2979 elif test $ac_prog = install &&
2980 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2981 # program-specific install script used by HP pwplus--don't use.
2984 rm -rf conftest.one conftest.two conftest.dir
2985 echo one
> conftest.one
2986 echo two
> conftest.two
2988 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2989 test -s conftest.one
&& test -s conftest.two
&&
2990 test -s conftest.dir
/conftest.one
&&
2991 test -s conftest.dir
/conftest.two
2993 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3006 rm -rf conftest.one conftest.two conftest.dir
3009 if test "${ac_cv_path_install+set}" = set; then
3010 INSTALL
=$ac_cv_path_install
3012 # As a last resort, use the slow shell script. Don't cache a
3013 # value for INSTALL within a source directory, because that will
3014 # break other packages using the cache if that directory is
3015 # removed, or if the value is a relative name.
3016 INSTALL
=$ac_install_sh
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3020 $as_echo "$INSTALL" >&6; }
3022 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3023 # It thinks the first close brace ends the variable substitution.
3024 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3026 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3028 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3031 $as_echo_n "checking whether build environment is sane... " >&6; }
3034 echo timestamp
> conftest.
file
3035 # Reject unsafe characters in $srcdir or the absolute working directory
3036 # name. Accept space and tab only in the latter.
3040 *[\\\"\
#\$\&\'\`$am_lf]*)
3041 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3044 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3045 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3048 # Do `set' in a subshell so we don't clobber the current shell's
3049 # arguments. Must try -L first in case configure is actually a
3050 # symlink; some systems play weird games with the mod time of symlinks
3051 # (eg FreeBSD returns the mod time of the symlink's containing
3054 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3055 if test "$*" = "X"; then
3057 set X
`ls -t "$srcdir/configure" conftest.file`
3060 if test "$*" != "X $srcdir/configure conftest.file" \
3061 && test "$*" != "X conftest.file $srcdir/configure"; then
3063 # If neither matched, then we have a broken ls. This can happen
3064 # if, for instance, CONFIG_SHELL is bash and it inherits a
3065 # broken ls alias from the environment. This has actually
3066 # happened. Such a system could not be considered "sane".
3067 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3068 alias in your environment" "$LINENO" 5
3071 test "$2" = conftest.
file
3077 as_fn_error
"newly created file is older than distributed files!
3078 Check your system clock" "$LINENO" 5
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3081 $as_echo "yes" >&6; }
3082 test "$program_prefix" != NONE
&&
3083 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3084 # Use a double $ so make ignores it.
3085 test "$program_suffix" != NONE
&&
3086 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3087 # Double any \ or $.
3088 # By default was `s,x,x', remove it if useless.
3089 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3090 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3092 # expand $ac_aux_dir to an absolute path
3093 am_aux_dir
=`cd $ac_aux_dir && pwd`
3095 if test x
"${MISSING+set}" != xset
; then
3098 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3100 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3103 # Use eval to expand $SHELL
3104 if eval "$MISSING --run true"; then
3105 am_missing_run
="$MISSING --run "
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3109 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3112 if test x
"${install_sh}" != xset
; then
3115 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3117 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3121 # Installed binaries are usually stripped using `strip' when the user
3122 # run `make install-strip'. However `strip' might not be the right
3123 # tool to use in cross-compilation environments, therefore Automake
3124 # will honor the `STRIP' environment variable to overrule this program.
3125 if test "$cross_compiling" != no
; then
3126 if test -n "$ac_tool_prefix"; then
3127 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3128 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3130 $as_echo_n "checking for $ac_word... " >&6; }
3131 if test "${ac_cv_prog_STRIP+set}" = set; then :
3132 $as_echo_n "(cached) " >&6
3134 if test -n "$STRIP"; then
3135 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_exec_ext
in '' $ac_executable_extensions; do
3143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3144 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3154 STRIP
=$ac_cv_prog_STRIP
3155 if test -n "$STRIP"; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3157 $as_echo "$STRIP" >&6; }
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 $as_echo "no" >&6; }
3165 if test -z "$ac_cv_prog_STRIP"; then
3167 # Extract the first word of "strip", so it can be a program name with args.
3168 set dummy strip
; ac_word
=$2
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3170 $as_echo_n "checking for $ac_word... " >&6; }
3171 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3172 $as_echo_n "(cached) " >&6
3174 if test -n "$ac_ct_STRIP"; then
3175 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3181 test -z "$as_dir" && as_dir
=.
3182 for ac_exec_ext
in '' $ac_executable_extensions; do
3183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3184 ac_cv_prog_ac_ct_STRIP
="strip"
3185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3195 if test -n "$ac_ct_STRIP"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3197 $as_echo "$ac_ct_STRIP" >&6; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200 $as_echo "no" >&6; }
3203 if test "x$ac_ct_STRIP" = x
; then
3206 case $cross_compiling:$ac_tool_warned in
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3210 ac_tool_warned
=yes ;;
3215 STRIP
="$ac_cv_prog_STRIP"
3219 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3222 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3223 if test -z "$MKDIR_P"; then
3224 if test "${ac_cv_path_mkdir+set}" = set; then :
3225 $as_echo_n "(cached) " >&6
3227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3228 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3231 test -z "$as_dir" && as_dir
=.
3232 for ac_prog
in mkdir gmkdir
; do
3233 for ac_exec_ext
in '' $ac_executable_extensions; do
3234 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3235 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3236 'mkdir (GNU coreutils) '* | \
3237 'mkdir (coreutils) '* | \
3238 'mkdir (fileutils) '4.1*)
3239 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3249 if test "${ac_cv_path_mkdir+set}" = set; then
3250 MKDIR_P
="$ac_cv_path_mkdir -p"
3252 # As a last resort, use the slow shell script. Don't cache a
3253 # value for MKDIR_P within a source directory, because that will
3254 # break other packages using the cache if that directory is
3255 # removed, or if the value is a relative name.
3256 test -d .
/--version && rmdir .
/--version
3257 MKDIR_P
="$ac_install_sh -d"
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3261 $as_echo "$MKDIR_P" >&6; }
3265 [\\/$
]* | ?
:[\\/]*) ;;
3266 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3269 for ac_prog
in gawk mawk nawk
awk
3271 # Extract the first word of "$ac_prog", so it can be a program name with args.
3272 set dummy
$ac_prog; ac_word
=$2
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274 $as_echo_n "checking for $ac_word... " >&6; }
3275 if test "${ac_cv_prog_AWK+set}" = set; then :
3276 $as_echo_n "(cached) " >&6
3278 if test -n "$AWK"; then
3279 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3285 test -z "$as_dir" && as_dir
=.
3286 for ac_exec_ext
in '' $ac_executable_extensions; do
3287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3288 ac_cv_prog_AWK
="$ac_prog"
3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 if test -n "$AWK"; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3301 $as_echo "$AWK" >&6; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3308 test -n "$AWK" && break
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3312 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3314 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3315 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3316 $as_echo_n "(cached) " >&6
3318 cat >conftest.
make <<\_ACEOF
3321 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3323 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3324 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3326 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3328 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3332 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3334 $as_echo "yes" >&6; }
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 $as_echo "no" >&6; }
3339 SET_MAKE
="MAKE=${MAKE-make}"
3342 rm -rf .tst
2>/dev
/null
3343 mkdir .tst
2>/dev
/null
3344 if test -d .tst
; then
3349 rmdir .tst
2>/dev
/null
3351 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3352 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3353 # is not polluted with repeated "-I."
3354 am__isrc
=' -I$(srcdir)'
3355 # test to see if srcdir already configured
3356 if test -f $srcdir/config.status
; then
3357 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3361 # test whether we have cygpath
3362 if test -z "$CYGPATH_W"; then
3363 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3364 CYGPATH_W
='cygpath -w'
3371 # Define the identity of the package.
3372 PACKAGE
='libgfortran'
3376 # Some tools Automake needs.
3378 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3381 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3384 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3387 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3390 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3392 # We need awk for the "check" target. The system "awk" is bad on
3394 # Always define AMTAR for backward compatibility. Yes, it's still used
3395 # in the wild :-( We should find a proper way to deprecate it ...
3398 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3407 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3408 # Check whether --enable-maintainer-mode was given.
3409 if test "${enable_maintainer_mode+set}" = set; then :
3410 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3412 USE_MAINTAINER_MODE
=no
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3416 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3417 if test $USE_MAINTAINER_MODE = yes; then
3418 MAINTAINER_MODE_TRUE
=
3419 MAINTAINER_MODE_FALSE
='#'
3421 MAINTAINER_MODE_TRUE
='#'
3422 MAINTAINER_MODE_FALSE
=
3425 MAINT
=$MAINTAINER_MODE_TRUE
3428 # Default to --enable-multilib
3429 # Check whether --enable-multilib was given.
3430 if test "${enable_multilib+set}" = set; then :
3431 enableval
=$enable_multilib; case "$enableval" in
3432 yes) multilib
=yes ;;
3434 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3441 # We may get other options which we leave undocumented:
3442 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3443 # See config-ml.in if you want the gory details.
3445 if test "$srcdir" = "."; then
3446 if test "$with_target_subdir" != "."; then
3447 multi_basedir
="$srcdir/$with_multisrctop../.."
3449 multi_basedir
="$srcdir/$with_multisrctop.."
3452 multi_basedir
="$srcdir/.."
3456 # Even if the default multilib is not a cross compilation,
3457 # it may be that some of the other multilibs are.
3458 if test $cross_compiling = no
&& test $multilib = yes \
3459 && test "x${with_multisubdir}" != x
; then
3460 cross_compiling
=maybe
3463 ac_config_commands
="$ac_config_commands default-1"
3466 # Handy for debugging:
3467 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3469 # Are we being configured with some form of cross compiler?
3470 # NB: We don't actually need to know this just now, but when, say, a test
3471 # suite is included, we'll have to know.
3472 if test "$build" != "$host"; then
3473 LIBGFOR_IS_NATIVE
=false
3476 LIBGFOR_IS_NATIVE
=true
3479 DEPDIR
="${am__leading_dot}deps"
3481 ac_config_commands
="$ac_config_commands depfiles"
3484 am_make
=${MAKE-make}
3485 cat > confinc
<< 'END'
3487 @
echo this is the am__doit target
3490 # If we don't find an include directive, just comment out the code.
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3492 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3496 # First try GNU make style include.
3497 echo "include confinc" > confmf
3498 # Ignore all kinds of additional output from `make'.
3499 case `$am_make -s -f confmf 2> /dev/null` in #(
3500 *the\ am__doit\ target
*)
3506 # Now try BSD make style include.
3507 if test "$am__include" = "#"; then
3508 echo '.include "confinc"' > confmf
3509 case `$am_make -s -f confmf 2> /dev/null` in #(
3510 *the\ am__doit\ target
*)
3511 am__include
=.include
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3520 $as_echo "$_am_result" >&6; }
3521 rm -f confinc confmf
3523 # Check whether --enable-dependency-tracking was given.
3524 if test "${enable_dependency_tracking+set}" = set; then :
3525 enableval
=$enable_dependency_tracking;
3528 if test "x$enable_dependency_tracking" != xno
; then
3529 am_depcomp
="$ac_aux_dir/depcomp"
3533 if test "x$enable_dependency_tracking" != xno; then
3543 ac_cpp
='$CPP $CPPFLAGS'
3544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3547 if test -n "$ac_tool_prefix"; then
3548 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3549 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if test "${ac_cv_prog_CC+set}" = set; then :
3553 $as_echo_n "(cached) " >&6
3555 if test -n "$CC"; then
3556 ac_cv_prog_CC
="$CC" # Let the user override the test.
3558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3562 test -z "$as_dir" && as_dir
=.
3563 for ac_exec_ext
in '' $ac_executable_extensions; do
3564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3565 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 if test -n "$CC"; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3578 $as_echo "$CC" >&6; }
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3586 if test -z "$ac_cv_prog_CC"; then
3588 # Extract the first word of "gcc", so it can be a program name with args.
3589 set dummy gcc
; ac_word
=$2
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591 $as_echo_n "checking for $ac_word... " >&6; }
3592 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3593 $as_echo_n "(cached) " >&6
3595 if test -n "$ac_ct_CC"; then
3596 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3602 test -z "$as_dir" && as_dir
=.
3603 for ac_exec_ext
in '' $ac_executable_extensions; do
3604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3605 ac_cv_prog_ac_ct_CC
="gcc"
3606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3616 if test -n "$ac_ct_CC"; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3618 $as_echo "$ac_ct_CC" >&6; }
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621 $as_echo "no" >&6; }
3624 if test "x$ac_ct_CC" = x
; then
3627 case $cross_compiling:$ac_tool_warned in
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3631 ac_tool_warned
=yes ;;
3639 if test -z "$CC"; then
3640 if test -n "$ac_tool_prefix"; then
3641 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3642 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if test "${ac_cv_prog_CC+set}" = set; then :
3646 $as_echo_n "(cached) " >&6
3648 if test -n "$CC"; then
3649 ac_cv_prog_CC
="$CC" # Let the user override the test.
3651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3655 test -z "$as_dir" && as_dir
=.
3656 for ac_exec_ext
in '' $ac_executable_extensions; do
3657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 if test -n "$CC"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3671 $as_echo "$CC" >&6; }
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3674 $as_echo "no" >&6; }
3680 if test -z "$CC"; then
3681 # Extract the first word of "cc", so it can be a program name with args.
3682 set dummy cc
; ac_word
=$2
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3684 $as_echo_n "checking for $ac_word... " >&6; }
3685 if test "${ac_cv_prog_CC+set}" = set; then :
3686 $as_echo_n "(cached) " >&6
3688 if test -n "$CC"; then
3689 ac_cv_prog_CC
="$CC" # Let the user override the test.
3692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3696 test -z "$as_dir" && as_dir
=.
3697 for ac_exec_ext
in '' $ac_executable_extensions; do
3698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3699 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3700 ac_prog_rejected
=yes
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3711 if test $ac_prog_rejected = yes; then
3712 # We found a bogon in the path, so make sure we never use it.
3713 set dummy
$ac_cv_prog_CC
3715 if test $# != 0; then
3716 # We chose a different compiler from the bogus one.
3717 # However, it has the same basename, so the bogon will be chosen
3718 # first if we set CC to just the basename; use the full file name.
3720 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3726 if test -n "$CC"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3736 if test -z "$CC"; then
3737 if test -n "$ac_tool_prefix"; then
3738 for ac_prog
in cl.exe
3740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3741 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if test "${ac_cv_prog_CC+set}" = set; then :
3745 $as_echo_n "(cached) " >&6
3747 if test -n "$CC"; then
3748 ac_cv_prog_CC
="$CC" # Let the user override the test.
3750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3754 test -z "$as_dir" && as_dir
=.
3755 for ac_exec_ext
in '' $ac_executable_extensions; do
3756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3757 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 if test -n "$CC"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3770 $as_echo "$CC" >&6; }
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 $as_echo "no" >&6; }
3777 test -n "$CC" && break
3780 if test -z "$CC"; then
3782 for ac_prog
in cl.exe
3784 # Extract the first word of "$ac_prog", so it can be a program name with args.
3785 set dummy
$ac_prog; ac_word
=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3789 $as_echo_n "(cached) " >&6
3791 if test -n "$ac_ct_CC"; then
3792 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3798 test -z "$as_dir" && as_dir
=.
3799 for ac_exec_ext
in '' $ac_executable_extensions; do
3800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3801 ac_cv_prog_ac_ct_CC
="$ac_prog"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3812 if test -n "$ac_ct_CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3814 $as_echo "$ac_ct_CC" >&6; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3821 test -n "$ac_ct_CC" && break
3824 if test "x$ac_ct_CC" = x
; then
3827 case $cross_compiling:$ac_tool_warned in
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3831 ac_tool_warned
=yes ;;
3840 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3842 as_fn_error
"no acceptable C compiler found in \$PATH
3843 See \`config.log' for more details." "$LINENO" 5; }
3845 # Provide some information about the compiler.
3846 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3849 for ac_option
in --version -v -V -qversion; do
3850 { { ac_try
="$ac_compiler $ac_option >&5"
3852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3853 *) ac_try_echo=$ac_try;;
3855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3856 $as_echo "$ac_try_echo"; } >&5
3857 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3859 if test -s conftest.err; then
3861 ... rest of stderr output deleted ...
3862 10q' conftest.err >conftest.er1
3863 cat conftest.er1 >&5
3864 rm -f conftest.er1 conftest.err
3866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867 test $ac_status = 0; }
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3883 (eval $ac_link) 2>&5
3885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3886 test $ac_status = 0; }; then :
3891 if test x$gcc_no_link = xyes; then
3892 # Setting cross_compile will disable run tests; it will
3893 # also disable AC_CHECK_FILE but that's generally
3894 # correct if we can't link.
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3909 ac_clean_files_save=$ac_clean_files
3910 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3911 # Try to create an executable without -o first, disregard a.out.
3912 # It will help us diagnose broken compilers, and finding out an intuition
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3915 $as_echo_n "checking for C compiler default output file name... " >&6; }
3916 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3918 # The possible output files:
3919 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3922 for ac_file in $ac_files
3925 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3926 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3931 if { { ac_try="$ac_link_default"
3933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3934 *) ac_try_echo
=$ac_try;;
3936 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 $as_echo "$ac_try_echo"; } >&5
3938 (eval "$ac_link_default") 2>&5
3940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941 test $ac_status = 0; }; then :
3942 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3943 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3944 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3945 # so that the user can short-circuit this test for compilers unknown to
3947 for ac_file
in $ac_files ''
3949 test -f "$ac_file" ||
continue
3951 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3954 # We found the default executable, but exeext='' is most
3958 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3960 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3962 # We set ac_cv_exeext here because the later test for it is not
3963 # safe: cross compilers may not add the suffix if given an `-o'
3964 # argument, so we may need to know it at that point already.
3965 # Even if this section looks crufty: it has the advantage of
3972 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3978 $as_echo "$ac_file" >&6; }
3979 if test -z "$ac_file"; then :
3980 $as_echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.
$ac_ext >&5
3983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 { as_fn_set_status
77
3986 as_fn_error
"C compiler cannot create executables
3987 See \`config.log' for more details." "$LINENO" 5; }; }
3989 ac_exeext
=$ac_cv_exeext
3991 # Check that the compiler produces executables we can run. If not, either
3992 # the compiler is broken, or we cross compile.
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3994 $as_echo_n "checking whether the C compiler works... " >&6; }
3995 # If not cross compiling, check that we can run a simple program.
3996 if test "$cross_compiling" != yes; then
3997 if { ac_try
='./$ac_file'
3998 { { case "(($ac_try" in
3999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4000 *) ac_try_echo=$ac_try;;
4002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4003 $as_echo "$ac_try_echo"; } >&5
4004 (eval "$ac_try") 2>&5
4006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4007 test $ac_status = 0; }; }; then
4010 if test "$cross_compiling" = maybe; then
4013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error "cannot run C compiled programs.
4016 If you meant to cross compile
, use \
`--host'.
4017 See \`config.log
' for more details." "$LINENO" 5; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4022 $as_echo "yes" >&6; }
4024 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4025 ac_clean_files=$ac_clean_files_save
4026 # Check that the compiler produces executables we can run. If not, either
4027 # the compiler is broken, or we cross compile.
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4029 $as_echo_n "checking whether we are cross compiling... " >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4031 $as_echo "$cross_compiling" >&6; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4034 $as_echo_n "checking for suffix of executables... " >&6; }
4035 if { { ac_try="$ac_link"
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4041 $as_echo "$ac_try_echo"; } >&5
4042 (eval "$ac_link") 2>&5
4044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4045 test $ac_status = 0; }; then :
4046 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4047 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4048 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4050 for ac_file
in conftest.exe conftest conftest.
*; do
4051 test -f "$ac_file" ||
continue
4053 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4054 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4062 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4063 See \`config.log' for more details." "$LINENO" 5; }
4065 rm -f conftest
$ac_cv_exeext
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4067 $as_echo "$ac_cv_exeext" >&6; }
4069 rm -f conftest.
$ac_ext
4070 EXEEXT
=$ac_cv_exeext
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4074 $as_echo_n "checking for suffix of object files... " >&6; }
4075 if test "${ac_cv_objext+set}" = set; then :
4076 $as_echo_n "(cached) " >&6
4078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4089 rm -f conftest.o conftest.obj
4090 if { { ac_try
="$ac_compile"
4092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097 (eval "$ac_compile") 2>&5
4099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4100 test $ac_status = 0; }; then :
4101 for ac_file in conftest.o conftest.obj conftest.*; do
4102 test -f "$ac_file" || continue;
4104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4105 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4110 $as_echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4115 as_fn_error "cannot compute suffix of object files
: cannot compile
4116 See \
`config.log' for more details." "$LINENO" 5; }
4118 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4121 $as_echo "$ac_cv_objext" >&6; }
4122 OBJEXT=$ac_cv_objext
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4125 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4126 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4127 $as_echo_n "(cached) " >&6
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4143 if ac_fn_c_try_compile "$LINENO"; then :
4148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4153 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4154 if test $ac_compiler_gnu = yes; then
4159 ac_test_CFLAGS=${CFLAGS+set}
4160 ac_save_CFLAGS=$CFLAGS
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4162 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4163 if test "${ac_cv_prog_cc_g+set}" = set; then :
4164 $as_echo_n "(cached) " >&6
4166 ac_save_c_werror_flag=$ac_c_werror_flag
4167 ac_c_werror_flag=yes
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4181 if ac_fn_c_try_compile "$LINENO"; then :
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4196 if ac_fn_c_try_compile "$LINENO"; then :
4199 ac_c_werror_flag=$ac_save_c_werror_flag
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4212 if ac_fn_c_try_compile "$LINENO"; then :
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 ac_c_werror_flag=$ac_save_c_werror_flag
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4223 $as_echo "$ac_cv_prog_cc_g" >&6; }
4224 if test "$ac_test_CFLAGS" = set; then
4225 CFLAGS=$ac_save_CFLAGS
4226 elif test $ac_cv_prog_cc_g = yes; then
4227 if test "$GCC" = yes; then
4233 if test "$GCC" = yes; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4240 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4241 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4242 $as_echo_n "(cached) " >&6
4244 ac_cv_prog_cc_c89=no
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4250 #include <sys/types.h>
4251 #include <sys/stat.h>
4252 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4253 struct buf { int x; };
4254 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4255 static char *e (p, i)
4261 static char *f (char * (*g) (char **, int), char **p, ...)
4266 s = g (p, va_arg (v,int));
4271 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4272 function prototypes and stuff, but not '\xHH' hex character constants.
4273 These don't provoke an error unfortunately, instead are silently treated
4274 as 'x'. The following induces an error, until -std is added to get
4275 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4276 array size at least. It's necessary to write '\x00'==0 to get something
4277 that's true only with -std. */
4278 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4280 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4281 inside strings and character constants. */
4283 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4285 int test (int i, double x);
4286 struct s1 {int (*f) (int a);};
4287 struct s2 {int (*f) (double a);};
4288 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4294 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4299 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4300 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4302 CC="$ac_save_CC $ac_arg"
4303 if ac_fn_c_try_compile "$LINENO"; then :
4304 ac_cv_prog_cc_c89=$ac_arg
4306 rm -f core conftest.err conftest.$ac_objext
4307 test "x$ac_cv_prog_cc_c89" != "xno" && break
4309 rm -f conftest.$ac_ext
4314 case "x$ac_cv_prog_cc_c89" in
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4317 $as_echo "none needed" >&6; } ;;
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4320 $as_echo "unsupported" >&6; } ;;
4322 CC="$CC $ac_cv_prog_cc_c89"
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4324 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4326 if test "x$ac_cv_prog_cc_c89" != xno; then :
4331 ac_cpp='$CPP $CPPFLAGS'
4332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4336 depcc="$CC" am_compiler_list=
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4339 $as_echo_n "checking dependency style of $depcc... " >&6; }
4340 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4341 $as_echo_n "(cached) " >&6
4343 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4344 # We make a subdir and do the tests there. Otherwise we can end up
4345 # making bogus files that we don't know about and never remove. For
4346 # instance it was reported that on HP-UX the gcc test will end up
4347 # making a dummy file named `D
' -- because `-MD' means
`put the output
4351 # Copy depcomp to subdir because otherwise we won't find it if we're
4352 # using a relative directory.
4353 cp "$am_depcomp" conftest.dir
4355 # We will build objects and dependencies in a subdirectory because
4356 # it helps to detect inapplicable dependency modes. For instance
4357 # both Tru64's cc and ICC support -MD to output dependencies as a
4358 # side effect of compilation, but ICC will put the dependencies in
4359 # the current directory while Tru64 will put them in the object
4363 am_cv_CC_dependencies_compiler_type=none
4364 if test "$am_compiler_list" = ""; then
4365 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4368 case " $depcc " in #(
4369 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4372 for depmode in $am_compiler_list; do
4373 # Setup a source with many dependencies, because some compilers
4374 # like to wrap large dependency lists on column 80 (with \), and
4375 # we should not choose a depcomp mode which is confused by this.
4377 # We need to recreate these files for each test, as the compiler may
4378 # overwrite some of them when testing with obscure command lines.
4379 # This happens at least with the AIX C compiler.
4381 for i in 1 2 3 4 5 6; do
4382 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4383 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4384 # Solaris 8's
{/usr
,}/bin
/sh.
4385 touch sub
/conftst
$i.h
4387 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4389 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4390 # mode. It turns out that the SunPro C++ compiler does not properly
4391 # handle `-M -o', and we need to detect this. Also, some Intel
4392 # versions had trouble with output in subdirs
4393 am__obj
=sub
/conftest.
${OBJEXT-o}
4394 am__minus_obj
="-o $am__obj"
4397 # This depmode causes a compiler race in universal mode.
4398 test "$am__universal" = false ||
continue
4401 # after this tag, mechanisms are not by side-effect, so they'll
4402 # only be used when explicitly requested
4403 if test "x$enable_dependency_tracking" = xyes
; then
4409 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4410 # This compiler won't grok `-c -o', but also, the minuso test has
4411 # not run yet. These depmodes are late enough in the game, and
4412 # so weak that their functioning should not be impacted.
4413 am__obj
=conftest.
${OBJEXT-o}
4418 if depmode
=$depmode \
4419 source=sub
/conftest.c object
=$am__obj \
4420 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4421 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4422 >/dev
/null
2>conftest.err
&&
4423 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4424 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4425 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4426 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4427 # icc doesn't choke on unknown options, it will just issue warnings
4428 # or remarks (even with -Werror). So we grep stderr for any message
4429 # that says an option was ignored or not supported.
4430 # When given -MP, icc 7.0 and 7.1 complain thusly:
4431 # icc: Command line warning: ignoring option '-M'; no argument required
4432 # The diagnosis changed in icc 8.0:
4433 # icc: Command line remark: option '-MP' not supported
4434 if (grep 'ignoring option' conftest.err ||
4435 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4436 am_cv_CC_dependencies_compiler_type
=$depmode
4445 am_cv_CC_dependencies_compiler_type
=none
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4450 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4451 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4454 test "x$enable_dependency_tracking" != xno \
4455 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4457 am__fastdepCC_FALSE
='#'
4459 am__fastdepCC_TRUE
='#'
4460 am__fastdepCC_FALSE
=
4466 ac_cpp
='$CPP $CPPFLAGS'
4467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4471 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4472 # On Suns, sometimes $CPP names a directory.
4473 if test -n "$CPP" && test -d "$CPP"; then
4476 if test -z "$CPP"; then
4477 if test "${ac_cv_prog_CPP+set}" = set; then :
4478 $as_echo_n "(cached) " >&6
4480 # Double quotes because CPP needs to be expanded
4481 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4484 for ac_c_preproc_warn_flag
in '' yes
4486 # Use a header file that comes with gcc, so configuring glibc
4487 # with a fresh cross-compiler works.
4488 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4489 # <limits.h> exists even on freestanding compilers.
4490 # On the NeXT, cc -E runs the code through the compiler's parser,
4491 # not just through cpp. "Syntax error" is here to catch this case.
4492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4495 # include <limits.h>
4497 # include <assert.h>
4501 if ac_fn_c_try_cpp
"$LINENO"; then :
4504 # Broken: fails on valid input.
4507 rm -f conftest.err conftest.
$ac_ext
4509 # OK, works on sane cases. Now check whether nonexistent headers
4510 # can be detected and how.
4511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4513 #include <ac_nonexistent.h>
4515 if ac_fn_c_try_cpp
"$LINENO"; then :
4516 # Broken: success on invalid input.
4519 # Passes both tests.
4523 rm -f conftest.err conftest.
$ac_ext
4526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4527 rm -f conftest.err conftest.
$ac_ext
4528 if $ac_preproc_ok; then :
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4541 $as_echo "$CPP" >&6; }
4543 for ac_c_preproc_warn_flag
in '' yes
4545 # Use a header file that comes with gcc, so configuring glibc
4546 # with a fresh cross-compiler works.
4547 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4548 # <limits.h> exists even on freestanding compilers.
4549 # On the NeXT, cc -E runs the code through the compiler's parser,
4550 # not just through cpp. "Syntax error" is here to catch this case.
4551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4554 # include <limits.h>
4556 # include <assert.h>
4560 if ac_fn_c_try_cpp
"$LINENO"; then :
4563 # Broken: fails on valid input.
4566 rm -f conftest.err conftest.
$ac_ext
4568 # OK, works on sane cases. Now check whether nonexistent headers
4569 # can be detected and how.
4570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4572 #include <ac_nonexistent.h>
4574 if ac_fn_c_try_cpp
"$LINENO"; then :
4575 # Broken: success on invalid input.
4578 # Passes both tests.
4582 rm -f conftest.err conftest.
$ac_ext
4585 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4586 rm -f conftest.err conftest.
$ac_ext
4587 if $ac_preproc_ok; then :
4590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4592 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4593 See \`config.log' for more details." "$LINENO" 5; }
4597 ac_cpp
='$CPP $CPPFLAGS'
4598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4604 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4605 if test "${ac_cv_path_GREP+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4608 if test -z "$GREP"; then
4609 ac_path_GREP_found
=false
4610 # Loop through the user's path and test for each of PROGNAME-LIST
4611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4612 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4615 test -z "$as_dir" && as_dir
=.
4616 for ac_prog
in grep ggrep
; do
4617 for ac_exec_ext
in '' $ac_executable_extensions; do
4618 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4619 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4620 # Check for GNU ac_path_GREP and select it if it is found.
4621 # Check for GNU $ac_path_GREP
4622 case `"$ac_path_GREP" --version 2>&1` in
4624 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4627 $as_echo_n 0123456789 >"conftest.in"
4630 cat "conftest.in" "conftest.in" >"conftest.tmp"
4631 mv "conftest.tmp" "conftest.in"
4632 cp "conftest.in" "conftest.nl"
4633 $as_echo 'GREP' >> "conftest.nl"
4634 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4635 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4636 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4637 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4638 # Best one so far, save it but keep looking for a better one
4639 ac_cv_path_GREP
="$ac_path_GREP"
4640 ac_path_GREP_max
=$ac_count
4642 # 10*(2^10) chars as input seems more than enough
4643 test $ac_count -gt 10 && break
4645 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4648 $ac_path_GREP_found && break 3
4653 if test -z "$ac_cv_path_GREP"; then
4654 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4657 ac_cv_path_GREP
=$GREP
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4662 $as_echo "$ac_cv_path_GREP" >&6; }
4663 GREP
="$ac_cv_path_GREP"
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4667 $as_echo_n "checking for egrep... " >&6; }
4668 if test "${ac_cv_path_EGREP+set}" = set; then :
4669 $as_echo_n "(cached) " >&6
4671 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4672 then ac_cv_path_EGREP
="$GREP -E"
4674 if test -z "$EGREP"; then
4675 ac_path_EGREP_found
=false
4676 # Loop through the user's path and test for each of PROGNAME-LIST
4677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4678 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4681 test -z "$as_dir" && as_dir
=.
4682 for ac_prog
in egrep; do
4683 for ac_exec_ext
in '' $ac_executable_extensions; do
4684 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4685 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4686 # Check for GNU ac_path_EGREP and select it if it is found.
4687 # Check for GNU $ac_path_EGREP
4688 case `"$ac_path_EGREP" --version 2>&1` in
4690 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4693 $as_echo_n 0123456789 >"conftest.in"
4696 cat "conftest.in" "conftest.in" >"conftest.tmp"
4697 mv "conftest.tmp" "conftest.in"
4698 cp "conftest.in" "conftest.nl"
4699 $as_echo 'EGREP' >> "conftest.nl"
4700 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4701 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4702 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4703 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4704 # Best one so far, save it but keep looking for a better one
4705 ac_cv_path_EGREP
="$ac_path_EGREP"
4706 ac_path_EGREP_max
=$ac_count
4708 # 10*(2^10) chars as input seems more than enough
4709 test $ac_count -gt 10 && break
4711 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4714 $ac_path_EGREP_found && break 3
4719 if test -z "$ac_cv_path_EGREP"; then
4720 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4723 ac_cv_path_EGREP
=$EGREP
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4729 $as_echo "$ac_cv_path_EGREP" >&6; }
4730 EGREP
="$ac_cv_path_EGREP"
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4734 $as_echo_n "checking for ANSI C header files... " >&6; }
4735 if test "${ac_cv_header_stdc+set}" = set; then :
4736 $as_echo_n "(cached) " >&6
4738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4753 if ac_fn_c_try_compile
"$LINENO"; then :
4754 ac_cv_header_stdc
=yes
4756 ac_cv_header_stdc
=no
4758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4760 if test $ac_cv_header_stdc = yes; then
4761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4768 $EGREP "memchr" >/dev
/null
2>&1; then :
4771 ac_cv_header_stdc
=no
4777 if test $ac_cv_header_stdc = yes; then
4778 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4785 $EGREP "free" >/dev
/null
2>&1; then :
4788 ac_cv_header_stdc
=no
4794 if test $ac_cv_header_stdc = yes; then
4795 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4796 if test "$cross_compiling" = yes; then :
4799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4803 #if ((' ' & 0x0FF) == 0x020)
4804 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4805 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4807 # define ISLOWER(c) \
4808 (('a' <= (c) && (c) <= 'i') \
4809 || ('j' <= (c) && (c) <= 'r') \
4810 || ('s' <= (c) && (c) <= 'z'))
4811 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4814 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4819 for (i = 0; i < 256; i++)
4820 if (XOR (islower (i), ISLOWER (i))
4821 || toupper (i) != TOUPPER (i))
4826 if ac_fn_c_try_run
"$LINENO"; then :
4829 ac_cv_header_stdc
=no
4831 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4832 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4838 $as_echo "$ac_cv_header_stdc" >&6; }
4839 if test $ac_cv_header_stdc = yes; then
4841 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4845 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4846 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4847 inttypes.h stdint.h unistd.h
4849 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4850 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4852 eval as_val
=\$
$as_ac_Header
4853 if test "x$as_val" = x
""yes; then :
4854 cat >>confdefs.h
<<_ACEOF
4855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4864 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4865 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4872 if test "$MINIX" = yes; then
4874 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4877 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4880 $as_echo "#define _MINIX 1" >>confdefs.h
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4886 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4887 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4888 $as_echo_n "(cached) " >&6
4890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4893 # define __EXTENSIONS__ 1
4894 $ac_includes_default
4903 if ac_fn_c_try_compile
"$LINENO"; then :
4904 ac_cv_safe_to_define___extensions__
=yes
4906 ac_cv_safe_to_define___extensions__
=no
4908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4911 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4912 test $ac_cv_safe_to_define___extensions__ = yes &&
4913 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4915 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4917 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4919 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4921 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4925 # Calculate toolexeclibdir
4926 # Also toolexecdir, though it's only used in toolexeclibdir
4927 case ${version_specific_libs} in
4929 # Need the gcc compiler version to know where to install libraries
4930 # and header files if --enable-version-specific-runtime-libs option
4932 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4933 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4936 if test -n "$with_cross_host" &&
4937 test x
"$with_cross_host" != x
"no"; then
4938 # Install a library built with a cross compiler in tooldir, not libdir.
4939 toolexecdir
='$(exec_prefix)/$(target_alias)'
4940 toolexeclibdir
='$(toolexecdir)/lib'
4942 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4943 toolexeclibdir
='$(libdir)'
4945 multi_os_directory
=`$CC -print-multi-os-directory`
4946 case $multi_os_directory in
4947 .
) ;; # Avoid trailing /.
4948 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4955 # Create a spec file, so that compile/link tests don't fail
4956 test -f libgfortran.spec ||
touch libgfortran.spec
4959 ac_cpp
='$CPP $CPPFLAGS'
4960 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4961 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4962 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4964 # Check the compiler.
4965 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4966 # We must force CC to /not/ be precious variables; otherwise
4967 # the wrong, non-multilib-adjusted value will be used in multilibs.
4968 # As a side effect, we have to subst CFLAGS ourselves.
4973 ac_cpp
='$CPP $CPPFLAGS'
4974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4977 if test -n "$ac_tool_prefix"; then
4978 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4979 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if test "${ac_cv_prog_CC+set}" = set; then :
4983 $as_echo_n "(cached) " >&6
4985 if test -n "$CC"; then
4986 ac_cv_prog_CC
="$CC" # Let the user override the test.
4988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir
=.
4993 for ac_exec_ext
in '' $ac_executable_extensions; do
4994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4995 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 if test -n "$CC"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5008 $as_echo "$CC" >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5016 if test -z "$ac_cv_prog_CC"; then
5018 # Extract the first word of "gcc", so it can be a program name with args.
5019 set dummy gcc
; ac_word
=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5023 $as_echo_n "(cached) " >&6
5025 if test -n "$ac_ct_CC"; then
5026 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_ac_ct_CC
="gcc"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5046 if test -n "$ac_ct_CC"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5048 $as_echo "$ac_ct_CC" >&6; }
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5054 if test "x$ac_ct_CC" = x
; then
5057 case $cross_compiling:$ac_tool_warned in
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5061 ac_tool_warned
=yes ;;
5069 if test -z "$CC"; then
5070 if test -n "$ac_tool_prefix"; then
5071 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5072 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if test "${ac_cv_prog_CC+set}" = set; then :
5076 $as_echo_n "(cached) " >&6
5078 if test -n "$CC"; then
5079 ac_cv_prog_CC
="$CC" # Let the user override the test.
5081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5085 test -z "$as_dir" && as_dir
=.
5086 for ac_exec_ext
in '' $ac_executable_extensions; do
5087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5088 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 if test -n "$CC"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5101 $as_echo "$CC" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5110 if test -z "$CC"; then
5111 # Extract the first word of "cc", so it can be a program name with args.
5112 set dummy cc
; ac_word
=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if test "${ac_cv_prog_CC+set}" = set; then :
5116 $as_echo_n "(cached) " >&6
5118 if test -n "$CC"; then
5119 ac_cv_prog_CC
="$CC" # Let the user override the test.
5122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5126 test -z "$as_dir" && as_dir
=.
5127 for ac_exec_ext
in '' $ac_executable_extensions; do
5128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5129 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5130 ac_prog_rejected
=yes
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 if test $ac_prog_rejected = yes; then
5142 # We found a bogon in the path, so make sure we never use it.
5143 set dummy
$ac_cv_prog_CC
5145 if test $# != 0; then
5146 # We chose a different compiler from the bogus one.
5147 # However, it has the same basename, so the bogon will be chosen
5148 # first if we set CC to just the basename; use the full file name.
5150 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5156 if test -n "$CC"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5158 $as_echo "$CC" >&6; }
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5166 if test -z "$CC"; then
5167 if test -n "$ac_tool_prefix"; then
5168 for ac_prog
in cl.exe
5170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5171 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if test "${ac_cv_prog_CC+set}" = set; then :
5175 $as_echo_n "(cached) " >&6
5177 if test -n "$CC"; then
5178 ac_cv_prog_CC
="$CC" # Let the user override the test.
5180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5184 test -z "$as_dir" && as_dir
=.
5185 for ac_exec_ext
in '' $ac_executable_extensions; do
5186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5187 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 if test -n "$CC"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5200 $as_echo "$CC" >&6; }
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5207 test -n "$CC" && break
5210 if test -z "$CC"; then
5212 for ac_prog
in cl.exe
5214 # Extract the first word of "$ac_prog", so it can be a program name with args.
5215 set dummy
$ac_prog; ac_word
=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5219 $as_echo_n "(cached) " >&6
5221 if test -n "$ac_ct_CC"; then
5222 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir
=.
5229 for ac_exec_ext
in '' $ac_executable_extensions; do
5230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231 ac_cv_prog_ac_ct_CC
="$ac_prog"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5242 if test -n "$ac_ct_CC"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5244 $as_echo "$ac_ct_CC" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5251 test -n "$ac_ct_CC" && break
5254 if test "x$ac_ct_CC" = x
; then
5257 case $cross_compiling:$ac_tool_warned in
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5261 ac_tool_warned
=yes ;;
5270 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5272 as_fn_error
"no acceptable C compiler found in \$PATH
5273 See \`config.log' for more details." "$LINENO" 5; }
5275 # Provide some information about the compiler.
5276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5279 for ac_option
in --version -v -V -qversion; do
5280 { { ac_try
="$ac_compiler $ac_option >&5"
5282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 $as_echo "$ac_try_echo"; } >&5
5287 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5289 if test -s conftest.err; then
5291 ... rest of stderr output deleted ...
5292 10q' conftest.err >conftest.er1
5293 cat conftest.er1 >&5
5294 rm -f conftest.er1 conftest.err
5296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5297 test $ac_status = 0; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5301 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5302 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5303 $as_echo_n "(cached) " >&6
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5319 if ac_fn_c_try_compile "$LINENO"; then :
5324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5325 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5329 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5330 if test $ac_compiler_gnu = yes; then
5335 ac_test_CFLAGS=${CFLAGS+set}
5336 ac_save_CFLAGS=$CFLAGS
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5338 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5339 if test "${ac_cv_prog_cc_g+set}" = set; then :
5340 $as_echo_n "(cached) " >&6
5342 ac_save_c_werror_flag=$ac_c_werror_flag
5343 ac_c_werror_flag=yes
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5357 if ac_fn_c_try_compile "$LINENO"; then :
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5372 if ac_fn_c_try_compile "$LINENO"; then :
5375 ac_c_werror_flag=$ac_save_c_werror_flag
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5388 if ac_fn_c_try_compile "$LINENO"; then :
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5396 ac_c_werror_flag=$ac_save_c_werror_flag
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5399 $as_echo "$ac_cv_prog_cc_g" >&6; }
5400 if test "$ac_test_CFLAGS" = set; then
5401 CFLAGS=$ac_save_CFLAGS
5402 elif test $ac_cv_prog_cc_g = yes; then
5403 if test "$GCC" = yes; then
5409 if test "$GCC" = yes; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5416 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5417 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5418 $as_echo_n "(cached) " >&6
5420 ac_cv_prog_cc_c89=no
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5426 #include <sys/types.h>
5427 #include <sys/stat.h>
5428 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5429 struct buf { int x; };
5430 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5431 static char *e (p, i)
5437 static char *f (char * (*g) (char **, int), char **p, ...)
5442 s = g (p, va_arg (v,int));
5447 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5448 function prototypes and stuff, but not '\xHH' hex character constants.
5449 These don't provoke an error unfortunately, instead are silently treated
5450 as 'x'. The following induces an error, until -std is added to get
5451 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5452 array size at least. It's necessary to write '\x00'==0 to get something
5453 that's true only with -std. */
5454 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5456 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5457 inside strings and character constants. */
5459 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5461 int test (int i, double x);
5462 struct s1 {int (*f) (int a);};
5463 struct s2 {int (*f) (double a);};
5464 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5470 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5475 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5476 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5478 CC="$ac_save_CC $ac_arg"
5479 if ac_fn_c_try_compile "$LINENO"; then :
5480 ac_cv_prog_cc_c89=$ac_arg
5482 rm -f core conftest.err conftest.$ac_objext
5483 test "x$ac_cv_prog_cc_c89" != "xno" && break
5485 rm -f conftest.$ac_ext
5490 case "x$ac_cv_prog_cc_c89" in
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5493 $as_echo "none needed" >&6; } ;;
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5496 $as_echo "unsupported" >&6; } ;;
5498 CC="$CC $ac_cv_prog_cc_c89"
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5500 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5502 if test "x$ac_cv_prog_cc_c89" != xno; then :
5507 ac_cpp='$CPP $CPPFLAGS'
5508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5512 depcc="$CC" am_compiler_list=
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5515 $as_echo_n "checking dependency style of $depcc... " >&6; }
5516 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5517 $as_echo_n "(cached) " >&6
5519 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5520 # We make a subdir and do the tests there. Otherwise we can end up
5521 # making bogus files that we don't know about and never remove. For
5522 # instance it was reported that on HP-UX the gcc test will end up
5523 # making a dummy file named `D
' -- because `-MD' means
`put the output
5527 # Copy depcomp to subdir because otherwise we won't find it if we're
5528 # using a relative directory.
5529 cp "$am_depcomp" conftest.dir
5531 # We will build objects and dependencies in a subdirectory because
5532 # it helps to detect inapplicable dependency modes. For instance
5533 # both Tru64's cc and ICC support -MD to output dependencies as a
5534 # side effect of compilation, but ICC will put the dependencies in
5535 # the current directory while Tru64 will put them in the object
5539 am_cv_CC_dependencies_compiler_type=none
5540 if test "$am_compiler_list" = ""; then
5541 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5544 case " $depcc " in #(
5545 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5548 for depmode in $am_compiler_list; do
5549 # Setup a source with many dependencies, because some compilers
5550 # like to wrap large dependency lists on column 80 (with \), and
5551 # we should not choose a depcomp mode which is confused by this.
5553 # We need to recreate these files for each test, as the compiler may
5554 # overwrite some of them when testing with obscure command lines.
5555 # This happens at least with the AIX C compiler.
5557 for i in 1 2 3 4 5 6; do
5558 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5559 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5560 # Solaris 8's
{/usr
,}/bin
/sh.
5561 touch sub
/conftst
$i.h
5563 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5565 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5566 # mode. It turns out that the SunPro C++ compiler does not properly
5567 # handle `-M -o', and we need to detect this. Also, some Intel
5568 # versions had trouble with output in subdirs
5569 am__obj
=sub
/conftest.
${OBJEXT-o}
5570 am__minus_obj
="-o $am__obj"
5573 # This depmode causes a compiler race in universal mode.
5574 test "$am__universal" = false ||
continue
5577 # after this tag, mechanisms are not by side-effect, so they'll
5578 # only be used when explicitly requested
5579 if test "x$enable_dependency_tracking" = xyes
; then
5585 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5586 # This compiler won't grok `-c -o', but also, the minuso test has
5587 # not run yet. These depmodes are late enough in the game, and
5588 # so weak that their functioning should not be impacted.
5589 am__obj
=conftest.
${OBJEXT-o}
5594 if depmode
=$depmode \
5595 source=sub
/conftest.c object
=$am__obj \
5596 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5597 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5598 >/dev
/null
2>conftest.err
&&
5599 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5600 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5601 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5602 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5603 # icc doesn't choke on unknown options, it will just issue warnings
5604 # or remarks (even with -Werror). So we grep stderr for any message
5605 # that says an option was ignored or not supported.
5606 # When given -MP, icc 7.0 and 7.1 complain thusly:
5607 # icc: Command line warning: ignoring option '-M'; no argument required
5608 # The diagnosis changed in icc 8.0:
5609 # icc: Command line remark: option '-MP' not supported
5610 if (grep 'ignoring option' conftest.err ||
5611 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5612 am_cv_CC_dependencies_compiler_type
=$depmode
5621 am_cv_CC_dependencies_compiler_type
=none
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5626 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5627 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5630 test "x$enable_dependency_tracking" != xno \
5631 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5633 am__fastdepCC_FALSE
='#'
5635 am__fastdepCC_TRUE
='#'
5636 am__fastdepCC_FALSE
=
5644 if test "x$CC" != xcc
; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5646 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5649 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5651 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5652 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5653 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5654 $as_echo_n "(cached) " >&6
5656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5657 /* end confdefs.h. */
5667 # Make sure it works both with $CC and with simple cc.
5668 # We do the test twice because some compilers refuse to overwrite an
5669 # existing .o file with -o, though they will create one.
5670 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5672 if { { case "(($ac_try" in
5673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5674 *) ac_try_echo=$ac_try;;
5676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5677 $as_echo "$ac_try_echo"; } >&5
5678 (eval "$ac_try") 2>&5
5680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5681 test $ac_status = 0; } &&
5682 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5684 *) ac_try_echo
=$ac_try;;
5686 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5687 $as_echo "$ac_try_echo"; } >&5
5688 (eval "$ac_try") 2>&5
5690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5691 test $ac_status = 0; };
5693 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5694 if test "x$CC" != xcc
; then
5695 # Test first that cc exists at all.
5696 if { ac_try
='cc -c conftest.$ac_ext >&5'
5697 { { case "(($ac_try" in
5698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5699 *) ac_try_echo=$ac_try;;
5701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5702 $as_echo "$ac_try_echo"; } >&5
5703 (eval "$ac_try") 2>&5
5705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5706 test $ac_status = 0; }; }; then
5707 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5709 if { { case "(($ac_try" in
5710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5711 *) ac_try_echo
=$ac_try;;
5713 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5714 $as_echo "$ac_try_echo"; } >&5
5715 (eval "$ac_try") 2>&5
5717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5718 test $ac_status = 0; } &&
5719 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5724 $as_echo "$ac_try_echo"; } >&5
5725 (eval "$ac_try") 2>&5
5727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5728 test $ac_status = 0; };
5733 # cc exists but doesn't like -o.
5734 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5739 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5741 rm -f core conftest*
5744 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5746 $as_echo "yes" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5751 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5755 # FIXME: we rely on the cache variable name because
5756 # there is no other way.
5758 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5759 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5760 if test "$am_t" != yes; then
5761 # Losing compiler, so override with the script.
5762 # FIXME: It is wrong to rewrite CC.
5763 # But if we don't then we get into trouble of one sort or another.
5764 # A longer-term fix would be to have automake use am__CC in this case,
5765 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5766 CC="$am_aux_dir/compile $CC"
5771 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5772 if test "x$GCC" = "xyes"; then
5773 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5774 ## We like to use C11 and C99 routines when available. This makes
5776 ## __STDC_VERSION__ is set such that libc includes make them available.
5777 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5778 ## Compile the following tests with the same system header contents
5779 ## that we'll encounter when compiling our own source files.
5780 CFLAGS="-std=gnu11 $CFLAGS"
5786 # Check for symbol versioning (copied from libssp).
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5788 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5789 # Check whether --enable-symvers was given.
5790 if test "${enable_symvers+set}" = set; then :
5791 enableval=$enable_symvers; gfortran_use_symver=$enableval
5793 gfortran_use_symver=yes
5796 if test "x$gfortran_use_symver" != xno; then
5797 save_LDFLAGS="$LDFLAGS"
5798 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5799 cat > conftest.map <<EOF
5801 global: *foo*; bar; local: *;
5804 if test x$gcc_no_link = xyes; then
5805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5808 /* end confdefs.h. */
5818 if ac_fn_c_try_link "$LINENO"; then :
5819 gfortran_use_symver=gnu
5821 gfortran_use_symver=no
5823 rm -f core conftest.err conftest.$ac_objext \
5824 conftest$ac_exeext conftest.$ac_ext
5825 if test x$gfortran_use_symver = xno; then
5826 case "$target_os" in
5828 LDFLAGS="$save_LDFLAGS"
5829 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5830 # Sun ld cannot handle wildcards and treats all entries as undefined.
5831 cat > conftest.map <<EOF
5833 global: foo; local: *;
5836 if test x$gcc_no_link = xyes; then
5837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5850 if ac_fn_c_try_link "$LINENO"; then :
5851 gfortran_use_symver=sun
5853 gfortran_use_symver=no
5855 rm -f core conftest.err conftest.$ac_objext \
5856 conftest$ac_exeext conftest.$ac_ext
5860 LDFLAGS="$save_LDFLAGS"
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5863 $as_echo "$gfortran_use_symver" >&6; }
5864 if test "x$gfortran_use_symver" != xno; then
5865 LIBGFOR_USE_SYMVER_TRUE=
5866 LIBGFOR_USE_SYMVER_FALSE='#'
5868 LIBGFOR_USE_SYMVER_TRUE='#'
5869 LIBGFOR_USE_SYMVER_FALSE=
5872 if test "x$gfortran_use_symver" = xgnu; then
5873 LIBGFOR_USE_SYMVER_GNU_TRUE=
5874 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5876 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5877 LIBGFOR_USE_SYMVER_GNU_FALSE=
5880 if test "x$gfortran_use_symver" = xsun; then
5881 LIBGFOR_USE_SYMVER_SUN_TRUE=
5882 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5884 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5885 LIBGFOR_USE_SYMVER_SUN_FALSE=
5889 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5890 # similarly to how libstdc++ does it
5891 ac_test_CFLAGS="${CFLAGS+set}"
5892 ac_save_CFLAGS="$CFLAGS"
5894 # Check for -ffunction-sections -fdata-sections
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5896 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5897 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5899 /* end confdefs.h. */
5909 if ac_fn_c_try_compile "$LINENO"; then :
5914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5915 if test "$ac_test_CFLAGS" = set; then
5916 CFLAGS="$ac_save_CFLAGS"
5918 # this is the suspicious part
5921 if test x"$ac_fdsections" = x"yes"; then
5922 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5925 $as_echo "$ac_fdsections" >&6; }
5928 # Find other programs we need.
5929 if test -n "$ac_tool_prefix"; then
5930 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5931 set dummy ${ac_tool_prefix}as; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if test "${ac_cv_prog_AS+set}" = set; then :
5935 $as_echo_n "(cached) " >&6
5937 if test -n "$AS"; then
5938 ac_cv_prog_AS="$AS" # Let the user override the test.
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947 ac_cv_prog_AS="${ac_tool_prefix}as"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 if test -n "$AS"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5960 $as_echo "$AS" >&6; }
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5968 if test -z "$ac_cv_prog_AS"; then
5970 # Extract the first word of "as", so it can be a program name with args.
5971 set dummy as; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5975 $as_echo_n "(cached) " >&6
5977 if test -n "$ac_ct_AS"; then
5978 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987 ac_cv_prog_ac_ct_AS="as"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5998 if test -n "$ac_ct_AS"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6000 $as_echo "$ac_ct_AS" >&6; }
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6006 if test "x$ac_ct_AS" = x; then
6009 case $cross_compiling:$ac_tool_warned in
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6013 ac_tool_warned=yes ;;
6021 if test -n "$ac_tool_prefix"; then
6022 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6023 set dummy ${ac_tool_prefix}ar; ac_word=$2
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025 $as_echo_n "checking for $ac_word... " >&6; }
6026 if test "${ac_cv_prog_AR+set}" = set; then :
6027 $as_echo_n "(cached) " >&6
6029 if test -n "$AR"; then
6030 ac_cv_prog_AR="$AR" # Let the user override the test.
6032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 test -z "$as_dir" && as_dir=.
6037 for ac_exec_ext in '' $ac_executable_extensions; do
6038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6039 ac_cv_prog_AR="${ac_tool_prefix}ar"
6040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050 if test -n "$AR"; then
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6052 $as_echo "$AR" >&6; }
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6060 if test -z "$ac_cv_prog_AR"; then
6062 # Extract the first word of "ar", so it can be a program name with args.
6063 set dummy ar; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6067 $as_echo_n "(cached) " >&6
6069 if test -n "$ac_ct_AR"; then
6070 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6079 ac_cv_prog_ac_ct_AR="ar"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6090 if test -n "$ac_ct_AR"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6092 $as_echo "$ac_ct_AR" >&6; }
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6098 if test "x$ac_ct_AR" = x; then
6101 case $cross_compiling:$ac_tool_warned in
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6105 ac_tool_warned=yes ;;
6113 if test -n "$ac_tool_prefix"; then
6114 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6115 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 $as_echo_n "checking for $ac_word... " >&6; }
6118 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6119 $as_echo_n "(cached) " >&6
6121 if test -n "$RANLIB"; then
6122 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 test -z "$as_dir" && as_dir=.
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6131 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 RANLIB=$ac_cv_prog_RANLIB
6142 if test -n "$RANLIB"; then
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6144 $as_echo "$RANLIB" >&6; }
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 $as_echo "no" >&6; }
6152 if test -z "$ac_cv_prog_RANLIB"; then
6153 ac_ct_RANLIB=$RANLIB
6154 # Extract the first word of "ranlib", so it can be a program name with args.
6155 set dummy ranlib; ac_word=$2
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157 $as_echo_n "checking for $ac_word... " >&6; }
6158 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6159 $as_echo_n "(cached) " >&6
6161 if test -n "$ac_ct_RANLIB"; then
6162 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_prog_ac_ct_RANLIB="ranlib"
6172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6182 if test -n "$ac_ct_RANLIB"; then
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6184 $as_echo "$ac_ct_RANLIB" >&6; }
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187 $as_echo "no" >&6; }
6190 if test "x$ac_ct_RANLIB" = x; then
6191 RANLIB="ranlib-not-found-in-path-error"
6193 case $cross_compiling:$ac_tool_warned in
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6197 ac_tool_warned=yes ;;
6199 RANLIB=$ac_ct_RANLIB
6202 RANLIB="$ac_cv_prog_RANLIB"
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6206 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6208 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6209 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6210 $as_echo_n "(cached) " >&6
6212 cat >conftest.make <<\_ACEOF
6215 @echo '@@@%%%=$(MAKE)=@@@%%%'
6217 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6218 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6220 eval ac_cv_prog_make_${ac_make}_set=yes;;
6222 eval ac_cv_prog_make_${ac_make}_set=no;;
6226 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6228 $as_echo "yes" >&6; }
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6233 SET_MAKE="MAKE=${MAKE-make}"
6239 #AC_MSG_NOTICE([====== Starting libtool configuration])
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6247 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6252 macro_version='2.2.7a'
6253 macro_revision='1.3134'
6267 ltmain="$ac_aux_dir/ltmain.sh"
6269 # Backslashify metacharacters that are still active within
6270 # double-quoted strings.
6271 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6273 # Same as above, but do not quote variable references.
6274 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6276 # Sed substitution to delay expansion of an escaped shell variable in a
6277 # double_quote_subst'ed string.
6278 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6280 # Sed substitution to delay expansion of an escaped single quote.
6281 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6283 # Sed substitution to avoid accidental globbing in evaled expressions
6284 no_glob_subst='s/\*/\\\*/g'
6286 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6287 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6288 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6291 $as_echo_n "checking how to print
strings...
" >&6; }
6292 # Test print first, because it will be a builtin if present.
6293 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6294 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6296 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6299 # Use this function as a fallback that always works.
6300 func_fallback_echo ()
6302 eval 'cat <<_LTECHO_EOF
6306 ECHO='func_fallback_echo'
6309 # func_echo_all arg...
6310 # Invoke $ECHO with all args, space-separated.
6317 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6318 $as_echo "printf" >&6; } ;;
6319 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6320 $as_echo "print
-r" >&6; } ;;
6321 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6322 $as_echo "cat" >&6; } ;;
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6339 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6340 if test "${ac_cv_path_SED+set}" = set; then :
6341 $as_echo_n "(cached
) " >&6
6343 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6344 for ac_i in 1 2 3 4 5 6 7; do
6345 ac_script="$ac_script$as_nl$ac_script"
6347 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6348 { ac_script=; unset ac_script;}
6349 if test -z "$SED"; then
6350 ac_path_SED_found=false
6351 # Loop through the user's path and test for each of PROGNAME-LIST
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356 test -z "$as_dir" && as_dir=.
6357 for ac_prog in sed gsed; do
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6360 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6361 # Check for GNU ac_path_SED and select it if it is found.
6362 # Check for GNU $ac_path_SED
6363 case `"$ac_path_SED" --version 2>&1` in
6365 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6368 $as_echo_n 0123456789 >"conftest.
in"
6371 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6372 mv "conftest.tmp
" "conftest.
in"
6373 cp "conftest.
in" "conftest.
nl"
6374 $as_echo '' >> "conftest.
nl"
6375 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6376 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6377 as_fn_arith $ac_count + 1 && ac_count=$as_val
6378 if test $ac_count -gt ${ac_path_SED_max-0}; then
6379 # Best one so far, save it but keep looking for a better one
6380 ac_cv_path_SED="$ac_path_SED"
6381 ac_path_SED_max=$ac_count
6383 # 10*(2^10) chars as input seems more than enough
6384 test $ac_count -gt 10 && break
6386 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6389 $ac_path_SED_found && break 3
6394 if test -z "$ac_cv_path_SED"; then
6395 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6403 $as_echo "$ac_cv_path_SED" >&6; }
6404 SED="$ac_cv_path_SED"
6407 test -z "$SED" && SED=sed
6408 Xsed="$SED -e 1s
/^X
//"
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6421 $as_echo_n "checking
for fgrep...
" >&6; }
6422 if test "${ac_cv_path_FGREP+set}" = set; then :
6423 $as_echo_n "(cached
) " >&6
6425 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6426 then ac_cv_path_FGREP="$GREP -F"
6428 if test -z "$FGREP"; then
6429 ac_path_FGREP_found=false
6430 # Loop through the user's path and test for each of PROGNAME-LIST
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6435 test -z "$as_dir" && as_dir=.
6436 for ac_prog in fgrep; do
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6439 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6440 # Check for GNU ac_path_FGREP and select it if it is found.
6441 # Check for GNU $ac_path_FGREP
6442 case `"$ac_path_FGREP" --version 2>&1` in
6444 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6447 $as_echo_n 0123456789 >"conftest.
in"
6450 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6451 mv "conftest.tmp
" "conftest.
in"
6452 cp "conftest.
in" "conftest.
nl"
6453 $as_echo 'FGREP' >> "conftest.
nl"
6454 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6455 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6456 as_fn_arith $ac_count + 1 && ac_count=$as_val
6457 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6458 # Best one so far, save it but keep looking for a better one
6459 ac_cv_path_FGREP="$ac_path_FGREP"
6460 ac_path_FGREP_max=$ac_count
6462 # 10*(2^10) chars as input seems more than enough
6463 test $ac_count -gt 10 && break
6465 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6468 $ac_path_FGREP_found && break 3
6473 if test -z "$ac_cv_path_FGREP"; then
6474 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6477 ac_cv_path_FGREP=$FGREP
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6483 $as_echo "$ac_cv_path_FGREP" >&6; }
6484 FGREP="$ac_cv_path_FGREP"
6487 test -z "$GREP" && GREP=grep
6507 # Check whether --with-gnu-ld was given.
6508 if test "${with_gnu_ld+set}" = set; then :
6509 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6515 if test "$GCC" = yes; then
6516 # Check if gcc -print-prog-name=ld gives a path.
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6518 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6521 # gcc leaves a trailing carriage return which upsets mingw
6522 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6524 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6527 # Accept absolute paths.
6529 re_direlt='/[^/][^/]*/\.\./'
6530 # Canonicalize the pathname of ld
6531 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6532 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6533 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6535 test -z "$LD" && LD="$ac_prog"
6538 # If it fails, then pretend we aren't using GCC.
6542 # If it is relative, then search for the first ld in PATH.
6546 elif test "$with_gnu_ld" = yes; then
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6548 $as_echo_n "checking
for GNU ld...
" >&6; }
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6551 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6553 if test "${lt_cv_path_LD+set}" = set; then :
6554 $as_echo_n "(cached
) " >&6
6556 if test -z "$LD"; then
6557 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6558 for ac_dir in $PATH; do
6560 test -z "$ac_dir" && ac_dir=.
6561 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6562 lt_cv_path_LD="$ac_dir/$ac_prog"
6563 # Check to see if the program is GNU ld. I'd rather use --version,
6564 # but apparently some variants of GNU ld only accept -v.
6565 # Break only if it was the GNU/non-GNU ld that we prefer.
6566 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6567 *GNU* | *'with BFD'*)
6568 test "$with_gnu_ld" != no && break
6571 test "$with_gnu_ld" != yes && break
6578 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6583 if test -n "$LD"; then
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6585 $as_echo "$LD" >&6; }
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6588 $as_echo "no
" >&6; }
6590 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6592 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6593 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6594 $as_echo_n "(cached
) " >&6
6596 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6597 case `$LD -v 2>&1 </dev/null` in
6598 *GNU* | *'with BFD'*)
6599 lt_cv_prog_gnu_ld=yes
6602 lt_cv_prog_gnu_ld=no
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6607 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6608 with_gnu_ld=$lt_cv_prog_gnu_ld
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6619 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6620 if test "${lt_cv_path_NM+set}" = set; then :
6621 $as_echo_n "(cached
) " >&6
6623 if test -n "$NM"; then
6624 # Let the user override the test.
6627 lt_nm_to_check="${ac_tool_prefix}nm
"
6628 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6629 lt_nm_to_check="$lt_nm_to_check nm
"
6631 for lt_tmp_nm in $lt_nm_to_check; do
6632 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6633 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6635 test -z "$ac_dir" && ac_dir=.
6636 tmp_nm="$ac_dir/$lt_tmp_nm"
6637 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6638 # Check to see if the nm accepts a BSD-compat flag.
6639 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6640 # nm: unknown option "B
" ignored
6641 # Tru64's nm complains that /dev/null is an invalid object file
6642 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6643 */dev/null* | *'Invalid file or object type'*)
6644 lt_cv_path_NM="$tmp_nm -B"
6648 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6650 lt_cv_path_NM="$tmp_nm -p"
6654 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6655 continue # so that we can try to find one that supports BSD flags
6664 : ${lt_cv_path_NM=no}
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6668 $as_echo "$lt_cv_path_NM" >&6; }
6669 if test "$lt_cv_path_NM" != "no
"; then
6672 # Didn't find any BSD compatible name lister, look for dumpbin.
6673 if test -n "$DUMPBIN"; then :
6674 # Let the user override the test.
6676 if test -n "$ac_tool_prefix"; then
6677 for ac_prog in dumpbin "link
-dump"
6679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6682 $as_echo_n "checking
for $ac_word...
" >&6; }
6683 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6684 $as_echo_n "(cached
) " >&6
6686 if test -n "$DUMPBIN"; then
6687 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 test -z "$as_dir" && as_dir=.
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6696 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6706 DUMPBIN=$ac_cv_prog_DUMPBIN
6707 if test -n "$DUMPBIN"; then
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6709 $as_echo "$DUMPBIN" >&6; }
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6712 $as_echo "no
" >&6; }
6716 test -n "$DUMPBIN" && break
6719 if test -z "$DUMPBIN"; then
6720 ac_ct_DUMPBIN=$DUMPBIN
6721 for ac_prog in dumpbin "link
-dump"
6723 # Extract the first word of "$ac_prog", so it can be a program name with args.
6724 set dummy $ac_prog; ac_word=$2
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6726 $as_echo_n "checking
for $ac_word...
" >&6; }
6727 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6728 $as_echo_n "(cached
) " >&6
6730 if test -n "$ac_ct_DUMPBIN"; then
6731 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 test -z "$as_dir" && as_dir=.
6738 for ac_exec_ext in '' $ac_executable_extensions; do
6739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6740 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6750 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6751 if test -n "$ac_ct_DUMPBIN"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6753 $as_echo "$ac_ct_DUMPBIN" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6756 $as_echo "no
" >&6; }
6760 test -n "$ac_ct_DUMPBIN" && break
6763 if test "x
$ac_ct_DUMPBIN" = x; then
6766 case $cross_compiling:$ac_tool_warned in
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6769 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6770 ac_tool_warned=yes ;;
6772 DUMPBIN=$ac_ct_DUMPBIN
6776 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6778 DUMPBIN="$DUMPBIN -symbols"
6786 if test "$DUMPBIN" != ":"; then
6790 test -z "$NM" && NM=nm
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6798 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6799 if test "${lt_cv_nm_interface+set}" = set; then :
6800 $as_echo_n "(cached
) " >&6
6802 lt_cv_nm_interface="BSD nm
"
6803 echo "int some_variable
= 0;" > conftest.$ac_ext
6804 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6805 (eval "$ac_compile" 2>conftest.err)
6806 cat conftest.err >&5
6807 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6808 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6809 cat conftest.err >&5
6810 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6811 cat conftest.out >&5
6812 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6813 lt_cv_nm_interface="MS dumpbin
"
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6818 $as_echo "$lt_cv_nm_interface" >&6; }
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6821 $as_echo_n "checking whether
ln -s works...
" >&6; }
6823 if test "$LN_S" = "ln -s"; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6825 $as_echo "yes" >&6; }
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6828 $as_echo "no
, using
$LN_S" >&6; }
6831 # find the maximum length of command line arguments
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6833 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6834 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6835 $as_echo_n "(cached
) " >&6
6842 # On DJGPP, this test can blow up pretty badly due to problems in libc
6843 # (any single argument exceeding 2000 bytes causes a buffer overrun
6844 # during glob expansion). Even if it were fixed, the result of this
6845 # check would be larger than it should be.
6846 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6850 # Under GNU Hurd, this test is not required because there is
6851 # no limit to the length of command line arguments.
6852 # Libtool will interpret -1 as no limit whatsoever
6853 lt_cv_sys_max_cmd_len=-1;
6856 cygwin* | mingw* | cegcc*)
6857 # On Win9x/ME, this test blows up -- it succeeds, but takes
6858 # about 5 minutes as the teststring grows exponentially.
6859 # Worse, since 9x/ME are not pre-emptively multitasking,
6860 # you end up with a "frozen
" computer, even though with patience
6861 # the test eventually succeeds (with a max line length of 256k).
6862 # Instead, let's just punt: use the minimum linelength reported by
6863 # all of the supported platforms: 8192 (on NT/2K/XP).
6864 lt_cv_sys_max_cmd_len=8192;
6868 # On MiNT this can take a long time and run out of memory.
6869 lt_cv_sys_max_cmd_len=8192;
6873 # On AmigaOS with pdksh, this test takes hours, literally.
6874 # So we just punt and use a minimum line length of 8192.
6875 lt_cv_sys_max_cmd_len=8192;
6878 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6879 # This has been around since 386BSD, at least. Likely further.
6880 if test -x /sbin/sysctl; then
6881 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6882 elif test -x /usr/sbin/sysctl; then
6883 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6885 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6887 # And add a safety zone
6888 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6889 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6893 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6894 lt_cv_sys_max_cmd_len=196608
6898 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6899 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6900 # nice to cause kernel panics so lets avoid the loop below.
6901 # First set a reasonable default.
6902 lt_cv_sys_max_cmd_len=16384
6904 if test -x /sbin/sysconfig; then
6905 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6906 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6911 lt_cv_sys_max_cmd_len=102400
6913 sysv5* | sco5v6* | sysv4.2uw2*)
6914 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6915 if test -n "$kargmax"; then
6916 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6918 lt_cv_sys_max_cmd_len=32768
6922 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6923 if test -n "$lt_cv_sys_max_cmd_len"; then
6924 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6925 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6927 # Make teststring a little bigger before we do anything with it.
6928 # a 1K string should be a reasonable start.
6929 for i in 1 2 3 4 5 6 7 8 ; do
6930 teststring=$teststring$teststring
6932 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6933 # If test is not a shell built-in, we'll probably end up computing a
6934 # maximum length that is only half of the actual maximum length, but
6936 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6937 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6938 test $i != 17 # 1/2 MB should be enough
6941 teststring=$teststring$teststring
6943 # Only check the string length outside the loop.
6944 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6946 # Add a significant safety factor because C++ compilers can tack on
6947 # massive amounts of additional arguments before passing them to the
6948 # linker. It appears as though 1/2 is a usable value.
6949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6956 if test -n $lt_cv_sys_max_cmd_len ; then
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6958 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6961 $as_echo "none
" >&6; }
6963 max_cmd_len=$lt_cv_sys_max_cmd_len
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6975 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6976 # Try some XSI features
6979 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6981 && eval 'test $(( 1 + 1 )) -eq 2 \
6982 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6985 $as_echo "$xsi_shell" >&6; }
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6989 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6991 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6993 && lt_shell_append
=yes
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6995 $as_echo "$lt_shell_append" >&6; }
6998 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7008 # test EBCDIC or ASCII
7009 case `echo X|tr X '\101'` in
7010 A
) # ASCII based system
7011 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7012 lt_SP2NL
='tr \040 \012'
7013 lt_NL2SP
='tr \015\012 \040\040'
7015 *) # EBCDIC based system
7016 lt_SP2NL
='tr \100 \n'
7017 lt_NL2SP
='tr \r\n \100\100'
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7030 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7031 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7032 $as_echo_n "(cached) " >&6
7034 lt_cv_ld_reload_flag
='-r'
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7037 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7038 reload_flag
=$lt_cv_ld_reload_flag
7039 case $reload_flag in
7041 *) reload_flag
=" $reload_flag" ;;
7043 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7046 if test "$GCC" = yes; then
7047 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7049 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7062 if test -n "$ac_tool_prefix"; then
7063 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7064 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7068 $as_echo_n "(cached) " >&6
7070 if test -n "$OBJDUMP"; then
7071 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir
=.
7078 for ac_exec_ext
in '' $ac_executable_extensions; do
7079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 OBJDUMP
=$ac_cv_prog_OBJDUMP
7091 if test -n "$OBJDUMP"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7093 $as_echo "$OBJDUMP" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7101 if test -z "$ac_cv_prog_OBJDUMP"; then
7102 ac_ct_OBJDUMP
=$OBJDUMP
7103 # Extract the first word of "objdump", so it can be a program name with args.
7104 set dummy objdump
; ac_word
=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 $as_echo_n "checking for $ac_word... " >&6; }
7107 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7108 $as_echo_n "(cached) " >&6
7110 if test -n "$ac_ct_OBJDUMP"; then
7111 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7117 test -z "$as_dir" && as_dir
=.
7118 for ac_exec_ext
in '' $ac_executable_extensions; do
7119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7120 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7131 if test -n "$ac_ct_OBJDUMP"; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7133 $as_echo "$ac_ct_OBJDUMP" >&6; }
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 $as_echo "no" >&6; }
7139 if test "x$ac_ct_OBJDUMP" = x
; then
7142 case $cross_compiling:$ac_tool_warned in
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7146 ac_tool_warned
=yes ;;
7148 OBJDUMP
=$ac_ct_OBJDUMP
7151 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7154 test -z "$OBJDUMP" && OBJDUMP
=objdump
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7165 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7166 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7167 $as_echo_n "(cached) " >&6
7169 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7170 lt_cv_file_magic_test_file
=
7171 lt_cv_deplibs_check_method
='unknown'
7172 # Need to set the preceding variable on all platforms that support
7173 # interlibrary dependencies.
7174 # 'none' -- dependencies not supported.
7175 # `unknown' -- same as none, but documents that we really don't know.
7176 # 'pass_all' -- all dependencies passed with no checks.
7177 # 'test_compile' -- check by making test program.
7178 # 'file_magic [[regex]]' -- check by looking for files in library path
7179 # which responds to the $file_magic_cmd with a given extended regex.
7180 # If you have `file' or equivalent on your system and you're not sure
7181 # whether `pass_all' will *always* work, you probably want this one.
7185 lt_cv_deplibs_check_method
=pass_all
7189 lt_cv_deplibs_check_method
=pass_all
7193 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7194 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7195 lt_cv_file_magic_test_file
=/shlib
/libc.so
7199 # func_win32_libid is a shell function defined in ltmain.sh
7200 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7201 lt_cv_file_magic_cmd
='func_win32_libid'
7205 # Base MSYS/MinGW do not provide the 'file' command needed by
7206 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7207 # unless we find 'file', for example because we are cross-compiling.
7208 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7209 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7210 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7211 lt_cv_file_magic_cmd
='func_win32_libid'
7213 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7214 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7219 # use the weaker test based on 'objdump'. See mingw*.
7220 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7221 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7224 darwin
* | rhapsody
*)
7225 lt_cv_deplibs_check_method
=pass_all
7228 freebsd
* | dragonfly
*)
7229 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7232 # Not sure whether the presence of OpenBSD here was a mistake.
7233 # Let's accept both of them until this is cleared up.
7234 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7235 lt_cv_file_magic_cmd
=/usr
/bin
/file
7236 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7240 lt_cv_deplibs_check_method
=pass_all
7245 lt_cv_deplibs_check_method
=pass_all
7249 lt_cv_deplibs_check_method
=pass_all
7252 hpux10.20
* | hpux11
*)
7253 lt_cv_file_magic_cmd
=/usr
/bin
/file
7256 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7257 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7260 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]'
7261 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7264 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7265 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7271 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7272 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7275 irix5
* | irix6
* | nonstopux
*)
7277 *-32|
*"-32 ") libmagic
=32-bit;;
7278 *-n32|
*"-n32 ") libmagic
=N32
;;
7279 *-64|
*"-64 ") libmagic
=64-bit;;
7280 *) libmagic
=never-match
;;
7282 lt_cv_deplibs_check_method
=pass_all
7285 # This must be Linux ELF.
7286 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7287 lt_cv_deplibs_check_method
=pass_all
7291 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7292 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7294 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7299 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7300 lt_cv_file_magic_cmd
=/usr
/bin
/file
7301 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7305 lt_cv_deplibs_check_method
=pass_all
7309 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7310 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7312 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7316 osf3
* | osf4
* | osf5
*)
7317 lt_cv_deplibs_check_method
=pass_all
7321 lt_cv_deplibs_check_method
=pass_all
7325 lt_cv_deplibs_check_method
=pass_all
7328 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7329 lt_cv_deplibs_check_method
=pass_all
7333 case $host_vendor in
7335 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]'
7336 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7339 lt_cv_deplibs_check_method
=pass_all
7342 lt_cv_file_magic_cmd
='/bin/file'
7343 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7346 lt_cv_file_magic_cmd
='/bin/file'
7347 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7348 lt_cv_file_magic_test_file
=/lib
/libc.so
7351 lt_cv_deplibs_check_method
=pass_all
7354 lt_cv_deplibs_check_method
=pass_all
7360 lt_cv_deplibs_check_method
=pass_all
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7366 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7367 file_magic_cmd
=$lt_cv_file_magic_cmd
7368 deplibs_check_method
=$lt_cv_deplibs_check_method
7369 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7382 if test -n "$ac_tool_prefix"; then
7383 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7384 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 $as_echo_n "checking for $ac_word... " >&6; }
7387 if test "${ac_cv_prog_AR+set}" = set; then :
7388 $as_echo_n "(cached) " >&6
7390 if test -n "$AR"; then
7391 ac_cv_prog_AR
="$AR" # Let the user override the test.
7393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7397 test -z "$as_dir" && as_dir
=.
7398 for ac_exec_ext
in '' $ac_executable_extensions; do
7399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7400 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7411 if test -n "$AR"; then
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7413 $as_echo "$AR" >&6; }
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7416 $as_echo "no" >&6; }
7421 if test -z "$ac_cv_prog_AR"; then
7423 # Extract the first word of "ar", so it can be a program name with args.
7424 set dummy
ar; ac_word
=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7428 $as_echo_n "(cached) " >&6
7430 if test -n "$ac_ct_AR"; then
7431 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7437 test -z "$as_dir" && as_dir
=.
7438 for ac_exec_ext
in '' $ac_executable_extensions; do
7439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7440 ac_cv_prog_ac_ct_AR
="ar"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7451 if test -n "$ac_ct_AR"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7453 $as_echo "$ac_ct_AR" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7459 if test "x$ac_ct_AR" = x
; then
7462 case $cross_compiling:$ac_tool_warned in
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7466 ac_tool_warned
=yes ;;
7474 test -z "$AR" && AR
=ar
7475 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7487 if test -n "$ac_tool_prefix"; then
7488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7489 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7491 $as_echo_n "checking for $ac_word... " >&6; }
7492 if test "${ac_cv_prog_STRIP+set}" = set; then :
7493 $as_echo_n "(cached) " >&6
7495 if test -n "$STRIP"; then
7496 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7502 test -z "$as_dir" && as_dir
=.
7503 for ac_exec_ext
in '' $ac_executable_extensions; do
7504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7505 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7515 STRIP
=$ac_cv_prog_STRIP
7516 if test -n "$STRIP"; then
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7518 $as_echo "$STRIP" >&6; }
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7526 if test -z "$ac_cv_prog_STRIP"; then
7528 # Extract the first word of "strip", so it can be a program name with args.
7529 set dummy strip
; ac_word
=$2
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7531 $as_echo_n "checking for $ac_word... " >&6; }
7532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7533 $as_echo_n "(cached) " >&6
7535 if test -n "$ac_ct_STRIP"; then
7536 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7542 test -z "$as_dir" && as_dir
=.
7543 for ac_exec_ext
in '' $ac_executable_extensions; do
7544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7545 ac_cv_prog_ac_ct_STRIP
="strip"
7546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7555 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7556 if test -n "$ac_ct_STRIP"; then
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7558 $as_echo "$ac_ct_STRIP" >&6; }
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7561 $as_echo "no" >&6; }
7564 if test "x$ac_ct_STRIP" = x
; then
7567 case $cross_compiling:$ac_tool_warned in
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7571 ac_tool_warned
=yes ;;
7576 STRIP
="$ac_cv_prog_STRIP"
7579 test -z "$STRIP" && STRIP
=:
7586 if test -n "$ac_tool_prefix"; then
7587 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7588 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590 $as_echo_n "checking for $ac_word... " >&6; }
7591 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7592 $as_echo_n "(cached) " >&6
7594 if test -n "$RANLIB"; then
7595 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7601 test -z "$as_dir" && as_dir
=.
7602 for ac_exec_ext
in '' $ac_executable_extensions; do
7603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7604 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614 RANLIB
=$ac_cv_prog_RANLIB
7615 if test -n "$RANLIB"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7617 $as_echo "$RANLIB" >&6; }
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 $as_echo "no" >&6; }
7625 if test -z "$ac_cv_prog_RANLIB"; then
7626 ac_ct_RANLIB
=$RANLIB
7627 # Extract the first word of "ranlib", so it can be a program name with args.
7628 set dummy ranlib
; ac_word
=$2
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7630 $as_echo_n "checking for $ac_word... " >&6; }
7631 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7632 $as_echo_n "(cached) " >&6
7634 if test -n "$ac_ct_RANLIB"; then
7635 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7641 test -z "$as_dir" && as_dir
=.
7642 for ac_exec_ext
in '' $ac_executable_extensions; do
7643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7644 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7654 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7655 if test -n "$ac_ct_RANLIB"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7657 $as_echo "$ac_ct_RANLIB" >&6; }
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660 $as_echo "no" >&6; }
7663 if test "x$ac_ct_RANLIB" = x
; then
7666 case $cross_compiling:$ac_tool_warned in
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7670 ac_tool_warned
=yes ;;
7672 RANLIB
=$ac_ct_RANLIB
7675 RANLIB
="$ac_cv_prog_RANLIB"
7678 test -z "$RANLIB" && RANLIB
=:
7685 # Determine commands to create old-style static archives.
7686 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7687 old_postinstall_cmds
='chmod 644 $oldlib'
7688 old_postuninstall_cmds
=
7690 if test -n "$RANLIB"; then
7693 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7696 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7699 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7704 lock_old_archive_extraction
=yes ;;
7706 lock_old_archive_extraction
=no
;;
7747 # If no C compiler was specified, use CC.
7750 # If no C compiler flags were specified, use CFLAGS.
7751 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7753 # Allow CC to be a program name with arguments.
7757 # Check for command to grab the raw symbol name followed by C symbol from nm.
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7759 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7760 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7761 $as_echo_n "(cached) " >&6
7764 # These are sane defaults that work on at least a few old systems.
7765 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7767 # Character class describing NM global symbol codes.
7768 symcode
='[BCDEGRST]'
7770 # Regexp to match symbols that can be accessed directly from C.
7771 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7773 # Define system-specific variables.
7778 cygwin
* | mingw
* | pw32
* | cegcc
*)
7779 symcode
='[ABCDGISTW]'
7782 if test "$host_cpu" = ia64
; then
7783 symcode
='[ABCDEGRST]'
7787 symcode
='[BCDEGRST]'
7790 symcode
='[BCDEGQRST]'
7801 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7809 # If we're using GNU nm, then use its standard symbol codes.
7810 case `$NM -V 2>&1` in
7811 *GNU
* |
*'with BFD'*)
7812 symcode
='[ABCDGIRSTW]' ;;
7815 # Transform an extracted symbol line into a proper C declaration.
7816 # Some systems (esp. on ia64) link data and code symbols differently,
7817 # so use this general approach.
7818 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7820 # Transform an extracted symbol line into symbol name and symbol address
7821 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7822 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'"
7824 # Handle CRLF in mingw tool chain
7828 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7832 # Try without a prefix underscore, then with it.
7833 for ac_symprfx
in "" "_"; do
7835 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7836 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7838 # Write the raw and C identifiers.
7839 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7840 # Fake it for dumpbin and say T for any non-static function
7841 # and D for any global variable.
7842 # Also find C++ and __fastcall symbols from MSVC++,
7843 # which start with @ or ?.
7844 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7845 " {last_section=section; section=\$ 3};"\
7846 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7847 " \$ 0!~/External *\|/{next};"\
7848 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7849 " {if(hide[section]) next};"\
7850 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7851 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7852 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7853 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7854 " ' prfx=^$ac_symprfx"
7856 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7859 # Check to see that the pipe works correctly.
7863 cat > conftest.
$ac_ext <<_LT_EOF
7868 void nm_test_func(void);
7869 void nm_test_func(void){}
7873 int main(){nm_test_var='a';nm_test_func();return(0);}
7876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7877 (eval $ac_compile) 2>&5
7879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7880 test $ac_status = 0; }; then
7881 # Now try to grab the symbols.
7883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7884 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7887 test $ac_status = 0; } && test -s "$nlist"; then
7888 # Try sorting and uniquifying the output.
7889 if sort "$nlist" |
uniq > "$nlist"T
; then
7890 mv -f "$nlist"T
"$nlist"
7895 # Make sure that we snagged all the symbols we need.
7896 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7897 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7898 cat <<_LT_EOF > conftest.$ac_ext
7904 # Now generate the symbol file.
7905 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7907 cat <<_LT_EOF >> conftest.$ac_ext
7909 /* The mapping between symbol names and symbols. */
7914 lt__PROGRAM__LTX_preloaded_symbols[] =
7916 { "@PROGRAM@", (void *) 0 },
7918 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7919 cat <<\_LT_EOF
>> conftest.
$ac_ext
7923 /* This works around a problem
in FreeBSD linker
*/
7924 #ifdef FREEBSD_WORKAROUND
7925 static const void
*lt_preloaded_setup
() {
7926 return lt__PROGRAM__LTX_preloaded_symbols
;
7934 # Now try linking the two files.
7935 mv conftest.
$ac_objext conftstm.
$ac_objext
7936 lt_save_LIBS
="$LIBS"
7937 lt_save_CFLAGS
="$CFLAGS"
7938 LIBS
="conftstm.$ac_objext"
7939 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7940 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7941 (eval $ac_link) 2>&5
7943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7944 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7947 LIBS
="$lt_save_LIBS"
7948 CFLAGS
="$lt_save_CFLAGS"
7950 echo "cannot find nm_test_func in $nlist" >&5
7953 echo "cannot find nm_test_var in $nlist" >&5
7956 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7959 echo "$progname: failed program was:" >&5
7960 cat conftest.
$ac_ext >&5
7962 rm -rf conftest
* conftst
*
7964 # Do not use the global_symbol_pipe unless it works.
7965 if test "$pipe_works" = yes; then
7968 lt_cv_sys_global_symbol_pipe
=
7974 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7975 lt_cv_sys_global_symbol_to_cdecl
=
7977 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7979 $as_echo "failed" >&6; }
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7982 $as_echo "ok" >&6; }
8006 # Check whether --enable-libtool-lock was given.
8007 if test "${enable_libtool_lock+set}" = set; then :
8008 enableval
=$enable_libtool_lock;
8011 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8013 # Some flags need to be propagated to the compiler or linker for good
8017 # Find out which ABI we are using.
8018 echo 'int i;' > conftest.
$ac_ext
8019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8020 (eval $ac_compile) 2>&5
8022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8023 test $ac_status = 0; }; then
8024 case `/usr/bin/file conftest.$ac_objext` in
8036 # Find out which ABI we are using.
8037 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8039 (eval $ac_compile) 2>&5
8041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8042 test $ac_status = 0; }; then
8043 if test "$lt_cv_prog_gnu_ld" = yes; then
8044 case `/usr/bin/file conftest.$ac_objext` in
8046 LD
="${LD-ld} -melf32bsmip"
8049 LD
="${LD-ld} -melf32bmipn32"
8052 LD
="${LD-ld} -melf64bmip"
8056 case `/usr/bin/file conftest.$ac_objext` in
8072 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8073 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8074 # Find out which ABI we are using.
8075 echo 'int i;' > conftest.
$ac_ext
8076 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8077 (eval $ac_compile) 2>&5
8079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8080 test $ac_status = 0; }; then
8081 case `/usr/bin/file conftest.o` in
8084 x86_64-
*kfreebsd
*-gnu)
8085 LD
="${LD-ld} -m elf_i386_fbsd"
8088 case `/usr/bin/file conftest.o` in
8090 LD
="${LD-ld} -m elf32_x86_64"
8093 LD
="${LD-ld} -m elf_i386"
8097 powerpc64le-
*linux
*)
8098 LD
="${LD-ld} -m elf32lppclinux"
8101 LD
="${LD-ld} -m elf32ppclinux"
8104 LD
="${LD-ld} -m elf_s390"
8107 LD
="${LD-ld} -m elf32_sparc"
8113 x86_64-
*kfreebsd
*-gnu)
8114 LD
="${LD-ld} -m elf_x86_64_fbsd"
8117 LD
="${LD-ld} -m elf_x86_64"
8120 LD
="${LD-ld} -m elf64lppc"
8123 LD
="${LD-ld} -m elf64ppc"
8125 s390
*-*linux
*|s390
*-*tpf
*)
8126 LD
="${LD-ld} -m elf64_s390"
8129 LD
="${LD-ld} -m elf64_sparc"
8139 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8140 SAVE_CFLAGS
="$CFLAGS"
8141 CFLAGS
="$CFLAGS -belf"
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8143 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8144 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8145 $as_echo_n "(cached) " >&6
8148 ac_cpp
='$CPP $CPPFLAGS'
8149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8153 if test x
$gcc_no_link = xyes
; then
8154 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8157 /* end confdefs.h. */
8167 if ac_fn_c_try_link
"$LINENO"; then :
8168 lt_cv_cc_needs_belf
=yes
8170 lt_cv_cc_needs_belf
=no
8172 rm -f core conftest.err conftest.
$ac_objext \
8173 conftest
$ac_exeext conftest.
$ac_ext
8175 ac_cpp
='$CPP $CPPFLAGS'
8176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8182 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8183 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8184 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8185 CFLAGS
="$SAVE_CFLAGS"
8189 # Find out which ABI we are using.
8190 echo 'int i;' > conftest.
$ac_ext
8191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8192 (eval $ac_compile) 2>&5
8194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8195 test $ac_status = 0; }; then
8196 case `/usr/bin/file conftest.o` in
8198 case $lt_cv_prog_gnu_ld in
8199 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8201 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8213 need_locks
="$enable_libtool_lock"
8217 rhapsody
* | darwin
*)
8218 if test -n "$ac_tool_prefix"; then
8219 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8220 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8222 $as_echo_n "checking for $ac_word... " >&6; }
8223 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8224 $as_echo_n "(cached) " >&6
8226 if test -n "$DSYMUTIL"; then
8227 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8233 test -z "$as_dir" && as_dir
=.
8234 for ac_exec_ext
in '' $ac_executable_extensions; do
8235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8236 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8246 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8247 if test -n "$DSYMUTIL"; then
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8249 $as_echo "$DSYMUTIL" >&6; }
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8252 $as_echo "no" >&6; }
8257 if test -z "$ac_cv_prog_DSYMUTIL"; then
8258 ac_ct_DSYMUTIL
=$DSYMUTIL
8259 # Extract the first word of "dsymutil", so it can be a program name with args.
8260 set dummy dsymutil
; ac_word
=$2
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8262 $as_echo_n "checking for $ac_word... " >&6; }
8263 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8264 $as_echo_n "(cached) " >&6
8266 if test -n "$ac_ct_DSYMUTIL"; then
8267 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8273 test -z "$as_dir" && as_dir
=.
8274 for ac_exec_ext
in '' $ac_executable_extensions; do
8275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8276 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8286 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8287 if test -n "$ac_ct_DSYMUTIL"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8289 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 $as_echo "no" >&6; }
8295 if test "x$ac_ct_DSYMUTIL" = x
; then
8298 case $cross_compiling:$ac_tool_warned in
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8302 ac_tool_warned
=yes ;;
8304 DSYMUTIL
=$ac_ct_DSYMUTIL
8307 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8310 if test -n "$ac_tool_prefix"; then
8311 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8312 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8314 $as_echo_n "checking for $ac_word... " >&6; }
8315 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8316 $as_echo_n "(cached) " >&6
8318 if test -n "$NMEDIT"; then
8319 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8325 test -z "$as_dir" && as_dir
=.
8326 for ac_exec_ext
in '' $ac_executable_extensions; do
8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8328 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8338 NMEDIT
=$ac_cv_prog_NMEDIT
8339 if test -n "$NMEDIT"; then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8341 $as_echo "$NMEDIT" >&6; }
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8344 $as_echo "no" >&6; }
8349 if test -z "$ac_cv_prog_NMEDIT"; then
8350 ac_ct_NMEDIT
=$NMEDIT
8351 # Extract the first word of "nmedit", so it can be a program name with args.
8352 set dummy nmedit
; ac_word
=$2
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8354 $as_echo_n "checking for $ac_word... " >&6; }
8355 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8356 $as_echo_n "(cached) " >&6
8358 if test -n "$ac_ct_NMEDIT"; then
8359 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8365 test -z "$as_dir" && as_dir
=.
8366 for ac_exec_ext
in '' $ac_executable_extensions; do
8367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8368 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8378 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8379 if test -n "$ac_ct_NMEDIT"; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8381 $as_echo "$ac_ct_NMEDIT" >&6; }
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8384 $as_echo "no" >&6; }
8387 if test "x$ac_ct_NMEDIT" = x
; then
8390 case $cross_compiling:$ac_tool_warned in
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8394 ac_tool_warned
=yes ;;
8396 NMEDIT
=$ac_ct_NMEDIT
8399 NMEDIT
="$ac_cv_prog_NMEDIT"
8402 if test -n "$ac_tool_prefix"; then
8403 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8404 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8406 $as_echo_n "checking for $ac_word... " >&6; }
8407 if test "${ac_cv_prog_LIPO+set}" = set; then :
8408 $as_echo_n "(cached) " >&6
8410 if test -n "$LIPO"; then
8411 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8417 test -z "$as_dir" && as_dir
=.
8418 for ac_exec_ext
in '' $ac_executable_extensions; do
8419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8420 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8430 LIPO
=$ac_cv_prog_LIPO
8431 if test -n "$LIPO"; then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8433 $as_echo "$LIPO" >&6; }
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8436 $as_echo "no" >&6; }
8441 if test -z "$ac_cv_prog_LIPO"; then
8443 # Extract the first word of "lipo", so it can be a program name with args.
8444 set dummy lipo
; ac_word
=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8446 $as_echo_n "checking for $ac_word... " >&6; }
8447 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8448 $as_echo_n "(cached) " >&6
8450 if test -n "$ac_ct_LIPO"; then
8451 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8457 test -z "$as_dir" && as_dir
=.
8458 for ac_exec_ext
in '' $ac_executable_extensions; do
8459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8460 ac_cv_prog_ac_ct_LIPO
="lipo"
8461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8470 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8471 if test -n "$ac_ct_LIPO"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8473 $as_echo "$ac_ct_LIPO" >&6; }
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8476 $as_echo "no" >&6; }
8479 if test "x$ac_ct_LIPO" = x
; then
8482 case $cross_compiling:$ac_tool_warned in
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8486 ac_tool_warned
=yes ;;
8491 LIPO
="$ac_cv_prog_LIPO"
8494 if test -n "$ac_tool_prefix"; then
8495 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8496 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8498 $as_echo_n "checking for $ac_word... " >&6; }
8499 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8500 $as_echo_n "(cached) " >&6
8502 if test -n "$OTOOL"; then
8503 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8509 test -z "$as_dir" && as_dir
=.
8510 for ac_exec_ext
in '' $ac_executable_extensions; do
8511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8512 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8522 OTOOL
=$ac_cv_prog_OTOOL
8523 if test -n "$OTOOL"; then
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8525 $as_echo "$OTOOL" >&6; }
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8528 $as_echo "no" >&6; }
8533 if test -z "$ac_cv_prog_OTOOL"; then
8535 # Extract the first word of "otool", so it can be a program name with args.
8536 set dummy otool
; ac_word
=$2
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8538 $as_echo_n "checking for $ac_word... " >&6; }
8539 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8540 $as_echo_n "(cached) " >&6
8542 if test -n "$ac_ct_OTOOL"; then
8543 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8549 test -z "$as_dir" && as_dir
=.
8550 for ac_exec_ext
in '' $ac_executable_extensions; do
8551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8552 ac_cv_prog_ac_ct_OTOOL
="otool"
8553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8562 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8563 if test -n "$ac_ct_OTOOL"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8565 $as_echo "$ac_ct_OTOOL" >&6; }
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568 $as_echo "no" >&6; }
8571 if test "x$ac_ct_OTOOL" = x
; then
8574 case $cross_compiling:$ac_tool_warned in
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8578 ac_tool_warned
=yes ;;
8583 OTOOL
="$ac_cv_prog_OTOOL"
8586 if test -n "$ac_tool_prefix"; then
8587 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8588 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8590 $as_echo_n "checking for $ac_word... " >&6; }
8591 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8592 $as_echo_n "(cached) " >&6
8594 if test -n "$OTOOL64"; then
8595 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8601 test -z "$as_dir" && as_dir
=.
8602 for ac_exec_ext
in '' $ac_executable_extensions; do
8603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8604 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8614 OTOOL64
=$ac_cv_prog_OTOOL64
8615 if test -n "$OTOOL64"; then
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8617 $as_echo "$OTOOL64" >&6; }
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8620 $as_echo "no" >&6; }
8625 if test -z "$ac_cv_prog_OTOOL64"; then
8626 ac_ct_OTOOL64
=$OTOOL64
8627 # Extract the first word of "otool64", so it can be a program name with args.
8628 set dummy otool64
; ac_word
=$2
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8630 $as_echo_n "checking for $ac_word... " >&6; }
8631 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8632 $as_echo_n "(cached) " >&6
8634 if test -n "$ac_ct_OTOOL64"; then
8635 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8641 test -z "$as_dir" && as_dir
=.
8642 for ac_exec_ext
in '' $ac_executable_extensions; do
8643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8644 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8654 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8655 if test -n "$ac_ct_OTOOL64"; then
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8657 $as_echo "$ac_ct_OTOOL64" >&6; }
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8660 $as_echo "no" >&6; }
8663 if test "x$ac_ct_OTOOL64" = x
; then
8666 case $cross_compiling:$ac_tool_warned in
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8670 ac_tool_warned
=yes ;;
8672 OTOOL64
=$ac_ct_OTOOL64
8675 OTOOL64
="$ac_cv_prog_OTOOL64"
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8705 $as_echo_n "checking for -single_module linker flag... " >&6; }
8706 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8707 $as_echo_n "(cached) " >&6
8709 lt_cv_apple_cc_single_mod
=no
8710 if test -z "${LT_MULTI_MODULE}"; then
8711 # By default we will add the -single_module flag. You can override
8712 # by either setting the environment variable LT_MULTI_MODULE
8713 # non-empty at configure time, or by adding -multi_module to the
8715 rm -rf libconftest.dylib
*
8716 echo "int foo(void){return 1;}" > conftest.c
8717 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8718 -dynamiclib -Wl,-single_module conftest.c" >&5
8719 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8720 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8722 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8723 lt_cv_apple_cc_single_mod
=yes
8725 cat conftest.err
>&5
8727 rm -rf libconftest.dylib
*
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8732 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8734 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8735 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8736 $as_echo_n "(cached) " >&6
8738 lt_cv_ld_exported_symbols_list
=no
8739 save_LDFLAGS
=$LDFLAGS
8740 echo "_main" > conftest.sym
8741 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8742 if test x
$gcc_no_link = xyes
; then
8743 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8756 if ac_fn_c_try_link
"$LINENO"; then :
8757 lt_cv_ld_exported_symbols_list
=yes
8759 lt_cv_ld_exported_symbols_list
=no
8761 rm -f core conftest.err conftest.
$ac_objext \
8762 conftest
$ac_exeext conftest.
$ac_ext
8763 LDFLAGS
="$save_LDFLAGS"
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8767 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8769 $as_echo_n "checking for -force_load linker flag... " >&6; }
8770 if test "${lt_cv_ld_force_load+set}" = set; then :
8771 $as_echo_n "(cached) " >&6
8773 lt_cv_ld_force_load
=no
8774 cat > conftest.c
<< _LT_EOF
8775 int forced_loaded() { return 2;}
8777 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8778 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8779 echo "$AR cru libconftest.a conftest.o" >&5
8780 $AR cru libconftest.a conftest.o
2>&5
8781 cat > conftest.c
<< _LT_EOF
8782 int main() { return 0;}
8784 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8785 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8787 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8788 lt_cv_ld_force_load
=yes
8790 cat conftest.err
>&5
8792 rm -f conftest.err libconftest.a conftest conftest.c
8793 rm -rf conftest.dSYM
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8797 $as_echo "$lt_cv_ld_force_load" >&6; }
8799 rhapsody
* | darwin1.
[012])
8800 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8802 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8803 darwin
*) # darwin 5.x on
8804 # if running on 10.5 or later, the deployment target defaults
8805 # to the OS version, if on x86, and 10.4, the deployment
8806 # target defaults to 10.4. Don't you love it?
8807 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8808 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8809 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8811 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8813 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8817 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8818 _lt_dar_single_mod
='$single_module'
8820 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8821 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8823 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8825 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8826 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8833 for ac_header
in dlfcn.h
8835 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8837 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8838 cat >>confdefs.h
<<_ACEOF
8839 #define HAVE_DLFCN_H 1
8858 # Check whether --enable-shared was given.
8859 if test "${enable_shared+set}" = set; then :
8860 enableval
=$enable_shared; p
=${PACKAGE-default}
8862 yes) enable_shared
=yes ;;
8863 no
) enable_shared
=no
;;
8866 # Look at the argument we got. We use all the common list separators.
8867 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8868 for pkg
in $enableval; do
8870 if test "X$pkg" = "X$p"; then
8889 # Check whether --enable-static was given.
8890 if test "${enable_static+set}" = set; then :
8891 enableval
=$enable_static; p
=${PACKAGE-default}
8893 yes) enable_static
=yes ;;
8894 no
) enable_static
=no
;;
8897 # Look at the argument we got. We use all the common list separators.
8898 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8899 for pkg
in $enableval; do
8901 if test "X$pkg" = "X$p"; then
8921 # Check whether --with-pic was given.
8922 if test "${with_pic+set}" = set; then :
8923 withval
=$with_pic; pic_mode
="$withval"
8929 test -z "$pic_mode" && pic_mode
=default
8937 # Check whether --enable-fast-install was given.
8938 if test "${enable_fast_install+set}" = set; then :
8939 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8941 yes) enable_fast_install
=yes ;;
8942 no
) enable_fast_install
=no
;;
8944 enable_fast_install
=no
8945 # Look at the argument we got. We use all the common list separators.
8946 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8947 for pkg
in $enableval; do
8949 if test "X$pkg" = "X$p"; then
8950 enable_fast_install
=yes
8957 enable_fast_install
=yes
8970 # This can be used to rebuild libtool when needed
8971 LIBTOOL_DEPS
="$ltmain"
8973 # Always use our own libtool.
8974 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9001 test -z "$LN_S" && LN_S
="ln -s"
9016 if test -n "${ZSH_VERSION+set}" ; then
9017 setopt NO_GLOB_SUBST
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9021 $as_echo_n "checking for objdir... " >&6; }
9022 if test "${lt_cv_objdir+set}" = set; then :
9023 $as_echo_n "(cached) " >&6
9025 rm -f .libs
2>/dev
/null
9026 mkdir .libs
2>/dev
/null
9027 if test -d .libs
; then
9030 # MS-DOS does not allow filenames that begin with a dot.
9033 rmdir .libs
2>/dev
/null
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9036 $as_echo "$lt_cv_objdir" >&6; }
9037 objdir
=$lt_cv_objdir
9043 cat >>confdefs.h
<<_ACEOF
9044 #define LT_OBJDIR "$lt_cv_objdir/"
9052 # AIX sometimes has problems with the GCC collect2 program. For some
9053 # reason, if we set the COLLECT_NAMES environment variable, the problems
9054 # vanish in a puff of smoke.
9055 if test "X${COLLECT_NAMES+set}" != Xset
; then
9057 export COLLECT_NAMES
9064 can_build_shared
=yes
9066 # All known linkers require a `.a' archive for static linking (except MSVC,
9067 # which needs '.lib').
9070 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9073 old_CFLAGS
="$CFLAGS"
9075 # Set sane defaults for various variables
9076 test -z "$CC" && CC
=cc
9077 test -z "$LTCC" && LTCC
=$CC
9078 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9079 test -z "$LD" && LD
=ld
9080 test -z "$ac_objext" && ac_objext
=o
9082 for cc_temp
in $compiler""; do
9084 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9085 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9090 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9093 # Only perform the check for file, if the check method requires it
9094 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9095 case $deplibs_check_method in
9097 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9099 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9100 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9101 $as_echo_n "(cached) " >&6
9105 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9108 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9109 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9110 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9111 for ac_dir
in $ac_dummy; do
9113 test -z "$ac_dir" && ac_dir
=.
9114 if test -f $ac_dir/${ac_tool_prefix}file; then
9115 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9116 if test -n "$file_magic_test_file"; then
9117 case $deplibs_check_method in
9119 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9120 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9121 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9122 $EGREP "$file_magic_regex" > /dev
/null
; then
9127 *** Warning: the command libtool uses to detect shared libraries,
9128 *** $file_magic_cmd, produces output that libtool cannot recognize.
9129 *** The result is that libtool may fail to recognize shared libraries
9130 *** as such. This will affect the creation of libtool libraries that
9131 *** depend on shared libraries, but programs linked with such libtool
9132 *** libraries will work regardless of this problem. Nevertheless, you
9133 *** may want to report the problem to your system manager and/or to
9134 *** bug-libtool@gnu.org
9144 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9149 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9150 if test -n "$MAGIC_CMD"; then
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9152 $as_echo "$MAGIC_CMD" >&6; }
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9155 $as_echo "no" >&6; }
9162 if test -z "$lt_cv_path_MAGIC_CMD"; then
9163 if test -n "$ac_tool_prefix"; then
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9165 $as_echo_n "checking for file... " >&6; }
9166 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9167 $as_echo_n "(cached) " >&6
9171 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9174 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9175 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9176 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9177 for ac_dir
in $ac_dummy; do
9179 test -z "$ac_dir" && ac_dir
=.
9180 if test -f $ac_dir/file; then
9181 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9182 if test -n "$file_magic_test_file"; then
9183 case $deplibs_check_method in
9185 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9186 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9187 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9188 $EGREP "$file_magic_regex" > /dev
/null
; then
9193 *** Warning: the command libtool uses to detect shared libraries,
9194 *** $file_magic_cmd, produces output that libtool cannot recognize.
9195 *** The result is that libtool may fail to recognize shared libraries
9196 *** as such. This will affect the creation of libtool libraries that
9197 *** depend on shared libraries, but programs linked with such libtool
9198 *** libraries will work regardless of this problem. Nevertheless, you
9199 *** may want to report the problem to your system manager and/or to
9200 *** bug-libtool@gnu.org
9210 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9215 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9216 if test -n "$MAGIC_CMD"; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9218 $as_echo "$MAGIC_CMD" >&6; }
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9221 $as_echo "no" >&6; }
9234 # Use C for the default configuration in the libtool script
9238 ac_cpp
='$CPP $CPPFLAGS'
9239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9244 # Source file extension for C test sources.
9247 # Object file extension for compiled C test sources.
9251 # Code to be used in simple compile tests
9252 lt_simple_compile_test_code
="int some_variable = 0;"
9254 # Code to be used in simple link tests
9255 lt_simple_link_test_code
='int main(){return(0);}'
9263 # If no C compiler was specified, use CC.
9266 # If no C compiler flags were specified, use CFLAGS.
9267 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9269 # Allow CC to be a program name with arguments.
9272 # Save the default compiler, since it gets overwritten when the other
9273 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9274 compiler_DEFAULT
=$CC
9276 # save warnings/boilerplate of simple test code
9277 ac_outfile
=conftest.
$ac_objext
9278 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9279 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9280 _lt_compiler_boilerplate
=`cat conftest.err`
9283 ac_outfile
=conftest.
$ac_objext
9284 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9285 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9286 _lt_linker_boilerplate
=`cat conftest.err`
9291 ## There is no encapsulation within the following macros, do not change
9292 ## the running order or otherwise move them around unless you know exactly
9293 ## what you are doing...
9294 if test -n "$compiler"; then
9296 lt_prog_compiler_no_builtin_flag
=
9298 if test "$GCC" = yes; then
9299 case $cc_basename in
9301 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9303 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9307 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9308 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9309 $as_echo_n "(cached) " >&6
9311 lt_cv_prog_compiler_rtti_exceptions
=no
9312 ac_outfile
=conftest.
$ac_objext
9313 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9314 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9315 # Insert the option either (1) after the last *FLAGS variable, or
9316 # (2) before a word containing "conftest.", or (3) at the end.
9317 # Note that $ac_compile itself does not contain backslashes and begins
9318 # with a dollar sign (not a hyphen), so the echo should work correctly.
9319 # The option is referenced via a variable to avoid confusing sed.
9320 lt_compile
=`echo "$ac_compile" | $SED \
9321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9323 -e 's:$: $lt_compiler_flag:'`
9324 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9325 (eval "$lt_compile" 2>conftest.err
)
9327 cat conftest.err
>&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 if (exit $ac_status) && test -s "$ac_outfile"; then
9330 # The compiler can only warn and ignore the option if not recognized
9331 # So say no if there are warnings other than the usual output.
9332 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9333 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9334 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9335 lt_cv_prog_compiler_rtti_exceptions
=yes
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9342 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9344 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9345 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9357 lt_prog_compiler_wl
=
9358 lt_prog_compiler_pic
=
9359 lt_prog_compiler_static
=
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9362 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9364 if test "$GCC" = yes; then
9365 lt_prog_compiler_wl
='-Wl,'
9366 lt_prog_compiler_static
='-static'
9370 # All AIX code is PIC.
9371 if test "$host_cpu" = ia64
; then
9372 # AIX 5 now supports IA64 processor
9373 lt_prog_compiler_static
='-Bstatic'
9375 lt_prog_compiler_pic
='-fPIC'
9381 # see comment about AmigaOS4 .so support
9382 lt_prog_compiler_pic
='-fPIC'
9385 # FIXME: we need at least 68020 code to build shared libraries, but
9386 # adding the `-m68020' flag to GCC prevents building anything better,
9388 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9393 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9394 # PIC is the default for these OSes.
9397 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9398 # This hack is so that the source file can tell whether it is being
9399 # built for inclusion in a dll (and should export symbols for example).
9400 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9401 # (--disable-auto-import) libraries
9402 lt_prog_compiler_pic
='-DDLL_EXPORT'
9405 darwin
* | rhapsody
*)
9406 # PIC is the default on this platform
9407 # Common symbols not allowed in MH_DYLIB files
9408 lt_prog_compiler_pic
='-fno-common'
9412 # PIC is the default for Haiku.
9413 # The "-static" flag exists, but is broken.
9414 lt_prog_compiler_static
=
9418 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9419 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9420 # sets the default TLS model and affects inlining.
9426 lt_prog_compiler_pic
='-fPIC'
9432 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9433 # Instead, we relocate shared libraries at runtime.
9437 # Just because we use GCC doesn't mean we suddenly get shared libraries
9438 # on systems that don't support them.
9439 lt_prog_compiler_can_build_shared
=no
9444 # QNX uses GNU C++, but need to define -shared option too, otherwise
9446 lt_prog_compiler_pic
='-fPIC -shared'
9450 if test -d /usr
/nec
; then
9451 lt_prog_compiler_pic
=-Kconform_pic
9456 lt_prog_compiler_pic
='-fPIC'
9460 case $cc_basename in
9461 nvcc
*) # Cuda Compiler Driver 2.2
9462 lt_prog_compiler_wl
='-Xlinker '
9463 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9467 # PORTME Check for flag to pass linker flags through the system compiler.
9470 lt_prog_compiler_wl
='-Wl,'
9471 if test "$host_cpu" = ia64
; then
9472 # AIX 5 now supports IA64 processor
9473 lt_prog_compiler_static
='-Bstatic'
9475 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9479 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9480 # This hack is so that the source file can tell whether it is being
9481 # built for inclusion in a dll (and should export symbols for example).
9482 lt_prog_compiler_pic
='-DDLL_EXPORT'
9485 hpux9
* | hpux10
* | hpux11
*)
9486 lt_prog_compiler_wl
='-Wl,'
9487 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9494 lt_prog_compiler_pic
='+Z'
9497 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9498 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9501 irix5
* | irix6
* | nonstopux
*)
9502 lt_prog_compiler_wl
='-Wl,'
9503 # PIC (with -KPIC) is the default.
9504 lt_prog_compiler_static
='-non_shared'
9507 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9508 case $cc_basename in
9509 # old Intel for x86_64 which still supported -KPIC.
9511 lt_prog_compiler_wl
='-Wl,'
9512 lt_prog_compiler_pic
='-KPIC'
9513 lt_prog_compiler_static
='-static'
9515 # icc used to be incompatible with GCC.
9516 # ICC 10 doesn't accept -KPIC any more.
9518 lt_prog_compiler_wl
='-Wl,'
9519 lt_prog_compiler_pic
='-fPIC'
9520 lt_prog_compiler_static
='-static'
9522 # Lahey Fortran 8.1.
9524 lt_prog_compiler_wl
='-Wl,'
9525 lt_prog_compiler_pic
='--shared'
9526 lt_prog_compiler_static
='--static'
9528 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9529 # Portland Group compilers (*not* the Pentium gcc compiler,
9530 # which looks to be a dead project)
9531 lt_prog_compiler_wl
='-Wl,'
9532 lt_prog_compiler_pic
='-fpic'
9533 lt_prog_compiler_static
='-Bstatic'
9536 lt_prog_compiler_wl
='-Wl,'
9537 # All Alpha code is PIC.
9538 lt_prog_compiler_static
='-non_shared'
9540 xl
* | bgxl
* | bgf
* | mpixl
*)
9541 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9542 lt_prog_compiler_wl
='-Wl,'
9543 lt_prog_compiler_pic
='-qpic'
9544 lt_prog_compiler_static
='-qstaticlink'
9547 case `$CC -V 2>&1 | sed 5q` in
9548 *Sun\ F
* |
*Sun
*Fortran
*)
9549 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9550 lt_prog_compiler_pic
='-KPIC'
9551 lt_prog_compiler_static
='-Bstatic'
9552 lt_prog_compiler_wl
=''
9556 lt_prog_compiler_pic
='-KPIC'
9557 lt_prog_compiler_static
='-Bstatic'
9558 lt_prog_compiler_wl
='-Wl,'
9566 lt_prog_compiler_pic
='-KPIC'
9567 lt_prog_compiler_static
='-Bstatic'
9571 # QNX uses GNU C++, but need to define -shared option too, otherwise
9573 lt_prog_compiler_pic
='-fPIC -shared'
9576 osf3
* | osf4
* | osf5
*)
9577 lt_prog_compiler_wl
='-Wl,'
9578 # All OSF/1 code is PIC.
9579 lt_prog_compiler_static
='-non_shared'
9583 lt_prog_compiler_static
='-non_shared'
9587 lt_prog_compiler_pic
='-KPIC'
9588 lt_prog_compiler_static
='-Bstatic'
9589 case $cc_basename in
9591 lt_prog_compiler_wl
='-Qoption ld ';;
9593 lt_prog_compiler_wl
='-Wl,';;
9598 lt_prog_compiler_wl
='-Qoption ld '
9599 lt_prog_compiler_pic
='-PIC'
9600 lt_prog_compiler_static
='-Bstatic'
9603 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9604 lt_prog_compiler_wl
='-Wl,'
9605 lt_prog_compiler_pic
='-KPIC'
9606 lt_prog_compiler_static
='-Bstatic'
9610 if test -d /usr
/nec
;then
9611 lt_prog_compiler_pic
='-Kconform_pic'
9612 lt_prog_compiler_static
='-Bstatic'
9616 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9617 lt_prog_compiler_wl
='-Wl,'
9618 lt_prog_compiler_pic
='-KPIC'
9619 lt_prog_compiler_static
='-Bstatic'
9623 lt_prog_compiler_wl
='-Wl,'
9624 lt_prog_compiler_can_build_shared
=no
9628 lt_prog_compiler_pic
='-pic'
9629 lt_prog_compiler_static
='-Bstatic'
9633 lt_prog_compiler_can_build_shared
=no
9639 # For platforms which do not support PIC, -DPIC is meaningless:
9641 lt_prog_compiler_pic
=
9644 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9648 $as_echo "$lt_prog_compiler_pic" >&6; }
9656 # Check to make sure the PIC flag actually works.
9658 if test -n "$lt_prog_compiler_pic"; then
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9660 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9661 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9662 $as_echo_n "(cached) " >&6
9664 lt_cv_prog_compiler_pic_works
=no
9665 ac_outfile
=conftest.
$ac_objext
9666 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9667 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9668 # Insert the option either (1) after the last *FLAGS variable, or
9669 # (2) before a word containing "conftest.", or (3) at the end.
9670 # Note that $ac_compile itself does not contain backslashes and begins
9671 # with a dollar sign (not a hyphen), so the echo should work correctly.
9672 # The option is referenced via a variable to avoid confusing sed.
9673 lt_compile
=`echo "$ac_compile" | $SED \
9674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9676 -e 's:$: $lt_compiler_flag:'`
9677 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9678 (eval "$lt_compile" 2>conftest.err
)
9680 cat conftest.err
>&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 if (exit $ac_status) && test -s "$ac_outfile"; then
9683 # The compiler can only warn and ignore the option if not recognized
9684 # So say no if there are warnings other than the usual output.
9685 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9686 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9687 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9688 lt_cv_prog_compiler_pic_works
=yes
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9695 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9697 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9698 case $lt_prog_compiler_pic in
9700 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9703 lt_prog_compiler_pic
=
9704 lt_prog_compiler_can_build_shared
=no
9715 # Check to make sure the static flag actually works.
9717 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9719 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9720 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9721 $as_echo_n "(cached) " >&6
9723 lt_cv_prog_compiler_static_works
=no
9724 save_LDFLAGS
="$LDFLAGS"
9725 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9726 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9727 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9728 # The linker can only warn and ignore the option if not recognized
9729 # So say no if there are warnings
9730 if test -s conftest.err
; then
9731 # Append any errors to the config.log.
9732 cat conftest.err
1>&5
9733 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9734 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9735 if diff conftest.exp conftest.er2
>/dev
/null
; then
9736 lt_cv_prog_compiler_static_works
=yes
9739 lt_cv_prog_compiler_static_works
=yes
9743 LDFLAGS
="$save_LDFLAGS"
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9747 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9749 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9752 lt_prog_compiler_static
=
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9762 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9763 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9764 $as_echo_n "(cached) " >&6
9766 lt_cv_prog_compiler_c_o
=no
9767 $RM -r conftest
2>/dev
/null
9771 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9773 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9774 # Insert the option either (1) after the last *FLAGS variable, or
9775 # (2) before a word containing "conftest.", or (3) at the end.
9776 # Note that $ac_compile itself does not contain backslashes and begins
9777 # with a dollar sign (not a hyphen), so the echo should work correctly.
9778 lt_compile
=`echo "$ac_compile" | $SED \
9779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9781 -e 's:$: $lt_compiler_flag:'`
9782 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9783 (eval "$lt_compile" 2>out
/conftest.err
)
9785 cat out
/conftest.err
>&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9789 # The compiler can only warn and ignore the option if not recognized
9790 # So say no if there are warnings
9791 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9792 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9793 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9794 lt_cv_prog_compiler_c_o
=yes
9799 # SGI C++ compiler will create directory out/ii_files/ for
9800 # template instantiation
9801 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9802 $RM out
/* && rmdir out
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9809 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9817 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9818 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9819 $as_echo_n "(cached) " >&6
9821 lt_cv_prog_compiler_c_o
=no
9822 $RM -r conftest
2>/dev
/null
9826 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9828 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9829 # Insert the option either (1) after the last *FLAGS variable, or
9830 # (2) before a word containing "conftest.", or (3) at the end.
9831 # Note that $ac_compile itself does not contain backslashes and begins
9832 # with a dollar sign (not a hyphen), so the echo should work correctly.
9833 lt_compile
=`echo "$ac_compile" | $SED \
9834 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9835 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9836 -e 's:$: $lt_compiler_flag:'`
9837 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9838 (eval "$lt_compile" 2>out
/conftest.err
)
9840 cat out
/conftest.err
>&5
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9844 # The compiler can only warn and ignore the option if not recognized
9845 # So say no if there are warnings
9846 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9847 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9848 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9849 lt_cv_prog_compiler_c_o
=yes
9854 # SGI C++ compiler will create directory out/ii_files/ for
9855 # template instantiation
9856 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9857 $RM out
/* && rmdir out
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9864 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9869 hard_links
="nottested"
9870 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9871 # do not overwrite the value of need_locks provided by the user
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9873 $as_echo_n "checking if we can lock with hard links... " >&6; }
9876 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9878 ln conftest.a conftest.b
2>&5 || hard_links
=no
9879 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9881 $as_echo "$hard_links" >&6; }
9882 if test "$hard_links" = no
; then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9884 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9897 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9900 allow_undefined_flag
=
9901 always_export_symbols
=no
9903 archive_expsym_cmds
=
9904 compiler_needs_object
=no
9905 enable_shared_with_static_runtimes
=no
9906 export_dynamic_flag_spec
=
9907 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9908 hardcode_automatic
=no
9910 hardcode_direct_absolute
=no
9911 hardcode_libdir_flag_spec
=
9912 hardcode_libdir_flag_spec_ld
=
9913 hardcode_libdir_separator
=
9915 hardcode_shlibpath_var
=unsupported
9917 link_all_deplibs
=unknown
9920 old_archive_from_new_cmds
=
9921 old_archive_from_expsyms_cmds
=
9922 thread_safe_flag_spec
=
9923 whole_archive_flag_spec
=
9924 # include_expsyms should be a list of space-separated symbols to be *always*
9925 # included in the symbol list
9927 # exclude_expsyms can be an extended regexp of symbols to exclude
9928 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9929 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9930 # as well as any symbol that contains `d'.
9931 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9932 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9933 # platforms (ab)use it in PIC code, but their linkers get confused if
9934 # the symbol is explicitly referenced. Since portable code cannot
9935 # rely on this symbol name, it's probably fine to never include it in
9936 # preloaded symbol tables.
9937 # Exclude shared library initialization/finalization symbols.
9938 extract_expsyms_cmds
=
9941 cygwin
* | mingw
* | pw32
* | cegcc
*)
9942 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9943 # When not using gcc, we currently assume that we are using
9944 # Microsoft Visual C++.
9945 if test "$GCC" != yes; then
9950 # we just hope/assume this is gcc and not c89 (= MSVC++)
9960 # On some targets, GNU ld is compatible enough with the native linker
9961 # that we're better off using the native interface for both.
9962 lt_use_gnu_ld_interface
=no
9963 if test "$with_gnu_ld" = yes; then
9966 # The AIX port of GNU ld has always aspired to compatibility
9967 # with the native linker. However, as the warning in the GNU ld
9968 # block says, versions before 2.19.5* couldn't really create working
9969 # shared libraries, regardless of the interface used.
9970 case `$LD -v 2>&1` in
9971 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9972 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9973 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9975 lt_use_gnu_ld_interface
=yes
9980 lt_use_gnu_ld_interface
=yes
9985 if test "$lt_use_gnu_ld_interface" = yes; then
9986 # If archive_cmds runs LD, not CC, wlarc should be empty
9989 # Set some defaults for GNU ld with shared library support. These
9990 # are reset later if shared libraries are not supported. Putting them
9991 # here allows them to be overridden if necessary.
9992 runpath_var
=LD_RUN_PATH
9993 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9994 export_dynamic_flag_spec
='${wl}--export-dynamic'
9995 # ancient GNU ld didn't support --whole-archive et. al.
9996 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9997 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9999 whole_archive_flag_spec
=
10001 supports_anon_versioning
=no
10002 case `$LD -v 2>&1` in
10003 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10004 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10005 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10006 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10007 *\
2.11.
*) ;; # other 2.11 versions
10008 *) supports_anon_versioning
=yes ;;
10011 # See if GNU ld supports shared libraries.
10014 # On AIX/PPC, the GNU linker is very broken
10015 if test "$host_cpu" != ia64
; then
10019 *** Warning: the GNU linker, at least up to release 2.19, is reported
10020 *** to be unable to reliably create shared libraries on AIX.
10021 *** Therefore, libtool is disabling shared libraries support. If you
10022 *** really care for shared libraries, you may want to install binutils
10023 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10024 *** You will then need to restart the configuration process.
10033 # see comment about AmigaOS4 .so support
10034 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10035 archive_expsym_cmds
=''
10038 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)'
10039 hardcode_libdir_flag_spec
='-L$libdir'
10040 hardcode_minus_L
=yes
10046 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10047 allow_undefined_flag
=unsupported
10048 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10049 # support --undefined. This deserves some investigation. FIXME
10050 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10056 cygwin
* | mingw
* | pw32
* | cegcc
*)
10057 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10058 # as there is no search path for DLLs.
10059 hardcode_libdir_flag_spec
='-L$libdir'
10060 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10061 allow_undefined_flag
=unsupported
10062 always_export_symbols
=no
10063 enable_shared_with_static_runtimes
=yes
10064 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10066 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10067 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10068 # If the export-symbols file already is a .def file (1st line
10069 # is EXPORTS), use it as is; otherwise, prepend...
10070 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10071 cp $export_symbols $output_objdir/$soname.def;
10073 echo EXPORTS > $output_objdir/$soname.def;
10074 cat $export_symbols >> $output_objdir/$soname.def;
10076 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10083 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10084 link_all_deplibs
=yes
10089 hardcode_shlibpath_var
=no
10090 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10091 export_dynamic_flag_spec
='${wl}-E'
10092 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10093 # Instead, shared libraries are loaded at an image base (0x10000000 by
10094 # default) and relocated if they conflict, which is a slow very memory
10095 # consuming and fragmenting process. To avoid this, we pick a random,
10096 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10097 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10098 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10099 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'
10102 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10104 if test "$host_os" = linux-dietlibc
; then
10105 case $cc_basename in
10106 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10109 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10110 && test "$tmp_diet" = no
10113 tmp_sharedflag
='-shared'
10114 case $cc_basename,$host_cpu in
10115 pgcc
*) # Portland Group C compiler
10116 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'
10117 tmp_addflag
=' $pic_flag'
10119 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10120 # Portland Group f77 and f90 compilers
10121 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'
10122 tmp_addflag
=' $pic_flag -Mnomain' ;;
10123 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10124 tmp_addflag
=' -i_dynamic' ;;
10125 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10126 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10127 ifc
* | ifort
*) # Intel Fortran compiler
10128 tmp_addflag
=' -nofor_main' ;;
10129 lf95
*) # Lahey Fortran 8.1
10130 whole_archive_flag_spec
=
10131 tmp_sharedflag
='--shared' ;;
10132 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10133 tmp_sharedflag
='-qmkshrobj'
10135 nvcc
*) # Cuda Compiler Driver 2.2
10136 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'
10137 compiler_needs_object
=yes
10140 case `$CC -V 2>&1 | sed 5q` in
10141 *Sun\ C
*) # Sun C 5.9
10142 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'
10143 compiler_needs_object
=yes
10144 tmp_sharedflag
='-G' ;;
10145 *Sun\ F
*) # Sun Fortran 8.3
10146 tmp_sharedflag
='-G' ;;
10148 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10150 if test "x$supports_anon_versioning" = xyes
; then
10151 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10152 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10153 echo "local: *; };" >> $output_objdir/$libname.ver~
10154 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10157 case $cc_basename in
10158 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10159 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10160 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10161 hardcode_libdir_flag_spec
=
10162 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10163 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10164 if test "x$supports_anon_versioning" = xyes
; then
10165 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10166 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10167 echo "local: *; };" >> $output_objdir/$libname.ver~
10168 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10178 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10179 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10182 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10183 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10188 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10192 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10193 *** create shared libraries on Solaris systems. Therefore, libtool
10194 *** is disabling shared libraries support. We urge you to upgrade GNU
10195 *** binutils to release 2.9.1 or newer. Another option is to modify
10196 *** your PATH or compiler configuration so that the native linker is
10197 *** used, and then restart.
10200 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10201 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10202 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10208 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10209 case `$LD -v 2>&1` in
10210 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10214 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10215 *** reliably create shared libraries on SCO systems. Therefore, libtool
10216 *** is disabling shared libraries support. We urge you to upgrade GNU
10217 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10218 *** your PATH or compiler configuration so that the native linker is
10219 *** used, and then restart.
10224 # For security reasons, it is highly recommended that you always
10225 # use absolute paths for naming shared libraries, and exclude the
10226 # DT_RUNPATH tag from executables and libraries. But doing so
10227 # requires that you compile everything twice, which is a pain.
10228 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10229 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10230 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10231 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10240 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10242 hardcode_direct
=yes
10243 hardcode_shlibpath_var
=no
10247 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10248 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10249 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10256 if test "$ld_shlibs" = no
; then
10258 hardcode_libdir_flag_spec
=
10259 export_dynamic_flag_spec
=
10260 whole_archive_flag_spec
=
10263 # PORTME fill in a description of your system's linker (not GNU ld)
10266 allow_undefined_flag
=unsupported
10267 always_export_symbols
=yes
10268 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'
10269 # Note: this linker hardcodes the directories in LIBPATH if there
10270 # are no directories specified by -L.
10271 hardcode_minus_L
=yes
10272 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10273 # Neither direct hardcoding nor static linking is supported with a
10275 hardcode_direct
=unsupported
10280 if test "$host_cpu" = ia64
; then
10281 # On IA64, the linker does run time linking by default, so we don't
10282 # have to do anything special.
10283 aix_use_runtimelinking
=no
10284 exp_sym_flag
='-Bexport'
10287 # If we're using GNU nm, then we don't want the "-C" option.
10288 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10289 # Also, AIX nm treats weak defined symbols like other global
10290 # defined symbols, whereas GNU nm marks them as "W".
10291 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10292 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'
10294 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10296 aix_use_runtimelinking
=no
10298 # Test if we are trying to use run time linking or normal
10299 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10300 # need to do runtime linking.
10301 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10302 for ld_flag
in $LDFLAGS; do
10303 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10304 aix_use_runtimelinking
=yes
10311 exp_sym_flag
='-bexport'
10312 no_entry_flag
='-bnoentry'
10315 # When large executables or shared objects are built, AIX ld can
10316 # have problems creating the table of contents. If linking a library
10317 # or program results in "error TOC overflow" add -mminimal-toc to
10318 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10319 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10322 hardcode_direct
=yes
10323 hardcode_direct_absolute
=yes
10324 hardcode_libdir_separator
=':'
10325 link_all_deplibs
=yes
10326 file_list_spec
='${wl}-f,'
10328 if test "$GCC" = yes; then
10329 case $host_os in aix4.
[012]|aix4.
[012].
*)
10330 # We only want to do this on AIX 4.2 and lower, the check
10331 # below for broken collect2 doesn't work under 4.3+
10332 collect2name
=`${CC} -print-prog-name=collect2`
10333 if test -f "$collect2name" &&
10334 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10336 # We have reworked collect2
10339 # We have old collect2
10340 hardcode_direct
=unsupported
10341 # It fails to find uninstalled libraries when the uninstalled
10342 # path is not listed in the libpath. Setting hardcode_minus_L
10343 # to unsupported forces relinking
10344 hardcode_minus_L
=yes
10345 hardcode_libdir_flag_spec
='-L$libdir'
10346 hardcode_libdir_separator
=
10350 shared_flag
='-shared'
10351 if test "$aix_use_runtimelinking" = yes; then
10352 shared_flag
="$shared_flag "'${wl}-G'
10356 if test "$host_cpu" = ia64
; then
10357 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10358 # chokes on -Wl,-G. The following line is correct:
10361 if test "$aix_use_runtimelinking" = yes; then
10362 shared_flag
='${wl}-G'
10364 shared_flag
='${wl}-bM:SRE'
10369 export_dynamic_flag_spec
='${wl}-bexpall'
10370 # It seems that -bexpall does not export symbols beginning with
10371 # underscore (_), so it is better to generate a list of symbols to export.
10372 always_export_symbols
=yes
10373 if test "$aix_use_runtimelinking" = yes; then
10374 # Warning - without using the other runtime loading flags (-brtl),
10375 # -berok will link without error, but may produce a broken library.
10376 allow_undefined_flag
='-berok'
10377 # Determine the default libpath from the value encoded in an
10378 # empty executable.
10379 if test x
$gcc_no_link = xyes
; then
10380 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10393 if ac_fn_c_try_link
"$LINENO"; then :
10395 lt_aix_libpath_sed
='
10396 /Import File Strings/,/^$/ {
10402 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10403 # Check for a 64-bit object if we didn't find anything.
10404 if test -z "$aix_libpath"; then
10405 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10408 rm -f core conftest.err conftest.
$ac_objext \
10409 conftest
$ac_exeext conftest.
$ac_ext
10410 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10412 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10413 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"
10415 if test "$host_cpu" = ia64
; then
10416 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10417 allow_undefined_flag
="-z nodefs"
10418 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"
10420 # Determine the default libpath from the value encoded in an
10421 # empty executable.
10422 if test x
$gcc_no_link = xyes
; then
10423 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10436 if ac_fn_c_try_link
"$LINENO"; then :
10438 lt_aix_libpath_sed
='
10439 /Import File Strings/,/^$/ {
10445 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10446 # Check for a 64-bit object if we didn't find anything.
10447 if test -z "$aix_libpath"; then
10448 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10451 rm -f core conftest.err conftest.
$ac_objext \
10452 conftest
$ac_exeext conftest.
$ac_ext
10453 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10455 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10456 # Warning - without using the other run time loading flags,
10457 # -berok will link without error, but may produce a broken library.
10458 no_undefined_flag
=' ${wl}-bernotok'
10459 allow_undefined_flag
=' ${wl}-berok'
10460 if test "$with_gnu_ld" = yes; then
10461 # We only use this code for GNU lds that support --whole-archive.
10462 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10464 # Exported symbols can be pulled into shared objects from archives
10465 whole_archive_flag_spec
='$convenience'
10467 archive_cmds_need_lc
=yes
10468 # This is similar to how AIX traditionally builds its shared libraries.
10469 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'
10477 # see comment about AmigaOS4 .so support
10478 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10479 archive_expsym_cmds
=''
10482 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)'
10483 hardcode_libdir_flag_spec
='-L$libdir'
10484 hardcode_minus_L
=yes
10490 export_dynamic_flag_spec
=-rdynamic
10493 cygwin
* | mingw
* | pw32
* | cegcc
*)
10494 # When not using gcc, we currently assume that we are using
10495 # Microsoft Visual C++.
10496 # hardcode_libdir_flag_spec is actually meaningless, as there is
10497 # no search path for DLLs.
10498 hardcode_libdir_flag_spec
=' '
10499 allow_undefined_flag
=unsupported
10500 # Tell ltmain to make .lib files, not .a files.
10502 # Tell ltmain to make .dll files, not .so files.
10504 # FIXME: Setting linknames here is a bad hack.
10505 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10506 # The linker will automatically build a .lib file if we build a DLL.
10507 old_archive_from_new_cmds
='true'
10508 # FIXME: Should let the user specify the lib program.
10509 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10510 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10511 enable_shared_with_static_runtimes
=yes
10514 darwin
* | rhapsody
*)
10517 archive_cmds_need_lc
=no
10519 hardcode_automatic
=yes
10520 hardcode_shlibpath_var
=unsupported
10521 if test "$lt_cv_ld_force_load" = "yes"; then
10522 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\"`'
10524 whole_archive_flag_spec
=''
10526 link_all_deplibs
=yes
10527 allow_undefined_flag
="$_lt_dar_allow_undefined"
10528 case $cc_basename in
10529 ifort
*) _lt_dar_can_shared
=yes ;;
10530 *) _lt_dar_can_shared
=$GCC ;;
10532 if test "$_lt_dar_can_shared" = "yes"; then
10533 output_verbose_link_cmd
=func_echo_all
10534 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10535 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10536 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}"
10537 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}"
10546 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10547 hardcode_libdir_flag_spec
='-L$libdir'
10548 hardcode_shlibpath_var
=no
10551 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10552 # support. Future versions do this automatically, but an explicit c++rt0.o
10553 # does not break anything, and helps significantly (at the cost of a little
10556 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10557 hardcode_libdir_flag_spec
='-R$libdir'
10558 hardcode_direct
=yes
10559 hardcode_shlibpath_var
=no
10562 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10564 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10565 hardcode_direct
=yes
10566 hardcode_minus_L
=yes
10567 hardcode_shlibpath_var
=no
10570 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10571 freebsd
* | dragonfly
*)
10572 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10573 hardcode_libdir_flag_spec
='-R$libdir'
10574 hardcode_direct
=yes
10575 hardcode_shlibpath_var
=no
10579 if test "$GCC" = yes; then
10580 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'
10582 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'
10584 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10585 hardcode_libdir_separator
=:
10586 hardcode_direct
=yes
10588 # hardcode_minus_L: Not really in the search PATH,
10589 # but as the default location of the library.
10590 hardcode_minus_L
=yes
10591 export_dynamic_flag_spec
='${wl}-E'
10595 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10596 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10598 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10600 if test "$with_gnu_ld" = no
; then
10601 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10602 hardcode_libdir_flag_spec_ld
='+b $libdir'
10603 hardcode_libdir_separator
=:
10604 hardcode_direct
=yes
10605 hardcode_direct_absolute
=yes
10606 export_dynamic_flag_spec
='${wl}-E'
10607 # hardcode_minus_L: Not really in the search PATH,
10608 # but as the default location of the library.
10609 hardcode_minus_L
=yes
10614 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10617 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10620 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10623 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10629 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10632 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10636 # Older versions of the 11.00 compiler do not understand -b yet
10637 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10639 $as_echo_n "checking if $CC understands -b... " >&6; }
10640 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10641 $as_echo_n "(cached) " >&6
10643 lt_cv_prog_compiler__b
=no
10644 save_LDFLAGS
="$LDFLAGS"
10645 LDFLAGS
="$LDFLAGS -b"
10646 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10647 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10648 # The linker can only warn and ignore the option if not recognized
10649 # So say no if there are warnings
10650 if test -s conftest.err
; then
10651 # Append any errors to the config.log.
10652 cat conftest.err
1>&5
10653 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10654 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10655 if diff conftest.exp conftest.er2
>/dev
/null
; then
10656 lt_cv_prog_compiler__b
=yes
10659 lt_cv_prog_compiler__b
=yes
10663 LDFLAGS
="$save_LDFLAGS"
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10667 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10669 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10670 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10672 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10678 if test "$with_gnu_ld" = no
; then
10679 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10680 hardcode_libdir_separator
=:
10685 hardcode_shlibpath_var
=no
10688 hardcode_direct
=yes
10689 hardcode_direct_absolute
=yes
10690 export_dynamic_flag_spec
='${wl}-E'
10692 # hardcode_minus_L: Not really in the search PATH,
10693 # but as the default location of the library.
10694 hardcode_minus_L
=yes
10700 irix5
* | irix6
* | nonstopux
*)
10701 if test "$GCC" = yes; then
10702 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'
10703 # Try to use the -exported_symbol ld option, if it does not
10704 # work, assume that -exports_file does not work either and
10705 # implicitly export all symbols.
10706 save_LDFLAGS
="$LDFLAGS"
10707 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10708 if test x
$gcc_no_link = xyes
; then
10709 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10712 /* end confdefs.h. */
10715 if ac_fn_c_try_link
"$LINENO"; then :
10716 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'
10719 rm -f core conftest.err conftest.
$ac_objext \
10720 conftest
$ac_exeext conftest.
$ac_ext
10721 LDFLAGS
="$save_LDFLAGS"
10723 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'
10724 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'
10726 archive_cmds_need_lc
='no'
10727 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10728 hardcode_libdir_separator
=:
10730 link_all_deplibs
=yes
10734 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10735 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10737 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10739 hardcode_libdir_flag_spec
='-R$libdir'
10740 hardcode_direct
=yes
10741 hardcode_shlibpath_var
=no
10745 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10746 hardcode_direct
=yes
10747 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10748 hardcode_libdir_separator
=:
10749 hardcode_shlibpath_var
=no
10756 if test -f /usr
/libexec
/ld.so
; then
10757 hardcode_direct
=yes
10758 hardcode_shlibpath_var
=no
10759 hardcode_direct_absolute
=yes
10760 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10761 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10762 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10763 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10764 export_dynamic_flag_spec
='${wl}-E'
10767 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10768 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10769 hardcode_libdir_flag_spec
='-R$libdir'
10772 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10773 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10783 hardcode_libdir_flag_spec
='-L$libdir'
10784 hardcode_minus_L
=yes
10785 allow_undefined_flag
=unsupported
10786 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'
10787 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10791 if test "$GCC" = yes; then
10792 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10793 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'
10795 allow_undefined_flag
=' -expect_unresolved \*'
10796 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'
10798 archive_cmds_need_lc
='no'
10799 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10800 hardcode_libdir_separator
=:
10803 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10804 if test "$GCC" = yes; then
10805 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10806 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'
10807 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10809 allow_undefined_flag
=' -expect_unresolved \*'
10810 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'
10811 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~
10812 $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'
10814 # Both c and cxx compiler support -rpath directly
10815 hardcode_libdir_flag_spec
='-rpath $libdir'
10817 archive_cmds_need_lc
='no'
10818 hardcode_libdir_separator
=:
10822 no_undefined_flag
=' -z defs'
10823 if test "$GCC" = yes; then
10825 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10826 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10827 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10829 case `$CC -V 2>&1` in
10832 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10833 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10834 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10838 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10839 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10840 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10844 hardcode_libdir_flag_spec
='-R$libdir'
10845 hardcode_shlibpath_var
=no
10847 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10849 # The compiler driver will combine and reorder linker options,
10850 # but understands `-z linker_flag'. GCC discards it without `$wl',
10851 # but is careful enough not to reorder.
10852 # Supported since Solaris 2.6 (maybe 2.5.1?)
10853 if test "$GCC" = yes; then
10854 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10856 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10860 link_all_deplibs
=yes
10864 if test "x$host_vendor" = xsequent
; then
10865 # Use $CC to link under sequent, because it throws in some extra .o
10866 # files that make .init and .fini sections work.
10867 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10869 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10871 hardcode_libdir_flag_spec
='-L$libdir'
10872 hardcode_direct
=yes
10873 hardcode_minus_L
=yes
10874 hardcode_shlibpath_var
=no
10878 case $host_vendor in
10880 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10881 hardcode_direct
=yes # is this really true???
10884 ## LD is ld it makes a PLAMLIB
10885 ## CC just makes a GrossModule.
10886 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10887 reload_cmds
='$CC -r -o $output$reload_objs'
10891 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10892 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10895 runpath_var
='LD_RUN_PATH'
10896 hardcode_shlibpath_var
=no
10900 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10901 hardcode_shlibpath_var
=no
10902 export_dynamic_flag_spec
='-Bexport'
10906 if test -d /usr
/nec
; then
10907 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10908 hardcode_shlibpath_var
=no
10909 runpath_var
=LD_RUN_PATH
10910 hardcode_runpath_var
=yes
10915 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10916 no_undefined_flag
='${wl}-z,text'
10917 archive_cmds_need_lc
=no
10918 hardcode_shlibpath_var
=no
10919 runpath_var
='LD_RUN_PATH'
10921 if test "$GCC" = yes; then
10922 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10923 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10925 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10926 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10930 sysv5
* | sco3.2v5
* | sco5v6
*)
10931 # Note: We can NOT use -z defs as we might desire, because we do not
10932 # link with -lc, and that would cause any symbols used from libc to
10933 # always be unresolved, which means just about no library would
10934 # ever link correctly. If we're not using GNU ld we use -z text
10935 # though, which does catch some bad symbols but isn't as heavy-handed
10937 no_undefined_flag
='${wl}-z,text'
10938 allow_undefined_flag
='${wl}-z,nodefs'
10939 archive_cmds_need_lc
=no
10940 hardcode_shlibpath_var
=no
10941 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10942 hardcode_libdir_separator
=':'
10943 link_all_deplibs
=yes
10944 export_dynamic_flag_spec
='${wl}-Bexport'
10945 runpath_var
='LD_RUN_PATH'
10947 if test "$GCC" = yes; then
10948 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10949 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10951 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10952 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10957 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10958 hardcode_libdir_flag_spec
='-L$libdir'
10959 hardcode_shlibpath_var
=no
10967 if test x
$host_vendor = xsni
; then
10969 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10970 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10977 $as_echo "$ld_shlibs" >&6; }
10978 test "$ld_shlibs" = no
&& can_build_shared
=no
10980 with_gnu_ld
=$with_gnu_ld
10997 # Do we need to explicitly link libc?
10999 case "x$archive_cmds_need_lc" in
11001 # Assume -lc should be added
11002 archive_cmds_need_lc
=yes
11004 if test "$enable_shared" = yes && test "$GCC" = yes; then
11005 case $archive_cmds in
11007 # FIXME: we may have to deal with multi-command sequences.
11010 # Test whether the compiler implicitly links with -lc since on some
11011 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11012 # to ld, don't add -lc before -lgcc.
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11014 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11015 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11016 $as_echo_n "(cached) " >&6
11019 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11022 (eval $ac_compile) 2>&5
11024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11025 test $ac_status = 0; } 2>conftest.err
; then
11028 libobjs
=conftest.
$ac_objext
11030 wl
=$lt_prog_compiler_wl
11031 pic_flag
=$lt_prog_compiler_pic
11037 lt_save_allow_undefined_flag
=$allow_undefined_flag
11038 allow_undefined_flag
=
11039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11040 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11043 test $ac_status = 0; }
11045 lt_cv_archive_cmds_need_lc
=no
11047 lt_cv_archive_cmds_need_lc
=yes
11049 allow_undefined_flag
=$lt_save_allow_undefined_flag
11051 cat conftest.err
1>&5
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11057 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11058 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11222 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11224 if test "$GCC" = yes; then
11226 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11227 *) lt_awk_arg
="/^libraries:/" ;;
11230 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11231 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11233 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11234 case $lt_search_path_spec in
11236 # if the path contains ";" then we assume it to be the separator
11237 # otherwise default to the standard path separator (i.e. ":") - it is
11238 # assumed that no part of a normal pathname contains ";" but that should
11239 # okay in the real world where ";" in dirpaths is itself problematic.
11240 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11243 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11246 # Ok, now we have the path, separated by spaces, we can step through it
11247 # and add multilib dir if necessary.
11248 lt_tmp_lt_search_path_spec
=
11249 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11250 for lt_sys_path
in $lt_search_path_spec; do
11251 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11252 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11254 test -d "$lt_sys_path" && \
11255 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11258 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11259 BEGIN {RS=" "; FS="/|\n";} {
11262 for (lt_i = NF; lt_i > 0; lt_i--) {
11263 if ($lt_i != "" && $lt_i != ".") {
11264 if ($lt_i == "..") {
11267 if (lt_count == 0) {
11268 lt_foo="/" $lt_i lt_foo;
11275 if (lt_foo != "") { lt_freq[lt_foo]++; }
11276 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11278 # AWK program above erroneously prepends '/' to C:/dos/paths
11281 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11282 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11284 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11286 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11288 library_names_spec
=
11289 libname_spec
='lib$name'
11293 postuninstall_cmds
=
11297 shlibpath_overrides_runpath
=unknown
11299 dynamic_linker
="$host_os ld.so"
11300 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11301 need_lib_prefix
=unknown
11302 hardcode_into_libs
=no
11304 # when you set need_version to no, make sure it does not cause -set_version
11305 # flags to be left without arguments
11306 need_version
=unknown
11311 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11312 shlibpath_var
=LIBPATH
11314 # AIX 3 has no versioning support, so we append a major version to the name.
11315 soname_spec
='${libname}${release}${shared_ext}$major'
11322 hardcode_into_libs
=yes
11323 if test "$host_cpu" = ia64
; then
11324 # AIX 5 supports IA64
11325 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11326 shlibpath_var
=LD_LIBRARY_PATH
11328 # With GCC up to 2.95.x, collect2 would create an import file
11329 # for dependence libraries. The import file would start with
11330 # the line `#! .'. This would cause the generated library to
11331 # depend on `.', always an invalid library. This was fixed in
11332 # development snapshots of GCC prior to 3.0.
11334 aix4 | aix4.
[01] | aix4.
[01].
*)
11335 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11337 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11340 can_build_shared
=no
11344 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11345 # soname into executable. Probably we can add versioning support to
11346 # collect2, so additional links can be useful in future.
11347 if test "$aix_use_runtimelinking" = yes; then
11348 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11349 # instead of lib<name>.a to let people know that these are not
11350 # typical AIX shared libraries.
11351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11353 # We preserve .a as extension for shared libraries through AIX4.2
11354 # and later when we are not doing run time linking.
11355 library_names_spec
='${libname}${release}.a $libname.a'
11356 soname_spec
='${libname}${release}${shared_ext}$major'
11358 shlibpath_var
=LIBPATH
11365 # Since July 2007 AmigaOS4 officially supports .so libraries.
11366 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11370 library_names_spec
='$libname.ixlibrary $libname.a'
11371 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11372 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'
11378 library_names_spec
='${libname}${shared_ext}'
11379 dynamic_linker
="$host_os ld.so"
11380 shlibpath_var
=LIBRARY_PATH
11386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11387 soname_spec
='${libname}${release}${shared_ext}$major'
11388 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11389 shlibpath_var
=LD_LIBRARY_PATH
11390 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11391 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11392 # the default ld.so.conf also contains /usr/contrib/lib and
11393 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11394 # libtool to hard-code these into programs
11397 cygwin
* | mingw
* | pw32
* | cegcc
*)
11398 version_type
=windows
11403 case $GCC,$host_os in
11404 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11405 library_names_spec
='$libname.dll.a'
11406 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11407 postinstall_cmds
='base_file=`basename \${file}`~
11408 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11409 dldir=$destdir/`dirname \$dlpath`~
11410 test -d \$dldir || mkdir -p \$dldir~
11411 $install_prog $dir/$dlname \$dldir/$dlname~
11412 chmod a+x \$dldir/$dlname~
11413 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11414 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11416 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11417 dlpath=$dir/\$dldll~
11419 shlibpath_overrides_runpath
=yes
11423 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11424 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11426 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11429 # MinGW DLLs use traditional 'lib' prefix
11430 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11433 # pw32 DLLs use 'pw' prefix rather than 'lib'
11434 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11440 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11443 dynamic_linker
='Win32 ld.exe'
11444 # FIXME: first we should search . and the directory the executable is in
11448 darwin
* | rhapsody
*)
11449 dynamic_linker
="$host_os dyld"
11450 version_type
=darwin
11453 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11454 soname_spec
='${libname}${release}${major}$shared_ext'
11455 shlibpath_overrides_runpath
=yes
11456 shlibpath_var
=DYLD_LIBRARY_PATH
11457 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11459 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11460 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11468 soname_spec
='${libname}${release}${shared_ext}$major'
11469 shlibpath_var
=LD_LIBRARY_PATH
11472 freebsd
* | dragonfly
*)
11473 # DragonFly does not have aout. When/if they implement a new
11474 # versioning mechanism, adjust this.
11475 if test -x /usr
/bin
/objformat
; then
11476 objformat
=`/usr/bin/objformat`
11479 freebsd
[23].
*) objformat
=aout
;;
11480 *) objformat
=elf
;;
11483 version_type
=freebsd-
$objformat
11484 case $version_type in
11486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11491 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11495 shlibpath_var
=LD_LIBRARY_PATH
11498 shlibpath_overrides_runpath
=yes
11500 freebsd3.
[01]* | freebsdelf3.
[01]*)
11501 shlibpath_overrides_runpath
=yes
11502 hardcode_into_libs
=yes
11504 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11505 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11506 shlibpath_overrides_runpath
=no
11507 hardcode_into_libs
=yes
11509 *) # from 4.6 on, and DragonFly
11510 shlibpath_overrides_runpath
=yes
11511 hardcode_into_libs
=yes
11520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11521 soname_spec
='${libname}${release}${shared_ext}$major'
11522 shlibpath_var
=LD_LIBRARY_PATH
11523 hardcode_into_libs
=yes
11530 dynamic_linker
="$host_os runtime_loader"
11531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11532 soname_spec
='${libname}${release}${shared_ext}$major'
11533 shlibpath_var
=LIBRARY_PATH
11534 shlibpath_overrides_runpath
=yes
11535 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11536 hardcode_into_libs
=yes
11539 hpux9
* | hpux10
* | hpux11
*)
11540 # Give a soname corresponding to the major version so that dld.sl refuses to
11541 # link against other versions.
11548 hardcode_into_libs
=yes
11549 dynamic_linker
="$host_os dld.so"
11550 shlibpath_var
=LD_LIBRARY_PATH
11551 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11553 soname_spec
='${libname}${release}${shared_ext}$major'
11554 if test "X$HPUX_IA64_MODE" = X32
; then
11555 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11557 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11559 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11563 hardcode_into_libs
=yes
11564 dynamic_linker
="$host_os dld.sl"
11565 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11566 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11568 soname_spec
='${libname}${release}${shared_ext}$major'
11569 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11570 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11574 dynamic_linker
="$host_os dld.sl"
11575 shlibpath_var
=SHLIB_PATH
11576 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11578 soname_spec
='${libname}${release}${shared_ext}$major'
11581 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11582 postinstall_cmds
='chmod 555 $lib'
11583 # or fails outright, so override atomically:
11584 install_override_mode
=555
11591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11592 soname_spec
='${libname}${release}${shared_ext}$major'
11593 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11594 shlibpath_var
=LD_LIBRARY_PATH
11595 shlibpath_overrides_runpath
=no
11596 hardcode_into_libs
=yes
11599 irix5
* | irix6
* | nonstopux
*)
11601 nonstopux
*) version_type
=nonstopux
;;
11603 if test "$lt_cv_prog_gnu_ld" = yes; then
11611 soname_spec
='${libname}${release}${shared_ext}$major'
11612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11614 irix5
* | nonstopux
*)
11615 libsuff
= shlibsuff
=
11618 case $LD in # libtool.m4 will add one of these switches to LD
11619 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11620 libsuff
= shlibsuff
= libmagic
=32-bit;;
11621 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11622 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11623 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11624 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11625 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11629 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11630 shlibpath_overrides_runpath
=no
11631 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11632 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11633 hardcode_into_libs
=yes
11636 # No shared lib support for Linux oldld, aout, or coff.
11637 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11641 # This must be Linux ELF.
11642 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647 soname_spec
='${libname}${release}${shared_ext}$major'
11648 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11649 shlibpath_var
=LD_LIBRARY_PATH
11650 shlibpath_overrides_runpath
=no
11652 # Some binutils ld are patched to set DT_RUNPATH
11653 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11654 $as_echo_n "(cached) " >&6
11656 lt_cv_shlibpath_overrides_runpath
=no
11657 save_LDFLAGS
=$LDFLAGS
11658 save_libdir
=$libdir
11659 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11660 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11661 if test x
$gcc_no_link = xyes
; then
11662 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11675 if ac_fn_c_try_link
"$LINENO"; then :
11676 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11677 lt_cv_shlibpath_overrides_runpath
=yes
11680 rm -f core conftest.err conftest.
$ac_objext \
11681 conftest
$ac_exeext conftest.
$ac_ext
11682 LDFLAGS
=$save_LDFLAGS
11683 libdir
=$save_libdir
11687 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11689 # This implies no fast_install, which is unacceptable.
11690 # Some rework will be needed to allow for fast_install
11691 # before this can be enabled.
11692 hardcode_into_libs
=yes
11694 # Append ld.so.conf contents to the search path
11695 if test -f /etc
/ld.so.conf
; then
11696 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' ' '`
11697 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11700 # We used to test for /lib/ld.so.1 and disable shared libraries on
11701 # powerpc, because MkLinux only supported shared libraries with the
11702 # GNU dynamic linker. Since this was broken with cross compilers,
11703 # most powerpc-linux boxes support dynamic linking these days and
11704 # people can always --disable-shared, the test was removed, and we
11705 # assume the GNU/Linux dynamic linker is in use.
11706 dynamic_linker
='GNU/Linux ld.so'
11713 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11715 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11716 dynamic_linker
='NetBSD (a.out) ld.so'
11718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11719 soname_spec
='${libname}${release}${shared_ext}$major'
11720 dynamic_linker
='NetBSD ld.elf_so'
11722 shlibpath_var
=LD_LIBRARY_PATH
11723 shlibpath_overrides_runpath
=yes
11724 hardcode_into_libs
=yes
11729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11730 shlibpath_var
=LD_LIBRARY_PATH
11731 shlibpath_overrides_runpath
=yes
11738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11739 soname_spec
='${libname}${release}${shared_ext}$major'
11740 shlibpath_var
=LD_LIBRARY_PATH
11741 shlibpath_overrides_runpath
=no
11742 hardcode_into_libs
=yes
11743 dynamic_linker
='ldqnx.so'
11748 sys_lib_dlsearch_path_spec
="/usr/lib"
11750 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11752 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11753 *) need_version
=no
;;
11755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11756 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11757 shlibpath_var
=LD_LIBRARY_PATH
11758 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11760 openbsd2.
[89] | openbsd2.
[89].
*)
11761 shlibpath_overrides_runpath
=no
11764 shlibpath_overrides_runpath
=yes
11768 shlibpath_overrides_runpath
=yes
11773 libname_spec
='$name'
11776 library_names_spec
='$libname${shared_ext} $libname.a'
11777 dynamic_linker
='OS/2 ld.exe'
11778 shlibpath_var
=LIBPATH
11781 osf3
* | osf4
* | osf5
*)
11785 soname_spec
='${libname}${release}${shared_ext}$major'
11786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11787 shlibpath_var
=LD_LIBRARY_PATH
11788 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11789 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11801 soname_spec
='${libname}${release}${shared_ext}$major'
11802 shlibpath_var
=LD_LIBRARY_PATH
11803 shlibpath_overrides_runpath
=yes
11804 hardcode_into_libs
=yes
11805 # ldd complains unless libraries are executable
11806 postinstall_cmds
='chmod +x $lib'
11811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11812 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11813 shlibpath_var
=LD_LIBRARY_PATH
11814 shlibpath_overrides_runpath
=yes
11815 if test "$with_gnu_ld" = yes; then
11823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11824 soname_spec
='${libname}${release}${shared_ext}$major'
11825 shlibpath_var
=LD_LIBRARY_PATH
11826 case $host_vendor in
11828 shlibpath_overrides_runpath
=no
11830 runpath_var
=LD_RUN_PATH
11838 shlibpath_overrides_runpath
=no
11839 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11845 if test -d /usr
/nec
;then
11847 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11848 soname_spec
='$libname${shared_ext}.$major'
11849 shlibpath_var
=LD_LIBRARY_PATH
11853 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11854 version_type
=freebsd-elf
11857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11858 soname_spec
='${libname}${release}${shared_ext}$major'
11859 shlibpath_var
=LD_LIBRARY_PATH
11860 shlibpath_overrides_runpath
=yes
11861 hardcode_into_libs
=yes
11862 if test "$with_gnu_ld" = yes; then
11863 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11865 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11868 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11872 sys_lib_dlsearch_path_spec
='/usr/lib'
11876 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11881 shlibpath_var
=LD_LIBRARY_PATH
11882 shlibpath_overrides_runpath
=no
11883 hardcode_into_libs
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11898 $as_echo "$dynamic_linker" >&6; }
11899 test "$dynamic_linker" = no
&& can_build_shared
=no
11901 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11902 if test "$GCC" = yes; then
11903 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11906 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11907 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11909 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11910 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12005 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12007 if test -n "$hardcode_libdir_flag_spec" ||
12008 test -n "$runpath_var" ||
12009 test "X$hardcode_automatic" = "Xyes" ; then
12011 # We can hardcode non-existent directories.
12012 if test "$hardcode_direct" != no
&&
12013 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12014 # have to relink, otherwise we might link with an installed library
12015 # when we should be linking with a yet-to-be-installed one
12016 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12017 test "$hardcode_minus_L" != no
; then
12018 # Linking always hardcodes the temporary library directory.
12019 hardcode_action
=relink
12021 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12022 hardcode_action
=immediate
12025 # We cannot hardcode anything, or else we can only hardcode existing
12027 hardcode_action
=unsupported
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12030 $as_echo "$hardcode_action" >&6; }
12032 if test "$hardcode_action" = relink ||
12033 test "$inherit_rpath" = yes; then
12034 # Fast installation is not supported
12035 enable_fast_install
=no
12036 elif test "$shlibpath_overrides_runpath" = yes ||
12037 test "$enable_shared" = no
; then
12038 # Fast installation is not necessary
12039 enable_fast_install
=needless
12047 if test "x$enable_dlopen" != xyes
; then
12048 enable_dlopen
=unknown
12049 enable_dlopen_self
=unknown
12050 enable_dlopen_self_static
=unknown
12057 lt_cv_dlopen
="load_add_on"
12059 lt_cv_dlopen_self
=yes
12062 mingw
* | pw32
* | cegcc
*)
12063 lt_cv_dlopen
="LoadLibrary"
12068 lt_cv_dlopen
="dlopen"
12073 # if libdl is installed we need to link against it
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12075 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12076 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12077 $as_echo_n "(cached) " >&6
12079 ac_check_lib_save_LIBS
=$LIBS
12081 if test x
$gcc_no_link = xyes
; then
12082 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12102 if ac_fn_c_try_link
"$LINENO"; then :
12103 ac_cv_lib_dl_dlopen
=yes
12105 ac_cv_lib_dl_dlopen
=no
12107 rm -f core conftest.err conftest.
$ac_objext \
12108 conftest
$ac_exeext conftest.
$ac_ext
12109 LIBS
=$ac_check_lib_save_LIBS
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12112 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12113 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12114 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12117 lt_cv_dlopen
="dyld"
12119 lt_cv_dlopen_self
=yes
12126 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12127 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12128 lt_cv_dlopen
="shl_load"
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12131 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12132 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12133 $as_echo_n "(cached) " >&6
12135 ac_check_lib_save_LIBS
=$LIBS
12137 if test x
$gcc_no_link = xyes
; then
12138 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12141 /* end confdefs.h. */
12143 /* Override any GCC internal prototype to avoid an error.
12144 Use char because int might match the return type of a GCC
12145 builtin and then its argument prototype would still apply. */
12153 return shl_load ();
12158 if ac_fn_c_try_link
"$LINENO"; then :
12159 ac_cv_lib_dld_shl_load
=yes
12161 ac_cv_lib_dld_shl_load
=no
12163 rm -f core conftest.err conftest.
$ac_objext \
12164 conftest
$ac_exeext conftest.
$ac_ext
12165 LIBS
=$ac_check_lib_save_LIBS
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12168 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12169 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12170 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12172 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12173 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12174 lt_cv_dlopen
="dlopen"
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12177 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12178 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12179 $as_echo_n "(cached) " >&6
12181 ac_check_lib_save_LIBS
=$LIBS
12183 if test x
$gcc_no_link = xyes
; then
12184 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12204 if ac_fn_c_try_link
"$LINENO"; then :
12205 ac_cv_lib_dl_dlopen
=yes
12207 ac_cv_lib_dl_dlopen
=no
12209 rm -f core conftest.err conftest.
$ac_objext \
12210 conftest
$ac_exeext conftest.
$ac_ext
12211 LIBS
=$ac_check_lib_save_LIBS
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12214 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12215 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12216 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12219 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12220 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12221 $as_echo_n "(cached) " >&6
12223 ac_check_lib_save_LIBS
=$LIBS
12224 LIBS
="-lsvld $LIBS"
12225 if test x
$gcc_no_link = xyes
; then
12226 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12246 if ac_fn_c_try_link
"$LINENO"; then :
12247 ac_cv_lib_svld_dlopen
=yes
12249 ac_cv_lib_svld_dlopen
=no
12251 rm -f core conftest.err conftest.
$ac_objext \
12252 conftest
$ac_exeext conftest.
$ac_ext
12253 LIBS
=$ac_check_lib_save_LIBS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12256 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12257 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12258 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12261 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12262 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12263 $as_echo_n "(cached) " >&6
12265 ac_check_lib_save_LIBS
=$LIBS
12267 if test x
$gcc_no_link = xyes
; then
12268 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12283 return dld_link ();
12288 if ac_fn_c_try_link
"$LINENO"; then :
12289 ac_cv_lib_dld_dld_link
=yes
12291 ac_cv_lib_dld_dld_link
=no
12293 rm -f core conftest.err conftest.
$ac_objext \
12294 conftest
$ac_exeext conftest.
$ac_ext
12295 LIBS
=$ac_check_lib_save_LIBS
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12298 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12299 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12300 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12321 if test "x$lt_cv_dlopen" != xno
; then
12327 case $lt_cv_dlopen in
12329 save_CPPFLAGS
="$CPPFLAGS"
12330 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12332 save_LDFLAGS
="$LDFLAGS"
12333 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12336 LIBS
="$lt_cv_dlopen_libs $LIBS"
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12339 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12340 if test "${lt_cv_dlopen_self+set}" = set; then :
12341 $as_echo_n "(cached) " >&6
12343 if test "$cross_compiling" = yes; then :
12344 lt_cv_dlopen_self
=cross
12346 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12347 lt_status
=$lt_dlunknown
12348 cat > conftest.
$ac_ext <<_LT_EOF
12349 #line 12349 "configure"
12350 #include "confdefs.h"
12359 # define LT_DLGLOBAL RTLD_GLOBAL
12362 # define LT_DLGLOBAL DL_GLOBAL
12364 # define LT_DLGLOBAL 0
12368 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12369 find out it does not work in some platform. */
12370 #ifndef LT_DLLAZY_OR_NOW
12372 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12375 # define LT_DLLAZY_OR_NOW DL_LAZY
12378 # define LT_DLLAZY_OR_NOW RTLD_NOW
12381 # define LT_DLLAZY_OR_NOW DL_NOW
12383 # define LT_DLLAZY_OR_NOW 0
12390 /* When -fvisbility=hidden is used, assume the code has been annotated
12391 correspondingly for the symbols needed. */
12392 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12393 void fnord () __attribute__((visibility("default")));
12396 void fnord () { int i=42; }
12399 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12400 int status = $lt_dlunknown;
12404 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12407 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12408 else puts (dlerror ());
12410 /* dlclose (self); */
12418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12419 (eval $ac_link) 2>&5
12421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12422 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12423 (.
/conftest
; exit; ) >&5 2>/dev
/null
12425 case x
$lt_status in
12426 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12427 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12428 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12431 # compilation failed
12432 lt_cv_dlopen_self
=no
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12440 $as_echo "$lt_cv_dlopen_self" >&6; }
12442 if test "x$lt_cv_dlopen_self" = xyes
; then
12443 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12445 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12446 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12447 $as_echo_n "(cached) " >&6
12449 if test "$cross_compiling" = yes; then :
12450 lt_cv_dlopen_self_static
=cross
12452 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12453 lt_status
=$lt_dlunknown
12454 cat > conftest.
$ac_ext <<_LT_EOF
12455 #line 12455 "configure"
12456 #include "confdefs.h"
12465 # define LT_DLGLOBAL RTLD_GLOBAL
12468 # define LT_DLGLOBAL DL_GLOBAL
12470 # define LT_DLGLOBAL 0
12474 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12475 find out it does not work in some platform. */
12476 #ifndef LT_DLLAZY_OR_NOW
12478 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12481 # define LT_DLLAZY_OR_NOW DL_LAZY
12484 # define LT_DLLAZY_OR_NOW RTLD_NOW
12487 # define LT_DLLAZY_OR_NOW DL_NOW
12489 # define LT_DLLAZY_OR_NOW 0
12496 /* When -fvisbility=hidden is used, assume the code has been annotated
12497 correspondingly for the symbols needed. */
12498 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12499 void fnord () __attribute__((visibility("default")));
12502 void fnord () { int i=42; }
12505 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12506 int status = $lt_dlunknown;
12510 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12513 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12514 else puts (dlerror ());
12516 /* dlclose (self); */
12524 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12525 (eval $ac_link) 2>&5
12527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12528 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12529 (.
/conftest
; exit; ) >&5 2>/dev
/null
12531 case x
$lt_status in
12532 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12533 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12534 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12537 # compilation failed
12538 lt_cv_dlopen_self_static
=no
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12546 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12549 CPPFLAGS
="$save_CPPFLAGS"
12550 LDFLAGS
="$save_LDFLAGS"
12555 case $lt_cv_dlopen_self in
12556 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12557 *) enable_dlopen_self
=unknown
;;
12560 case $lt_cv_dlopen_self_static in
12561 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12562 *) enable_dlopen_self_static
=unknown
;;
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12585 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12586 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12587 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12588 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12590 $as_echo "yes" >&6; }
12592 # FIXME - insert some real tests, host_os isn't really good enough
12595 if test -n "$STRIP" ; then
12596 striplib
="$STRIP -x"
12597 old_striplib
="$STRIP -S"
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12599 $as_echo "yes" >&6; }
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12602 $as_echo "no" >&6; }
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12607 $as_echo "no" >&6; }
12623 # Report which library types will actually be built
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12625 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12627 $as_echo "$can_build_shared" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12630 $as_echo_n "checking whether to build shared libraries... " >&6; }
12631 test "$can_build_shared" = "no" && enable_shared
=no
12633 # On AIX, shared libraries and static libraries use the same namespace, and
12634 # are all built from PIC.
12637 test "$enable_shared" = yes && enable_static
=no
12638 if test -n "$RANLIB"; then
12639 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12640 postinstall_cmds
='$RANLIB $lib'
12645 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12646 test "$enable_shared" = yes && enable_static
=no
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12651 $as_echo "$enable_shared" >&6; }
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12654 $as_echo_n "checking whether to build static libraries... " >&6; }
12655 # Make sure either enable_shared or enable_static is yes.
12656 test "$enable_shared" = yes || enable_static
=yes
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12658 $as_echo "$enable_static" >&6; }
12665 ac_cpp
='$CPP $CPPFLAGS'
12666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12684 ac_config_commands
="$ac_config_commands libtool"
12689 # Only expand once:
12696 *-cygwin* |
*-mingw*)
12697 # 'host' will be top-level target in the case of a target lib,
12698 # we must compare to with_cross_host to decide if this is a native
12699 # or cross-compiler and select where to install dlls appropriately.
12700 if test -n "$with_cross_host" &&
12701 test x
"$with_cross_host" != x
"no"; then
12702 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12704 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12716 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12718 # We need gfortran to compile parts of the library
12719 #AC_PROG_FC(gfortran)
12721 ac_ext
=${ac_fc_srcext-f}
12722 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12723 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12724 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12725 if test -n "$ac_tool_prefix"; then
12726 for ac_prog
in gfortran
12728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12729 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12731 $as_echo_n "checking for $ac_word... " >&6; }
12732 if test "${ac_cv_prog_FC+set}" = set; then :
12733 $as_echo_n "(cached) " >&6
12735 if test -n "$FC"; then
12736 ac_cv_prog_FC
="$FC" # Let the user override the test.
12738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12739 for as_dir
in $PATH
12742 test -z "$as_dir" && as_dir
=.
12743 for ac_exec_ext
in '' $ac_executable_extensions; do
12744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12745 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12756 if test -n "$FC"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12758 $as_echo "$FC" >&6; }
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12765 test -n "$FC" && break
12768 if test -z "$FC"; then
12770 for ac_prog
in gfortran
12772 # Extract the first word of "$ac_prog", so it can be a program name with args.
12773 set dummy
$ac_prog; ac_word
=$2
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12775 $as_echo_n "checking for $ac_word... " >&6; }
12776 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12777 $as_echo_n "(cached) " >&6
12779 if test -n "$ac_ct_FC"; then
12780 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12783 for as_dir
in $PATH
12786 test -z "$as_dir" && as_dir
=.
12787 for ac_exec_ext
in '' $ac_executable_extensions; do
12788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12789 ac_cv_prog_ac_ct_FC
="$ac_prog"
12790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12799 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12800 if test -n "$ac_ct_FC"; then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12802 $as_echo "$ac_ct_FC" >&6; }
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12805 $as_echo "no" >&6; }
12809 test -n "$ac_ct_FC" && break
12812 if test "x$ac_ct_FC" = x
; then
12815 case $cross_compiling:$ac_tool_warned in
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12819 ac_tool_warned
=yes ;;
12826 # Provide some information about the compiler.
12827 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12830 for ac_option
in --version -v -V -qversion; do
12831 { { ac_try
="$ac_compiler $ac_option >&5"
12832 case "(($ac_try" in
12833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12834 *) ac_try_echo=$ac_try;;
12836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12837 $as_echo "$ac_try_echo"; } >&5
12838 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12840 if test -s conftest.err; then
12842 ... rest of stderr output deleted ...
12843 10q' conftest.err >conftest.er1
12844 cat conftest.er1 >&5
12845 rm -f conftest.er1 conftest.err
12847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12848 test $ac_status = 0; }
12852 # If we don't use `.F
' as extension, the preprocessor is not run on the
12853 # input file. (Note that this only needs to work for GNU compilers.)
12854 ac_save_ext=$ac_ext
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12857 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12858 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12859 $as_echo_n "(cached) " >&6
12861 cat > conftest.$ac_ext <<_ACEOF
12869 if ac_fn_fc_try_compile "$LINENO"; then :
12870 ac_compiler_gnu=yes
12874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12875 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12879 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12880 ac_ext=$ac_save_ext
12881 ac_test_FCFLAGS=${FCFLAGS+set}
12882 ac_save_FCFLAGS=$FCFLAGS
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12885 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12886 if test "${ac_cv_prog_fc_g+set}" = set; then :
12887 $as_echo_n "(cached) " >&6
12890 cat > conftest.$ac_ext <<_ACEOF
12895 if ac_fn_fc_try_compile "$LINENO"; then :
12896 ac_cv_prog_fc_g=yes
12900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12904 $as_echo "$ac_cv_prog_fc_g" >&6; }
12905 if test "$ac_test_FCFLAGS" = set; then
12906 FCFLAGS=$ac_save_FCFLAGS
12907 elif test $ac_cv_prog_fc_g = yes; then
12908 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12914 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12922 ac_cpp='$CPP $CPPFLAGS'
12923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12924 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12927 ac_ext=${ac_fc_srcext-f}
12928 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12929 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12930 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12933 if test -z "$FC" || test "X$FC" = "Xno"; then
12937 archive_cmds_need_lc_FC=no
12938 allow_undefined_flag_FC=
12939 always_export_symbols_FC=no
12940 archive_expsym_cmds_FC=
12941 export_dynamic_flag_spec_FC=
12942 hardcode_direct_FC=no
12943 hardcode_direct_absolute_FC=no
12944 hardcode_libdir_flag_spec_FC=
12945 hardcode_libdir_flag_spec_ld_FC=
12946 hardcode_libdir_separator_FC=
12947 hardcode_minus_L_FC=no
12948 hardcode_automatic_FC=no
12949 inherit_rpath_FC=no
12951 module_expsym_cmds_FC=
12952 link_all_deplibs_FC=unknown
12953 old_archive_cmds_FC=$old_archive_cmds
12954 reload_flag_FC=$reload_flag
12955 reload_cmds_FC=$reload_cmds
12956 no_undefined_flag_FC=
12957 whole_archive_flag_spec_FC=
12958 enable_shared_with_static_runtimes_FC=no
12960 # Source file extension for fc test sources.
12961 ac_ext=${ac_fc_srcext-f}
12963 # Object file extension for compiled fc test sources.
12967 # No sense in running all these tests if we already determined that
12968 # the FC compiler isn't working. Some variables
(like enable_shared
)
12969 # are currently assumed to apply to all compilers on this platform,
12970 # and will be corrupted by setting them based on a non-working compiler.
12971 if test "$_lt_disable_FC" != yes; then
12972 # Code to be used in simple compile tests
12973 lt_simple_compile_test_code
="\
12979 # Code to be used in simple link tests
12980 lt_simple_link_test_code
="\
12985 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12992 # If no C compiler was specified, use CC.
12995 # If no C compiler flags were specified, use CFLAGS.
12996 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12998 # Allow CC to be a program name with arguments.
13002 # save warnings/boilerplate of simple test code
13003 ac_outfile
=conftest.
$ac_objext
13004 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13005 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13006 _lt_compiler_boilerplate
=`cat conftest.err`
13009 ac_outfile
=conftest.
$ac_objext
13010 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13011 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13012 _lt_linker_boilerplate
=`cat conftest.err`
13016 # Allow CC to be a program name with arguments.
13021 GCC
=$ac_cv_fc_compiler_gnu
13024 for cc_temp
in $compiler""; do
13026 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13027 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13032 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13035 if test -n "$compiler"; then
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13037 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13039 $as_echo "$can_build_shared" >&6; }
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13042 $as_echo_n "checking whether to build shared libraries... " >&6; }
13043 test "$can_build_shared" = "no" && enable_shared
=no
13045 # On AIX, shared libraries and static libraries use the same namespace, and
13046 # are all built from PIC.
13049 test "$enable_shared" = yes && enable_static
=no
13050 if test -n "$RANLIB"; then
13051 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13052 postinstall_cmds
='$RANLIB $lib'
13056 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13057 test "$enable_shared" = yes && enable_static
=no
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13062 $as_echo "$enable_shared" >&6; }
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13065 $as_echo_n "checking whether to build static libraries... " >&6; }
13066 # Make sure either enable_shared or enable_static is yes.
13067 test "$enable_shared" = yes || enable_static
=yes
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13069 $as_echo "$enable_static" >&6; }
13071 GCC_FC
="$ac_cv_fc_compiler_gnu"
13075 ## There is no encapsulation within the following macros, do not change
13076 ## the running order or otherwise move them around unless you know exactly
13077 ## what you are doing...
13078 # Dependencies to place before and after the object being linked:
13080 postdep_objects_FC
=
13083 compiler_lib_search_path_FC
=
13085 cat > conftest.
$ac_ext <<_LT_EOF
13094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13095 (eval $ac_compile) 2>&5
13097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13098 test $ac_status = 0; }; then
13099 # Parse the compiler output and extract the necessary
13100 # objects, libraries and library flags.
13102 # Sentinel used to keep track of whether or not we are before
13103 # the conftest object file.
13104 pre_test_object_deps_done
=no
13106 for p
in `eval "$output_verbose_link_cmd"`; do
13110 # Some compilers place space between "-{L,R}" and the path.
13111 # Remove the space.
13112 if test $p = "-L" ||
13113 test $p = "-R"; then
13120 if test "$pre_test_object_deps_done" = no
; then
13123 # Internal compiler library paths should come after those
13124 # provided the user. The postdeps already come after the
13125 # user supplied libs so there is no need to process them.
13126 if test -z "$compiler_lib_search_path_FC"; then
13127 compiler_lib_search_path_FC
="${prev}${p}"
13129 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13132 # The "-l" case would never come before the object being
13133 # linked, so don't bother handling this case.
13136 if test -z "$postdeps_FC"; then
13137 postdeps_FC
="${prev}${p}"
13139 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13145 # This assumes that the test object file only shows up
13146 # once in the compiler output.
13147 if test "$p" = "conftest.$objext"; then
13148 pre_test_object_deps_done
=yes
13152 if test "$pre_test_object_deps_done" = no
; then
13153 if test -z "$predep_objects_FC"; then
13154 predep_objects_FC
="$p"
13156 predep_objects_FC
="$predep_objects_FC $p"
13159 if test -z "$postdep_objects_FC"; then
13160 postdep_objects_FC
="$p"
13162 postdep_objects_FC
="$postdep_objects_FC $p"
13167 *) ;; # Ignore the rest.
13175 echo "libtool.m4: error: problem compiling FC test program"
13178 $RM -f confest.
$objext
13180 # PORTME: override above test on systems where it is broken
13183 case " $postdeps_FC " in
13184 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13186 compiler_lib_search_dirs_FC
=
13187 if test -n "${compiler_lib_search_path_FC}"; then
13188 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13221 lt_prog_compiler_wl_FC
=
13222 lt_prog_compiler_pic_FC
=
13223 lt_prog_compiler_static_FC
=
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13226 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13228 if test "$GCC" = yes; then
13229 lt_prog_compiler_wl_FC
='-Wl,'
13230 lt_prog_compiler_static_FC
='-static'
13234 # All AIX code is PIC.
13235 if test "$host_cpu" = ia64
; then
13236 # AIX 5 now supports IA64 processor
13237 lt_prog_compiler_static_FC
='-Bstatic'
13239 lt_prog_compiler_pic_FC
='-fPIC'
13245 # see comment about AmigaOS4 .so support
13246 lt_prog_compiler_pic_FC
='-fPIC'
13249 # FIXME: we need at least 68020 code to build shared libraries, but
13250 # adding the `-m68020' flag to GCC prevents building anything better,
13252 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13257 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13258 # PIC is the default for these OSes.
13261 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13262 # This hack is so that the source file can tell whether it is being
13263 # built for inclusion in a dll (and should export symbols for example).
13264 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13265 # (--disable-auto-import) libraries
13266 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13269 darwin
* | rhapsody
*)
13270 # PIC is the default on this platform
13271 # Common symbols not allowed in MH_DYLIB files
13272 lt_prog_compiler_pic_FC
='-fno-common'
13276 # PIC is the default for Haiku.
13277 # The "-static" flag exists, but is broken.
13278 lt_prog_compiler_static_FC
=
13282 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13283 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13284 # sets the default TLS model and affects inlining.
13290 lt_prog_compiler_pic_FC
='-fPIC'
13296 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13297 # Instead, we relocate shared libraries at runtime.
13301 # Just because we use GCC doesn't mean we suddenly get shared libraries
13302 # on systems that don't support them.
13303 lt_prog_compiler_can_build_shared_FC
=no
13308 # QNX uses GNU C++, but need to define -shared option too, otherwise
13309 # it will coredump.
13310 lt_prog_compiler_pic_FC
='-fPIC -shared'
13314 if test -d /usr
/nec
; then
13315 lt_prog_compiler_pic_FC
=-Kconform_pic
13320 lt_prog_compiler_pic_FC
='-fPIC'
13324 case $cc_basename in
13325 nvcc
*) # Cuda Compiler Driver 2.2
13326 lt_prog_compiler_wl_FC
='-Xlinker '
13327 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13331 # PORTME Check for flag to pass linker flags through the system compiler.
13334 lt_prog_compiler_wl_FC
='-Wl,'
13335 if test "$host_cpu" = ia64
; then
13336 # AIX 5 now supports IA64 processor
13337 lt_prog_compiler_static_FC
='-Bstatic'
13339 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13343 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13344 # This hack is so that the source file can tell whether it is being
13345 # built for inclusion in a dll (and should export symbols for example).
13346 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13349 hpux9
* | hpux10
* | hpux11
*)
13350 lt_prog_compiler_wl_FC
='-Wl,'
13351 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13352 # not for PA HP-UX.
13358 lt_prog_compiler_pic_FC
='+Z'
13361 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13362 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13365 irix5
* | irix6
* | nonstopux
*)
13366 lt_prog_compiler_wl_FC
='-Wl,'
13367 # PIC (with -KPIC) is the default.
13368 lt_prog_compiler_static_FC
='-non_shared'
13371 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13372 case $cc_basename in
13373 # old Intel for x86_64 which still supported -KPIC.
13375 lt_prog_compiler_wl_FC
='-Wl,'
13376 lt_prog_compiler_pic_FC
='-KPIC'
13377 lt_prog_compiler_static_FC
='-static'
13379 # icc used to be incompatible with GCC.
13380 # ICC 10 doesn't accept -KPIC any more.
13382 lt_prog_compiler_wl_FC
='-Wl,'
13383 lt_prog_compiler_pic_FC
='-fPIC'
13384 lt_prog_compiler_static_FC
='-static'
13386 # Lahey Fortran 8.1.
13388 lt_prog_compiler_wl_FC
='-Wl,'
13389 lt_prog_compiler_pic_FC
='--shared'
13390 lt_prog_compiler_static_FC
='--static'
13392 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13393 # Portland Group compilers (*not* the Pentium gcc compiler,
13394 # which looks to be a dead project)
13395 lt_prog_compiler_wl_FC
='-Wl,'
13396 lt_prog_compiler_pic_FC
='-fpic'
13397 lt_prog_compiler_static_FC
='-Bstatic'
13400 lt_prog_compiler_wl_FC
='-Wl,'
13401 # All Alpha code is PIC.
13402 lt_prog_compiler_static_FC
='-non_shared'
13404 xl
* | bgxl
* | bgf
* | mpixl
*)
13405 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13406 lt_prog_compiler_wl_FC
='-Wl,'
13407 lt_prog_compiler_pic_FC
='-qpic'
13408 lt_prog_compiler_static_FC
='-qstaticlink'
13411 case `$CC -V 2>&1 | sed 5q` in
13412 *Sun\ F
* |
*Sun
*Fortran
*)
13413 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13414 lt_prog_compiler_pic_FC
='-KPIC'
13415 lt_prog_compiler_static_FC
='-Bstatic'
13416 lt_prog_compiler_wl_FC
=''
13420 lt_prog_compiler_pic_FC
='-KPIC'
13421 lt_prog_compiler_static_FC
='-Bstatic'
13422 lt_prog_compiler_wl_FC
='-Wl,'
13430 lt_prog_compiler_pic_FC
='-KPIC'
13431 lt_prog_compiler_static_FC
='-Bstatic'
13435 # QNX uses GNU C++, but need to define -shared option too, otherwise
13436 # it will coredump.
13437 lt_prog_compiler_pic_FC
='-fPIC -shared'
13440 osf3
* | osf4
* | osf5
*)
13441 lt_prog_compiler_wl_FC
='-Wl,'
13442 # All OSF/1 code is PIC.
13443 lt_prog_compiler_static_FC
='-non_shared'
13447 lt_prog_compiler_static_FC
='-non_shared'
13451 lt_prog_compiler_pic_FC
='-KPIC'
13452 lt_prog_compiler_static_FC
='-Bstatic'
13453 case $cc_basename in
13454 f77
* | f90
* | f95
*)
13455 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13457 lt_prog_compiler_wl_FC
='-Wl,';;
13462 lt_prog_compiler_wl_FC
='-Qoption ld '
13463 lt_prog_compiler_pic_FC
='-PIC'
13464 lt_prog_compiler_static_FC
='-Bstatic'
13467 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13468 lt_prog_compiler_wl_FC
='-Wl,'
13469 lt_prog_compiler_pic_FC
='-KPIC'
13470 lt_prog_compiler_static_FC
='-Bstatic'
13474 if test -d /usr
/nec
;then
13475 lt_prog_compiler_pic_FC
='-Kconform_pic'
13476 lt_prog_compiler_static_FC
='-Bstatic'
13480 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13481 lt_prog_compiler_wl_FC
='-Wl,'
13482 lt_prog_compiler_pic_FC
='-KPIC'
13483 lt_prog_compiler_static_FC
='-Bstatic'
13487 lt_prog_compiler_wl_FC
='-Wl,'
13488 lt_prog_compiler_can_build_shared_FC
=no
13492 lt_prog_compiler_pic_FC
='-pic'
13493 lt_prog_compiler_static_FC
='-Bstatic'
13497 lt_prog_compiler_can_build_shared_FC
=no
13503 # For platforms which do not support PIC, -DPIC is meaningless:
13505 lt_prog_compiler_pic_FC
=
13508 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13512 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13517 # Check to make sure the PIC flag actually works.
13519 if test -n "$lt_prog_compiler_pic_FC"; then
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13521 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13522 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13523 $as_echo_n "(cached) " >&6
13525 lt_cv_prog_compiler_pic_works_FC
=no
13526 ac_outfile
=conftest.
$ac_objext
13527 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13528 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13529 # Insert the option either (1) after the last *FLAGS variable, or
13530 # (2) before a word containing "conftest.", or (3) at the end.
13531 # Note that $ac_compile itself does not contain backslashes and begins
13532 # with a dollar sign (not a hyphen), so the echo should work correctly.
13533 # The option is referenced via a variable to avoid confusing sed.
13534 lt_compile
=`echo "$ac_compile" | $SED \
13535 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13537 -e 's:$: $lt_compiler_flag:'`
13538 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13539 (eval "$lt_compile" 2>conftest.err
)
13541 cat conftest.err
>&5
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 if (exit $ac_status) && test -s "$ac_outfile"; then
13544 # The compiler can only warn and ignore the option if not recognized
13545 # So say no if there are warnings other than the usual output.
13546 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13547 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13548 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13549 lt_cv_prog_compiler_pic_works_FC
=yes
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13556 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13558 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13559 case $lt_prog_compiler_pic_FC in
13561 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13564 lt_prog_compiler_pic_FC
=
13565 lt_prog_compiler_can_build_shared_FC
=no
13573 # Check to make sure the static flag actually works.
13575 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13577 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13578 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13579 $as_echo_n "(cached) " >&6
13581 lt_cv_prog_compiler_static_works_FC
=no
13582 save_LDFLAGS
="$LDFLAGS"
13583 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13584 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13585 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13586 # The linker can only warn and ignore the option if not recognized
13587 # So say no if there are warnings
13588 if test -s conftest.err
; then
13589 # Append any errors to the config.log.
13590 cat conftest.err
1>&5
13591 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13592 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13593 if diff conftest.exp conftest.er2
>/dev
/null
; then
13594 lt_cv_prog_compiler_static_works_FC
=yes
13597 lt_cv_prog_compiler_static_works_FC
=yes
13601 LDFLAGS
="$save_LDFLAGS"
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13605 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13607 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13610 lt_prog_compiler_static_FC
=
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13617 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13618 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13619 $as_echo_n "(cached) " >&6
13621 lt_cv_prog_compiler_c_o_FC
=no
13622 $RM -r conftest
2>/dev
/null
13626 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13628 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13629 # Insert the option either (1) after the last *FLAGS variable, or
13630 # (2) before a word containing "conftest.", or (3) at the end.
13631 # Note that $ac_compile itself does not contain backslashes and begins
13632 # with a dollar sign (not a hyphen), so the echo should work correctly.
13633 lt_compile
=`echo "$ac_compile" | $SED \
13634 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13635 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13636 -e 's:$: $lt_compiler_flag:'`
13637 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13638 (eval "$lt_compile" 2>out
/conftest.err
)
13640 cat out
/conftest.err
>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13644 # The compiler can only warn and ignore the option if not recognized
13645 # So say no if there are warnings
13646 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13647 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13648 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13649 lt_cv_prog_compiler_c_o_FC
=yes
13654 # SGI C++ compiler will create directory out/ii_files/ for
13655 # template instantiation
13656 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13657 $RM out
/* && rmdir out
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13664 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13669 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13670 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13671 $as_echo_n "(cached) " >&6
13673 lt_cv_prog_compiler_c_o_FC
=no
13674 $RM -r conftest
2>/dev
/null
13678 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13680 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13681 # Insert the option either (1) after the last *FLAGS variable, or
13682 # (2) before a word containing "conftest.", or (3) at the end.
13683 # Note that $ac_compile itself does not contain backslashes and begins
13684 # with a dollar sign (not a hyphen), so the echo should work correctly.
13685 lt_compile
=`echo "$ac_compile" | $SED \
13686 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13687 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13688 -e 's:$: $lt_compiler_flag:'`
13689 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13690 (eval "$lt_compile" 2>out
/conftest.err
)
13692 cat out
/conftest.err
>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13696 # The compiler can only warn and ignore the option if not recognized
13697 # So say no if there are warnings
13698 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13699 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13700 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13701 lt_cv_prog_compiler_c_o_FC
=yes
13706 # SGI C++ compiler will create directory out/ii_files/ for
13707 # template instantiation
13708 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13709 $RM out
/* && rmdir out
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13716 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13721 hard_links
="nottested"
13722 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13723 # do not overwrite the value of need_locks provided by the user
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13725 $as_echo_n "checking if we can lock with hard links... " >&6; }
13728 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13730 ln conftest.a conftest.b
2>&5 || hard_links
=no
13731 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13733 $as_echo "$hard_links" >&6; }
13734 if test "$hard_links" = no
; then
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13736 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13746 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13749 allow_undefined_flag_FC
=
13750 always_export_symbols_FC
=no
13752 archive_expsym_cmds_FC
=
13753 compiler_needs_object_FC
=no
13754 enable_shared_with_static_runtimes_FC
=no
13755 export_dynamic_flag_spec_FC
=
13756 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13757 hardcode_automatic_FC
=no
13758 hardcode_direct_FC
=no
13759 hardcode_direct_absolute_FC
=no
13760 hardcode_libdir_flag_spec_FC
=
13761 hardcode_libdir_flag_spec_ld_FC
=
13762 hardcode_libdir_separator_FC
=
13763 hardcode_minus_L_FC
=no
13764 hardcode_shlibpath_var_FC
=unsupported
13765 inherit_rpath_FC
=no
13766 link_all_deplibs_FC
=unknown
13768 module_expsym_cmds_FC
=
13769 old_archive_from_new_cmds_FC
=
13770 old_archive_from_expsyms_cmds_FC
=
13771 thread_safe_flag_spec_FC
=
13772 whole_archive_flag_spec_FC
=
13773 # include_expsyms should be a list of space-separated symbols to be *always*
13774 # included in the symbol list
13775 include_expsyms_FC
=
13776 # exclude_expsyms can be an extended regexp of symbols to exclude
13777 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13778 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13779 # as well as any symbol that contains `d'.
13780 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13781 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13782 # platforms (ab)use it in PIC code, but their linkers get confused if
13783 # the symbol is explicitly referenced. Since portable code cannot
13784 # rely on this symbol name, it's probably fine to never include it in
13785 # preloaded symbol tables.
13786 # Exclude shared library initialization/finalization symbols.
13787 extract_expsyms_cmds
=
13790 cygwin
* | mingw
* | pw32
* | cegcc
*)
13791 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13792 # When not using gcc, we currently assume that we are using
13793 # Microsoft Visual C++.
13794 if test "$GCC" != yes; then
13799 # we just hope/assume this is gcc and not c89 (= MSVC++)
13809 # On some targets, GNU ld is compatible enough with the native linker
13810 # that we're better off using the native interface for both.
13811 lt_use_gnu_ld_interface
=no
13812 if test "$with_gnu_ld" = yes; then
13815 # The AIX port of GNU ld has always aspired to compatibility
13816 # with the native linker. However, as the warning in the GNU ld
13817 # block says, versions before 2.19.5* couldn't really create working
13818 # shared libraries, regardless of the interface used.
13819 case `$LD -v 2>&1` in
13820 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13821 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13822 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13824 lt_use_gnu_ld_interface
=yes
13829 lt_use_gnu_ld_interface
=yes
13834 if test "$lt_use_gnu_ld_interface" = yes; then
13835 # If archive_cmds runs LD, not CC, wlarc should be empty
13838 # Set some defaults for GNU ld with shared library support. These
13839 # are reset later if shared libraries are not supported. Putting them
13840 # here allows them to be overridden if necessary.
13841 runpath_var
=LD_RUN_PATH
13842 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13843 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13844 # ancient GNU ld didn't support --whole-archive et. al.
13845 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13846 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13848 whole_archive_flag_spec_FC
=
13850 supports_anon_versioning
=no
13851 case `$LD -v 2>&1` in
13852 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13853 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13854 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13855 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13856 *\
2.11.
*) ;; # other 2.11 versions
13857 *) supports_anon_versioning
=yes ;;
13860 # See if GNU ld supports shared libraries.
13863 # On AIX/PPC, the GNU linker is very broken
13864 if test "$host_cpu" != ia64
; then
13868 *** Warning: the GNU linker, at least up to release 2.19, is reported
13869 *** to be unable to reliably create shared libraries on AIX.
13870 *** Therefore, libtool is disabling shared libraries support. If you
13871 *** really care for shared libraries, you may want to install binutils
13872 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13873 *** You will then need to restart the configuration process.
13882 # see comment about AmigaOS4 .so support
13883 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13884 archive_expsym_cmds_FC
=''
13887 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)'
13888 hardcode_libdir_flag_spec_FC
='-L$libdir'
13889 hardcode_minus_L_FC
=yes
13895 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13896 allow_undefined_flag_FC
=unsupported
13897 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13898 # support --undefined. This deserves some investigation. FIXME
13899 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13905 cygwin
* | mingw
* | pw32
* | cegcc
*)
13906 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13907 # as there is no search path for DLLs.
13908 hardcode_libdir_flag_spec_FC
='-L$libdir'
13909 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13910 allow_undefined_flag_FC
=unsupported
13911 always_export_symbols_FC
=no
13912 enable_shared_with_static_runtimes_FC
=yes
13913 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13915 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13916 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13917 # If the export-symbols file already is a .def file (1st line
13918 # is EXPORTS), use it as is; otherwise, prepend...
13919 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13920 cp $export_symbols $output_objdir/$soname.def;
13922 echo EXPORTS > $output_objdir/$soname.def;
13923 cat $export_symbols >> $output_objdir/$soname.def;
13925 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13932 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13933 link_all_deplibs_FC
=yes
13937 hardcode_direct_FC
=no
13938 hardcode_shlibpath_var_FC
=no
13939 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13940 export_dynamic_flag_spec_FC
='${wl}-E'
13941 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13942 # Instead, shared libraries are loaded at an image base (0x10000000 by
13943 # default) and relocated if they conflict, which is a slow very memory
13944 # consuming and fragmenting process. To avoid this, we pick a random,
13945 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13946 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13947 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'
13948 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'
13951 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13953 if test "$host_os" = linux-dietlibc
; then
13954 case $cc_basename in
13955 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13958 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13959 && test "$tmp_diet" = no
13962 tmp_sharedflag
='-shared'
13963 case $cc_basename,$host_cpu in
13964 pgcc
*) # Portland Group C compiler
13965 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'
13966 tmp_addflag
=' $pic_flag'
13968 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13969 # Portland Group f77 and f90 compilers
13970 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'
13971 tmp_addflag
=' $pic_flag -Mnomain' ;;
13972 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13973 tmp_addflag
=' -i_dynamic' ;;
13974 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13975 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13976 ifc
* | ifort
*) # Intel Fortran compiler
13977 tmp_addflag
=' -nofor_main' ;;
13978 lf95
*) # Lahey Fortran 8.1
13979 whole_archive_flag_spec_FC
=
13980 tmp_sharedflag
='--shared' ;;
13981 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13982 tmp_sharedflag
='-qmkshrobj'
13984 nvcc
*) # Cuda Compiler Driver 2.2
13985 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'
13986 compiler_needs_object_FC
=yes
13989 case `$CC -V 2>&1 | sed 5q` in
13990 *Sun\ C
*) # Sun C 5.9
13991 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'
13992 compiler_needs_object_FC
=yes
13993 tmp_sharedflag
='-G' ;;
13994 *Sun\ F
*) # Sun Fortran 8.3
13995 tmp_sharedflag
='-G' ;;
13997 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13999 if test "x$supports_anon_versioning" = xyes
; then
14000 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14001 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14002 echo "local: *; };" >> $output_objdir/$libname.ver~
14003 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14006 case $cc_basename in
14007 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14008 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14009 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14010 hardcode_libdir_flag_spec_FC
=
14011 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14012 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14013 if test "x$supports_anon_versioning" = xyes
; then
14014 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14015 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14016 echo "local: *; };" >> $output_objdir/$libname.ver~
14017 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14027 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14028 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14031 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14032 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14037 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14041 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14042 *** create shared libraries on Solaris systems. Therefore, libtool
14043 *** is disabling shared libraries support. We urge you to upgrade GNU
14044 *** binutils to release 2.9.1 or newer. Another option is to modify
14045 *** your PATH or compiler configuration so that the native linker is
14046 *** used, and then restart.
14049 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14050 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14051 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14057 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14058 case `$LD -v 2>&1` in
14059 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14063 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14064 *** reliably create shared libraries on SCO systems. Therefore, libtool
14065 *** is disabling shared libraries support. We urge you to upgrade GNU
14066 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14067 *** your PATH or compiler configuration so that the native linker is
14068 *** used, and then restart.
14073 # For security reasons, it is highly recommended that you always
14074 # use absolute paths for naming shared libraries, and exclude the
14075 # DT_RUNPATH tag from executables and libraries. But doing so
14076 # requires that you compile everything twice, which is a pain.
14077 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14078 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14079 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14080 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14089 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14091 hardcode_direct_FC
=yes
14092 hardcode_shlibpath_var_FC
=no
14096 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14097 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14098 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14105 if test "$ld_shlibs_FC" = no
; then
14107 hardcode_libdir_flag_spec_FC
=
14108 export_dynamic_flag_spec_FC
=
14109 whole_archive_flag_spec_FC
=
14112 # PORTME fill in a description of your system's linker (not GNU ld)
14115 allow_undefined_flag_FC
=unsupported
14116 always_export_symbols_FC
=yes
14117 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'
14118 # Note: this linker hardcodes the directories in LIBPATH if there
14119 # are no directories specified by -L.
14120 hardcode_minus_L_FC
=yes
14121 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14122 # Neither direct hardcoding nor static linking is supported with a
14124 hardcode_direct_FC
=unsupported
14129 if test "$host_cpu" = ia64
; then
14130 # On IA64, the linker does run time linking by default, so we don't
14131 # have to do anything special.
14132 aix_use_runtimelinking
=no
14133 exp_sym_flag
='-Bexport'
14136 # If we're using GNU nm, then we don't want the "-C" option.
14137 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14138 # Also, AIX nm treats weak defined symbols like other global
14139 # defined symbols, whereas GNU nm marks them as "W".
14140 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14141 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'
14143 export_symbols_cmds_FC
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14145 aix_use_runtimelinking
=no
14147 # Test if we are trying to use run time linking or normal
14148 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14149 # need to do runtime linking.
14150 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14151 for ld_flag
in $LDFLAGS; do
14152 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14153 aix_use_runtimelinking
=yes
14160 exp_sym_flag
='-bexport'
14161 no_entry_flag
='-bnoentry'
14164 # When large executables or shared objects are built, AIX ld can
14165 # have problems creating the table of contents. If linking a library
14166 # or program results in "error TOC overflow" add -mminimal-toc to
14167 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14168 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14171 hardcode_direct_FC
=yes
14172 hardcode_direct_absolute_FC
=yes
14173 hardcode_libdir_separator_FC
=':'
14174 link_all_deplibs_FC
=yes
14175 file_list_spec_FC
='${wl}-f,'
14177 if test "$GCC" = yes; then
14178 case $host_os in aix4.
[012]|aix4.
[012].
*)
14179 # We only want to do this on AIX 4.2 and lower, the check
14180 # below for broken collect2 doesn't work under 4.3+
14181 collect2name
=`${CC} -print-prog-name=collect2`
14182 if test -f "$collect2name" &&
14183 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14185 # We have reworked collect2
14188 # We have old collect2
14189 hardcode_direct_FC
=unsupported
14190 # It fails to find uninstalled libraries when the uninstalled
14191 # path is not listed in the libpath. Setting hardcode_minus_L
14192 # to unsupported forces relinking
14193 hardcode_minus_L_FC
=yes
14194 hardcode_libdir_flag_spec_FC
='-L$libdir'
14195 hardcode_libdir_separator_FC
=
14199 shared_flag
='-shared'
14200 if test "$aix_use_runtimelinking" = yes; then
14201 shared_flag
="$shared_flag "'${wl}-G'
14205 if test "$host_cpu" = ia64
; then
14206 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14207 # chokes on -Wl,-G. The following line is correct:
14210 if test "$aix_use_runtimelinking" = yes; then
14211 shared_flag
='${wl}-G'
14213 shared_flag
='${wl}-bM:SRE'
14218 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14219 # It seems that -bexpall does not export symbols beginning with
14220 # underscore (_), so it is better to generate a list of symbols to export.
14221 always_export_symbols_FC
=yes
14222 if test "$aix_use_runtimelinking" = yes; then
14223 # Warning - without using the other runtime loading flags (-brtl),
14224 # -berok will link without error, but may produce a broken library.
14225 allow_undefined_flag_FC
='-berok'
14226 # Determine the default libpath from the value encoded in an
14227 # empty executable.
14228 if test x
$gcc_no_link = xyes
; then
14229 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14231 cat > conftest.
$ac_ext <<_ACEOF
14236 if ac_fn_fc_try_link
"$LINENO"; then :
14238 lt_aix_libpath_sed
='
14239 /Import File Strings/,/^$/ {
14245 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14246 # Check for a 64-bit object if we didn't find anything.
14247 if test -z "$aix_libpath"; then
14248 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14251 rm -f core conftest.err conftest.
$ac_objext \
14252 conftest
$ac_exeext conftest.
$ac_ext
14253 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14255 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14256 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"
14258 if test "$host_cpu" = ia64
; then
14259 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14260 allow_undefined_flag_FC
="-z nodefs"
14261 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"
14263 # Determine the default libpath from the value encoded in an
14264 # empty executable.
14265 if test x
$gcc_no_link = xyes
; then
14266 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14268 cat > conftest.
$ac_ext <<_ACEOF
14273 if ac_fn_fc_try_link
"$LINENO"; then :
14275 lt_aix_libpath_sed
='
14276 /Import File Strings/,/^$/ {
14282 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14283 # Check for a 64-bit object if we didn't find anything.
14284 if test -z "$aix_libpath"; then
14285 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14288 rm -f core conftest.err conftest.
$ac_objext \
14289 conftest
$ac_exeext conftest.
$ac_ext
14290 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14292 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14293 # Warning - without using the other run time loading flags,
14294 # -berok will link without error, but may produce a broken library.
14295 no_undefined_flag_FC
=' ${wl}-bernotok'
14296 allow_undefined_flag_FC
=' ${wl}-berok'
14297 if test "$with_gnu_ld" = yes; then
14298 # We only use this code for GNU lds that support --whole-archive.
14299 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14301 # Exported symbols can be pulled into shared objects from archives
14302 whole_archive_flag_spec_FC
='$convenience'
14304 archive_cmds_need_lc_FC
=yes
14305 # This is similar to how AIX traditionally builds its shared libraries.
14306 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'
14314 # see comment about AmigaOS4 .so support
14315 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14316 archive_expsym_cmds_FC
=''
14319 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)'
14320 hardcode_libdir_flag_spec_FC
='-L$libdir'
14321 hardcode_minus_L_FC
=yes
14327 export_dynamic_flag_spec_FC
=-rdynamic
14330 cygwin
* | mingw
* | pw32
* | cegcc
*)
14331 # When not using gcc, we currently assume that we are using
14332 # Microsoft Visual C++.
14333 # hardcode_libdir_flag_spec is actually meaningless, as there is
14334 # no search path for DLLs.
14335 hardcode_libdir_flag_spec_FC
=' '
14336 allow_undefined_flag_FC
=unsupported
14337 # Tell ltmain to make .lib files, not .a files.
14339 # Tell ltmain to make .dll files, not .so files.
14341 # FIXME: Setting linknames here is a bad hack.
14342 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14343 # The linker will automatically build a .lib file if we build a DLL.
14344 old_archive_from_new_cmds_FC
='true'
14345 # FIXME: Should let the user specify the lib program.
14346 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14347 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14348 enable_shared_with_static_runtimes_FC
=yes
14351 darwin
* | rhapsody
*)
14354 archive_cmds_need_lc_FC
=no
14355 hardcode_direct_FC
=no
14356 hardcode_automatic_FC
=yes
14357 hardcode_shlibpath_var_FC
=unsupported
14358 if test "$lt_cv_ld_force_load" = "yes"; then
14359 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\"`'
14361 whole_archive_flag_spec_FC
=''
14363 link_all_deplibs_FC
=yes
14364 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14365 case $cc_basename in
14366 ifort
*) _lt_dar_can_shared
=yes ;;
14367 *) _lt_dar_can_shared
=$GCC ;;
14369 if test "$_lt_dar_can_shared" = "yes"; then
14370 output_verbose_link_cmd
=func_echo_all
14371 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}"
14372 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14373 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}"
14374 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}"
14383 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14384 hardcode_libdir_flag_spec_FC
='-L$libdir'
14385 hardcode_shlibpath_var_FC
=no
14388 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14389 # support. Future versions do this automatically, but an explicit c++rt0.o
14390 # does not break anything, and helps significantly (at the cost of a little
14393 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14394 hardcode_libdir_flag_spec_FC
='-R$libdir'
14395 hardcode_direct_FC
=yes
14396 hardcode_shlibpath_var_FC
=no
14399 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14401 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14402 hardcode_direct_FC
=yes
14403 hardcode_minus_L_FC
=yes
14404 hardcode_shlibpath_var_FC
=no
14407 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14408 freebsd
* | dragonfly
*)
14409 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14410 hardcode_libdir_flag_spec_FC
='-R$libdir'
14411 hardcode_direct_FC
=yes
14412 hardcode_shlibpath_var_FC
=no
14416 if test "$GCC" = yes; then
14417 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'
14419 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'
14421 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14422 hardcode_libdir_separator_FC
=:
14423 hardcode_direct_FC
=yes
14425 # hardcode_minus_L: Not really in the search PATH,
14426 # but as the default location of the library.
14427 hardcode_minus_L_FC
=yes
14428 export_dynamic_flag_spec_FC
='${wl}-E'
14432 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14433 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14435 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14437 if test "$with_gnu_ld" = no
; then
14438 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14439 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14440 hardcode_libdir_separator_FC
=:
14441 hardcode_direct_FC
=yes
14442 hardcode_direct_absolute_FC
=yes
14443 export_dynamic_flag_spec_FC
='${wl}-E'
14444 # hardcode_minus_L: Not really in the search PATH,
14445 # but as the default location of the library.
14446 hardcode_minus_L_FC
=yes
14451 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14454 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14457 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14460 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14466 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14469 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14472 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14476 if test "$with_gnu_ld" = no
; then
14477 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14478 hardcode_libdir_separator_FC
=:
14482 hardcode_direct_FC
=no
14483 hardcode_shlibpath_var_FC
=no
14486 hardcode_direct_FC
=yes
14487 hardcode_direct_absolute_FC
=yes
14488 export_dynamic_flag_spec_FC
='${wl}-E'
14490 # hardcode_minus_L: Not really in the search PATH,
14491 # but as the default location of the library.
14492 hardcode_minus_L_FC
=yes
14498 irix5
* | irix6
* | nonstopux
*)
14499 if test "$GCC" = yes; then
14500 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'
14501 # Try to use the -exported_symbol ld option, if it does not
14502 # work, assume that -exports_file does not work either and
14503 # implicitly export all symbols.
14504 save_LDFLAGS
="$LDFLAGS"
14505 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14506 if test x
$gcc_no_link = xyes
; then
14507 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14509 cat > conftest.
$ac_ext <<_ACEOF
14512 if ac_fn_fc_try_link
"$LINENO"; then :
14513 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'
14516 rm -f core conftest.err conftest.
$ac_objext \
14517 conftest
$ac_exeext conftest.
$ac_ext
14518 LDFLAGS
="$save_LDFLAGS"
14520 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'
14521 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'
14523 archive_cmds_need_lc_FC
='no'
14524 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14525 hardcode_libdir_separator_FC
=:
14526 inherit_rpath_FC
=yes
14527 link_all_deplibs_FC
=yes
14531 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14532 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14534 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14536 hardcode_libdir_flag_spec_FC
='-R$libdir'
14537 hardcode_direct_FC
=yes
14538 hardcode_shlibpath_var_FC
=no
14542 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14543 hardcode_direct_FC
=yes
14544 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14545 hardcode_libdir_separator_FC
=:
14546 hardcode_shlibpath_var_FC
=no
14553 if test -f /usr
/libexec
/ld.so
; then
14554 hardcode_direct_FC
=yes
14555 hardcode_shlibpath_var_FC
=no
14556 hardcode_direct_absolute_FC
=yes
14557 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14558 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14559 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14560 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14561 export_dynamic_flag_spec_FC
='${wl}-E'
14564 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14565 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14566 hardcode_libdir_flag_spec_FC
='-R$libdir'
14569 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14570 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14580 hardcode_libdir_flag_spec_FC
='-L$libdir'
14581 hardcode_minus_L_FC
=yes
14582 allow_undefined_flag_FC
=unsupported
14583 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'
14584 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14588 if test "$GCC" = yes; then
14589 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14590 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'
14592 allow_undefined_flag_FC
=' -expect_unresolved \*'
14593 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'
14595 archive_cmds_need_lc_FC
='no'
14596 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14597 hardcode_libdir_separator_FC
=:
14600 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14601 if test "$GCC" = yes; then
14602 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14603 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'
14604 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14606 allow_undefined_flag_FC
=' -expect_unresolved \*'
14607 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'
14608 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~
14609 $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'
14611 # Both c and cxx compiler support -rpath directly
14612 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14614 archive_cmds_need_lc_FC
='no'
14615 hardcode_libdir_separator_FC
=:
14619 no_undefined_flag_FC
=' -z defs'
14620 if test "$GCC" = yes; then
14622 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14623 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14624 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14626 case `$CC -V 2>&1` in
14629 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14630 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14631 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14635 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14636 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14637 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14641 hardcode_libdir_flag_spec_FC
='-R$libdir'
14642 hardcode_shlibpath_var_FC
=no
14644 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14646 # The compiler driver will combine and reorder linker options,
14647 # but understands `-z linker_flag'. GCC discards it without `$wl',
14648 # but is careful enough not to reorder.
14649 # Supported since Solaris 2.6 (maybe 2.5.1?)
14650 if test "$GCC" = yes; then
14651 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14653 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14657 link_all_deplibs_FC
=yes
14661 if test "x$host_vendor" = xsequent
; then
14662 # Use $CC to link under sequent, because it throws in some extra .o
14663 # files that make .init and .fini sections work.
14664 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14666 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14668 hardcode_libdir_flag_spec_FC
='-L$libdir'
14669 hardcode_direct_FC
=yes
14670 hardcode_minus_L_FC
=yes
14671 hardcode_shlibpath_var_FC
=no
14675 case $host_vendor in
14677 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14678 hardcode_direct_FC
=yes # is this really true???
14681 ## LD is ld it makes a PLAMLIB
14682 ## CC just makes a GrossModule.
14683 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14684 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14685 hardcode_direct_FC
=no
14688 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14689 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14692 runpath_var
='LD_RUN_PATH'
14693 hardcode_shlibpath_var_FC
=no
14697 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14698 hardcode_shlibpath_var_FC
=no
14699 export_dynamic_flag_spec_FC
='-Bexport'
14703 if test -d /usr
/nec
; then
14704 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14705 hardcode_shlibpath_var_FC
=no
14706 runpath_var
=LD_RUN_PATH
14707 hardcode_runpath_var
=yes
14712 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14713 no_undefined_flag_FC
='${wl}-z,text'
14714 archive_cmds_need_lc_FC
=no
14715 hardcode_shlibpath_var_FC
=no
14716 runpath_var
='LD_RUN_PATH'
14718 if test "$GCC" = yes; then
14719 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14720 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14722 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14723 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14727 sysv5
* | sco3.2v5
* | sco5v6
*)
14728 # Note: We can NOT use -z defs as we might desire, because we do not
14729 # link with -lc, and that would cause any symbols used from libc to
14730 # always be unresolved, which means just about no library would
14731 # ever link correctly. If we're not using GNU ld we use -z text
14732 # though, which does catch some bad symbols but isn't as heavy-handed
14734 no_undefined_flag_FC
='${wl}-z,text'
14735 allow_undefined_flag_FC
='${wl}-z,nodefs'
14736 archive_cmds_need_lc_FC
=no
14737 hardcode_shlibpath_var_FC
=no
14738 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14739 hardcode_libdir_separator_FC
=':'
14740 link_all_deplibs_FC
=yes
14741 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14742 runpath_var
='LD_RUN_PATH'
14744 if test "$GCC" = yes; then
14745 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14746 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14748 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14749 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14754 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14755 hardcode_libdir_flag_spec_FC
='-L$libdir'
14756 hardcode_shlibpath_var_FC
=no
14764 if test x
$host_vendor = xsni
; then
14766 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14767 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14774 $as_echo "$ld_shlibs_FC" >&6; }
14775 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14777 with_gnu_ld_FC
=$with_gnu_ld
14785 # Do we need to explicitly link libc?
14787 case "x$archive_cmds_need_lc_FC" in
14789 # Assume -lc should be added
14790 archive_cmds_need_lc_FC
=yes
14792 if test "$enable_shared" = yes && test "$GCC" = yes; then
14793 case $archive_cmds_FC in
14795 # FIXME: we may have to deal with multi-command sequences.
14798 # Test whether the compiler implicitly links with -lc since on some
14799 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14800 # to ld, don't add -lc before -lgcc.
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14802 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14803 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14804 $as_echo_n "(cached) " >&6
14807 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14810 (eval $ac_compile) 2>&5
14812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14813 test $ac_status = 0; } 2>conftest.err
; then
14816 libobjs
=conftest.
$ac_objext
14818 wl
=$lt_prog_compiler_wl_FC
14819 pic_flag
=$lt_prog_compiler_pic_FC
14825 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14826 allow_undefined_flag_FC
=
14827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14828 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14831 test $ac_status = 0; }
14833 lt_cv_archive_cmds_need_lc_FC
=no
14835 lt_cv_archive_cmds_need_lc_FC
=yes
14837 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14839 cat conftest.err
1>&5
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14845 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14846 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14917 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14919 library_names_spec
=
14920 libname_spec
='lib$name'
14924 postuninstall_cmds
=
14928 shlibpath_overrides_runpath
=unknown
14930 dynamic_linker
="$host_os ld.so"
14931 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14932 need_lib_prefix
=unknown
14933 hardcode_into_libs
=no
14935 # when you set need_version to no, make sure it does not cause -set_version
14936 # flags to be left without arguments
14937 need_version
=unknown
14942 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14943 shlibpath_var
=LIBPATH
14945 # AIX 3 has no versioning support, so we append a major version to the name.
14946 soname_spec
='${libname}${release}${shared_ext}$major'
14953 hardcode_into_libs
=yes
14954 if test "$host_cpu" = ia64
; then
14955 # AIX 5 supports IA64
14956 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14957 shlibpath_var
=LD_LIBRARY_PATH
14959 # With GCC up to 2.95.x, collect2 would create an import file
14960 # for dependence libraries. The import file would start with
14961 # the line `#! .'. This would cause the generated library to
14962 # depend on `.', always an invalid library. This was fixed in
14963 # development snapshots of GCC prior to 3.0.
14965 aix4 | aix4.
[01] | aix4.
[01].
*)
14966 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14968 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14971 can_build_shared
=no
14975 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14976 # soname into executable. Probably we can add versioning support to
14977 # collect2, so additional links can be useful in future.
14978 if test "$aix_use_runtimelinking" = yes; then
14979 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14980 # instead of lib<name>.a to let people know that these are not
14981 # typical AIX shared libraries.
14982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14984 # We preserve .a as extension for shared libraries through AIX4.2
14985 # and later when we are not doing run time linking.
14986 library_names_spec
='${libname}${release}.a $libname.a'
14987 soname_spec
='${libname}${release}${shared_ext}$major'
14989 shlibpath_var
=LIBPATH
14996 # Since July 2007 AmigaOS4 officially supports .so libraries.
14997 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15001 library_names_spec
='$libname.ixlibrary $libname.a'
15002 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15003 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'
15009 library_names_spec
='${libname}${shared_ext}'
15010 dynamic_linker
="$host_os ld.so"
15011 shlibpath_var
=LIBRARY_PATH
15017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15018 soname_spec
='${libname}${release}${shared_ext}$major'
15019 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15020 shlibpath_var
=LD_LIBRARY_PATH
15021 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15022 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15023 # the default ld.so.conf also contains /usr/contrib/lib and
15024 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15025 # libtool to hard-code these into programs
15028 cygwin
* | mingw
* | pw32
* | cegcc
*)
15029 version_type
=windows
15034 case $GCC,$host_os in
15035 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15036 library_names_spec
='$libname.dll.a'
15037 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15038 postinstall_cmds
='base_file=`basename \${file}`~
15039 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15040 dldir=$destdir/`dirname \$dlpath`~
15041 test -d \$dldir || mkdir -p \$dldir~
15042 $install_prog $dir/$dlname \$dldir/$dlname~
15043 chmod a+x \$dldir/$dlname~
15044 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15045 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15047 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15048 dlpath=$dir/\$dldll~
15050 shlibpath_overrides_runpath
=yes
15054 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15055 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15059 # MinGW DLLs use traditional 'lib' prefix
15060 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15063 # pw32 DLLs use 'pw' prefix rather than 'lib'
15064 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15070 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15073 dynamic_linker
='Win32 ld.exe'
15074 # FIXME: first we should search . and the directory the executable is in
15078 darwin
* | rhapsody
*)
15079 dynamic_linker
="$host_os dyld"
15080 version_type
=darwin
15083 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15084 soname_spec
='${libname}${release}${major}$shared_ext'
15085 shlibpath_overrides_runpath
=yes
15086 shlibpath_var
=DYLD_LIBRARY_PATH
15087 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15089 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15097 soname_spec
='${libname}${release}${shared_ext}$major'
15098 shlibpath_var
=LD_LIBRARY_PATH
15101 freebsd
* | dragonfly
*)
15102 # DragonFly does not have aout. When/if they implement a new
15103 # versioning mechanism, adjust this.
15104 if test -x /usr
/bin
/objformat
; then
15105 objformat
=`/usr/bin/objformat`
15108 freebsd
[23].
*) objformat
=aout
;;
15109 *) objformat
=elf
;;
15112 version_type
=freebsd-
$objformat
15113 case $version_type in
15115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15120 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15124 shlibpath_var
=LD_LIBRARY_PATH
15127 shlibpath_overrides_runpath
=yes
15129 freebsd3.
[01]* | freebsdelf3.
[01]*)
15130 shlibpath_overrides_runpath
=yes
15131 hardcode_into_libs
=yes
15133 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15134 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15135 shlibpath_overrides_runpath
=no
15136 hardcode_into_libs
=yes
15138 *) # from 4.6 on, and DragonFly
15139 shlibpath_overrides_runpath
=yes
15140 hardcode_into_libs
=yes
15149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15150 soname_spec
='${libname}${release}${shared_ext}$major'
15151 shlibpath_var
=LD_LIBRARY_PATH
15152 hardcode_into_libs
=yes
15159 dynamic_linker
="$host_os runtime_loader"
15160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15161 soname_spec
='${libname}${release}${shared_ext}$major'
15162 shlibpath_var
=LIBRARY_PATH
15163 shlibpath_overrides_runpath
=yes
15164 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15165 hardcode_into_libs
=yes
15168 hpux9
* | hpux10
* | hpux11
*)
15169 # Give a soname corresponding to the major version so that dld.sl refuses to
15170 # link against other versions.
15177 hardcode_into_libs
=yes
15178 dynamic_linker
="$host_os dld.so"
15179 shlibpath_var
=LD_LIBRARY_PATH
15180 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15182 soname_spec
='${libname}${release}${shared_ext}$major'
15183 if test "X$HPUX_IA64_MODE" = X32
; then
15184 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15186 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15188 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15192 hardcode_into_libs
=yes
15193 dynamic_linker
="$host_os dld.sl"
15194 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15195 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15197 soname_spec
='${libname}${release}${shared_ext}$major'
15198 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15199 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15203 dynamic_linker
="$host_os dld.sl"
15204 shlibpath_var
=SHLIB_PATH
15205 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15207 soname_spec
='${libname}${release}${shared_ext}$major'
15210 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15211 postinstall_cmds
='chmod 555 $lib'
15212 # or fails outright, so override atomically:
15213 install_override_mode
=555
15220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15221 soname_spec
='${libname}${release}${shared_ext}$major'
15222 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15223 shlibpath_var
=LD_LIBRARY_PATH
15224 shlibpath_overrides_runpath
=no
15225 hardcode_into_libs
=yes
15228 irix5
* | irix6
* | nonstopux
*)
15230 nonstopux
*) version_type
=nonstopux
;;
15232 if test "$lt_cv_prog_gnu_ld" = yes; then
15240 soname_spec
='${libname}${release}${shared_ext}$major'
15241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15243 irix5
* | nonstopux
*)
15244 libsuff
= shlibsuff
=
15247 case $LD in # libtool.m4 will add one of these switches to LD
15248 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15249 libsuff
= shlibsuff
= libmagic
=32-bit;;
15250 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15251 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15252 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15253 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15254 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15258 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15259 shlibpath_overrides_runpath
=no
15260 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15261 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15262 hardcode_into_libs
=yes
15265 # No shared lib support for Linux oldld, aout, or coff.
15266 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15270 # This must be Linux ELF.
15271 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15276 soname_spec
='${libname}${release}${shared_ext}$major'
15277 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15278 shlibpath_var
=LD_LIBRARY_PATH
15279 shlibpath_overrides_runpath
=no
15281 # Some binutils ld are patched to set DT_RUNPATH
15282 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15283 $as_echo_n "(cached) " >&6
15285 lt_cv_shlibpath_overrides_runpath
=no
15286 save_LDFLAGS
=$LDFLAGS
15287 save_libdir
=$libdir
15288 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15289 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15290 if test x
$gcc_no_link = xyes
; then
15291 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15293 cat > conftest.
$ac_ext <<_ACEOF
15298 if ac_fn_fc_try_link
"$LINENO"; then :
15299 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15300 lt_cv_shlibpath_overrides_runpath
=yes
15303 rm -f core conftest.err conftest.
$ac_objext \
15304 conftest
$ac_exeext conftest.
$ac_ext
15305 LDFLAGS
=$save_LDFLAGS
15306 libdir
=$save_libdir
15310 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15312 # This implies no fast_install, which is unacceptable.
15313 # Some rework will be needed to allow for fast_install
15314 # before this can be enabled.
15315 hardcode_into_libs
=yes
15317 # Append ld.so.conf contents to the search path
15318 if test -f /etc
/ld.so.conf
; then
15319 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' ' '`
15320 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15323 # We used to test for /lib/ld.so.1 and disable shared libraries on
15324 # powerpc, because MkLinux only supported shared libraries with the
15325 # GNU dynamic linker. Since this was broken with cross compilers,
15326 # most powerpc-linux boxes support dynamic linking these days and
15327 # people can always --disable-shared, the test was removed, and we
15328 # assume the GNU/Linux dynamic linker is in use.
15329 dynamic_linker
='GNU/Linux ld.so'
15336 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15338 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15339 dynamic_linker
='NetBSD (a.out) ld.so'
15341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15342 soname_spec
='${libname}${release}${shared_ext}$major'
15343 dynamic_linker
='NetBSD ld.elf_so'
15345 shlibpath_var
=LD_LIBRARY_PATH
15346 shlibpath_overrides_runpath
=yes
15347 hardcode_into_libs
=yes
15352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15353 shlibpath_var
=LD_LIBRARY_PATH
15354 shlibpath_overrides_runpath
=yes
15361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15362 soname_spec
='${libname}${release}${shared_ext}$major'
15363 shlibpath_var
=LD_LIBRARY_PATH
15364 shlibpath_overrides_runpath
=no
15365 hardcode_into_libs
=yes
15366 dynamic_linker
='ldqnx.so'
15371 sys_lib_dlsearch_path_spec
="/usr/lib"
15373 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15375 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15376 *) need_version
=no
;;
15378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15379 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15380 shlibpath_var
=LD_LIBRARY_PATH
15381 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15383 openbsd2.
[89] | openbsd2.
[89].
*)
15384 shlibpath_overrides_runpath
=no
15387 shlibpath_overrides_runpath
=yes
15391 shlibpath_overrides_runpath
=yes
15396 libname_spec
='$name'
15399 library_names_spec
='$libname${shared_ext} $libname.a'
15400 dynamic_linker
='OS/2 ld.exe'
15401 shlibpath_var
=LIBPATH
15404 osf3
* | osf4
* | osf5
*)
15408 soname_spec
='${libname}${release}${shared_ext}$major'
15409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15410 shlibpath_var
=LD_LIBRARY_PATH
15411 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15412 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15424 soname_spec
='${libname}${release}${shared_ext}$major'
15425 shlibpath_var
=LD_LIBRARY_PATH
15426 shlibpath_overrides_runpath
=yes
15427 hardcode_into_libs
=yes
15428 # ldd complains unless libraries are executable
15429 postinstall_cmds
='chmod +x $lib'
15434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15435 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15436 shlibpath_var
=LD_LIBRARY_PATH
15437 shlibpath_overrides_runpath
=yes
15438 if test "$with_gnu_ld" = yes; then
15446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15447 soname_spec
='${libname}${release}${shared_ext}$major'
15448 shlibpath_var
=LD_LIBRARY_PATH
15449 case $host_vendor in
15451 shlibpath_overrides_runpath
=no
15453 runpath_var
=LD_RUN_PATH
15461 shlibpath_overrides_runpath
=no
15462 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15468 if test -d /usr
/nec
;then
15470 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15471 soname_spec
='$libname${shared_ext}.$major'
15472 shlibpath_var
=LD_LIBRARY_PATH
15476 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15477 version_type
=freebsd-elf
15480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15481 soname_spec
='${libname}${release}${shared_ext}$major'
15482 shlibpath_var
=LD_LIBRARY_PATH
15483 shlibpath_overrides_runpath
=yes
15484 hardcode_into_libs
=yes
15485 if test "$with_gnu_ld" = yes; then
15486 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15488 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15491 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15495 sys_lib_dlsearch_path_spec
='/usr/lib'
15499 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15504 shlibpath_var
=LD_LIBRARY_PATH
15505 shlibpath_overrides_runpath
=no
15506 hardcode_into_libs
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15521 $as_echo "$dynamic_linker" >&6; }
15522 test "$dynamic_linker" = no
&& can_build_shared
=no
15524 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15525 if test "$GCC" = yes; then
15526 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15529 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15530 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15532 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15533 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15574 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15575 hardcode_action_FC
=
15576 if test -n "$hardcode_libdir_flag_spec_FC" ||
15577 test -n "$runpath_var_FC" ||
15578 test "X$hardcode_automatic_FC" = "Xyes" ; then
15580 # We can hardcode non-existent directories.
15581 if test "$hardcode_direct_FC" != no
&&
15582 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15583 # have to relink, otherwise we might link with an installed library
15584 # when we should be linking with a yet-to-be-installed one
15585 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15586 test "$hardcode_minus_L_FC" != no
; then
15587 # Linking always hardcodes the temporary library directory.
15588 hardcode_action_FC
=relink
15590 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15591 hardcode_action_FC
=immediate
15594 # We cannot hardcode anything, or else we can only hardcode existing
15596 hardcode_action_FC
=unsupported
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15599 $as_echo "$hardcode_action_FC" >&6; }
15601 if test "$hardcode_action_FC" = relink ||
15602 test "$inherit_rpath_FC" = yes; then
15603 # Fast installation is not supported
15604 enable_fast_install
=no
15605 elif test "$shlibpath_overrides_runpath" = yes ||
15606 test "$enable_shared" = no
; then
15607 # Fast installation is not necessary
15608 enable_fast_install
=needless
15617 fi # test -n "$compiler"
15621 fi # test "$_lt_disable_FC" != yes
15624 ac_cpp
='$CPP $CPPFLAGS'
15625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15631 # extra LD Flags which are required for targets
15634 # Darwin needs -single_module when linking libgfortran
15635 extra_ldflags_libgfortran
=-Wl,-single_module
15640 # We need a working compiler at that point, otherwise give a clear
15641 # error message and bail out.
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15644 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15645 ac_ext
=${ac_fc_srcext-f}
15646 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15647 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15648 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15650 cat > conftest.
$ac_ext <<_ACEOF
15653 real, parameter :: bar = sin (12.34 / 2.5)
15656 if ac_fn_fc_try_compile
"$LINENO"; then :
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15658 $as_echo "yes" >&6; }
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15661 $as_echo "no" >&6; }
15662 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15667 ac_cpp
='$CPP $CPPFLAGS'
15668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15674 # Check whether --enable-largefile was given.
15675 if test "${enable_largefile+set}" = set; then :
15676 enableval
=$enable_largefile;
15679 if test "$enable_largefile" != no
; then
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15682 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15683 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15684 $as_echo_n "(cached) " >&6
15686 ac_cv_sys_largefile_CC
=no
15687 if test "$GCC" != yes; then
15690 # IRIX 6.2 and later do not support large files by default,
15691 # so use the C compiler's -n32 option if that helps.
15692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15694 #include <sys/types.h>
15695 /* Check that off_t can represent 2**63 - 1 correctly.
15696 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15697 since some C++ compilers masquerading as C compilers
15698 incorrectly reject 9223372036854775807. */
15699 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15700 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15701 && LARGE_OFF_T % 2147483647 == 1)
15711 if ac_fn_c_try_compile
"$LINENO"; then :
15714 rm -f core conftest.err conftest.
$ac_objext
15716 if ac_fn_c_try_compile
"$LINENO"; then :
15717 ac_cv_sys_largefile_CC
=' -n32'; break
15719 rm -f core conftest.err conftest.
$ac_objext
15723 rm -f conftest.
$ac_ext
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15727 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15728 if test "$ac_cv_sys_largefile_CC" != no
; then
15729 CC
=$CC$ac_cv_sys_largefile_CC
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15733 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15734 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15735 $as_echo_n "(cached) " >&6
15738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15739 /* end confdefs.h. */
15740 #include <sys/types.h>
15741 /* Check that off_t can represent 2**63 - 1 correctly.
15742 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15743 since some C++ compilers masquerading as C compilers
15744 incorrectly reject 9223372036854775807. */
15745 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15746 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15747 && LARGE_OFF_T % 2147483647 == 1)
15757 if ac_fn_c_try_compile
"$LINENO"; then :
15758 ac_cv_sys_file_offset_bits
=no
; break
15760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15763 #define _FILE_OFFSET_BITS 64
15764 #include <sys/types.h>
15765 /* Check that off_t can represent 2**63 - 1 correctly.
15766 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15767 since some C++ compilers masquerading as C compilers
15768 incorrectly reject 9223372036854775807. */
15769 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15770 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15771 && LARGE_OFF_T % 2147483647 == 1)
15781 if ac_fn_c_try_compile
"$LINENO"; then :
15782 ac_cv_sys_file_offset_bits
=64; break
15784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15785 ac_cv_sys_file_offset_bits
=unknown
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15790 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15791 case $ac_cv_sys_file_offset_bits in #(
15794 cat >>confdefs.h
<<_ACEOF
15795 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15800 if test $ac_cv_sys_file_offset_bits = unknown
; then
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15802 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15803 if test "${ac_cv_sys_large_files+set}" = set; then :
15804 $as_echo_n "(cached) " >&6
15807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15809 #include <sys/types.h>
15810 /* Check that off_t can represent 2**63 - 1 correctly.
15811 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15812 since some C++ compilers masquerading as C compilers
15813 incorrectly reject 9223372036854775807. */
15814 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15815 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15816 && LARGE_OFF_T % 2147483647 == 1)
15826 if ac_fn_c_try_compile
"$LINENO"; then :
15827 ac_cv_sys_large_files
=no
; break
15829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h. */
15832 #define _LARGE_FILES 1
15833 #include <sys/types.h>
15834 /* Check that off_t can represent 2**63 - 1 correctly.
15835 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15836 since some C++ compilers masquerading as C compilers
15837 incorrectly reject 9223372036854775807. */
15838 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15839 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15840 && LARGE_OFF_T % 2147483647 == 1)
15850 if ac_fn_c_try_compile
"$LINENO"; then :
15851 ac_cv_sys_large_files
=1; break
15853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15854 ac_cv_sys_large_files
=unknown
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15859 $as_echo "$ac_cv_sys_large_files" >&6; }
15860 case $ac_cv_sys_large_files in #(
15863 cat >>confdefs.h
<<_ACEOF
15864 #define _LARGE_FILES $ac_cv_sys_large_files
15874 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15875 if test "x$ac_cv_type_off_t" = x
""yes; then :
15879 cat >>confdefs.h
<<_ACEOF
15880 #define off_t long int
15886 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15887 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15889 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15892 for ac_type
in 'int' 'long int' 'long long int'; do
15893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 $ac_includes_default
15899 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15906 if ac_fn_c_try_compile
"$LINENO"; then :
15908 cat >>confdefs.h
<<_ACEOF
15909 #define intptr_t $ac_type
15914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15915 test -z "$ac_type" && break
15921 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15922 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15924 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15927 for ac_type
in 'unsigned int' 'unsigned long int' \
15928 'unsigned long long int'; do
15929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 $ac_includes_default
15935 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15942 if ac_fn_c_try_compile
"$LINENO"; then :
15944 cat >>confdefs.h
<<_ACEOF
15945 #define uintptr_t $ac_type
15950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15951 test -z "$ac_type" && break
15956 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15957 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15959 cat >>confdefs.h
<<_ACEOF
15960 #define HAVE_PTRDIFF_T 1
15967 # check header files (we assume C89 is available, so don't check for that)
15971 for ac_header
in $ac_header_list
15973 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15974 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15976 eval as_val
=\$
$as_ac_Header
15977 if test "x$as_val" = x
""yes; then :
15978 cat >>confdefs.h
<<_ACEOF
15979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16018 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16020 acx_cv_header_stdint
=stddef.h
16021 acx_cv_header_stdint_kind
="(already complete)"
16022 for i
in stdint.h
$inttype_headers; do
16023 unset ac_cv_type_uintptr_t
16024 unset ac_cv_type_uintmax_t
16025 unset ac_cv_type_int_least32_t
16026 unset ac_cv_type_int_fast32_t
16027 unset ac_cv_type_uint64_t
16028 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16029 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16032 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16033 acx_cv_header_stdint
=$i
16038 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16041 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16044 acx_cv_header_stdint_kind
="(mostly complete)"
16047 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16050 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16053 acx_cv_header_stdint_kind
="(mostly complete)"
16056 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16059 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16062 acx_cv_header_stdint_kind
="(mostly complete)"
16065 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16068 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16071 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16076 if test "$acx_cv_header_stdint" = stddef.h
; then
16077 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16078 for i
in stdint.h
$inttype_headers; do
16079 unset ac_cv_type_uintptr_t
16080 unset ac_cv_type_uint32_t
16081 unset ac_cv_type_uint64_t
16082 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16083 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16086 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16087 acx_cv_header_stdint
=$i
16092 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16095 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16099 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16102 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16109 if test "$acx_cv_header_stdint" = stddef.h
; then
16110 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16111 for i
in sys
/types.h
$inttype_headers; do
16112 unset ac_cv_type_u_int32_t
16113 unset ac_cv_type_u_int64_t
16114 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16115 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16118 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16119 acx_cv_header_stdint
=$i
16124 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16127 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16134 if test "$acx_cv_header_stdint" = stddef.h
; then
16135 acx_cv_header_stdint_kind
="(using manual detection)"
16138 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16139 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16140 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16141 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16142 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16144 # ----------------- Summarize what we found so far
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16147 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16149 case `$as_basename -- gstdint.h ||
16150 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16151 Xgstdint.h : 'X\(//\)$' \| \
16152 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16153 $as_echo X/gstdint.h |
16154 sed '/^.*\/\([^/][^/]*\)\/*$/{
16167 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16168 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16169 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16170 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16175 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16177 # ----------------- done included file, check C basic types --------
16179 # Lacking an uintptr_t? Test size of void *
16180 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16181 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16182 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16183 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16184 # This bug is HP SR number 8606223364.
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16186 $as_echo_n "checking size of void *... " >&6; }
16187 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16188 $as_echo_n "(cached) " >&6
16190 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16193 if test "$ac_cv_type_void_p" = yes; then
16194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16196 { as_fn_set_status
77
16197 as_fn_error
"cannot compute sizeof (void *)
16198 See \`config.log' for more details." "$LINENO" 5; }; }
16200 ac_cv_sizeof_void_p
=0
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16206 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16210 cat >>confdefs.h
<<_ACEOF
16211 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16217 # Lacking an uint64_t? Test size of long
16218 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16219 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16220 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16221 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16222 # This bug is HP SR number 8606223364.
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16224 $as_echo_n "checking size of long... " >&6; }
16225 if test "${ac_cv_sizeof_long+set}" = set; then :
16226 $as_echo_n "(cached) " >&6
16228 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16231 if test "$ac_cv_type_long" = yes; then
16232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16234 { as_fn_set_status
77
16235 as_fn_error
"cannot compute sizeof (long)
16236 See \`config.log' for more details." "$LINENO" 5; }; }
16238 ac_cv_sizeof_long
=0
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16244 $as_echo "$ac_cv_sizeof_long" >&6; }
16248 cat >>confdefs.h
<<_ACEOF
16249 #define SIZEOF_LONG $ac_cv_sizeof_long
16255 if test $acx_cv_header_stdint = stddef.h
; then
16256 # Lacking a good header? Test size of everything and deduce all types.
16257 # The cast to long int works around a bug in the HP C Compiler
16258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16260 # This bug is HP SR number 8606223364.
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16262 $as_echo_n "checking size of int... " >&6; }
16263 if test "${ac_cv_sizeof_int+set}" = set; then :
16264 $as_echo_n "(cached) " >&6
16266 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16269 if test "$ac_cv_type_int" = yes; then
16270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16272 { as_fn_set_status
77
16273 as_fn_error
"cannot compute sizeof (int)
16274 See \`config.log' for more details." "$LINENO" 5; }; }
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16282 $as_echo "$ac_cv_sizeof_int" >&6; }
16286 cat >>confdefs.h
<<_ACEOF
16287 #define SIZEOF_INT $ac_cv_sizeof_int
16291 # The cast to long int works around a bug in the HP C Compiler
16292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16294 # This bug is HP SR number 8606223364.
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16296 $as_echo_n "checking size of short... " >&6; }
16297 if test "${ac_cv_sizeof_short+set}" = set; then :
16298 $as_echo_n "(cached) " >&6
16300 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16303 if test "$ac_cv_type_short" = yes; then
16304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16306 { as_fn_set_status
77
16307 as_fn_error
"cannot compute sizeof (short)
16308 See \`config.log' for more details." "$LINENO" 5; }; }
16310 ac_cv_sizeof_short
=0
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16316 $as_echo "$ac_cv_sizeof_short" >&6; }
16320 cat >>confdefs.h
<<_ACEOF
16321 #define SIZEOF_SHORT $ac_cv_sizeof_short
16325 # The cast to long int works around a bug in the HP C Compiler
16326 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16327 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16328 # This bug is HP SR number 8606223364.
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16330 $as_echo_n "checking size of char... " >&6; }
16331 if test "${ac_cv_sizeof_char+set}" = set; then :
16332 $as_echo_n "(cached) " >&6
16334 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16337 if test "$ac_cv_type_char" = yes; then
16338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16340 { as_fn_set_status
77
16341 as_fn_error
"cannot compute sizeof (char)
16342 See \`config.log' for more details." "$LINENO" 5; }; }
16344 ac_cv_sizeof_char
=0
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16350 $as_echo "$ac_cv_sizeof_char" >&6; }
16354 cat >>confdefs.h
<<_ACEOF
16355 #define SIZEOF_CHAR $ac_cv_sizeof_char
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16361 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16362 case "$ac_cv_sizeof_char" in
16363 1) acx_cv_type_int8_t
=char
;;
16364 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16367 $as_echo "$acx_cv_type_int8_t" >&6; }
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16370 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16371 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16372 2:*) acx_cv_type_int16_t
=int
;;
16373 *:2) acx_cv_type_int16_t
=short
;;
16374 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16377 $as_echo "$acx_cv_type_int16_t" >&6; }
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16380 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16381 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16382 4:*) acx_cv_type_int32_t
=int
;;
16383 *:4) acx_cv_type_int32_t
=long
;;
16384 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16387 $as_echo "$acx_cv_type_int32_t" >&6; }
16390 # These tests are here to make the output prettier
16392 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16393 case "$ac_cv_sizeof_long" in
16394 8) acx_cv_type_int64_t
=long
;;
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16397 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16399 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16402 # Now we can use the above types
16404 if test "$ac_cv_type_uintptr_t" != yes; then
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16406 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16407 case $ac_cv_sizeof_void_p in
16408 2) acx_cv_type_intptr_t
=int16_t
;;
16409 4) acx_cv_type_intptr_t
=int32_t
;;
16410 8) acx_cv_type_intptr_t
=int64_t
;;
16411 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16414 $as_echo "$acx_cv_type_intptr_t" >&6; }
16417 # ----------------- done all checks, emit header -------------
16418 ac_config_commands
="$ac_config_commands gstdint.h"
16423 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16424 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16426 cat >>confdefs.h
<<_ACEOF
16427 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16432 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16433 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16435 cat >>confdefs.h
<<_ACEOF
16436 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16441 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16442 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16444 cat >>confdefs.h
<<_ACEOF
16445 #define HAVE_STRUCT_STAT_ST_RDEV 1
16452 # Check for library functions.
16453 if test "x${with_newlib}" = "xyes"; then
16454 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16455 # may not work correctly, because the compiler may not be able to
16456 # link executables.
16458 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16461 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16464 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16467 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16470 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16473 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16476 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16479 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16482 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16485 # At some point, we should differentiate between architectures
16486 # like x86, which have long double versions, and alpha/powerpc/etc.,
16487 # which don't. For the time being, punt.
16488 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16490 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16497 for ac_func
in $ac_func_list
16499 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16500 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16501 eval as_val
=\$
$as_ac_var
16502 if test "x$as_val" = x
""yes; then :
16503 cat >>confdefs.h
<<_ACEOF
16504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16623 # Check strerror_r, cannot be above as versions with two and three arguments exist
16625 ac_save_CFLAGS
="$CFLAGS"
16626 CFLAGS
="-Wimplicit-function-declaration -Werror"
16627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16629 #define _GNU_SOURCE 1
16630 #include <string.h>
16631 #include <locale.h>
16635 char s[128]; strerror_r(5, s, 128);
16640 if ac_fn_c_try_compile
"$LINENO"; then :
16642 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16646 CFLAGS
="$ac_save_CFLAGS"
16648 ac_save_CFLAGS
="$CFLAGS"
16649 CFLAGS
="-Wimplicit-function-declaration -Werror"
16650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16652 #define _GNU_SOURCE 1
16653 #include <string.h>
16654 #include <locale.h>
16658 char s[128]; strerror_r(5, s);
16663 if ac_fn_c_try_compile
"$LINENO"; then :
16665 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16669 CFLAGS
="$ac_save_CFLAGS"
16672 # Check for C99 (and other IEEE) math functions
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16674 $as_echo_n "checking for sin in -lm... " >&6; }
16675 if test "${ac_cv_lib_m_sin+set}" = set; then :
16676 $as_echo_n "(cached) " >&6
16678 ac_check_lib_save_LIBS
=$LIBS
16680 if test x
$gcc_no_link = xyes
; then
16681 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16684 /* end confdefs.h. */
16686 /* Override any GCC internal prototype to avoid an error.
16687 Use char because int might match the return type of a GCC
16688 builtin and then its argument prototype would still apply. */
16701 if ac_fn_c_try_link
"$LINENO"; then :
16702 ac_cv_lib_m_sin
=yes
16706 rm -f core conftest.err conftest.
$ac_objext \
16707 conftest
$ac_exeext conftest.
$ac_ext
16708 LIBS
=$ac_check_lib_save_LIBS
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16711 $as_echo "$ac_cv_lib_m_sin" >&6; }
16712 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16713 cat >>confdefs.h
<<_ACEOF
16714 #define HAVE_LIBM 1
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16728 $as_echo_n "checking for acosf... " >&6; }
16729 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16730 $as_echo_n "(cached) " >&6
16732 if test x
$gcc_no_link = xyes
; then
16733 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16736 /* end confdefs.h. */
16738 #ifdef HAVE_COMPLEX_H
16739 #include <complex.h>
16745 int (*ptr)() = (int (*)())acosf;
16754 if ac_fn_c_try_link
"$LINENO"; then :
16755 gcc_cv_math_func_acosf
=yes
16757 gcc_cv_math_func_acosf
=no
16759 rm -f core conftest.err conftest.
$ac_objext \
16760 conftest
$ac_exeext conftest.
$ac_ext
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16763 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16764 if test $gcc_cv_math_func_acosf = yes; then
16766 cat >>confdefs.h
<<_ACEOF
16767 #define HAVE_ACOSF 1
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16776 $as_echo_n "checking for acos... " >&6; }
16777 if test "${gcc_cv_math_func_acos+set}" = set; then :
16778 $as_echo_n "(cached) " >&6
16780 if test x
$gcc_no_link = xyes
; then
16781 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16786 #ifdef HAVE_COMPLEX_H
16787 #include <complex.h>
16793 int (*ptr)() = (int (*)())acos;
16802 if ac_fn_c_try_link
"$LINENO"; then :
16803 gcc_cv_math_func_acos
=yes
16805 gcc_cv_math_func_acos
=no
16807 rm -f core conftest.err conftest.
$ac_objext \
16808 conftest
$ac_exeext conftest.
$ac_ext
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16811 $as_echo "$gcc_cv_math_func_acos" >&6; }
16812 if test $gcc_cv_math_func_acos = yes; then
16814 cat >>confdefs.h
<<_ACEOF
16815 #define HAVE_ACOS 1
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16824 $as_echo_n "checking for acosl... " >&6; }
16825 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16826 $as_echo_n "(cached) " >&6
16828 if test x
$gcc_no_link = xyes
; then
16829 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16834 #ifdef HAVE_COMPLEX_H
16835 #include <complex.h>
16841 int (*ptr)() = (int (*)())acosl;
16850 if ac_fn_c_try_link
"$LINENO"; then :
16851 gcc_cv_math_func_acosl
=yes
16853 gcc_cv_math_func_acosl
=no
16855 rm -f core conftest.err conftest.
$ac_objext \
16856 conftest
$ac_exeext conftest.
$ac_ext
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16859 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16860 if test $gcc_cv_math_func_acosl = yes; then
16862 cat >>confdefs.h
<<_ACEOF
16863 #define HAVE_ACOSL 1
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16872 $as_echo_n "checking for acoshf... " >&6; }
16873 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16874 $as_echo_n "(cached) " >&6
16876 if test x
$gcc_no_link = xyes
; then
16877 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16882 #ifdef HAVE_COMPLEX_H
16883 #include <complex.h>
16889 int (*ptr)() = (int (*)())acoshf;
16898 if ac_fn_c_try_link
"$LINENO"; then :
16899 gcc_cv_math_func_acoshf
=yes
16901 gcc_cv_math_func_acoshf
=no
16903 rm -f core conftest.err conftest.
$ac_objext \
16904 conftest
$ac_exeext conftest.
$ac_ext
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16907 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16908 if test $gcc_cv_math_func_acoshf = yes; then
16910 cat >>confdefs.h
<<_ACEOF
16911 #define HAVE_ACOSHF 1
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16920 $as_echo_n "checking for acosh... " >&6; }
16921 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16922 $as_echo_n "(cached) " >&6
16924 if test x
$gcc_no_link = xyes
; then
16925 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16930 #ifdef HAVE_COMPLEX_H
16931 #include <complex.h>
16937 int (*ptr)() = (int (*)())acosh;
16946 if ac_fn_c_try_link
"$LINENO"; then :
16947 gcc_cv_math_func_acosh
=yes
16949 gcc_cv_math_func_acosh
=no
16951 rm -f core conftest.err conftest.
$ac_objext \
16952 conftest
$ac_exeext conftest.
$ac_ext
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16955 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16956 if test $gcc_cv_math_func_acosh = yes; then
16958 cat >>confdefs.h
<<_ACEOF
16959 #define HAVE_ACOSH 1
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16968 $as_echo_n "checking for acoshl... " >&6; }
16969 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16970 $as_echo_n "(cached) " >&6
16972 if test x
$gcc_no_link = xyes
; then
16973 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16978 #ifdef HAVE_COMPLEX_H
16979 #include <complex.h>
16985 int (*ptr)() = (int (*)())acoshl;
16994 if ac_fn_c_try_link
"$LINENO"; then :
16995 gcc_cv_math_func_acoshl
=yes
16997 gcc_cv_math_func_acoshl
=no
16999 rm -f core conftest.err conftest.
$ac_objext \
17000 conftest
$ac_exeext conftest.
$ac_ext
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17003 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17004 if test $gcc_cv_math_func_acoshl = yes; then
17006 cat >>confdefs.h
<<_ACEOF
17007 #define HAVE_ACOSHL 1
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17016 $as_echo_n "checking for asinf... " >&6; }
17017 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17018 $as_echo_n "(cached) " >&6
17020 if test x
$gcc_no_link = xyes
; then
17021 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17026 #ifdef HAVE_COMPLEX_H
17027 #include <complex.h>
17033 int (*ptr)() = (int (*)())asinf;
17042 if ac_fn_c_try_link
"$LINENO"; then :
17043 gcc_cv_math_func_asinf
=yes
17045 gcc_cv_math_func_asinf
=no
17047 rm -f core conftest.err conftest.
$ac_objext \
17048 conftest
$ac_exeext conftest.
$ac_ext
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17051 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17052 if test $gcc_cv_math_func_asinf = yes; then
17054 cat >>confdefs.h
<<_ACEOF
17055 #define HAVE_ASINF 1
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17064 $as_echo_n "checking for asin... " >&6; }
17065 if test "${gcc_cv_math_func_asin+set}" = set; then :
17066 $as_echo_n "(cached) " >&6
17068 if test x
$gcc_no_link = xyes
; then
17069 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17074 #ifdef HAVE_COMPLEX_H
17075 #include <complex.h>
17081 int (*ptr)() = (int (*)())asin;
17090 if ac_fn_c_try_link
"$LINENO"; then :
17091 gcc_cv_math_func_asin
=yes
17093 gcc_cv_math_func_asin
=no
17095 rm -f core conftest.err conftest.
$ac_objext \
17096 conftest
$ac_exeext conftest.
$ac_ext
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17099 $as_echo "$gcc_cv_math_func_asin" >&6; }
17100 if test $gcc_cv_math_func_asin = yes; then
17102 cat >>confdefs.h
<<_ACEOF
17103 #define HAVE_ASIN 1
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17112 $as_echo_n "checking for asinl... " >&6; }
17113 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17114 $as_echo_n "(cached) " >&6
17116 if test x
$gcc_no_link = xyes
; then
17117 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17122 #ifdef HAVE_COMPLEX_H
17123 #include <complex.h>
17129 int (*ptr)() = (int (*)())asinl;
17138 if ac_fn_c_try_link
"$LINENO"; then :
17139 gcc_cv_math_func_asinl
=yes
17141 gcc_cv_math_func_asinl
=no
17143 rm -f core conftest.err conftest.
$ac_objext \
17144 conftest
$ac_exeext conftest.
$ac_ext
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17147 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17148 if test $gcc_cv_math_func_asinl = yes; then
17150 cat >>confdefs.h
<<_ACEOF
17151 #define HAVE_ASINL 1
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17160 $as_echo_n "checking for asinhf... " >&6; }
17161 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17162 $as_echo_n "(cached) " >&6
17164 if test x
$gcc_no_link = xyes
; then
17165 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17170 #ifdef HAVE_COMPLEX_H
17171 #include <complex.h>
17177 int (*ptr)() = (int (*)())asinhf;
17186 if ac_fn_c_try_link
"$LINENO"; then :
17187 gcc_cv_math_func_asinhf
=yes
17189 gcc_cv_math_func_asinhf
=no
17191 rm -f core conftest.err conftest.
$ac_objext \
17192 conftest
$ac_exeext conftest.
$ac_ext
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17195 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17196 if test $gcc_cv_math_func_asinhf = yes; then
17198 cat >>confdefs.h
<<_ACEOF
17199 #define HAVE_ASINHF 1
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17208 $as_echo_n "checking for asinh... " >&6; }
17209 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17210 $as_echo_n "(cached) " >&6
17212 if test x
$gcc_no_link = xyes
; then
17213 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17218 #ifdef HAVE_COMPLEX_H
17219 #include <complex.h>
17225 int (*ptr)() = (int (*)())asinh;
17234 if ac_fn_c_try_link
"$LINENO"; then :
17235 gcc_cv_math_func_asinh
=yes
17237 gcc_cv_math_func_asinh
=no
17239 rm -f core conftest.err conftest.
$ac_objext \
17240 conftest
$ac_exeext conftest.
$ac_ext
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17243 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17244 if test $gcc_cv_math_func_asinh = yes; then
17246 cat >>confdefs.h
<<_ACEOF
17247 #define HAVE_ASINH 1
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17256 $as_echo_n "checking for asinhl... " >&6; }
17257 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17258 $as_echo_n "(cached) " >&6
17260 if test x
$gcc_no_link = xyes
; then
17261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17266 #ifdef HAVE_COMPLEX_H
17267 #include <complex.h>
17273 int (*ptr)() = (int (*)())asinhl;
17282 if ac_fn_c_try_link
"$LINENO"; then :
17283 gcc_cv_math_func_asinhl
=yes
17285 gcc_cv_math_func_asinhl
=no
17287 rm -f core conftest.err conftest.
$ac_objext \
17288 conftest
$ac_exeext conftest.
$ac_ext
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17291 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17292 if test $gcc_cv_math_func_asinhl = yes; then
17294 cat >>confdefs.h
<<_ACEOF
17295 #define HAVE_ASINHL 1
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17304 $as_echo_n "checking for atan2f... " >&6; }
17305 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17306 $as_echo_n "(cached) " >&6
17308 if test x
$gcc_no_link = xyes
; then
17309 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17314 #ifdef HAVE_COMPLEX_H
17315 #include <complex.h>
17321 int (*ptr)() = (int (*)())atan2f;
17330 if ac_fn_c_try_link
"$LINENO"; then :
17331 gcc_cv_math_func_atan2f
=yes
17333 gcc_cv_math_func_atan2f
=no
17335 rm -f core conftest.err conftest.
$ac_objext \
17336 conftest
$ac_exeext conftest.
$ac_ext
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17339 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17340 if test $gcc_cv_math_func_atan2f = yes; then
17342 cat >>confdefs.h
<<_ACEOF
17343 #define HAVE_ATAN2F 1
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17352 $as_echo_n "checking for atan2... " >&6; }
17353 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17354 $as_echo_n "(cached) " >&6
17356 if test x
$gcc_no_link = xyes
; then
17357 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17362 #ifdef HAVE_COMPLEX_H
17363 #include <complex.h>
17369 int (*ptr)() = (int (*)())atan2;
17378 if ac_fn_c_try_link
"$LINENO"; then :
17379 gcc_cv_math_func_atan2
=yes
17381 gcc_cv_math_func_atan2
=no
17383 rm -f core conftest.err conftest.
$ac_objext \
17384 conftest
$ac_exeext conftest.
$ac_ext
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17387 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17388 if test $gcc_cv_math_func_atan2 = yes; then
17390 cat >>confdefs.h
<<_ACEOF
17391 #define HAVE_ATAN2 1
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17400 $as_echo_n "checking for atan2l... " >&6; }
17401 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17402 $as_echo_n "(cached) " >&6
17404 if test x
$gcc_no_link = xyes
; then
17405 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17410 #ifdef HAVE_COMPLEX_H
17411 #include <complex.h>
17417 int (*ptr)() = (int (*)())atan2l;
17426 if ac_fn_c_try_link
"$LINENO"; then :
17427 gcc_cv_math_func_atan2l
=yes
17429 gcc_cv_math_func_atan2l
=no
17431 rm -f core conftest.err conftest.
$ac_objext \
17432 conftest
$ac_exeext conftest.
$ac_ext
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17435 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17436 if test $gcc_cv_math_func_atan2l = yes; then
17438 cat >>confdefs.h
<<_ACEOF
17439 #define HAVE_ATAN2L 1
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17448 $as_echo_n "checking for atanf... " >&6; }
17449 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17450 $as_echo_n "(cached) " >&6
17452 if test x
$gcc_no_link = xyes
; then
17453 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17458 #ifdef HAVE_COMPLEX_H
17459 #include <complex.h>
17465 int (*ptr)() = (int (*)())atanf;
17474 if ac_fn_c_try_link
"$LINENO"; then :
17475 gcc_cv_math_func_atanf
=yes
17477 gcc_cv_math_func_atanf
=no
17479 rm -f core conftest.err conftest.
$ac_objext \
17480 conftest
$ac_exeext conftest.
$ac_ext
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17483 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17484 if test $gcc_cv_math_func_atanf = yes; then
17486 cat >>confdefs.h
<<_ACEOF
17487 #define HAVE_ATANF 1
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17496 $as_echo_n "checking for atan... " >&6; }
17497 if test "${gcc_cv_math_func_atan+set}" = set; then :
17498 $as_echo_n "(cached) " >&6
17500 if test x
$gcc_no_link = xyes
; then
17501 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17506 #ifdef HAVE_COMPLEX_H
17507 #include <complex.h>
17513 int (*ptr)() = (int (*)())atan;
17522 if ac_fn_c_try_link
"$LINENO"; then :
17523 gcc_cv_math_func_atan
=yes
17525 gcc_cv_math_func_atan
=no
17527 rm -f core conftest.err conftest.
$ac_objext \
17528 conftest
$ac_exeext conftest.
$ac_ext
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17531 $as_echo "$gcc_cv_math_func_atan" >&6; }
17532 if test $gcc_cv_math_func_atan = yes; then
17534 cat >>confdefs.h
<<_ACEOF
17535 #define HAVE_ATAN 1
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17544 $as_echo_n "checking for atanl... " >&6; }
17545 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17546 $as_echo_n "(cached) " >&6
17548 if test x
$gcc_no_link = xyes
; then
17549 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17554 #ifdef HAVE_COMPLEX_H
17555 #include <complex.h>
17561 int (*ptr)() = (int (*)())atanl;
17570 if ac_fn_c_try_link
"$LINENO"; then :
17571 gcc_cv_math_func_atanl
=yes
17573 gcc_cv_math_func_atanl
=no
17575 rm -f core conftest.err conftest.
$ac_objext \
17576 conftest
$ac_exeext conftest.
$ac_ext
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17579 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17580 if test $gcc_cv_math_func_atanl = yes; then
17582 cat >>confdefs.h
<<_ACEOF
17583 #define HAVE_ATANL 1
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17592 $as_echo_n "checking for atanhf... " >&6; }
17593 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17594 $as_echo_n "(cached) " >&6
17596 if test x
$gcc_no_link = xyes
; then
17597 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17600 /* end confdefs.h. */
17602 #ifdef HAVE_COMPLEX_H
17603 #include <complex.h>
17609 int (*ptr)() = (int (*)())atanhf;
17618 if ac_fn_c_try_link
"$LINENO"; then :
17619 gcc_cv_math_func_atanhf
=yes
17621 gcc_cv_math_func_atanhf
=no
17623 rm -f core conftest.err conftest.
$ac_objext \
17624 conftest
$ac_exeext conftest.
$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17627 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17628 if test $gcc_cv_math_func_atanhf = yes; then
17630 cat >>confdefs.h
<<_ACEOF
17631 #define HAVE_ATANHF 1
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17640 $as_echo_n "checking for atanh... " >&6; }
17641 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17642 $as_echo_n "(cached) " >&6
17644 if test x
$gcc_no_link = xyes
; then
17645 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17648 /* end confdefs.h. */
17650 #ifdef HAVE_COMPLEX_H
17651 #include <complex.h>
17657 int (*ptr)() = (int (*)())atanh;
17666 if ac_fn_c_try_link
"$LINENO"; then :
17667 gcc_cv_math_func_atanh
=yes
17669 gcc_cv_math_func_atanh
=no
17671 rm -f core conftest.err conftest.
$ac_objext \
17672 conftest
$ac_exeext conftest.
$ac_ext
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17675 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17676 if test $gcc_cv_math_func_atanh = yes; then
17678 cat >>confdefs.h
<<_ACEOF
17679 #define HAVE_ATANH 1
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17688 $as_echo_n "checking for atanhl... " >&6; }
17689 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17690 $as_echo_n "(cached) " >&6
17692 if test x
$gcc_no_link = xyes
; then
17693 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17698 #ifdef HAVE_COMPLEX_H
17699 #include <complex.h>
17705 int (*ptr)() = (int (*)())atanhl;
17714 if ac_fn_c_try_link
"$LINENO"; then :
17715 gcc_cv_math_func_atanhl
=yes
17717 gcc_cv_math_func_atanhl
=no
17719 rm -f core conftest.err conftest.
$ac_objext \
17720 conftest
$ac_exeext conftest.
$ac_ext
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17723 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17724 if test $gcc_cv_math_func_atanhl = yes; then
17726 cat >>confdefs.h
<<_ACEOF
17727 #define HAVE_ATANHL 1
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17736 $as_echo_n "checking for cargf... " >&6; }
17737 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17738 $as_echo_n "(cached) " >&6
17740 if test x
$gcc_no_link = xyes
; then
17741 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17746 #ifdef HAVE_COMPLEX_H
17747 #include <complex.h>
17753 int (*ptr)() = (int (*)())cargf;
17762 if ac_fn_c_try_link
"$LINENO"; then :
17763 gcc_cv_math_func_cargf
=yes
17765 gcc_cv_math_func_cargf
=no
17767 rm -f core conftest.err conftest.
$ac_objext \
17768 conftest
$ac_exeext conftest.
$ac_ext
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17771 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17772 if test $gcc_cv_math_func_cargf = yes; then
17774 cat >>confdefs.h
<<_ACEOF
17775 #define HAVE_CARGF 1
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17784 $as_echo_n "checking for carg... " >&6; }
17785 if test "${gcc_cv_math_func_carg+set}" = set; then :
17786 $as_echo_n "(cached) " >&6
17788 if test x
$gcc_no_link = xyes
; then
17789 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17794 #ifdef HAVE_COMPLEX_H
17795 #include <complex.h>
17801 int (*ptr)() = (int (*)())carg;
17810 if ac_fn_c_try_link
"$LINENO"; then :
17811 gcc_cv_math_func_carg
=yes
17813 gcc_cv_math_func_carg
=no
17815 rm -f core conftest.err conftest.
$ac_objext \
17816 conftest
$ac_exeext conftest.
$ac_ext
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17819 $as_echo "$gcc_cv_math_func_carg" >&6; }
17820 if test $gcc_cv_math_func_carg = yes; then
17822 cat >>confdefs.h
<<_ACEOF
17823 #define HAVE_CARG 1
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17832 $as_echo_n "checking for cargl... " >&6; }
17833 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17834 $as_echo_n "(cached) " >&6
17836 if test x
$gcc_no_link = xyes
; then
17837 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17842 #ifdef HAVE_COMPLEX_H
17843 #include <complex.h>
17849 int (*ptr)() = (int (*)())cargl;
17858 if ac_fn_c_try_link
"$LINENO"; then :
17859 gcc_cv_math_func_cargl
=yes
17861 gcc_cv_math_func_cargl
=no
17863 rm -f core conftest.err conftest.
$ac_objext \
17864 conftest
$ac_exeext conftest.
$ac_ext
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17867 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17868 if test $gcc_cv_math_func_cargl = yes; then
17870 cat >>confdefs.h
<<_ACEOF
17871 #define HAVE_CARGL 1
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17880 $as_echo_n "checking for ceilf... " >&6; }
17881 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17882 $as_echo_n "(cached) " >&6
17884 if test x
$gcc_no_link = xyes
; then
17885 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17890 #ifdef HAVE_COMPLEX_H
17891 #include <complex.h>
17897 int (*ptr)() = (int (*)())ceilf;
17906 if ac_fn_c_try_link
"$LINENO"; then :
17907 gcc_cv_math_func_ceilf
=yes
17909 gcc_cv_math_func_ceilf
=no
17911 rm -f core conftest.err conftest.
$ac_objext \
17912 conftest
$ac_exeext conftest.
$ac_ext
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17915 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17916 if test $gcc_cv_math_func_ceilf = yes; then
17918 cat >>confdefs.h
<<_ACEOF
17919 #define HAVE_CEILF 1
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17928 $as_echo_n "checking for ceil... " >&6; }
17929 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17930 $as_echo_n "(cached) " >&6
17932 if test x
$gcc_no_link = xyes
; then
17933 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17938 #ifdef HAVE_COMPLEX_H
17939 #include <complex.h>
17945 int (*ptr)() = (int (*)())ceil;
17954 if ac_fn_c_try_link
"$LINENO"; then :
17955 gcc_cv_math_func_ceil
=yes
17957 gcc_cv_math_func_ceil
=no
17959 rm -f core conftest.err conftest.
$ac_objext \
17960 conftest
$ac_exeext conftest.
$ac_ext
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17963 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17964 if test $gcc_cv_math_func_ceil = yes; then
17966 cat >>confdefs.h
<<_ACEOF
17967 #define HAVE_CEIL 1
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17976 $as_echo_n "checking for ceill... " >&6; }
17977 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17978 $as_echo_n "(cached) " >&6
17980 if test x
$gcc_no_link = xyes
; then
17981 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17986 #ifdef HAVE_COMPLEX_H
17987 #include <complex.h>
17993 int (*ptr)() = (int (*)())ceill;
18002 if ac_fn_c_try_link
"$LINENO"; then :
18003 gcc_cv_math_func_ceill
=yes
18005 gcc_cv_math_func_ceill
=no
18007 rm -f core conftest.err conftest.
$ac_objext \
18008 conftest
$ac_exeext conftest.
$ac_ext
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18011 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18012 if test $gcc_cv_math_func_ceill = yes; then
18014 cat >>confdefs.h
<<_ACEOF
18015 #define HAVE_CEILL 1
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18024 $as_echo_n "checking for copysignf... " >&6; }
18025 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18026 $as_echo_n "(cached) " >&6
18028 if test x
$gcc_no_link = xyes
; then
18029 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h. */
18034 #ifdef HAVE_COMPLEX_H
18035 #include <complex.h>
18041 int (*ptr)() = (int (*)())copysignf;
18050 if ac_fn_c_try_link
"$LINENO"; then :
18051 gcc_cv_math_func_copysignf
=yes
18053 gcc_cv_math_func_copysignf
=no
18055 rm -f core conftest.err conftest.
$ac_objext \
18056 conftest
$ac_exeext conftest.
$ac_ext
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18059 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18060 if test $gcc_cv_math_func_copysignf = yes; then
18062 cat >>confdefs.h
<<_ACEOF
18063 #define HAVE_COPYSIGNF 1
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18072 $as_echo_n "checking for copysign... " >&6; }
18073 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18074 $as_echo_n "(cached) " >&6
18076 if test x
$gcc_no_link = xyes
; then
18077 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18080 /* end confdefs.h. */
18082 #ifdef HAVE_COMPLEX_H
18083 #include <complex.h>
18089 int (*ptr)() = (int (*)())copysign;
18098 if ac_fn_c_try_link
"$LINENO"; then :
18099 gcc_cv_math_func_copysign
=yes
18101 gcc_cv_math_func_copysign
=no
18103 rm -f core conftest.err conftest.
$ac_objext \
18104 conftest
$ac_exeext conftest.
$ac_ext
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18107 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18108 if test $gcc_cv_math_func_copysign = yes; then
18110 cat >>confdefs.h
<<_ACEOF
18111 #define HAVE_COPYSIGN 1
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18120 $as_echo_n "checking for copysignl... " >&6; }
18121 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18122 $as_echo_n "(cached) " >&6
18124 if test x
$gcc_no_link = xyes
; then
18125 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18128 /* end confdefs.h. */
18130 #ifdef HAVE_COMPLEX_H
18131 #include <complex.h>
18137 int (*ptr)() = (int (*)())copysignl;
18146 if ac_fn_c_try_link
"$LINENO"; then :
18147 gcc_cv_math_func_copysignl
=yes
18149 gcc_cv_math_func_copysignl
=no
18151 rm -f core conftest.err conftest.
$ac_objext \
18152 conftest
$ac_exeext conftest.
$ac_ext
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18155 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18156 if test $gcc_cv_math_func_copysignl = yes; then
18158 cat >>confdefs.h
<<_ACEOF
18159 #define HAVE_COPYSIGNL 1
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18168 $as_echo_n "checking for cosf... " >&6; }
18169 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18170 $as_echo_n "(cached) " >&6
18172 if test x
$gcc_no_link = xyes
; then
18173 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18176 /* end confdefs.h. */
18178 #ifdef HAVE_COMPLEX_H
18179 #include <complex.h>
18185 int (*ptr)() = (int (*)())cosf;
18194 if ac_fn_c_try_link
"$LINENO"; then :
18195 gcc_cv_math_func_cosf
=yes
18197 gcc_cv_math_func_cosf
=no
18199 rm -f core conftest.err conftest.
$ac_objext \
18200 conftest
$ac_exeext conftest.
$ac_ext
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18203 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18204 if test $gcc_cv_math_func_cosf = yes; then
18206 cat >>confdefs.h
<<_ACEOF
18207 #define HAVE_COSF 1
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18216 $as_echo_n "checking for cos... " >&6; }
18217 if test "${gcc_cv_math_func_cos+set}" = set; then :
18218 $as_echo_n "(cached) " >&6
18220 if test x
$gcc_no_link = xyes
; then
18221 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h. */
18226 #ifdef HAVE_COMPLEX_H
18227 #include <complex.h>
18233 int (*ptr)() = (int (*)())cos;
18242 if ac_fn_c_try_link
"$LINENO"; then :
18243 gcc_cv_math_func_cos
=yes
18245 gcc_cv_math_func_cos
=no
18247 rm -f core conftest.err conftest.
$ac_objext \
18248 conftest
$ac_exeext conftest.
$ac_ext
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18251 $as_echo "$gcc_cv_math_func_cos" >&6; }
18252 if test $gcc_cv_math_func_cos = yes; then
18254 cat >>confdefs.h
<<_ACEOF
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18264 $as_echo_n "checking for cosl... " >&6; }
18265 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18266 $as_echo_n "(cached) " >&6
18268 if test x
$gcc_no_link = xyes
; then
18269 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18272 /* end confdefs.h. */
18274 #ifdef HAVE_COMPLEX_H
18275 #include <complex.h>
18281 int (*ptr)() = (int (*)())cosl;
18290 if ac_fn_c_try_link
"$LINENO"; then :
18291 gcc_cv_math_func_cosl
=yes
18293 gcc_cv_math_func_cosl
=no
18295 rm -f core conftest.err conftest.
$ac_objext \
18296 conftest
$ac_exeext conftest.
$ac_ext
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18299 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18300 if test $gcc_cv_math_func_cosl = yes; then
18302 cat >>confdefs.h
<<_ACEOF
18303 #define HAVE_COSL 1
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18312 $as_echo_n "checking for ccosf... " >&6; }
18313 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18314 $as_echo_n "(cached) " >&6
18316 if test x
$gcc_no_link = xyes
; then
18317 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18320 /* end confdefs.h. */
18322 #ifdef HAVE_COMPLEX_H
18323 #include <complex.h>
18329 int (*ptr)() = (int (*)())ccosf;
18338 if ac_fn_c_try_link
"$LINENO"; then :
18339 gcc_cv_math_func_ccosf
=yes
18341 gcc_cv_math_func_ccosf
=no
18343 rm -f core conftest.err conftest.
$ac_objext \
18344 conftest
$ac_exeext conftest.
$ac_ext
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18347 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18348 if test $gcc_cv_math_func_ccosf = yes; then
18350 cat >>confdefs.h
<<_ACEOF
18351 #define HAVE_CCOSF 1
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18360 $as_echo_n "checking for ccos... " >&6; }
18361 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18362 $as_echo_n "(cached) " >&6
18364 if test x
$gcc_no_link = xyes
; then
18365 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h. */
18370 #ifdef HAVE_COMPLEX_H
18371 #include <complex.h>
18377 int (*ptr)() = (int (*)())ccos;
18386 if ac_fn_c_try_link
"$LINENO"; then :
18387 gcc_cv_math_func_ccos
=yes
18389 gcc_cv_math_func_ccos
=no
18391 rm -f core conftest.err conftest.
$ac_objext \
18392 conftest
$ac_exeext conftest.
$ac_ext
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18395 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18396 if test $gcc_cv_math_func_ccos = yes; then
18398 cat >>confdefs.h
<<_ACEOF
18399 #define HAVE_CCOS 1
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18408 $as_echo_n "checking for ccosl... " >&6; }
18409 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18410 $as_echo_n "(cached) " >&6
18412 if test x
$gcc_no_link = xyes
; then
18413 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18416 /* end confdefs.h. */
18418 #ifdef HAVE_COMPLEX_H
18419 #include <complex.h>
18425 int (*ptr)() = (int (*)())ccosl;
18434 if ac_fn_c_try_link
"$LINENO"; then :
18435 gcc_cv_math_func_ccosl
=yes
18437 gcc_cv_math_func_ccosl
=no
18439 rm -f core conftest.err conftest.
$ac_objext \
18440 conftest
$ac_exeext conftest.
$ac_ext
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18443 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18444 if test $gcc_cv_math_func_ccosl = yes; then
18446 cat >>confdefs.h
<<_ACEOF
18447 #define HAVE_CCOSL 1
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18456 $as_echo_n "checking for coshf... " >&6; }
18457 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18458 $as_echo_n "(cached) " >&6
18460 if test x
$gcc_no_link = xyes
; then
18461 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18466 #ifdef HAVE_COMPLEX_H
18467 #include <complex.h>
18473 int (*ptr)() = (int (*)())coshf;
18482 if ac_fn_c_try_link
"$LINENO"; then :
18483 gcc_cv_math_func_coshf
=yes
18485 gcc_cv_math_func_coshf
=no
18487 rm -f core conftest.err conftest.
$ac_objext \
18488 conftest
$ac_exeext conftest.
$ac_ext
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18491 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18492 if test $gcc_cv_math_func_coshf = yes; then
18494 cat >>confdefs.h
<<_ACEOF
18495 #define HAVE_COSHF 1
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18504 $as_echo_n "checking for cosh... " >&6; }
18505 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18506 $as_echo_n "(cached) " >&6
18508 if test x
$gcc_no_link = xyes
; then
18509 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18514 #ifdef HAVE_COMPLEX_H
18515 #include <complex.h>
18521 int (*ptr)() = (int (*)())cosh;
18530 if ac_fn_c_try_link
"$LINENO"; then :
18531 gcc_cv_math_func_cosh
=yes
18533 gcc_cv_math_func_cosh
=no
18535 rm -f core conftest.err conftest.
$ac_objext \
18536 conftest
$ac_exeext conftest.
$ac_ext
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18539 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18540 if test $gcc_cv_math_func_cosh = yes; then
18542 cat >>confdefs.h
<<_ACEOF
18543 #define HAVE_COSH 1
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18552 $as_echo_n "checking for coshl... " >&6; }
18553 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18554 $as_echo_n "(cached) " >&6
18556 if test x
$gcc_no_link = xyes
; then
18557 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h. */
18562 #ifdef HAVE_COMPLEX_H
18563 #include <complex.h>
18569 int (*ptr)() = (int (*)())coshl;
18578 if ac_fn_c_try_link
"$LINENO"; then :
18579 gcc_cv_math_func_coshl
=yes
18581 gcc_cv_math_func_coshl
=no
18583 rm -f core conftest.err conftest.
$ac_objext \
18584 conftest
$ac_exeext conftest.
$ac_ext
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18587 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18588 if test $gcc_cv_math_func_coshl = yes; then
18590 cat >>confdefs.h
<<_ACEOF
18591 #define HAVE_COSHL 1
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18600 $as_echo_n "checking for ccoshf... " >&6; }
18601 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18602 $as_echo_n "(cached) " >&6
18604 if test x
$gcc_no_link = xyes
; then
18605 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18608 /* end confdefs.h. */
18610 #ifdef HAVE_COMPLEX_H
18611 #include <complex.h>
18617 int (*ptr)() = (int (*)())ccoshf;
18626 if ac_fn_c_try_link
"$LINENO"; then :
18627 gcc_cv_math_func_ccoshf
=yes
18629 gcc_cv_math_func_ccoshf
=no
18631 rm -f core conftest.err conftest.
$ac_objext \
18632 conftest
$ac_exeext conftest.
$ac_ext
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18635 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18636 if test $gcc_cv_math_func_ccoshf = yes; then
18638 cat >>confdefs.h
<<_ACEOF
18639 #define HAVE_CCOSHF 1
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18648 $as_echo_n "checking for ccosh... " >&6; }
18649 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18650 $as_echo_n "(cached) " >&6
18652 if test x
$gcc_no_link = xyes
; then
18653 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18656 /* end confdefs.h. */
18658 #ifdef HAVE_COMPLEX_H
18659 #include <complex.h>
18665 int (*ptr)() = (int (*)())ccosh;
18674 if ac_fn_c_try_link
"$LINENO"; then :
18675 gcc_cv_math_func_ccosh
=yes
18677 gcc_cv_math_func_ccosh
=no
18679 rm -f core conftest.err conftest.
$ac_objext \
18680 conftest
$ac_exeext conftest.
$ac_ext
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18683 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18684 if test $gcc_cv_math_func_ccosh = yes; then
18686 cat >>confdefs.h
<<_ACEOF
18687 #define HAVE_CCOSH 1
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18696 $as_echo_n "checking for ccoshl... " >&6; }
18697 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18698 $as_echo_n "(cached) " >&6
18700 if test x
$gcc_no_link = xyes
; then
18701 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18706 #ifdef HAVE_COMPLEX_H
18707 #include <complex.h>
18713 int (*ptr)() = (int (*)())ccoshl;
18722 if ac_fn_c_try_link
"$LINENO"; then :
18723 gcc_cv_math_func_ccoshl
=yes
18725 gcc_cv_math_func_ccoshl
=no
18727 rm -f core conftest.err conftest.
$ac_objext \
18728 conftest
$ac_exeext conftest.
$ac_ext
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18731 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18732 if test $gcc_cv_math_func_ccoshl = yes; then
18734 cat >>confdefs.h
<<_ACEOF
18735 #define HAVE_CCOSHL 1
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18744 $as_echo_n "checking for expf... " >&6; }
18745 if test "${gcc_cv_math_func_expf+set}" = set; then :
18746 $as_echo_n "(cached) " >&6
18748 if test x
$gcc_no_link = xyes
; then
18749 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18754 #ifdef HAVE_COMPLEX_H
18755 #include <complex.h>
18761 int (*ptr)() = (int (*)())expf;
18770 if ac_fn_c_try_link
"$LINENO"; then :
18771 gcc_cv_math_func_expf
=yes
18773 gcc_cv_math_func_expf
=no
18775 rm -f core conftest.err conftest.
$ac_objext \
18776 conftest
$ac_exeext conftest.
$ac_ext
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18779 $as_echo "$gcc_cv_math_func_expf" >&6; }
18780 if test $gcc_cv_math_func_expf = yes; then
18782 cat >>confdefs.h
<<_ACEOF
18783 #define HAVE_EXPF 1
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18792 $as_echo_n "checking for exp... " >&6; }
18793 if test "${gcc_cv_math_func_exp+set}" = set; then :
18794 $as_echo_n "(cached) " >&6
18796 if test x
$gcc_no_link = xyes
; then
18797 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18802 #ifdef HAVE_COMPLEX_H
18803 #include <complex.h>
18809 int (*ptr)() = (int (*)())exp;
18818 if ac_fn_c_try_link
"$LINENO"; then :
18819 gcc_cv_math_func_exp
=yes
18821 gcc_cv_math_func_exp
=no
18823 rm -f core conftest.err conftest.
$ac_objext \
18824 conftest
$ac_exeext conftest.
$ac_ext
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18827 $as_echo "$gcc_cv_math_func_exp" >&6; }
18828 if test $gcc_cv_math_func_exp = yes; then
18830 cat >>confdefs.h
<<_ACEOF
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18840 $as_echo_n "checking for expl... " >&6; }
18841 if test "${gcc_cv_math_func_expl+set}" = set; then :
18842 $as_echo_n "(cached) " >&6
18844 if test x
$gcc_no_link = xyes
; then
18845 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18848 /* end confdefs.h. */
18850 #ifdef HAVE_COMPLEX_H
18851 #include <complex.h>
18857 int (*ptr)() = (int (*)())expl;
18866 if ac_fn_c_try_link
"$LINENO"; then :
18867 gcc_cv_math_func_expl
=yes
18869 gcc_cv_math_func_expl
=no
18871 rm -f core conftest.err conftest.
$ac_objext \
18872 conftest
$ac_exeext conftest.
$ac_ext
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18875 $as_echo "$gcc_cv_math_func_expl" >&6; }
18876 if test $gcc_cv_math_func_expl = yes; then
18878 cat >>confdefs.h
<<_ACEOF
18879 #define HAVE_EXPL 1
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18888 $as_echo_n "checking for cexpf... " >&6; }
18889 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18890 $as_echo_n "(cached) " >&6
18892 if test x
$gcc_no_link = xyes
; then
18893 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18896 /* end confdefs.h. */
18898 #ifdef HAVE_COMPLEX_H
18899 #include <complex.h>
18905 int (*ptr)() = (int (*)())cexpf;
18914 if ac_fn_c_try_link
"$LINENO"; then :
18915 gcc_cv_math_func_cexpf
=yes
18917 gcc_cv_math_func_cexpf
=no
18919 rm -f core conftest.err conftest.
$ac_objext \
18920 conftest
$ac_exeext conftest.
$ac_ext
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18923 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18924 if test $gcc_cv_math_func_cexpf = yes; then
18926 cat >>confdefs.h
<<_ACEOF
18927 #define HAVE_CEXPF 1
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18936 $as_echo_n "checking for cexp... " >&6; }
18937 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18938 $as_echo_n "(cached) " >&6
18940 if test x
$gcc_no_link = xyes
; then
18941 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18946 #ifdef HAVE_COMPLEX_H
18947 #include <complex.h>
18953 int (*ptr)() = (int (*)())cexp;
18962 if ac_fn_c_try_link
"$LINENO"; then :
18963 gcc_cv_math_func_cexp
=yes
18965 gcc_cv_math_func_cexp
=no
18967 rm -f core conftest.err conftest.
$ac_objext \
18968 conftest
$ac_exeext conftest.
$ac_ext
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18971 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18972 if test $gcc_cv_math_func_cexp = yes; then
18974 cat >>confdefs.h
<<_ACEOF
18975 #define HAVE_CEXP 1
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18984 $as_echo_n "checking for cexpl... " >&6; }
18985 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18986 $as_echo_n "(cached) " >&6
18988 if test x
$gcc_no_link = xyes
; then
18989 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18992 /* end confdefs.h. */
18994 #ifdef HAVE_COMPLEX_H
18995 #include <complex.h>
19001 int (*ptr)() = (int (*)())cexpl;
19010 if ac_fn_c_try_link
"$LINENO"; then :
19011 gcc_cv_math_func_cexpl
=yes
19013 gcc_cv_math_func_cexpl
=no
19015 rm -f core conftest.err conftest.
$ac_objext \
19016 conftest
$ac_exeext conftest.
$ac_ext
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19019 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19020 if test $gcc_cv_math_func_cexpl = yes; then
19022 cat >>confdefs.h
<<_ACEOF
19023 #define HAVE_CEXPL 1
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19032 $as_echo_n "checking for fabsf... " >&6; }
19033 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19034 $as_echo_n "(cached) " >&6
19036 if test x
$gcc_no_link = xyes
; then
19037 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19042 #ifdef HAVE_COMPLEX_H
19043 #include <complex.h>
19049 int (*ptr)() = (int (*)())fabsf;
19058 if ac_fn_c_try_link
"$LINENO"; then :
19059 gcc_cv_math_func_fabsf
=yes
19061 gcc_cv_math_func_fabsf
=no
19063 rm -f core conftest.err conftest.
$ac_objext \
19064 conftest
$ac_exeext conftest.
$ac_ext
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19067 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19068 if test $gcc_cv_math_func_fabsf = yes; then
19070 cat >>confdefs.h
<<_ACEOF
19071 #define HAVE_FABSF 1
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19080 $as_echo_n "checking for fabs... " >&6; }
19081 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19082 $as_echo_n "(cached) " >&6
19084 if test x
$gcc_no_link = xyes
; then
19085 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19088 /* end confdefs.h. */
19090 #ifdef HAVE_COMPLEX_H
19091 #include <complex.h>
19097 int (*ptr)() = (int (*)())fabs;
19106 if ac_fn_c_try_link
"$LINENO"; then :
19107 gcc_cv_math_func_fabs
=yes
19109 gcc_cv_math_func_fabs
=no
19111 rm -f core conftest.err conftest.
$ac_objext \
19112 conftest
$ac_exeext conftest.
$ac_ext
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19115 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19116 if test $gcc_cv_math_func_fabs = yes; then
19118 cat >>confdefs.h
<<_ACEOF
19119 #define HAVE_FABS 1
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19128 $as_echo_n "checking for fabsl... " >&6; }
19129 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19130 $as_echo_n "(cached) " >&6
19132 if test x
$gcc_no_link = xyes
; then
19133 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19136 /* end confdefs.h. */
19138 #ifdef HAVE_COMPLEX_H
19139 #include <complex.h>
19145 int (*ptr)() = (int (*)())fabsl;
19154 if ac_fn_c_try_link
"$LINENO"; then :
19155 gcc_cv_math_func_fabsl
=yes
19157 gcc_cv_math_func_fabsl
=no
19159 rm -f core conftest.err conftest.
$ac_objext \
19160 conftest
$ac_exeext conftest.
$ac_ext
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19163 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19164 if test $gcc_cv_math_func_fabsl = yes; then
19166 cat >>confdefs.h
<<_ACEOF
19167 #define HAVE_FABSL 1
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19176 $as_echo_n "checking for cabsf... " >&6; }
19177 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19178 $as_echo_n "(cached) " >&6
19180 if test x
$gcc_no_link = xyes
; then
19181 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19184 /* end confdefs.h. */
19186 #ifdef HAVE_COMPLEX_H
19187 #include <complex.h>
19193 int (*ptr)() = (int (*)())cabsf;
19202 if ac_fn_c_try_link
"$LINENO"; then :
19203 gcc_cv_math_func_cabsf
=yes
19205 gcc_cv_math_func_cabsf
=no
19207 rm -f core conftest.err conftest.
$ac_objext \
19208 conftest
$ac_exeext conftest.
$ac_ext
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19211 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19212 if test $gcc_cv_math_func_cabsf = yes; then
19214 cat >>confdefs.h
<<_ACEOF
19215 #define HAVE_CABSF 1
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19224 $as_echo_n "checking for cabs... " >&6; }
19225 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19226 $as_echo_n "(cached) " >&6
19228 if test x
$gcc_no_link = xyes
; then
19229 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19234 #ifdef HAVE_COMPLEX_H
19235 #include <complex.h>
19241 int (*ptr)() = (int (*)())cabs;
19250 if ac_fn_c_try_link
"$LINENO"; then :
19251 gcc_cv_math_func_cabs
=yes
19253 gcc_cv_math_func_cabs
=no
19255 rm -f core conftest.err conftest.
$ac_objext \
19256 conftest
$ac_exeext conftest.
$ac_ext
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19259 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19260 if test $gcc_cv_math_func_cabs = yes; then
19262 cat >>confdefs.h
<<_ACEOF
19263 #define HAVE_CABS 1
19271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19272 $as_echo_n "checking for cabsl... " >&6; }
19273 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19274 $as_echo_n "(cached) " >&6
19276 if test x
$gcc_no_link = xyes
; then
19277 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19280 /* end confdefs.h. */
19282 #ifdef HAVE_COMPLEX_H
19283 #include <complex.h>
19289 int (*ptr)() = (int (*)())cabsl;
19298 if ac_fn_c_try_link
"$LINENO"; then :
19299 gcc_cv_math_func_cabsl
=yes
19301 gcc_cv_math_func_cabsl
=no
19303 rm -f core conftest.err conftest.
$ac_objext \
19304 conftest
$ac_exeext conftest.
$ac_ext
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19307 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19308 if test $gcc_cv_math_func_cabsl = yes; then
19310 cat >>confdefs.h
<<_ACEOF
19311 #define HAVE_CABSL 1
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19320 $as_echo_n "checking for floorf... " >&6; }
19321 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19322 $as_echo_n "(cached) " >&6
19324 if test x
$gcc_no_link = xyes
; then
19325 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19328 /* end confdefs.h. */
19330 #ifdef HAVE_COMPLEX_H
19331 #include <complex.h>
19337 int (*ptr)() = (int (*)())floorf;
19346 if ac_fn_c_try_link
"$LINENO"; then :
19347 gcc_cv_math_func_floorf
=yes
19349 gcc_cv_math_func_floorf
=no
19351 rm -f core conftest.err conftest.
$ac_objext \
19352 conftest
$ac_exeext conftest.
$ac_ext
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19355 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19356 if test $gcc_cv_math_func_floorf = yes; then
19358 cat >>confdefs.h
<<_ACEOF
19359 #define HAVE_FLOORF 1
19367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19368 $as_echo_n "checking for floor... " >&6; }
19369 if test "${gcc_cv_math_func_floor+set}" = set; then :
19370 $as_echo_n "(cached) " >&6
19372 if test x
$gcc_no_link = xyes
; then
19373 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h. */
19378 #ifdef HAVE_COMPLEX_H
19379 #include <complex.h>
19385 int (*ptr)() = (int (*)())floor;
19394 if ac_fn_c_try_link
"$LINENO"; then :
19395 gcc_cv_math_func_floor
=yes
19397 gcc_cv_math_func_floor
=no
19399 rm -f core conftest.err conftest.
$ac_objext \
19400 conftest
$ac_exeext conftest.
$ac_ext
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19403 $as_echo "$gcc_cv_math_func_floor" >&6; }
19404 if test $gcc_cv_math_func_floor = yes; then
19406 cat >>confdefs.h
<<_ACEOF
19407 #define HAVE_FLOOR 1
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19416 $as_echo_n "checking for floorl... " >&6; }
19417 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19418 $as_echo_n "(cached) " >&6
19420 if test x
$gcc_no_link = xyes
; then
19421 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19426 #ifdef HAVE_COMPLEX_H
19427 #include <complex.h>
19433 int (*ptr)() = (int (*)())floorl;
19442 if ac_fn_c_try_link
"$LINENO"; then :
19443 gcc_cv_math_func_floorl
=yes
19445 gcc_cv_math_func_floorl
=no
19447 rm -f core conftest.err conftest.
$ac_objext \
19448 conftest
$ac_exeext conftest.
$ac_ext
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19451 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19452 if test $gcc_cv_math_func_floorl = yes; then
19454 cat >>confdefs.h
<<_ACEOF
19455 #define HAVE_FLOORL 1
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19464 $as_echo_n "checking for fmodf... " >&6; }
19465 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19466 $as_echo_n "(cached) " >&6
19468 if test x
$gcc_no_link = xyes
; then
19469 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19474 #ifdef HAVE_COMPLEX_H
19475 #include <complex.h>
19481 int (*ptr)() = (int (*)())fmodf;
19490 if ac_fn_c_try_link
"$LINENO"; then :
19491 gcc_cv_math_func_fmodf
=yes
19493 gcc_cv_math_func_fmodf
=no
19495 rm -f core conftest.err conftest.
$ac_objext \
19496 conftest
$ac_exeext conftest.
$ac_ext
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19499 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19500 if test $gcc_cv_math_func_fmodf = yes; then
19502 cat >>confdefs.h
<<_ACEOF
19503 #define HAVE_FMODF 1
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19512 $as_echo_n "checking for fmod... " >&6; }
19513 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19514 $as_echo_n "(cached) " >&6
19516 if test x
$gcc_no_link = xyes
; then
19517 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19522 #ifdef HAVE_COMPLEX_H
19523 #include <complex.h>
19529 int (*ptr)() = (int (*)())fmod;
19538 if ac_fn_c_try_link
"$LINENO"; then :
19539 gcc_cv_math_func_fmod
=yes
19541 gcc_cv_math_func_fmod
=no
19543 rm -f core conftest.err conftest.
$ac_objext \
19544 conftest
$ac_exeext conftest.
$ac_ext
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19547 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19548 if test $gcc_cv_math_func_fmod = yes; then
19550 cat >>confdefs.h
<<_ACEOF
19551 #define HAVE_FMOD 1
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19560 $as_echo_n "checking for fmodl... " >&6; }
19561 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19562 $as_echo_n "(cached) " >&6
19564 if test x
$gcc_no_link = xyes
; then
19565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19570 #ifdef HAVE_COMPLEX_H
19571 #include <complex.h>
19577 int (*ptr)() = (int (*)())fmodl;
19586 if ac_fn_c_try_link
"$LINENO"; then :
19587 gcc_cv_math_func_fmodl
=yes
19589 gcc_cv_math_func_fmodl
=no
19591 rm -f core conftest.err conftest.
$ac_objext \
19592 conftest
$ac_exeext conftest.
$ac_ext
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19595 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19596 if test $gcc_cv_math_func_fmodl = yes; then
19598 cat >>confdefs.h
<<_ACEOF
19599 #define HAVE_FMODL 1
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19608 $as_echo_n "checking for frexpf... " >&6; }
19609 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19610 $as_echo_n "(cached) " >&6
19612 if test x
$gcc_no_link = xyes
; then
19613 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19616 /* end confdefs.h. */
19618 #ifdef HAVE_COMPLEX_H
19619 #include <complex.h>
19625 int (*ptr)() = (int (*)())frexpf;
19634 if ac_fn_c_try_link
"$LINENO"; then :
19635 gcc_cv_math_func_frexpf
=yes
19637 gcc_cv_math_func_frexpf
=no
19639 rm -f core conftest.err conftest.
$ac_objext \
19640 conftest
$ac_exeext conftest.
$ac_ext
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19643 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19644 if test $gcc_cv_math_func_frexpf = yes; then
19646 cat >>confdefs.h
<<_ACEOF
19647 #define HAVE_FREXPF 1
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19656 $as_echo_n "checking for frexp... " >&6; }
19657 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19658 $as_echo_n "(cached) " >&6
19660 if test x
$gcc_no_link = xyes
; then
19661 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19666 #ifdef HAVE_COMPLEX_H
19667 #include <complex.h>
19673 int (*ptr)() = (int (*)())frexp;
19682 if ac_fn_c_try_link
"$LINENO"; then :
19683 gcc_cv_math_func_frexp
=yes
19685 gcc_cv_math_func_frexp
=no
19687 rm -f core conftest.err conftest.
$ac_objext \
19688 conftest
$ac_exeext conftest.
$ac_ext
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19691 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19692 if test $gcc_cv_math_func_frexp = yes; then
19694 cat >>confdefs.h
<<_ACEOF
19695 #define HAVE_FREXP 1
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19704 $as_echo_n "checking for frexpl... " >&6; }
19705 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19706 $as_echo_n "(cached) " >&6
19708 if test x
$gcc_no_link = xyes
; then
19709 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19712 /* end confdefs.h. */
19714 #ifdef HAVE_COMPLEX_H
19715 #include <complex.h>
19721 int (*ptr)() = (int (*)())frexpl;
19730 if ac_fn_c_try_link
"$LINENO"; then :
19731 gcc_cv_math_func_frexpl
=yes
19733 gcc_cv_math_func_frexpl
=no
19735 rm -f core conftest.err conftest.
$ac_objext \
19736 conftest
$ac_exeext conftest.
$ac_ext
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19739 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19740 if test $gcc_cv_math_func_frexpl = yes; then
19742 cat >>confdefs.h
<<_ACEOF
19743 #define HAVE_FREXPL 1
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19752 $as_echo_n "checking for hypotf... " >&6; }
19753 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19754 $as_echo_n "(cached) " >&6
19756 if test x
$gcc_no_link = xyes
; then
19757 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19760 /* end confdefs.h. */
19762 #ifdef HAVE_COMPLEX_H
19763 #include <complex.h>
19769 int (*ptr)() = (int (*)())hypotf;
19778 if ac_fn_c_try_link
"$LINENO"; then :
19779 gcc_cv_math_func_hypotf
=yes
19781 gcc_cv_math_func_hypotf
=no
19783 rm -f core conftest.err conftest.
$ac_objext \
19784 conftest
$ac_exeext conftest.
$ac_ext
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19787 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19788 if test $gcc_cv_math_func_hypotf = yes; then
19790 cat >>confdefs.h
<<_ACEOF
19791 #define HAVE_HYPOTF 1
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19800 $as_echo_n "checking for hypot... " >&6; }
19801 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19802 $as_echo_n "(cached) " >&6
19804 if test x
$gcc_no_link = xyes
; then
19805 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19810 #ifdef HAVE_COMPLEX_H
19811 #include <complex.h>
19817 int (*ptr)() = (int (*)())hypot;
19826 if ac_fn_c_try_link
"$LINENO"; then :
19827 gcc_cv_math_func_hypot
=yes
19829 gcc_cv_math_func_hypot
=no
19831 rm -f core conftest.err conftest.
$ac_objext \
19832 conftest
$ac_exeext conftest.
$ac_ext
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19835 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19836 if test $gcc_cv_math_func_hypot = yes; then
19838 cat >>confdefs.h
<<_ACEOF
19839 #define HAVE_HYPOT 1
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19848 $as_echo_n "checking for hypotl... " >&6; }
19849 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19850 $as_echo_n "(cached) " >&6
19852 if test x
$gcc_no_link = xyes
; then
19853 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19858 #ifdef HAVE_COMPLEX_H
19859 #include <complex.h>
19865 int (*ptr)() = (int (*)())hypotl;
19874 if ac_fn_c_try_link
"$LINENO"; then :
19875 gcc_cv_math_func_hypotl
=yes
19877 gcc_cv_math_func_hypotl
=no
19879 rm -f core conftest.err conftest.
$ac_objext \
19880 conftest
$ac_exeext conftest.
$ac_ext
19882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19883 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19884 if test $gcc_cv_math_func_hypotl = yes; then
19886 cat >>confdefs.h
<<_ACEOF
19887 #define HAVE_HYPOTL 1
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19896 $as_echo_n "checking for ldexpf... " >&6; }
19897 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19898 $as_echo_n "(cached) " >&6
19900 if test x
$gcc_no_link = xyes
; then
19901 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19906 #ifdef HAVE_COMPLEX_H
19907 #include <complex.h>
19913 int (*ptr)() = (int (*)())ldexpf;
19922 if ac_fn_c_try_link
"$LINENO"; then :
19923 gcc_cv_math_func_ldexpf
=yes
19925 gcc_cv_math_func_ldexpf
=no
19927 rm -f core conftest.err conftest.
$ac_objext \
19928 conftest
$ac_exeext conftest.
$ac_ext
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19931 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19932 if test $gcc_cv_math_func_ldexpf = yes; then
19934 cat >>confdefs.h
<<_ACEOF
19935 #define HAVE_LDEXPF 1
19943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19944 $as_echo_n "checking for ldexp... " >&6; }
19945 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19946 $as_echo_n "(cached) " >&6
19948 if test x
$gcc_no_link = xyes
; then
19949 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19952 /* end confdefs.h. */
19954 #ifdef HAVE_COMPLEX_H
19955 #include <complex.h>
19961 int (*ptr)() = (int (*)())ldexp;
19970 if ac_fn_c_try_link
"$LINENO"; then :
19971 gcc_cv_math_func_ldexp
=yes
19973 gcc_cv_math_func_ldexp
=no
19975 rm -f core conftest.err conftest.
$ac_objext \
19976 conftest
$ac_exeext conftest.
$ac_ext
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19979 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19980 if test $gcc_cv_math_func_ldexp = yes; then
19982 cat >>confdefs.h
<<_ACEOF
19983 #define HAVE_LDEXP 1
19991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19992 $as_echo_n "checking for ldexpl... " >&6; }
19993 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19994 $as_echo_n "(cached) " >&6
19996 if test x
$gcc_no_link = xyes
; then
19997 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20000 /* end confdefs.h. */
20002 #ifdef HAVE_COMPLEX_H
20003 #include <complex.h>
20009 int (*ptr)() = (int (*)())ldexpl;
20018 if ac_fn_c_try_link
"$LINENO"; then :
20019 gcc_cv_math_func_ldexpl
=yes
20021 gcc_cv_math_func_ldexpl
=no
20023 rm -f core conftest.err conftest.
$ac_objext \
20024 conftest
$ac_exeext conftest.
$ac_ext
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20027 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20028 if test $gcc_cv_math_func_ldexpl = yes; then
20030 cat >>confdefs.h
<<_ACEOF
20031 #define HAVE_LDEXPL 1
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20040 $as_echo_n "checking for logf... " >&6; }
20041 if test "${gcc_cv_math_func_logf+set}" = set; then :
20042 $as_echo_n "(cached) " >&6
20044 if test x
$gcc_no_link = xyes
; then
20045 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20050 #ifdef HAVE_COMPLEX_H
20051 #include <complex.h>
20057 int (*ptr)() = (int (*)())logf;
20066 if ac_fn_c_try_link
"$LINENO"; then :
20067 gcc_cv_math_func_logf
=yes
20069 gcc_cv_math_func_logf
=no
20071 rm -f core conftest.err conftest.
$ac_objext \
20072 conftest
$ac_exeext conftest.
$ac_ext
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20075 $as_echo "$gcc_cv_math_func_logf" >&6; }
20076 if test $gcc_cv_math_func_logf = yes; then
20078 cat >>confdefs.h
<<_ACEOF
20079 #define HAVE_LOGF 1
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20088 $as_echo_n "checking for log... " >&6; }
20089 if test "${gcc_cv_math_func_log+set}" = set; then :
20090 $as_echo_n "(cached) " >&6
20092 if test x
$gcc_no_link = xyes
; then
20093 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20096 /* end confdefs.h. */
20098 #ifdef HAVE_COMPLEX_H
20099 #include <complex.h>
20105 int (*ptr)() = (int (*)())log;
20114 if ac_fn_c_try_link
"$LINENO"; then :
20115 gcc_cv_math_func_log
=yes
20117 gcc_cv_math_func_log
=no
20119 rm -f core conftest.err conftest.
$ac_objext \
20120 conftest
$ac_exeext conftest.
$ac_ext
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20123 $as_echo "$gcc_cv_math_func_log" >&6; }
20124 if test $gcc_cv_math_func_log = yes; then
20126 cat >>confdefs.h
<<_ACEOF
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20136 $as_echo_n "checking for logl... " >&6; }
20137 if test "${gcc_cv_math_func_logl+set}" = set; then :
20138 $as_echo_n "(cached) " >&6
20140 if test x
$gcc_no_link = xyes
; then
20141 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20144 /* end confdefs.h. */
20146 #ifdef HAVE_COMPLEX_H
20147 #include <complex.h>
20153 int (*ptr)() = (int (*)())logl;
20162 if ac_fn_c_try_link
"$LINENO"; then :
20163 gcc_cv_math_func_logl
=yes
20165 gcc_cv_math_func_logl
=no
20167 rm -f core conftest.err conftest.
$ac_objext \
20168 conftest
$ac_exeext conftest.
$ac_ext
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20171 $as_echo "$gcc_cv_math_func_logl" >&6; }
20172 if test $gcc_cv_math_func_logl = yes; then
20174 cat >>confdefs.h
<<_ACEOF
20175 #define HAVE_LOGL 1
20183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20184 $as_echo_n "checking for clogf... " >&6; }
20185 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20186 $as_echo_n "(cached) " >&6
20188 if test x
$gcc_no_link = xyes
; then
20189 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20192 /* end confdefs.h. */
20194 #ifdef HAVE_COMPLEX_H
20195 #include <complex.h>
20201 int (*ptr)() = (int (*)())clogf;
20210 if ac_fn_c_try_link
"$LINENO"; then :
20211 gcc_cv_math_func_clogf
=yes
20213 gcc_cv_math_func_clogf
=no
20215 rm -f core conftest.err conftest.
$ac_objext \
20216 conftest
$ac_exeext conftest.
$ac_ext
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20219 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20220 if test $gcc_cv_math_func_clogf = yes; then
20222 cat >>confdefs.h
<<_ACEOF
20223 #define HAVE_CLOGF 1
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20232 $as_echo_n "checking for clog... " >&6; }
20233 if test "${gcc_cv_math_func_clog+set}" = set; then :
20234 $as_echo_n "(cached) " >&6
20236 if test x
$gcc_no_link = xyes
; then
20237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20240 /* end confdefs.h. */
20242 #ifdef HAVE_COMPLEX_H
20243 #include <complex.h>
20249 int (*ptr)() = (int (*)())clog;
20258 if ac_fn_c_try_link
"$LINENO"; then :
20259 gcc_cv_math_func_clog
=yes
20261 gcc_cv_math_func_clog
=no
20263 rm -f core conftest.err conftest.
$ac_objext \
20264 conftest
$ac_exeext conftest.
$ac_ext
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20267 $as_echo "$gcc_cv_math_func_clog" >&6; }
20268 if test $gcc_cv_math_func_clog = yes; then
20270 cat >>confdefs.h
<<_ACEOF
20271 #define HAVE_CLOG 1
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20280 $as_echo_n "checking for clogl... " >&6; }
20281 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20282 $as_echo_n "(cached) " >&6
20284 if test x
$gcc_no_link = xyes
; then
20285 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20288 /* end confdefs.h. */
20290 #ifdef HAVE_COMPLEX_H
20291 #include <complex.h>
20297 int (*ptr)() = (int (*)())clogl;
20306 if ac_fn_c_try_link
"$LINENO"; then :
20307 gcc_cv_math_func_clogl
=yes
20309 gcc_cv_math_func_clogl
=no
20311 rm -f core conftest.err conftest.
$ac_objext \
20312 conftest
$ac_exeext conftest.
$ac_ext
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20315 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20316 if test $gcc_cv_math_func_clogl = yes; then
20318 cat >>confdefs.h
<<_ACEOF
20319 #define HAVE_CLOGL 1
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20328 $as_echo_n "checking for log10f... " >&6; }
20329 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20330 $as_echo_n "(cached) " >&6
20332 if test x
$gcc_no_link = xyes
; then
20333 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20336 /* end confdefs.h. */
20338 #ifdef HAVE_COMPLEX_H
20339 #include <complex.h>
20345 int (*ptr)() = (int (*)())log10f;
20354 if ac_fn_c_try_link
"$LINENO"; then :
20355 gcc_cv_math_func_log10f
=yes
20357 gcc_cv_math_func_log10f
=no
20359 rm -f core conftest.err conftest.
$ac_objext \
20360 conftest
$ac_exeext conftest.
$ac_ext
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20363 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20364 if test $gcc_cv_math_func_log10f = yes; then
20366 cat >>confdefs.h
<<_ACEOF
20367 #define HAVE_LOG10F 1
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20376 $as_echo_n "checking for log10... " >&6; }
20377 if test "${gcc_cv_math_func_log10+set}" = set; then :
20378 $as_echo_n "(cached) " >&6
20380 if test x
$gcc_no_link = xyes
; then
20381 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h. */
20386 #ifdef HAVE_COMPLEX_H
20387 #include <complex.h>
20393 int (*ptr)() = (int (*)())log10;
20402 if ac_fn_c_try_link
"$LINENO"; then :
20403 gcc_cv_math_func_log10
=yes
20405 gcc_cv_math_func_log10
=no
20407 rm -f core conftest.err conftest.
$ac_objext \
20408 conftest
$ac_exeext conftest.
$ac_ext
20410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20411 $as_echo "$gcc_cv_math_func_log10" >&6; }
20412 if test $gcc_cv_math_func_log10 = yes; then
20414 cat >>confdefs.h
<<_ACEOF
20415 #define HAVE_LOG10 1
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20424 $as_echo_n "checking for log10l... " >&6; }
20425 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20426 $as_echo_n "(cached) " >&6
20428 if test x
$gcc_no_link = xyes
; then
20429 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20432 /* end confdefs.h. */
20434 #ifdef HAVE_COMPLEX_H
20435 #include <complex.h>
20441 int (*ptr)() = (int (*)())log10l;
20450 if ac_fn_c_try_link
"$LINENO"; then :
20451 gcc_cv_math_func_log10l
=yes
20453 gcc_cv_math_func_log10l
=no
20455 rm -f core conftest.err conftest.
$ac_objext \
20456 conftest
$ac_exeext conftest.
$ac_ext
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20459 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20460 if test $gcc_cv_math_func_log10l = yes; then
20462 cat >>confdefs.h
<<_ACEOF
20463 #define HAVE_LOG10L 1
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20472 $as_echo_n "checking for clog10f... " >&6; }
20473 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20474 $as_echo_n "(cached) " >&6
20476 if test x
$gcc_no_link = xyes
; then
20477 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20480 /* end confdefs.h. */
20482 #ifdef HAVE_COMPLEX_H
20483 #include <complex.h>
20489 int (*ptr)() = (int (*)())clog10f;
20498 if ac_fn_c_try_link
"$LINENO"; then :
20499 gcc_cv_math_func_clog10f
=yes
20501 gcc_cv_math_func_clog10f
=no
20503 rm -f core conftest.err conftest.
$ac_objext \
20504 conftest
$ac_exeext conftest.
$ac_ext
20506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20507 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20508 if test $gcc_cv_math_func_clog10f = yes; then
20510 cat >>confdefs.h
<<_ACEOF
20511 #define HAVE_CLOG10F 1
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20520 $as_echo_n "checking for clog10... " >&6; }
20521 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20522 $as_echo_n "(cached) " >&6
20524 if test x
$gcc_no_link = xyes
; then
20525 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20528 /* end confdefs.h. */
20530 #ifdef HAVE_COMPLEX_H
20531 #include <complex.h>
20537 int (*ptr)() = (int (*)())clog10;
20546 if ac_fn_c_try_link
"$LINENO"; then :
20547 gcc_cv_math_func_clog10
=yes
20549 gcc_cv_math_func_clog10
=no
20551 rm -f core conftest.err conftest.
$ac_objext \
20552 conftest
$ac_exeext conftest.
$ac_ext
20554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20555 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20556 if test $gcc_cv_math_func_clog10 = yes; then
20558 cat >>confdefs.h
<<_ACEOF
20559 #define HAVE_CLOG10 1
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20568 $as_echo_n "checking for clog10l... " >&6; }
20569 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20570 $as_echo_n "(cached) " >&6
20572 if test x
$gcc_no_link = xyes
; then
20573 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20576 /* end confdefs.h. */
20578 #ifdef HAVE_COMPLEX_H
20579 #include <complex.h>
20585 int (*ptr)() = (int (*)())clog10l;
20594 if ac_fn_c_try_link
"$LINENO"; then :
20595 gcc_cv_math_func_clog10l
=yes
20597 gcc_cv_math_func_clog10l
=no
20599 rm -f core conftest.err conftest.
$ac_objext \
20600 conftest
$ac_exeext conftest.
$ac_ext
20602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20603 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20604 if test $gcc_cv_math_func_clog10l = yes; then
20606 cat >>confdefs.h
<<_ACEOF
20607 #define HAVE_CLOG10L 1
20615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20616 $as_echo_n "checking for nextafterf... " >&6; }
20617 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20618 $as_echo_n "(cached) " >&6
20620 if test x
$gcc_no_link = xyes
; then
20621 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20626 #ifdef HAVE_COMPLEX_H
20627 #include <complex.h>
20633 int (*ptr)() = (int (*)())nextafterf;
20642 if ac_fn_c_try_link
"$LINENO"; then :
20643 gcc_cv_math_func_nextafterf
=yes
20645 gcc_cv_math_func_nextafterf
=no
20647 rm -f core conftest.err conftest.
$ac_objext \
20648 conftest
$ac_exeext conftest.
$ac_ext
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20651 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20652 if test $gcc_cv_math_func_nextafterf = yes; then
20654 cat >>confdefs.h
<<_ACEOF
20655 #define HAVE_NEXTAFTERF 1
20663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20664 $as_echo_n "checking for nextafter... " >&6; }
20665 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20666 $as_echo_n "(cached) " >&6
20668 if test x
$gcc_no_link = xyes
; then
20669 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20672 /* end confdefs.h. */
20674 #ifdef HAVE_COMPLEX_H
20675 #include <complex.h>
20681 int (*ptr)() = (int (*)())nextafter;
20690 if ac_fn_c_try_link
"$LINENO"; then :
20691 gcc_cv_math_func_nextafter
=yes
20693 gcc_cv_math_func_nextafter
=no
20695 rm -f core conftest.err conftest.
$ac_objext \
20696 conftest
$ac_exeext conftest.
$ac_ext
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20699 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20700 if test $gcc_cv_math_func_nextafter = yes; then
20702 cat >>confdefs.h
<<_ACEOF
20703 #define HAVE_NEXTAFTER 1
20711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20712 $as_echo_n "checking for nextafterl... " >&6; }
20713 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20714 $as_echo_n "(cached) " >&6
20716 if test x
$gcc_no_link = xyes
; then
20717 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h. */
20722 #ifdef HAVE_COMPLEX_H
20723 #include <complex.h>
20729 int (*ptr)() = (int (*)())nextafterl;
20738 if ac_fn_c_try_link
"$LINENO"; then :
20739 gcc_cv_math_func_nextafterl
=yes
20741 gcc_cv_math_func_nextafterl
=no
20743 rm -f core conftest.err conftest.
$ac_objext \
20744 conftest
$ac_exeext conftest.
$ac_ext
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20747 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20748 if test $gcc_cv_math_func_nextafterl = yes; then
20750 cat >>confdefs.h
<<_ACEOF
20751 #define HAVE_NEXTAFTERL 1
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20760 $as_echo_n "checking for powf... " >&6; }
20761 if test "${gcc_cv_math_func_powf+set}" = set; then :
20762 $as_echo_n "(cached) " >&6
20764 if test x
$gcc_no_link = xyes
; then
20765 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20770 #ifdef HAVE_COMPLEX_H
20771 #include <complex.h>
20777 int (*ptr)() = (int (*)())powf;
20786 if ac_fn_c_try_link
"$LINENO"; then :
20787 gcc_cv_math_func_powf
=yes
20789 gcc_cv_math_func_powf
=no
20791 rm -f core conftest.err conftest.
$ac_objext \
20792 conftest
$ac_exeext conftest.
$ac_ext
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20795 $as_echo "$gcc_cv_math_func_powf" >&6; }
20796 if test $gcc_cv_math_func_powf = yes; then
20798 cat >>confdefs.h
<<_ACEOF
20799 #define HAVE_POWF 1
20807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20808 $as_echo_n "checking for pow... " >&6; }
20809 if test "${gcc_cv_math_func_pow+set}" = set; then :
20810 $as_echo_n "(cached) " >&6
20812 if test x
$gcc_no_link = xyes
; then
20813 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20816 /* end confdefs.h. */
20818 #ifdef HAVE_COMPLEX_H
20819 #include <complex.h>
20825 int (*ptr)() = (int (*)())pow;
20834 if ac_fn_c_try_link
"$LINENO"; then :
20835 gcc_cv_math_func_pow
=yes
20837 gcc_cv_math_func_pow
=no
20839 rm -f core conftest.err conftest.
$ac_objext \
20840 conftest
$ac_exeext conftest.
$ac_ext
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20843 $as_echo "$gcc_cv_math_func_pow" >&6; }
20844 if test $gcc_cv_math_func_pow = yes; then
20846 cat >>confdefs.h
<<_ACEOF
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20856 $as_echo_n "checking for powl... " >&6; }
20857 if test "${gcc_cv_math_func_powl+set}" = set; then :
20858 $as_echo_n "(cached) " >&6
20860 if test x
$gcc_no_link = xyes
; then
20861 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20866 #ifdef HAVE_COMPLEX_H
20867 #include <complex.h>
20873 int (*ptr)() = (int (*)())powl;
20882 if ac_fn_c_try_link
"$LINENO"; then :
20883 gcc_cv_math_func_powl
=yes
20885 gcc_cv_math_func_powl
=no
20887 rm -f core conftest.err conftest.
$ac_objext \
20888 conftest
$ac_exeext conftest.
$ac_ext
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20891 $as_echo "$gcc_cv_math_func_powl" >&6; }
20892 if test $gcc_cv_math_func_powl = yes; then
20894 cat >>confdefs.h
<<_ACEOF
20895 #define HAVE_POWL 1
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20904 $as_echo_n "checking for cpowf... " >&6; }
20905 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20906 $as_echo_n "(cached) " >&6
20908 if test x
$gcc_no_link = xyes
; then
20909 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20912 /* end confdefs.h. */
20914 #ifdef HAVE_COMPLEX_H
20915 #include <complex.h>
20921 int (*ptr)() = (int (*)())cpowf;
20930 if ac_fn_c_try_link
"$LINENO"; then :
20931 gcc_cv_math_func_cpowf
=yes
20933 gcc_cv_math_func_cpowf
=no
20935 rm -f core conftest.err conftest.
$ac_objext \
20936 conftest
$ac_exeext conftest.
$ac_ext
20938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20939 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20940 if test $gcc_cv_math_func_cpowf = yes; then
20942 cat >>confdefs.h
<<_ACEOF
20943 #define HAVE_CPOWF 1
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20952 $as_echo_n "checking for cpow... " >&6; }
20953 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20954 $as_echo_n "(cached) " >&6
20956 if test x
$gcc_no_link = xyes
; then
20957 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20962 #ifdef HAVE_COMPLEX_H
20963 #include <complex.h>
20969 int (*ptr)() = (int (*)())cpow;
20978 if ac_fn_c_try_link
"$LINENO"; then :
20979 gcc_cv_math_func_cpow
=yes
20981 gcc_cv_math_func_cpow
=no
20983 rm -f core conftest.err conftest.
$ac_objext \
20984 conftest
$ac_exeext conftest.
$ac_ext
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20987 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20988 if test $gcc_cv_math_func_cpow = yes; then
20990 cat >>confdefs.h
<<_ACEOF
20991 #define HAVE_CPOW 1
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21000 $as_echo_n "checking for cpowl... " >&6; }
21001 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21002 $as_echo_n "(cached) " >&6
21004 if test x
$gcc_no_link = xyes
; then
21005 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h. */
21010 #ifdef HAVE_COMPLEX_H
21011 #include <complex.h>
21017 int (*ptr)() = (int (*)())cpowl;
21026 if ac_fn_c_try_link
"$LINENO"; then :
21027 gcc_cv_math_func_cpowl
=yes
21029 gcc_cv_math_func_cpowl
=no
21031 rm -f core conftest.err conftest.
$ac_objext \
21032 conftest
$ac_exeext conftest.
$ac_ext
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21035 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21036 if test $gcc_cv_math_func_cpowl = yes; then
21038 cat >>confdefs.h
<<_ACEOF
21039 #define HAVE_CPOWL 1
21047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21048 $as_echo_n "checking for roundf... " >&6; }
21049 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21050 $as_echo_n "(cached) " >&6
21052 if test x
$gcc_no_link = xyes
; then
21053 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21056 /* end confdefs.h. */
21058 #ifdef HAVE_COMPLEX_H
21059 #include <complex.h>
21065 int (*ptr)() = (int (*)())roundf;
21074 if ac_fn_c_try_link
"$LINENO"; then :
21075 gcc_cv_math_func_roundf
=yes
21077 gcc_cv_math_func_roundf
=no
21079 rm -f core conftest.err conftest.
$ac_objext \
21080 conftest
$ac_exeext conftest.
$ac_ext
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21083 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21084 if test $gcc_cv_math_func_roundf = yes; then
21086 cat >>confdefs.h
<<_ACEOF
21087 #define HAVE_ROUNDF 1
21095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21096 $as_echo_n "checking for round... " >&6; }
21097 if test "${gcc_cv_math_func_round+set}" = set; then :
21098 $as_echo_n "(cached) " >&6
21100 if test x
$gcc_no_link = xyes
; then
21101 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21106 #ifdef HAVE_COMPLEX_H
21107 #include <complex.h>
21113 int (*ptr)() = (int (*)())round;
21122 if ac_fn_c_try_link
"$LINENO"; then :
21123 gcc_cv_math_func_round
=yes
21125 gcc_cv_math_func_round
=no
21127 rm -f core conftest.err conftest.
$ac_objext \
21128 conftest
$ac_exeext conftest.
$ac_ext
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21131 $as_echo "$gcc_cv_math_func_round" >&6; }
21132 if test $gcc_cv_math_func_round = yes; then
21134 cat >>confdefs.h
<<_ACEOF
21135 #define HAVE_ROUND 1
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21144 $as_echo_n "checking for roundl... " >&6; }
21145 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21146 $as_echo_n "(cached) " >&6
21148 if test x
$gcc_no_link = xyes
; then
21149 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21152 /* end confdefs.h. */
21154 #ifdef HAVE_COMPLEX_H
21155 #include <complex.h>
21161 int (*ptr)() = (int (*)())roundl;
21170 if ac_fn_c_try_link
"$LINENO"; then :
21171 gcc_cv_math_func_roundl
=yes
21173 gcc_cv_math_func_roundl
=no
21175 rm -f core conftest.err conftest.
$ac_objext \
21176 conftest
$ac_exeext conftest.
$ac_ext
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21179 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21180 if test $gcc_cv_math_func_roundl = yes; then
21182 cat >>confdefs.h
<<_ACEOF
21183 #define HAVE_ROUNDL 1
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21192 $as_echo_n "checking for lroundf... " >&6; }
21193 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21194 $as_echo_n "(cached) " >&6
21196 if test x
$gcc_no_link = xyes
; then
21197 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21200 /* end confdefs.h. */
21202 #ifdef HAVE_COMPLEX_H
21203 #include <complex.h>
21209 int (*ptr)() = (int (*)())lroundf;
21218 if ac_fn_c_try_link
"$LINENO"; then :
21219 gcc_cv_math_func_lroundf
=yes
21221 gcc_cv_math_func_lroundf
=no
21223 rm -f core conftest.err conftest.
$ac_objext \
21224 conftest
$ac_exeext conftest.
$ac_ext
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21227 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21228 if test $gcc_cv_math_func_lroundf = yes; then
21230 cat >>confdefs.h
<<_ACEOF
21231 #define HAVE_LROUNDF 1
21239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21240 $as_echo_n "checking for lround... " >&6; }
21241 if test "${gcc_cv_math_func_lround+set}" = set; then :
21242 $as_echo_n "(cached) " >&6
21244 if test x
$gcc_no_link = xyes
; then
21245 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21250 #ifdef HAVE_COMPLEX_H
21251 #include <complex.h>
21257 int (*ptr)() = (int (*)())lround;
21266 if ac_fn_c_try_link
"$LINENO"; then :
21267 gcc_cv_math_func_lround
=yes
21269 gcc_cv_math_func_lround
=no
21271 rm -f core conftest.err conftest.
$ac_objext \
21272 conftest
$ac_exeext conftest.
$ac_ext
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21275 $as_echo "$gcc_cv_math_func_lround" >&6; }
21276 if test $gcc_cv_math_func_lround = yes; then
21278 cat >>confdefs.h
<<_ACEOF
21279 #define HAVE_LROUND 1
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21288 $as_echo_n "checking for lroundl... " >&6; }
21289 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21290 $as_echo_n "(cached) " >&6
21292 if test x
$gcc_no_link = xyes
; then
21293 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21296 /* end confdefs.h. */
21298 #ifdef HAVE_COMPLEX_H
21299 #include <complex.h>
21305 int (*ptr)() = (int (*)())lroundl;
21314 if ac_fn_c_try_link
"$LINENO"; then :
21315 gcc_cv_math_func_lroundl
=yes
21317 gcc_cv_math_func_lroundl
=no
21319 rm -f core conftest.err conftest.
$ac_objext \
21320 conftest
$ac_exeext conftest.
$ac_ext
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21323 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21324 if test $gcc_cv_math_func_lroundl = yes; then
21326 cat >>confdefs.h
<<_ACEOF
21327 #define HAVE_LROUNDL 1
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21336 $as_echo_n "checking for llroundf... " >&6; }
21337 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21338 $as_echo_n "(cached) " >&6
21340 if test x
$gcc_no_link = xyes
; then
21341 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21344 /* end confdefs.h. */
21346 #ifdef HAVE_COMPLEX_H
21347 #include <complex.h>
21353 int (*ptr)() = (int (*)())llroundf;
21362 if ac_fn_c_try_link
"$LINENO"; then :
21363 gcc_cv_math_func_llroundf
=yes
21365 gcc_cv_math_func_llroundf
=no
21367 rm -f core conftest.err conftest.
$ac_objext \
21368 conftest
$ac_exeext conftest.
$ac_ext
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21371 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21372 if test $gcc_cv_math_func_llroundf = yes; then
21374 cat >>confdefs.h
<<_ACEOF
21375 #define HAVE_LLROUNDF 1
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21384 $as_echo_n "checking for llround... " >&6; }
21385 if test "${gcc_cv_math_func_llround+set}" = set; then :
21386 $as_echo_n "(cached) " >&6
21388 if test x
$gcc_no_link = xyes
; then
21389 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21392 /* end confdefs.h. */
21394 #ifdef HAVE_COMPLEX_H
21395 #include <complex.h>
21401 int (*ptr)() = (int (*)())llround;
21410 if ac_fn_c_try_link
"$LINENO"; then :
21411 gcc_cv_math_func_llround
=yes
21413 gcc_cv_math_func_llround
=no
21415 rm -f core conftest.err conftest.
$ac_objext \
21416 conftest
$ac_exeext conftest.
$ac_ext
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21419 $as_echo "$gcc_cv_math_func_llround" >&6; }
21420 if test $gcc_cv_math_func_llround = yes; then
21422 cat >>confdefs.h
<<_ACEOF
21423 #define HAVE_LLROUND 1
21431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21432 $as_echo_n "checking for llroundl... " >&6; }
21433 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21434 $as_echo_n "(cached) " >&6
21436 if test x
$gcc_no_link = xyes
; then
21437 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21440 /* end confdefs.h. */
21442 #ifdef HAVE_COMPLEX_H
21443 #include <complex.h>
21449 int (*ptr)() = (int (*)())llroundl;
21458 if ac_fn_c_try_link
"$LINENO"; then :
21459 gcc_cv_math_func_llroundl
=yes
21461 gcc_cv_math_func_llroundl
=no
21463 rm -f core conftest.err conftest.
$ac_objext \
21464 conftest
$ac_exeext conftest.
$ac_ext
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21467 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21468 if test $gcc_cv_math_func_llroundl = yes; then
21470 cat >>confdefs.h
<<_ACEOF
21471 #define HAVE_LLROUNDL 1
21479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21480 $as_echo_n "checking for scalbnf... " >&6; }
21481 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21482 $as_echo_n "(cached) " >&6
21484 if test x
$gcc_no_link = xyes
; then
21485 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21490 #ifdef HAVE_COMPLEX_H
21491 #include <complex.h>
21497 int (*ptr)() = (int (*)())scalbnf;
21506 if ac_fn_c_try_link
"$LINENO"; then :
21507 gcc_cv_math_func_scalbnf
=yes
21509 gcc_cv_math_func_scalbnf
=no
21511 rm -f core conftest.err conftest.
$ac_objext \
21512 conftest
$ac_exeext conftest.
$ac_ext
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21515 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21516 if test $gcc_cv_math_func_scalbnf = yes; then
21518 cat >>confdefs.h
<<_ACEOF
21519 #define HAVE_SCALBNF 1
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21528 $as_echo_n "checking for scalbn... " >&6; }
21529 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21530 $as_echo_n "(cached) " >&6
21532 if test x
$gcc_no_link = xyes
; then
21533 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21536 /* end confdefs.h. */
21538 #ifdef HAVE_COMPLEX_H
21539 #include <complex.h>
21545 int (*ptr)() = (int (*)())scalbn;
21554 if ac_fn_c_try_link
"$LINENO"; then :
21555 gcc_cv_math_func_scalbn
=yes
21557 gcc_cv_math_func_scalbn
=no
21559 rm -f core conftest.err conftest.
$ac_objext \
21560 conftest
$ac_exeext conftest.
$ac_ext
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21563 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21564 if test $gcc_cv_math_func_scalbn = yes; then
21566 cat >>confdefs.h
<<_ACEOF
21567 #define HAVE_SCALBN 1
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21576 $as_echo_n "checking for scalbnl... " >&6; }
21577 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21578 $as_echo_n "(cached) " >&6
21580 if test x
$gcc_no_link = xyes
; then
21581 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21584 /* end confdefs.h. */
21586 #ifdef HAVE_COMPLEX_H
21587 #include <complex.h>
21593 int (*ptr)() = (int (*)())scalbnl;
21602 if ac_fn_c_try_link
"$LINENO"; then :
21603 gcc_cv_math_func_scalbnl
=yes
21605 gcc_cv_math_func_scalbnl
=no
21607 rm -f core conftest.err conftest.
$ac_objext \
21608 conftest
$ac_exeext conftest.
$ac_ext
21610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21611 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21612 if test $gcc_cv_math_func_scalbnl = yes; then
21614 cat >>confdefs.h
<<_ACEOF
21615 #define HAVE_SCALBNL 1
21623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21624 $as_echo_n "checking for sinf... " >&6; }
21625 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21626 $as_echo_n "(cached) " >&6
21628 if test x
$gcc_no_link = xyes
; then
21629 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21632 /* end confdefs.h. */
21634 #ifdef HAVE_COMPLEX_H
21635 #include <complex.h>
21641 int (*ptr)() = (int (*)())sinf;
21650 if ac_fn_c_try_link
"$LINENO"; then :
21651 gcc_cv_math_func_sinf
=yes
21653 gcc_cv_math_func_sinf
=no
21655 rm -f core conftest.err conftest.
$ac_objext \
21656 conftest
$ac_exeext conftest.
$ac_ext
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21659 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21660 if test $gcc_cv_math_func_sinf = yes; then
21662 cat >>confdefs.h
<<_ACEOF
21663 #define HAVE_SINF 1
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21672 $as_echo_n "checking for sin... " >&6; }
21673 if test "${gcc_cv_math_func_sin+set}" = set; then :
21674 $as_echo_n "(cached) " >&6
21676 if test x
$gcc_no_link = xyes
; then
21677 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21680 /* end confdefs.h. */
21682 #ifdef HAVE_COMPLEX_H
21683 #include <complex.h>
21689 int (*ptr)() = (int (*)())sin;
21698 if ac_fn_c_try_link
"$LINENO"; then :
21699 gcc_cv_math_func_sin
=yes
21701 gcc_cv_math_func_sin
=no
21703 rm -f core conftest.err conftest.
$ac_objext \
21704 conftest
$ac_exeext conftest.
$ac_ext
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21707 $as_echo "$gcc_cv_math_func_sin" >&6; }
21708 if test $gcc_cv_math_func_sin = yes; then
21710 cat >>confdefs.h
<<_ACEOF
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21720 $as_echo_n "checking for sinl... " >&6; }
21721 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21722 $as_echo_n "(cached) " >&6
21724 if test x
$gcc_no_link = xyes
; then
21725 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21728 /* end confdefs.h. */
21730 #ifdef HAVE_COMPLEX_H
21731 #include <complex.h>
21737 int (*ptr)() = (int (*)())sinl;
21746 if ac_fn_c_try_link
"$LINENO"; then :
21747 gcc_cv_math_func_sinl
=yes
21749 gcc_cv_math_func_sinl
=no
21751 rm -f core conftest.err conftest.
$ac_objext \
21752 conftest
$ac_exeext conftest.
$ac_ext
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21755 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21756 if test $gcc_cv_math_func_sinl = yes; then
21758 cat >>confdefs.h
<<_ACEOF
21759 #define HAVE_SINL 1
21767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21768 $as_echo_n "checking for csinf... " >&6; }
21769 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21770 $as_echo_n "(cached) " >&6
21772 if test x
$gcc_no_link = xyes
; then
21773 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21776 /* end confdefs.h. */
21778 #ifdef HAVE_COMPLEX_H
21779 #include <complex.h>
21785 int (*ptr)() = (int (*)())csinf;
21794 if ac_fn_c_try_link
"$LINENO"; then :
21795 gcc_cv_math_func_csinf
=yes
21797 gcc_cv_math_func_csinf
=no
21799 rm -f core conftest.err conftest.
$ac_objext \
21800 conftest
$ac_exeext conftest.
$ac_ext
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21803 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21804 if test $gcc_cv_math_func_csinf = yes; then
21806 cat >>confdefs.h
<<_ACEOF
21807 #define HAVE_CSINF 1
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21816 $as_echo_n "checking for csin... " >&6; }
21817 if test "${gcc_cv_math_func_csin+set}" = set; then :
21818 $as_echo_n "(cached) " >&6
21820 if test x
$gcc_no_link = xyes
; then
21821 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21824 /* end confdefs.h. */
21826 #ifdef HAVE_COMPLEX_H
21827 #include <complex.h>
21833 int (*ptr)() = (int (*)())csin;
21842 if ac_fn_c_try_link
"$LINENO"; then :
21843 gcc_cv_math_func_csin
=yes
21845 gcc_cv_math_func_csin
=no
21847 rm -f core conftest.err conftest.
$ac_objext \
21848 conftest
$ac_exeext conftest.
$ac_ext
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21851 $as_echo "$gcc_cv_math_func_csin" >&6; }
21852 if test $gcc_cv_math_func_csin = yes; then
21854 cat >>confdefs.h
<<_ACEOF
21855 #define HAVE_CSIN 1
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21864 $as_echo_n "checking for csinl... " >&6; }
21865 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21866 $as_echo_n "(cached) " >&6
21868 if test x
$gcc_no_link = xyes
; then
21869 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21872 /* end confdefs.h. */
21874 #ifdef HAVE_COMPLEX_H
21875 #include <complex.h>
21881 int (*ptr)() = (int (*)())csinl;
21890 if ac_fn_c_try_link
"$LINENO"; then :
21891 gcc_cv_math_func_csinl
=yes
21893 gcc_cv_math_func_csinl
=no
21895 rm -f core conftest.err conftest.
$ac_objext \
21896 conftest
$ac_exeext conftest.
$ac_ext
21898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21899 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21900 if test $gcc_cv_math_func_csinl = yes; then
21902 cat >>confdefs.h
<<_ACEOF
21903 #define HAVE_CSINL 1
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21912 $as_echo_n "checking for sinhf... " >&6; }
21913 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21914 $as_echo_n "(cached) " >&6
21916 if test x
$gcc_no_link = xyes
; then
21917 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21920 /* end confdefs.h. */
21922 #ifdef HAVE_COMPLEX_H
21923 #include <complex.h>
21929 int (*ptr)() = (int (*)())sinhf;
21938 if ac_fn_c_try_link
"$LINENO"; then :
21939 gcc_cv_math_func_sinhf
=yes
21941 gcc_cv_math_func_sinhf
=no
21943 rm -f core conftest.err conftest.
$ac_objext \
21944 conftest
$ac_exeext conftest.
$ac_ext
21946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21947 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21948 if test $gcc_cv_math_func_sinhf = yes; then
21950 cat >>confdefs.h
<<_ACEOF
21951 #define HAVE_SINHF 1
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21960 $as_echo_n "checking for sinh... " >&6; }
21961 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21962 $as_echo_n "(cached) " >&6
21964 if test x
$gcc_no_link = xyes
; then
21965 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21968 /* end confdefs.h. */
21970 #ifdef HAVE_COMPLEX_H
21971 #include <complex.h>
21977 int (*ptr)() = (int (*)())sinh;
21986 if ac_fn_c_try_link
"$LINENO"; then :
21987 gcc_cv_math_func_sinh
=yes
21989 gcc_cv_math_func_sinh
=no
21991 rm -f core conftest.err conftest.
$ac_objext \
21992 conftest
$ac_exeext conftest.
$ac_ext
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21995 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21996 if test $gcc_cv_math_func_sinh = yes; then
21998 cat >>confdefs.h
<<_ACEOF
21999 #define HAVE_SINH 1
22007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22008 $as_echo_n "checking for sinhl... " >&6; }
22009 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22010 $as_echo_n "(cached) " >&6
22012 if test x
$gcc_no_link = xyes
; then
22013 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22016 /* end confdefs.h. */
22018 #ifdef HAVE_COMPLEX_H
22019 #include <complex.h>
22025 int (*ptr)() = (int (*)())sinhl;
22034 if ac_fn_c_try_link
"$LINENO"; then :
22035 gcc_cv_math_func_sinhl
=yes
22037 gcc_cv_math_func_sinhl
=no
22039 rm -f core conftest.err conftest.
$ac_objext \
22040 conftest
$ac_exeext conftest.
$ac_ext
22042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22043 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22044 if test $gcc_cv_math_func_sinhl = yes; then
22046 cat >>confdefs.h
<<_ACEOF
22047 #define HAVE_SINHL 1
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22056 $as_echo_n "checking for csinhf... " >&6; }
22057 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22058 $as_echo_n "(cached) " >&6
22060 if test x
$gcc_no_link = xyes
; then
22061 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22064 /* end confdefs.h. */
22066 #ifdef HAVE_COMPLEX_H
22067 #include <complex.h>
22073 int (*ptr)() = (int (*)())csinhf;
22082 if ac_fn_c_try_link
"$LINENO"; then :
22083 gcc_cv_math_func_csinhf
=yes
22085 gcc_cv_math_func_csinhf
=no
22087 rm -f core conftest.err conftest.
$ac_objext \
22088 conftest
$ac_exeext conftest.
$ac_ext
22090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22091 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22092 if test $gcc_cv_math_func_csinhf = yes; then
22094 cat >>confdefs.h
<<_ACEOF
22095 #define HAVE_CSINHF 1
22103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22104 $as_echo_n "checking for csinh... " >&6; }
22105 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22106 $as_echo_n "(cached) " >&6
22108 if test x
$gcc_no_link = xyes
; then
22109 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22112 /* end confdefs.h. */
22114 #ifdef HAVE_COMPLEX_H
22115 #include <complex.h>
22121 int (*ptr)() = (int (*)())csinh;
22130 if ac_fn_c_try_link
"$LINENO"; then :
22131 gcc_cv_math_func_csinh
=yes
22133 gcc_cv_math_func_csinh
=no
22135 rm -f core conftest.err conftest.
$ac_objext \
22136 conftest
$ac_exeext conftest.
$ac_ext
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22139 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22140 if test $gcc_cv_math_func_csinh = yes; then
22142 cat >>confdefs.h
<<_ACEOF
22143 #define HAVE_CSINH 1
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22152 $as_echo_n "checking for csinhl... " >&6; }
22153 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22154 $as_echo_n "(cached) " >&6
22156 if test x
$gcc_no_link = xyes
; then
22157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22160 /* end confdefs.h. */
22162 #ifdef HAVE_COMPLEX_H
22163 #include <complex.h>
22169 int (*ptr)() = (int (*)())csinhl;
22178 if ac_fn_c_try_link
"$LINENO"; then :
22179 gcc_cv_math_func_csinhl
=yes
22181 gcc_cv_math_func_csinhl
=no
22183 rm -f core conftest.err conftest.
$ac_objext \
22184 conftest
$ac_exeext conftest.
$ac_ext
22186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22187 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22188 if test $gcc_cv_math_func_csinhl = yes; then
22190 cat >>confdefs.h
<<_ACEOF
22191 #define HAVE_CSINHL 1
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22200 $as_echo_n "checking for sqrtf... " >&6; }
22201 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22202 $as_echo_n "(cached) " >&6
22204 if test x
$gcc_no_link = xyes
; then
22205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22208 /* end confdefs.h. */
22210 #ifdef HAVE_COMPLEX_H
22211 #include <complex.h>
22217 int (*ptr)() = (int (*)())sqrtf;
22226 if ac_fn_c_try_link
"$LINENO"; then :
22227 gcc_cv_math_func_sqrtf
=yes
22229 gcc_cv_math_func_sqrtf
=no
22231 rm -f core conftest.err conftest.
$ac_objext \
22232 conftest
$ac_exeext conftest.
$ac_ext
22234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22235 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22236 if test $gcc_cv_math_func_sqrtf = yes; then
22238 cat >>confdefs.h
<<_ACEOF
22239 #define HAVE_SQRTF 1
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22248 $as_echo_n "checking for sqrt... " >&6; }
22249 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22250 $as_echo_n "(cached) " >&6
22252 if test x
$gcc_no_link = xyes
; then
22253 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22256 /* end confdefs.h. */
22258 #ifdef HAVE_COMPLEX_H
22259 #include <complex.h>
22265 int (*ptr)() = (int (*)())sqrt;
22274 if ac_fn_c_try_link
"$LINENO"; then :
22275 gcc_cv_math_func_sqrt
=yes
22277 gcc_cv_math_func_sqrt
=no
22279 rm -f core conftest.err conftest.
$ac_objext \
22280 conftest
$ac_exeext conftest.
$ac_ext
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22283 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22284 if test $gcc_cv_math_func_sqrt = yes; then
22286 cat >>confdefs.h
<<_ACEOF
22287 #define HAVE_SQRT 1
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22296 $as_echo_n "checking for sqrtl... " >&6; }
22297 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22298 $as_echo_n "(cached) " >&6
22300 if test x
$gcc_no_link = xyes
; then
22301 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22304 /* end confdefs.h. */
22306 #ifdef HAVE_COMPLEX_H
22307 #include <complex.h>
22313 int (*ptr)() = (int (*)())sqrtl;
22322 if ac_fn_c_try_link
"$LINENO"; then :
22323 gcc_cv_math_func_sqrtl
=yes
22325 gcc_cv_math_func_sqrtl
=no
22327 rm -f core conftest.err conftest.
$ac_objext \
22328 conftest
$ac_exeext conftest.
$ac_ext
22330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22331 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22332 if test $gcc_cv_math_func_sqrtl = yes; then
22334 cat >>confdefs.h
<<_ACEOF
22335 #define HAVE_SQRTL 1
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22344 $as_echo_n "checking for csqrtf... " >&6; }
22345 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22346 $as_echo_n "(cached) " >&6
22348 if test x
$gcc_no_link = xyes
; then
22349 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22352 /* end confdefs.h. */
22354 #ifdef HAVE_COMPLEX_H
22355 #include <complex.h>
22361 int (*ptr)() = (int (*)())csqrtf;
22370 if ac_fn_c_try_link
"$LINENO"; then :
22371 gcc_cv_math_func_csqrtf
=yes
22373 gcc_cv_math_func_csqrtf
=no
22375 rm -f core conftest.err conftest.
$ac_objext \
22376 conftest
$ac_exeext conftest.
$ac_ext
22378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22379 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22380 if test $gcc_cv_math_func_csqrtf = yes; then
22382 cat >>confdefs.h
<<_ACEOF
22383 #define HAVE_CSQRTF 1
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22392 $as_echo_n "checking for csqrt... " >&6; }
22393 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22394 $as_echo_n "(cached) " >&6
22396 if test x
$gcc_no_link = xyes
; then
22397 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22400 /* end confdefs.h. */
22402 #ifdef HAVE_COMPLEX_H
22403 #include <complex.h>
22409 int (*ptr)() = (int (*)())csqrt;
22418 if ac_fn_c_try_link
"$LINENO"; then :
22419 gcc_cv_math_func_csqrt
=yes
22421 gcc_cv_math_func_csqrt
=no
22423 rm -f core conftest.err conftest.
$ac_objext \
22424 conftest
$ac_exeext conftest.
$ac_ext
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22427 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22428 if test $gcc_cv_math_func_csqrt = yes; then
22430 cat >>confdefs.h
<<_ACEOF
22431 #define HAVE_CSQRT 1
22439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22440 $as_echo_n "checking for csqrtl... " >&6; }
22441 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22442 $as_echo_n "(cached) " >&6
22444 if test x
$gcc_no_link = xyes
; then
22445 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22448 /* end confdefs.h. */
22450 #ifdef HAVE_COMPLEX_H
22451 #include <complex.h>
22457 int (*ptr)() = (int (*)())csqrtl;
22466 if ac_fn_c_try_link
"$LINENO"; then :
22467 gcc_cv_math_func_csqrtl
=yes
22469 gcc_cv_math_func_csqrtl
=no
22471 rm -f core conftest.err conftest.
$ac_objext \
22472 conftest
$ac_exeext conftest.
$ac_ext
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22475 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22476 if test $gcc_cv_math_func_csqrtl = yes; then
22478 cat >>confdefs.h
<<_ACEOF
22479 #define HAVE_CSQRTL 1
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22488 $as_echo_n "checking for tanf... " >&6; }
22489 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22490 $as_echo_n "(cached) " >&6
22492 if test x
$gcc_no_link = xyes
; then
22493 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22496 /* end confdefs.h. */
22498 #ifdef HAVE_COMPLEX_H
22499 #include <complex.h>
22505 int (*ptr)() = (int (*)())tanf;
22514 if ac_fn_c_try_link
"$LINENO"; then :
22515 gcc_cv_math_func_tanf
=yes
22517 gcc_cv_math_func_tanf
=no
22519 rm -f core conftest.err conftest.
$ac_objext \
22520 conftest
$ac_exeext conftest.
$ac_ext
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22523 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22524 if test $gcc_cv_math_func_tanf = yes; then
22526 cat >>confdefs.h
<<_ACEOF
22527 #define HAVE_TANF 1
22535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22536 $as_echo_n "checking for tan... " >&6; }
22537 if test "${gcc_cv_math_func_tan+set}" = set; then :
22538 $as_echo_n "(cached) " >&6
22540 if test x
$gcc_no_link = xyes
; then
22541 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22546 #ifdef HAVE_COMPLEX_H
22547 #include <complex.h>
22553 int (*ptr)() = (int (*)())tan;
22562 if ac_fn_c_try_link
"$LINENO"; then :
22563 gcc_cv_math_func_tan
=yes
22565 gcc_cv_math_func_tan
=no
22567 rm -f core conftest.err conftest.
$ac_objext \
22568 conftest
$ac_exeext conftest.
$ac_ext
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22571 $as_echo "$gcc_cv_math_func_tan" >&6; }
22572 if test $gcc_cv_math_func_tan = yes; then
22574 cat >>confdefs.h
<<_ACEOF
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22584 $as_echo_n "checking for tanl... " >&6; }
22585 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22586 $as_echo_n "(cached) " >&6
22588 if test x
$gcc_no_link = xyes
; then
22589 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22592 /* end confdefs.h. */
22594 #ifdef HAVE_COMPLEX_H
22595 #include <complex.h>
22601 int (*ptr)() = (int (*)())tanl;
22610 if ac_fn_c_try_link
"$LINENO"; then :
22611 gcc_cv_math_func_tanl
=yes
22613 gcc_cv_math_func_tanl
=no
22615 rm -f core conftest.err conftest.
$ac_objext \
22616 conftest
$ac_exeext conftest.
$ac_ext
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22619 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22620 if test $gcc_cv_math_func_tanl = yes; then
22622 cat >>confdefs.h
<<_ACEOF
22623 #define HAVE_TANL 1
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22632 $as_echo_n "checking for ctanf... " >&6; }
22633 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22634 $as_echo_n "(cached) " >&6
22636 if test x
$gcc_no_link = xyes
; then
22637 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22640 /* end confdefs.h. */
22642 #ifdef HAVE_COMPLEX_H
22643 #include <complex.h>
22649 int (*ptr)() = (int (*)())ctanf;
22658 if ac_fn_c_try_link
"$LINENO"; then :
22659 gcc_cv_math_func_ctanf
=yes
22661 gcc_cv_math_func_ctanf
=no
22663 rm -f core conftest.err conftest.
$ac_objext \
22664 conftest
$ac_exeext conftest.
$ac_ext
22666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22667 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22668 if test $gcc_cv_math_func_ctanf = yes; then
22670 cat >>confdefs.h
<<_ACEOF
22671 #define HAVE_CTANF 1
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22680 $as_echo_n "checking for ctan... " >&6; }
22681 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22682 $as_echo_n "(cached) " >&6
22684 if test x
$gcc_no_link = xyes
; then
22685 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22688 /* end confdefs.h. */
22690 #ifdef HAVE_COMPLEX_H
22691 #include <complex.h>
22697 int (*ptr)() = (int (*)())ctan;
22706 if ac_fn_c_try_link
"$LINENO"; then :
22707 gcc_cv_math_func_ctan
=yes
22709 gcc_cv_math_func_ctan
=no
22711 rm -f core conftest.err conftest.
$ac_objext \
22712 conftest
$ac_exeext conftest.
$ac_ext
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22715 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22716 if test $gcc_cv_math_func_ctan = yes; then
22718 cat >>confdefs.h
<<_ACEOF
22719 #define HAVE_CTAN 1
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22728 $as_echo_n "checking for ctanl... " >&6; }
22729 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22730 $as_echo_n "(cached) " >&6
22732 if test x
$gcc_no_link = xyes
; then
22733 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22736 /* end confdefs.h. */
22738 #ifdef HAVE_COMPLEX_H
22739 #include <complex.h>
22745 int (*ptr)() = (int (*)())ctanl;
22754 if ac_fn_c_try_link
"$LINENO"; then :
22755 gcc_cv_math_func_ctanl
=yes
22757 gcc_cv_math_func_ctanl
=no
22759 rm -f core conftest.err conftest.
$ac_objext \
22760 conftest
$ac_exeext conftest.
$ac_ext
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22763 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22764 if test $gcc_cv_math_func_ctanl = yes; then
22766 cat >>confdefs.h
<<_ACEOF
22767 #define HAVE_CTANL 1
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22776 $as_echo_n "checking for tanhf... " >&6; }
22777 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22778 $as_echo_n "(cached) " >&6
22780 if test x
$gcc_no_link = xyes
; then
22781 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22784 /* end confdefs.h. */
22786 #ifdef HAVE_COMPLEX_H
22787 #include <complex.h>
22793 int (*ptr)() = (int (*)())tanhf;
22802 if ac_fn_c_try_link
"$LINENO"; then :
22803 gcc_cv_math_func_tanhf
=yes
22805 gcc_cv_math_func_tanhf
=no
22807 rm -f core conftest.err conftest.
$ac_objext \
22808 conftest
$ac_exeext conftest.
$ac_ext
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22811 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22812 if test $gcc_cv_math_func_tanhf = yes; then
22814 cat >>confdefs.h
<<_ACEOF
22815 #define HAVE_TANHF 1
22823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22824 $as_echo_n "checking for tanh... " >&6; }
22825 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22826 $as_echo_n "(cached) " >&6
22828 if test x
$gcc_no_link = xyes
; then
22829 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22832 /* end confdefs.h. */
22834 #ifdef HAVE_COMPLEX_H
22835 #include <complex.h>
22841 int (*ptr)() = (int (*)())tanh;
22850 if ac_fn_c_try_link
"$LINENO"; then :
22851 gcc_cv_math_func_tanh
=yes
22853 gcc_cv_math_func_tanh
=no
22855 rm -f core conftest.err conftest.
$ac_objext \
22856 conftest
$ac_exeext conftest.
$ac_ext
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22859 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22860 if test $gcc_cv_math_func_tanh = yes; then
22862 cat >>confdefs.h
<<_ACEOF
22863 #define HAVE_TANH 1
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22872 $as_echo_n "checking for tanhl... " >&6; }
22873 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22874 $as_echo_n "(cached) " >&6
22876 if test x
$gcc_no_link = xyes
; then
22877 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22880 /* end confdefs.h. */
22882 #ifdef HAVE_COMPLEX_H
22883 #include <complex.h>
22889 int (*ptr)() = (int (*)())tanhl;
22898 if ac_fn_c_try_link
"$LINENO"; then :
22899 gcc_cv_math_func_tanhl
=yes
22901 gcc_cv_math_func_tanhl
=no
22903 rm -f core conftest.err conftest.
$ac_objext \
22904 conftest
$ac_exeext conftest.
$ac_ext
22906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22907 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22908 if test $gcc_cv_math_func_tanhl = yes; then
22910 cat >>confdefs.h
<<_ACEOF
22911 #define HAVE_TANHL 1
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22920 $as_echo_n "checking for ctanhf... " >&6; }
22921 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22922 $as_echo_n "(cached) " >&6
22924 if test x
$gcc_no_link = xyes
; then
22925 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22928 /* end confdefs.h. */
22930 #ifdef HAVE_COMPLEX_H
22931 #include <complex.h>
22937 int (*ptr)() = (int (*)())ctanhf;
22946 if ac_fn_c_try_link
"$LINENO"; then :
22947 gcc_cv_math_func_ctanhf
=yes
22949 gcc_cv_math_func_ctanhf
=no
22951 rm -f core conftest.err conftest.
$ac_objext \
22952 conftest
$ac_exeext conftest.
$ac_ext
22954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22955 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22956 if test $gcc_cv_math_func_ctanhf = yes; then
22958 cat >>confdefs.h
<<_ACEOF
22959 #define HAVE_CTANHF 1
22967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22968 $as_echo_n "checking for ctanh... " >&6; }
22969 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22970 $as_echo_n "(cached) " >&6
22972 if test x
$gcc_no_link = xyes
; then
22973 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22976 /* end confdefs.h. */
22978 #ifdef HAVE_COMPLEX_H
22979 #include <complex.h>
22985 int (*ptr)() = (int (*)())ctanh;
22994 if ac_fn_c_try_link
"$LINENO"; then :
22995 gcc_cv_math_func_ctanh
=yes
22997 gcc_cv_math_func_ctanh
=no
22999 rm -f core conftest.err conftest.
$ac_objext \
23000 conftest
$ac_exeext conftest.
$ac_ext
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23003 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23004 if test $gcc_cv_math_func_ctanh = yes; then
23006 cat >>confdefs.h
<<_ACEOF
23007 #define HAVE_CTANH 1
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23016 $as_echo_n "checking for ctanhl... " >&6; }
23017 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23018 $as_echo_n "(cached) " >&6
23020 if test x
$gcc_no_link = xyes
; then
23021 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23024 /* end confdefs.h. */
23026 #ifdef HAVE_COMPLEX_H
23027 #include <complex.h>
23033 int (*ptr)() = (int (*)())ctanhl;
23042 if ac_fn_c_try_link
"$LINENO"; then :
23043 gcc_cv_math_func_ctanhl
=yes
23045 gcc_cv_math_func_ctanhl
=no
23047 rm -f core conftest.err conftest.
$ac_objext \
23048 conftest
$ac_exeext conftest.
$ac_ext
23050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23051 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23052 if test $gcc_cv_math_func_ctanhl = yes; then
23054 cat >>confdefs.h
<<_ACEOF
23055 #define HAVE_CTANHL 1
23063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23064 $as_echo_n "checking for truncf... " >&6; }
23065 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23066 $as_echo_n "(cached) " >&6
23068 if test x
$gcc_no_link = xyes
; then
23069 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23072 /* end confdefs.h. */
23074 #ifdef HAVE_COMPLEX_H
23075 #include <complex.h>
23081 int (*ptr)() = (int (*)())truncf;
23090 if ac_fn_c_try_link
"$LINENO"; then :
23091 gcc_cv_math_func_truncf
=yes
23093 gcc_cv_math_func_truncf
=no
23095 rm -f core conftest.err conftest.
$ac_objext \
23096 conftest
$ac_exeext conftest.
$ac_ext
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23099 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23100 if test $gcc_cv_math_func_truncf = yes; then
23102 cat >>confdefs.h
<<_ACEOF
23103 #define HAVE_TRUNCF 1
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23112 $as_echo_n "checking for trunc... " >&6; }
23113 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23114 $as_echo_n "(cached) " >&6
23116 if test x
$gcc_no_link = xyes
; then
23117 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23120 /* end confdefs.h. */
23122 #ifdef HAVE_COMPLEX_H
23123 #include <complex.h>
23129 int (*ptr)() = (int (*)())trunc;
23138 if ac_fn_c_try_link
"$LINENO"; then :
23139 gcc_cv_math_func_trunc
=yes
23141 gcc_cv_math_func_trunc
=no
23143 rm -f core conftest.err conftest.
$ac_objext \
23144 conftest
$ac_exeext conftest.
$ac_ext
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23147 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23148 if test $gcc_cv_math_func_trunc = yes; then
23150 cat >>confdefs.h
<<_ACEOF
23151 #define HAVE_TRUNC 1
23159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23160 $as_echo_n "checking for truncl... " >&6; }
23161 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23162 $as_echo_n "(cached) " >&6
23164 if test x
$gcc_no_link = xyes
; then
23165 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23168 /* end confdefs.h. */
23170 #ifdef HAVE_COMPLEX_H
23171 #include <complex.h>
23177 int (*ptr)() = (int (*)())truncl;
23186 if ac_fn_c_try_link
"$LINENO"; then :
23187 gcc_cv_math_func_truncl
=yes
23189 gcc_cv_math_func_truncl
=no
23191 rm -f core conftest.err conftest.
$ac_objext \
23192 conftest
$ac_exeext conftest.
$ac_ext
23194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23195 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23196 if test $gcc_cv_math_func_truncl = yes; then
23198 cat >>confdefs.h
<<_ACEOF
23199 #define HAVE_TRUNCL 1
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23208 $as_echo_n "checking for erff... " >&6; }
23209 if test "${gcc_cv_math_func_erff+set}" = set; then :
23210 $as_echo_n "(cached) " >&6
23212 if test x
$gcc_no_link = xyes
; then
23213 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23216 /* end confdefs.h. */
23218 #ifdef HAVE_COMPLEX_H
23219 #include <complex.h>
23225 int (*ptr)() = (int (*)())erff;
23234 if ac_fn_c_try_link
"$LINENO"; then :
23235 gcc_cv_math_func_erff
=yes
23237 gcc_cv_math_func_erff
=no
23239 rm -f core conftest.err conftest.
$ac_objext \
23240 conftest
$ac_exeext conftest.
$ac_ext
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23243 $as_echo "$gcc_cv_math_func_erff" >&6; }
23244 if test $gcc_cv_math_func_erff = yes; then
23246 cat >>confdefs.h
<<_ACEOF
23247 #define HAVE_ERFF 1
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23256 $as_echo_n "checking for erf... " >&6; }
23257 if test "${gcc_cv_math_func_erf+set}" = set; then :
23258 $as_echo_n "(cached) " >&6
23260 if test x
$gcc_no_link = xyes
; then
23261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23264 /* end confdefs.h. */
23266 #ifdef HAVE_COMPLEX_H
23267 #include <complex.h>
23273 int (*ptr)() = (int (*)())erf;
23282 if ac_fn_c_try_link
"$LINENO"; then :
23283 gcc_cv_math_func_erf
=yes
23285 gcc_cv_math_func_erf
=no
23287 rm -f core conftest.err conftest.
$ac_objext \
23288 conftest
$ac_exeext conftest.
$ac_ext
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23291 $as_echo "$gcc_cv_math_func_erf" >&6; }
23292 if test $gcc_cv_math_func_erf = yes; then
23294 cat >>confdefs.h
<<_ACEOF
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23304 $as_echo_n "checking for erfl... " >&6; }
23305 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23306 $as_echo_n "(cached) " >&6
23308 if test x
$gcc_no_link = xyes
; then
23309 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h. */
23314 #ifdef HAVE_COMPLEX_H
23315 #include <complex.h>
23321 int (*ptr)() = (int (*)())erfl;
23330 if ac_fn_c_try_link
"$LINENO"; then :
23331 gcc_cv_math_func_erfl
=yes
23333 gcc_cv_math_func_erfl
=no
23335 rm -f core conftest.err conftest.
$ac_objext \
23336 conftest
$ac_exeext conftest.
$ac_ext
23338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23339 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23340 if test $gcc_cv_math_func_erfl = yes; then
23342 cat >>confdefs.h
<<_ACEOF
23343 #define HAVE_ERFL 1
23351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23352 $as_echo_n "checking for erfcf... " >&6; }
23353 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23354 $as_echo_n "(cached) " >&6
23356 if test x
$gcc_no_link = xyes
; then
23357 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23360 /* end confdefs.h. */
23362 #ifdef HAVE_COMPLEX_H
23363 #include <complex.h>
23369 int (*ptr)() = (int (*)())erfcf;
23378 if ac_fn_c_try_link
"$LINENO"; then :
23379 gcc_cv_math_func_erfcf
=yes
23381 gcc_cv_math_func_erfcf
=no
23383 rm -f core conftest.err conftest.
$ac_objext \
23384 conftest
$ac_exeext conftest.
$ac_ext
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23387 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23388 if test $gcc_cv_math_func_erfcf = yes; then
23390 cat >>confdefs.h
<<_ACEOF
23391 #define HAVE_ERFCF 1
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23400 $as_echo_n "checking for erfc... " >&6; }
23401 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23402 $as_echo_n "(cached) " >&6
23404 if test x
$gcc_no_link = xyes
; then
23405 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23408 /* end confdefs.h. */
23410 #ifdef HAVE_COMPLEX_H
23411 #include <complex.h>
23417 int (*ptr)() = (int (*)())erfc;
23426 if ac_fn_c_try_link
"$LINENO"; then :
23427 gcc_cv_math_func_erfc
=yes
23429 gcc_cv_math_func_erfc
=no
23431 rm -f core conftest.err conftest.
$ac_objext \
23432 conftest
$ac_exeext conftest.
$ac_ext
23434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23435 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23436 if test $gcc_cv_math_func_erfc = yes; then
23438 cat >>confdefs.h
<<_ACEOF
23439 #define HAVE_ERFC 1
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23448 $as_echo_n "checking for erfcl... " >&6; }
23449 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23450 $as_echo_n "(cached) " >&6
23452 if test x
$gcc_no_link = xyes
; then
23453 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23456 /* end confdefs.h. */
23458 #ifdef HAVE_COMPLEX_H
23459 #include <complex.h>
23465 int (*ptr)() = (int (*)())erfcl;
23474 if ac_fn_c_try_link
"$LINENO"; then :
23475 gcc_cv_math_func_erfcl
=yes
23477 gcc_cv_math_func_erfcl
=no
23479 rm -f core conftest.err conftest.
$ac_objext \
23480 conftest
$ac_exeext conftest.
$ac_ext
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23483 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23484 if test $gcc_cv_math_func_erfcl = yes; then
23486 cat >>confdefs.h
<<_ACEOF
23487 #define HAVE_ERFCL 1
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23496 $as_echo_n "checking for j0f... " >&6; }
23497 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23498 $as_echo_n "(cached) " >&6
23500 if test x
$gcc_no_link = xyes
; then
23501 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23504 /* end confdefs.h. */
23506 #ifdef HAVE_COMPLEX_H
23507 #include <complex.h>
23513 int (*ptr)() = (int (*)())j0f;
23522 if ac_fn_c_try_link
"$LINENO"; then :
23523 gcc_cv_math_func_j0f
=yes
23525 gcc_cv_math_func_j0f
=no
23527 rm -f core conftest.err conftest.
$ac_objext \
23528 conftest
$ac_exeext conftest.
$ac_ext
23530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23531 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23532 if test $gcc_cv_math_func_j0f = yes; then
23534 cat >>confdefs.h
<<_ACEOF
23543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23544 $as_echo_n "checking for j0... " >&6; }
23545 if test "${gcc_cv_math_func_j0+set}" = set; then :
23546 $as_echo_n "(cached) " >&6
23548 if test x
$gcc_no_link = xyes
; then
23549 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23552 /* end confdefs.h. */
23554 #ifdef HAVE_COMPLEX_H
23555 #include <complex.h>
23561 int (*ptr)() = (int (*)())j0;
23570 if ac_fn_c_try_link
"$LINENO"; then :
23571 gcc_cv_math_func_j0
=yes
23573 gcc_cv_math_func_j0
=no
23575 rm -f core conftest.err conftest.
$ac_objext \
23576 conftest
$ac_exeext conftest.
$ac_ext
23578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23579 $as_echo "$gcc_cv_math_func_j0" >&6; }
23580 if test $gcc_cv_math_func_j0 = yes; then
23582 cat >>confdefs.h
<<_ACEOF
23591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23592 $as_echo_n "checking for j0l... " >&6; }
23593 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23594 $as_echo_n "(cached) " >&6
23596 if test x
$gcc_no_link = xyes
; then
23597 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23600 /* end confdefs.h. */
23602 #ifdef HAVE_COMPLEX_H
23603 #include <complex.h>
23609 int (*ptr)() = (int (*)())j0l;
23618 if ac_fn_c_try_link
"$LINENO"; then :
23619 gcc_cv_math_func_j0l
=yes
23621 gcc_cv_math_func_j0l
=no
23623 rm -f core conftest.err conftest.
$ac_objext \
23624 conftest
$ac_exeext conftest.
$ac_ext
23626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23627 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23628 if test $gcc_cv_math_func_j0l = yes; then
23630 cat >>confdefs.h
<<_ACEOF
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23640 $as_echo_n "checking for j1f... " >&6; }
23641 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23642 $as_echo_n "(cached) " >&6
23644 if test x
$gcc_no_link = xyes
; then
23645 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23648 /* end confdefs.h. */
23650 #ifdef HAVE_COMPLEX_H
23651 #include <complex.h>
23657 int (*ptr)() = (int (*)())j1f;
23666 if ac_fn_c_try_link
"$LINENO"; then :
23667 gcc_cv_math_func_j1f
=yes
23669 gcc_cv_math_func_j1f
=no
23671 rm -f core conftest.err conftest.
$ac_objext \
23672 conftest
$ac_exeext conftest.
$ac_ext
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23675 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23676 if test $gcc_cv_math_func_j1f = yes; then
23678 cat >>confdefs.h
<<_ACEOF
23687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23688 $as_echo_n "checking for j1... " >&6; }
23689 if test "${gcc_cv_math_func_j1+set}" = set; then :
23690 $as_echo_n "(cached) " >&6
23692 if test x
$gcc_no_link = xyes
; then
23693 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23696 /* end confdefs.h. */
23698 #ifdef HAVE_COMPLEX_H
23699 #include <complex.h>
23705 int (*ptr)() = (int (*)())j1;
23714 if ac_fn_c_try_link
"$LINENO"; then :
23715 gcc_cv_math_func_j1
=yes
23717 gcc_cv_math_func_j1
=no
23719 rm -f core conftest.err conftest.
$ac_objext \
23720 conftest
$ac_exeext conftest.
$ac_ext
23722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23723 $as_echo "$gcc_cv_math_func_j1" >&6; }
23724 if test $gcc_cv_math_func_j1 = yes; then
23726 cat >>confdefs.h
<<_ACEOF
23735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23736 $as_echo_n "checking for j1l... " >&6; }
23737 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23738 $as_echo_n "(cached) " >&6
23740 if test x
$gcc_no_link = xyes
; then
23741 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23744 /* end confdefs.h. */
23746 #ifdef HAVE_COMPLEX_H
23747 #include <complex.h>
23753 int (*ptr)() = (int (*)())j1l;
23762 if ac_fn_c_try_link
"$LINENO"; then :
23763 gcc_cv_math_func_j1l
=yes
23765 gcc_cv_math_func_j1l
=no
23767 rm -f core conftest.err conftest.
$ac_objext \
23768 conftest
$ac_exeext conftest.
$ac_ext
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23771 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23772 if test $gcc_cv_math_func_j1l = yes; then
23774 cat >>confdefs.h
<<_ACEOF
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23784 $as_echo_n "checking for jnf... " >&6; }
23785 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23786 $as_echo_n "(cached) " >&6
23788 if test x
$gcc_no_link = xyes
; then
23789 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23792 /* end confdefs.h. */
23794 #ifdef HAVE_COMPLEX_H
23795 #include <complex.h>
23801 int (*ptr)() = (int (*)())jnf;
23810 if ac_fn_c_try_link
"$LINENO"; then :
23811 gcc_cv_math_func_jnf
=yes
23813 gcc_cv_math_func_jnf
=no
23815 rm -f core conftest.err conftest.
$ac_objext \
23816 conftest
$ac_exeext conftest.
$ac_ext
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23819 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23820 if test $gcc_cv_math_func_jnf = yes; then
23822 cat >>confdefs.h
<<_ACEOF
23831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23832 $as_echo_n "checking for jn... " >&6; }
23833 if test "${gcc_cv_math_func_jn+set}" = set; then :
23834 $as_echo_n "(cached) " >&6
23836 if test x
$gcc_no_link = xyes
; then
23837 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23840 /* end confdefs.h. */
23842 #ifdef HAVE_COMPLEX_H
23843 #include <complex.h>
23849 int (*ptr)() = (int (*)())jn;
23858 if ac_fn_c_try_link
"$LINENO"; then :
23859 gcc_cv_math_func_jn
=yes
23861 gcc_cv_math_func_jn
=no
23863 rm -f core conftest.err conftest.
$ac_objext \
23864 conftest
$ac_exeext conftest.
$ac_ext
23866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23867 $as_echo "$gcc_cv_math_func_jn" >&6; }
23868 if test $gcc_cv_math_func_jn = yes; then
23870 cat >>confdefs.h
<<_ACEOF
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23880 $as_echo_n "checking for jnl... " >&6; }
23881 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23882 $as_echo_n "(cached) " >&6
23884 if test x
$gcc_no_link = xyes
; then
23885 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23888 /* end confdefs.h. */
23890 #ifdef HAVE_COMPLEX_H
23891 #include <complex.h>
23897 int (*ptr)() = (int (*)())jnl;
23906 if ac_fn_c_try_link
"$LINENO"; then :
23907 gcc_cv_math_func_jnl
=yes
23909 gcc_cv_math_func_jnl
=no
23911 rm -f core conftest.err conftest.
$ac_objext \
23912 conftest
$ac_exeext conftest.
$ac_ext
23914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23915 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23916 if test $gcc_cv_math_func_jnl = yes; then
23918 cat >>confdefs.h
<<_ACEOF
23927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23928 $as_echo_n "checking for y0f... " >&6; }
23929 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23930 $as_echo_n "(cached) " >&6
23932 if test x
$gcc_no_link = xyes
; then
23933 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23936 /* end confdefs.h. */
23938 #ifdef HAVE_COMPLEX_H
23939 #include <complex.h>
23945 int (*ptr)() = (int (*)())y0f;
23954 if ac_fn_c_try_link
"$LINENO"; then :
23955 gcc_cv_math_func_y0f
=yes
23957 gcc_cv_math_func_y0f
=no
23959 rm -f core conftest.err conftest.
$ac_objext \
23960 conftest
$ac_exeext conftest.
$ac_ext
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23963 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23964 if test $gcc_cv_math_func_y0f = yes; then
23966 cat >>confdefs.h
<<_ACEOF
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23976 $as_echo_n "checking for y0... " >&6; }
23977 if test "${gcc_cv_math_func_y0+set}" = set; then :
23978 $as_echo_n "(cached) " >&6
23980 if test x
$gcc_no_link = xyes
; then
23981 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23984 /* end confdefs.h. */
23986 #ifdef HAVE_COMPLEX_H
23987 #include <complex.h>
23993 int (*ptr)() = (int (*)())y0;
24002 if ac_fn_c_try_link
"$LINENO"; then :
24003 gcc_cv_math_func_y0
=yes
24005 gcc_cv_math_func_y0
=no
24007 rm -f core conftest.err conftest.
$ac_objext \
24008 conftest
$ac_exeext conftest.
$ac_ext
24010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24011 $as_echo "$gcc_cv_math_func_y0" >&6; }
24012 if test $gcc_cv_math_func_y0 = yes; then
24014 cat >>confdefs.h
<<_ACEOF
24023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24024 $as_echo_n "checking for y0l... " >&6; }
24025 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24026 $as_echo_n "(cached) " >&6
24028 if test x
$gcc_no_link = xyes
; then
24029 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24032 /* end confdefs.h. */
24034 #ifdef HAVE_COMPLEX_H
24035 #include <complex.h>
24041 int (*ptr)() = (int (*)())y0l;
24050 if ac_fn_c_try_link
"$LINENO"; then :
24051 gcc_cv_math_func_y0l
=yes
24053 gcc_cv_math_func_y0l
=no
24055 rm -f core conftest.err conftest.
$ac_objext \
24056 conftest
$ac_exeext conftest.
$ac_ext
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24059 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24060 if test $gcc_cv_math_func_y0l = yes; then
24062 cat >>confdefs.h
<<_ACEOF
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24072 $as_echo_n "checking for y1f... " >&6; }
24073 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24074 $as_echo_n "(cached) " >&6
24076 if test x
$gcc_no_link = xyes
; then
24077 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24080 /* end confdefs.h. */
24082 #ifdef HAVE_COMPLEX_H
24083 #include <complex.h>
24089 int (*ptr)() = (int (*)())y1f;
24098 if ac_fn_c_try_link
"$LINENO"; then :
24099 gcc_cv_math_func_y1f
=yes
24101 gcc_cv_math_func_y1f
=no
24103 rm -f core conftest.err conftest.
$ac_objext \
24104 conftest
$ac_exeext conftest.
$ac_ext
24106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24107 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24108 if test $gcc_cv_math_func_y1f = yes; then
24110 cat >>confdefs.h
<<_ACEOF
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24120 $as_echo_n "checking for y1... " >&6; }
24121 if test "${gcc_cv_math_func_y1+set}" = set; then :
24122 $as_echo_n "(cached) " >&6
24124 if test x
$gcc_no_link = xyes
; then
24125 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24128 /* end confdefs.h. */
24130 #ifdef HAVE_COMPLEX_H
24131 #include <complex.h>
24137 int (*ptr)() = (int (*)())y1;
24146 if ac_fn_c_try_link
"$LINENO"; then :
24147 gcc_cv_math_func_y1
=yes
24149 gcc_cv_math_func_y1
=no
24151 rm -f core conftest.err conftest.
$ac_objext \
24152 conftest
$ac_exeext conftest.
$ac_ext
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24155 $as_echo "$gcc_cv_math_func_y1" >&6; }
24156 if test $gcc_cv_math_func_y1 = yes; then
24158 cat >>confdefs.h
<<_ACEOF
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24168 $as_echo_n "checking for y1l... " >&6; }
24169 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24170 $as_echo_n "(cached) " >&6
24172 if test x
$gcc_no_link = xyes
; then
24173 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24176 /* end confdefs.h. */
24178 #ifdef HAVE_COMPLEX_H
24179 #include <complex.h>
24185 int (*ptr)() = (int (*)())y1l;
24194 if ac_fn_c_try_link
"$LINENO"; then :
24195 gcc_cv_math_func_y1l
=yes
24197 gcc_cv_math_func_y1l
=no
24199 rm -f core conftest.err conftest.
$ac_objext \
24200 conftest
$ac_exeext conftest.
$ac_ext
24202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24203 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24204 if test $gcc_cv_math_func_y1l = yes; then
24206 cat >>confdefs.h
<<_ACEOF
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24216 $as_echo_n "checking for ynf... " >&6; }
24217 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24218 $as_echo_n "(cached) " >&6
24220 if test x
$gcc_no_link = xyes
; then
24221 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24224 /* end confdefs.h. */
24226 #ifdef HAVE_COMPLEX_H
24227 #include <complex.h>
24233 int (*ptr)() = (int (*)())ynf;
24242 if ac_fn_c_try_link
"$LINENO"; then :
24243 gcc_cv_math_func_ynf
=yes
24245 gcc_cv_math_func_ynf
=no
24247 rm -f core conftest.err conftest.
$ac_objext \
24248 conftest
$ac_exeext conftest.
$ac_ext
24250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24251 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24252 if test $gcc_cv_math_func_ynf = yes; then
24254 cat >>confdefs.h
<<_ACEOF
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24264 $as_echo_n "checking for yn... " >&6; }
24265 if test "${gcc_cv_math_func_yn+set}" = set; then :
24266 $as_echo_n "(cached) " >&6
24268 if test x
$gcc_no_link = xyes
; then
24269 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24272 /* end confdefs.h. */
24274 #ifdef HAVE_COMPLEX_H
24275 #include <complex.h>
24281 int (*ptr)() = (int (*)())yn;
24290 if ac_fn_c_try_link
"$LINENO"; then :
24291 gcc_cv_math_func_yn
=yes
24293 gcc_cv_math_func_yn
=no
24295 rm -f core conftest.err conftest.
$ac_objext \
24296 conftest
$ac_exeext conftest.
$ac_ext
24298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24299 $as_echo "$gcc_cv_math_func_yn" >&6; }
24300 if test $gcc_cv_math_func_yn = yes; then
24302 cat >>confdefs.h
<<_ACEOF
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24312 $as_echo_n "checking for ynl... " >&6; }
24313 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24314 $as_echo_n "(cached) " >&6
24316 if test x
$gcc_no_link = xyes
; then
24317 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24320 /* end confdefs.h. */
24322 #ifdef HAVE_COMPLEX_H
24323 #include <complex.h>
24329 int (*ptr)() = (int (*)())ynl;
24338 if ac_fn_c_try_link
"$LINENO"; then :
24339 gcc_cv_math_func_ynl
=yes
24341 gcc_cv_math_func_ynl
=no
24343 rm -f core conftest.err conftest.
$ac_objext \
24344 conftest
$ac_exeext conftest.
$ac_ext
24346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24347 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24348 if test $gcc_cv_math_func_ynl = yes; then
24350 cat >>confdefs.h
<<_ACEOF
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24360 $as_echo_n "checking for tgamma... " >&6; }
24361 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24362 $as_echo_n "(cached) " >&6
24364 if test x
$gcc_no_link = xyes
; then
24365 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24368 /* end confdefs.h. */
24370 #ifdef HAVE_COMPLEX_H
24371 #include <complex.h>
24377 int (*ptr)() = (int (*)())tgamma;
24386 if ac_fn_c_try_link
"$LINENO"; then :
24387 gcc_cv_math_func_tgamma
=yes
24389 gcc_cv_math_func_tgamma
=no
24391 rm -f core conftest.err conftest.
$ac_objext \
24392 conftest
$ac_exeext conftest.
$ac_ext
24394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24395 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24396 if test $gcc_cv_math_func_tgamma = yes; then
24398 cat >>confdefs.h
<<_ACEOF
24399 #define HAVE_TGAMMA 1
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24408 $as_echo_n "checking for tgammaf... " >&6; }
24409 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24410 $as_echo_n "(cached) " >&6
24412 if test x
$gcc_no_link = xyes
; then
24413 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24416 /* end confdefs.h. */
24418 #ifdef HAVE_COMPLEX_H
24419 #include <complex.h>
24425 int (*ptr)() = (int (*)())tgammaf;
24434 if ac_fn_c_try_link
"$LINENO"; then :
24435 gcc_cv_math_func_tgammaf
=yes
24437 gcc_cv_math_func_tgammaf
=no
24439 rm -f core conftest.err conftest.
$ac_objext \
24440 conftest
$ac_exeext conftest.
$ac_ext
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24443 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24444 if test $gcc_cv_math_func_tgammaf = yes; then
24446 cat >>confdefs.h
<<_ACEOF
24447 #define HAVE_TGAMMAF 1
24455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24456 $as_echo_n "checking for tgammal... " >&6; }
24457 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24458 $as_echo_n "(cached) " >&6
24460 if test x
$gcc_no_link = xyes
; then
24461 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24464 /* end confdefs.h. */
24466 #ifdef HAVE_COMPLEX_H
24467 #include <complex.h>
24473 int (*ptr)() = (int (*)())tgammal;
24482 if ac_fn_c_try_link
"$LINENO"; then :
24483 gcc_cv_math_func_tgammal
=yes
24485 gcc_cv_math_func_tgammal
=no
24487 rm -f core conftest.err conftest.
$ac_objext \
24488 conftest
$ac_exeext conftest.
$ac_ext
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24491 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24492 if test $gcc_cv_math_func_tgammal = yes; then
24494 cat >>confdefs.h
<<_ACEOF
24495 #define HAVE_TGAMMAL 1
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24504 $as_echo_n "checking for lgamma... " >&6; }
24505 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24506 $as_echo_n "(cached) " >&6
24508 if test x
$gcc_no_link = xyes
; then
24509 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24512 /* end confdefs.h. */
24514 #ifdef HAVE_COMPLEX_H
24515 #include <complex.h>
24521 int (*ptr)() = (int (*)())lgamma;
24530 if ac_fn_c_try_link
"$LINENO"; then :
24531 gcc_cv_math_func_lgamma
=yes
24533 gcc_cv_math_func_lgamma
=no
24535 rm -f core conftest.err conftest.
$ac_objext \
24536 conftest
$ac_exeext conftest.
$ac_ext
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24539 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24540 if test $gcc_cv_math_func_lgamma = yes; then
24542 cat >>confdefs.h
<<_ACEOF
24543 #define HAVE_LGAMMA 1
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24552 $as_echo_n "checking for lgammaf... " >&6; }
24553 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24554 $as_echo_n "(cached) " >&6
24556 if test x
$gcc_no_link = xyes
; then
24557 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24560 /* end confdefs.h. */
24562 #ifdef HAVE_COMPLEX_H
24563 #include <complex.h>
24569 int (*ptr)() = (int (*)())lgammaf;
24578 if ac_fn_c_try_link
"$LINENO"; then :
24579 gcc_cv_math_func_lgammaf
=yes
24581 gcc_cv_math_func_lgammaf
=no
24583 rm -f core conftest.err conftest.
$ac_objext \
24584 conftest
$ac_exeext conftest.
$ac_ext
24586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24587 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24588 if test $gcc_cv_math_func_lgammaf = yes; then
24590 cat >>confdefs.h
<<_ACEOF
24591 #define HAVE_LGAMMAF 1
24599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24600 $as_echo_n "checking for lgammal... " >&6; }
24601 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24602 $as_echo_n "(cached) " >&6
24604 if test x
$gcc_no_link = xyes
; then
24605 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24608 /* end confdefs.h. */
24610 #ifdef HAVE_COMPLEX_H
24611 #include <complex.h>
24617 int (*ptr)() = (int (*)())lgammal;
24626 if ac_fn_c_try_link
"$LINENO"; then :
24627 gcc_cv_math_func_lgammal
=yes
24629 gcc_cv_math_func_lgammal
=no
24631 rm -f core conftest.err conftest.
$ac_objext \
24632 conftest
$ac_exeext conftest.
$ac_ext
24634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24635 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24636 if test $gcc_cv_math_func_lgammal = yes; then
24638 cat >>confdefs.h
<<_ACEOF
24639 #define HAVE_LGAMMAL 1
24645 # Check for GFORTRAN_C99_1.1 funcs
24649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24650 $as_echo_n "checking for cacos... " >&6; }
24651 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24652 $as_echo_n "(cached) " >&6
24654 if test x
$gcc_no_link = xyes
; then
24655 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h. */
24660 #ifdef HAVE_COMPLEX_H
24661 #include <complex.h>
24667 int (*ptr)() = (int (*)())cacos;
24676 if ac_fn_c_try_link
"$LINENO"; then :
24677 gcc_cv_math_func_cacos
=yes
24679 gcc_cv_math_func_cacos
=no
24681 rm -f core conftest.err conftest.
$ac_objext \
24682 conftest
$ac_exeext conftest.
$ac_ext
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24685 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24686 if test $gcc_cv_math_func_cacos = yes; then
24688 cat >>confdefs.h
<<_ACEOF
24689 #define HAVE_CACOS 1
24697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24698 $as_echo_n "checking for cacosf... " >&6; }
24699 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24700 $as_echo_n "(cached) " >&6
24702 if test x
$gcc_no_link = xyes
; then
24703 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h. */
24708 #ifdef HAVE_COMPLEX_H
24709 #include <complex.h>
24715 int (*ptr)() = (int (*)())cacosf;
24724 if ac_fn_c_try_link
"$LINENO"; then :
24725 gcc_cv_math_func_cacosf
=yes
24727 gcc_cv_math_func_cacosf
=no
24729 rm -f core conftest.err conftest.
$ac_objext \
24730 conftest
$ac_exeext conftest.
$ac_ext
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24733 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24734 if test $gcc_cv_math_func_cacosf = yes; then
24736 cat >>confdefs.h
<<_ACEOF
24737 #define HAVE_CACOSF 1
24745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24746 $as_echo_n "checking for cacosh... " >&6; }
24747 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24748 $as_echo_n "(cached) " >&6
24750 if test x
$gcc_no_link = xyes
; then
24751 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24754 /* end confdefs.h. */
24756 #ifdef HAVE_COMPLEX_H
24757 #include <complex.h>
24763 int (*ptr)() = (int (*)())cacosh;
24772 if ac_fn_c_try_link
"$LINENO"; then :
24773 gcc_cv_math_func_cacosh
=yes
24775 gcc_cv_math_func_cacosh
=no
24777 rm -f core conftest.err conftest.
$ac_objext \
24778 conftest
$ac_exeext conftest.
$ac_ext
24780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24781 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24782 if test $gcc_cv_math_func_cacosh = yes; then
24784 cat >>confdefs.h
<<_ACEOF
24785 #define HAVE_CACOSH 1
24793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24794 $as_echo_n "checking for cacoshf... " >&6; }
24795 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24796 $as_echo_n "(cached) " >&6
24798 if test x
$gcc_no_link = xyes
; then
24799 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24802 /* end confdefs.h. */
24804 #ifdef HAVE_COMPLEX_H
24805 #include <complex.h>
24811 int (*ptr)() = (int (*)())cacoshf;
24820 if ac_fn_c_try_link
"$LINENO"; then :
24821 gcc_cv_math_func_cacoshf
=yes
24823 gcc_cv_math_func_cacoshf
=no
24825 rm -f core conftest.err conftest.
$ac_objext \
24826 conftest
$ac_exeext conftest.
$ac_ext
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24829 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24830 if test $gcc_cv_math_func_cacoshf = yes; then
24832 cat >>confdefs.h
<<_ACEOF
24833 #define HAVE_CACOSHF 1
24841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24842 $as_echo_n "checking for cacoshl... " >&6; }
24843 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24844 $as_echo_n "(cached) " >&6
24846 if test x
$gcc_no_link = xyes
; then
24847 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24850 /* end confdefs.h. */
24852 #ifdef HAVE_COMPLEX_H
24853 #include <complex.h>
24859 int (*ptr)() = (int (*)())cacoshl;
24868 if ac_fn_c_try_link
"$LINENO"; then :
24869 gcc_cv_math_func_cacoshl
=yes
24871 gcc_cv_math_func_cacoshl
=no
24873 rm -f core conftest.err conftest.
$ac_objext \
24874 conftest
$ac_exeext conftest.
$ac_ext
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24877 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24878 if test $gcc_cv_math_func_cacoshl = yes; then
24880 cat >>confdefs.h
<<_ACEOF
24881 #define HAVE_CACOSHL 1
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24890 $as_echo_n "checking for cacosl... " >&6; }
24891 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24892 $as_echo_n "(cached) " >&6
24894 if test x
$gcc_no_link = xyes
; then
24895 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24898 /* end confdefs.h. */
24900 #ifdef HAVE_COMPLEX_H
24901 #include <complex.h>
24907 int (*ptr)() = (int (*)())cacosl;
24916 if ac_fn_c_try_link
"$LINENO"; then :
24917 gcc_cv_math_func_cacosl
=yes
24919 gcc_cv_math_func_cacosl
=no
24921 rm -f core conftest.err conftest.
$ac_objext \
24922 conftest
$ac_exeext conftest.
$ac_ext
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24925 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24926 if test $gcc_cv_math_func_cacosl = yes; then
24928 cat >>confdefs.h
<<_ACEOF
24929 #define HAVE_CACOSL 1
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24938 $as_echo_n "checking for casin... " >&6; }
24939 if test "${gcc_cv_math_func_casin+set}" = set; then :
24940 $as_echo_n "(cached) " >&6
24942 if test x
$gcc_no_link = xyes
; then
24943 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24946 /* end confdefs.h. */
24948 #ifdef HAVE_COMPLEX_H
24949 #include <complex.h>
24955 int (*ptr)() = (int (*)())casin;
24964 if ac_fn_c_try_link
"$LINENO"; then :
24965 gcc_cv_math_func_casin
=yes
24967 gcc_cv_math_func_casin
=no
24969 rm -f core conftest.err conftest.
$ac_objext \
24970 conftest
$ac_exeext conftest.
$ac_ext
24972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24973 $as_echo "$gcc_cv_math_func_casin" >&6; }
24974 if test $gcc_cv_math_func_casin = yes; then
24976 cat >>confdefs.h
<<_ACEOF
24977 #define HAVE_CASIN 1
24985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24986 $as_echo_n "checking for casinf... " >&6; }
24987 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24988 $as_echo_n "(cached) " >&6
24990 if test x
$gcc_no_link = xyes
; then
24991 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24994 /* end confdefs.h. */
24996 #ifdef HAVE_COMPLEX_H
24997 #include <complex.h>
25003 int (*ptr)() = (int (*)())casinf;
25012 if ac_fn_c_try_link
"$LINENO"; then :
25013 gcc_cv_math_func_casinf
=yes
25015 gcc_cv_math_func_casinf
=no
25017 rm -f core conftest.err conftest.
$ac_objext \
25018 conftest
$ac_exeext conftest.
$ac_ext
25020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25021 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25022 if test $gcc_cv_math_func_casinf = yes; then
25024 cat >>confdefs.h
<<_ACEOF
25025 #define HAVE_CASINF 1
25033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25034 $as_echo_n "checking for casinh... " >&6; }
25035 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25036 $as_echo_n "(cached) " >&6
25038 if test x
$gcc_no_link = xyes
; then
25039 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25042 /* end confdefs.h. */
25044 #ifdef HAVE_COMPLEX_H
25045 #include <complex.h>
25051 int (*ptr)() = (int (*)())casinh;
25060 if ac_fn_c_try_link
"$LINENO"; then :
25061 gcc_cv_math_func_casinh
=yes
25063 gcc_cv_math_func_casinh
=no
25065 rm -f core conftest.err conftest.
$ac_objext \
25066 conftest
$ac_exeext conftest.
$ac_ext
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25069 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25070 if test $gcc_cv_math_func_casinh = yes; then
25072 cat >>confdefs.h
<<_ACEOF
25073 #define HAVE_CASINH 1
25081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25082 $as_echo_n "checking for casinhf... " >&6; }
25083 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25084 $as_echo_n "(cached) " >&6
25086 if test x
$gcc_no_link = xyes
; then
25087 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25090 /* end confdefs.h. */
25092 #ifdef HAVE_COMPLEX_H
25093 #include <complex.h>
25099 int (*ptr)() = (int (*)())casinhf;
25108 if ac_fn_c_try_link
"$LINENO"; then :
25109 gcc_cv_math_func_casinhf
=yes
25111 gcc_cv_math_func_casinhf
=no
25113 rm -f core conftest.err conftest.
$ac_objext \
25114 conftest
$ac_exeext conftest.
$ac_ext
25116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25117 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25118 if test $gcc_cv_math_func_casinhf = yes; then
25120 cat >>confdefs.h
<<_ACEOF
25121 #define HAVE_CASINHF 1
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25130 $as_echo_n "checking for casinhl... " >&6; }
25131 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25132 $as_echo_n "(cached) " >&6
25134 if test x
$gcc_no_link = xyes
; then
25135 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25138 /* end confdefs.h. */
25140 #ifdef HAVE_COMPLEX_H
25141 #include <complex.h>
25147 int (*ptr)() = (int (*)())casinhl;
25156 if ac_fn_c_try_link
"$LINENO"; then :
25157 gcc_cv_math_func_casinhl
=yes
25159 gcc_cv_math_func_casinhl
=no
25161 rm -f core conftest.err conftest.
$ac_objext \
25162 conftest
$ac_exeext conftest.
$ac_ext
25164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25165 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25166 if test $gcc_cv_math_func_casinhl = yes; then
25168 cat >>confdefs.h
<<_ACEOF
25169 #define HAVE_CASINHL 1
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25178 $as_echo_n "checking for casinl... " >&6; }
25179 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25180 $as_echo_n "(cached) " >&6
25182 if test x
$gcc_no_link = xyes
; then
25183 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25186 /* end confdefs.h. */
25188 #ifdef HAVE_COMPLEX_H
25189 #include <complex.h>
25195 int (*ptr)() = (int (*)())casinl;
25204 if ac_fn_c_try_link
"$LINENO"; then :
25205 gcc_cv_math_func_casinl
=yes
25207 gcc_cv_math_func_casinl
=no
25209 rm -f core conftest.err conftest.
$ac_objext \
25210 conftest
$ac_exeext conftest.
$ac_ext
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25213 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25214 if test $gcc_cv_math_func_casinl = yes; then
25216 cat >>confdefs.h
<<_ACEOF
25217 #define HAVE_CASINL 1
25225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25226 $as_echo_n "checking for catan... " >&6; }
25227 if test "${gcc_cv_math_func_catan+set}" = set; then :
25228 $as_echo_n "(cached) " >&6
25230 if test x
$gcc_no_link = xyes
; then
25231 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25234 /* end confdefs.h. */
25236 #ifdef HAVE_COMPLEX_H
25237 #include <complex.h>
25243 int (*ptr)() = (int (*)())catan;
25252 if ac_fn_c_try_link
"$LINENO"; then :
25253 gcc_cv_math_func_catan
=yes
25255 gcc_cv_math_func_catan
=no
25257 rm -f core conftest.err conftest.
$ac_objext \
25258 conftest
$ac_exeext conftest.
$ac_ext
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25261 $as_echo "$gcc_cv_math_func_catan" >&6; }
25262 if test $gcc_cv_math_func_catan = yes; then
25264 cat >>confdefs.h
<<_ACEOF
25265 #define HAVE_CATAN 1
25273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25274 $as_echo_n "checking for catanf... " >&6; }
25275 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25276 $as_echo_n "(cached) " >&6
25278 if test x
$gcc_no_link = xyes
; then
25279 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25282 /* end confdefs.h. */
25284 #ifdef HAVE_COMPLEX_H
25285 #include <complex.h>
25291 int (*ptr)() = (int (*)())catanf;
25300 if ac_fn_c_try_link
"$LINENO"; then :
25301 gcc_cv_math_func_catanf
=yes
25303 gcc_cv_math_func_catanf
=no
25305 rm -f core conftest.err conftest.
$ac_objext \
25306 conftest
$ac_exeext conftest.
$ac_ext
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25309 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25310 if test $gcc_cv_math_func_catanf = yes; then
25312 cat >>confdefs.h
<<_ACEOF
25313 #define HAVE_CATANF 1
25321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25322 $as_echo_n "checking for catanh... " >&6; }
25323 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25324 $as_echo_n "(cached) " >&6
25326 if test x
$gcc_no_link = xyes
; then
25327 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25330 /* end confdefs.h. */
25332 #ifdef HAVE_COMPLEX_H
25333 #include <complex.h>
25339 int (*ptr)() = (int (*)())catanh;
25348 if ac_fn_c_try_link
"$LINENO"; then :
25349 gcc_cv_math_func_catanh
=yes
25351 gcc_cv_math_func_catanh
=no
25353 rm -f core conftest.err conftest.
$ac_objext \
25354 conftest
$ac_exeext conftest.
$ac_ext
25356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25357 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25358 if test $gcc_cv_math_func_catanh = yes; then
25360 cat >>confdefs.h
<<_ACEOF
25361 #define HAVE_CATANH 1
25369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25370 $as_echo_n "checking for catanhf... " >&6; }
25371 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25372 $as_echo_n "(cached) " >&6
25374 if test x
$gcc_no_link = xyes
; then
25375 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25378 /* end confdefs.h. */
25380 #ifdef HAVE_COMPLEX_H
25381 #include <complex.h>
25387 int (*ptr)() = (int (*)())catanhf;
25396 if ac_fn_c_try_link
"$LINENO"; then :
25397 gcc_cv_math_func_catanhf
=yes
25399 gcc_cv_math_func_catanhf
=no
25401 rm -f core conftest.err conftest.
$ac_objext \
25402 conftest
$ac_exeext conftest.
$ac_ext
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25405 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25406 if test $gcc_cv_math_func_catanhf = yes; then
25408 cat >>confdefs.h
<<_ACEOF
25409 #define HAVE_CATANHF 1
25417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25418 $as_echo_n "checking for catanhl... " >&6; }
25419 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25420 $as_echo_n "(cached) " >&6
25422 if test x
$gcc_no_link = xyes
; then
25423 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h. */
25428 #ifdef HAVE_COMPLEX_H
25429 #include <complex.h>
25435 int (*ptr)() = (int (*)())catanhl;
25444 if ac_fn_c_try_link
"$LINENO"; then :
25445 gcc_cv_math_func_catanhl
=yes
25447 gcc_cv_math_func_catanhl
=no
25449 rm -f core conftest.err conftest.
$ac_objext \
25450 conftest
$ac_exeext conftest.
$ac_ext
25452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25453 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25454 if test $gcc_cv_math_func_catanhl = yes; then
25456 cat >>confdefs.h
<<_ACEOF
25457 #define HAVE_CATANHL 1
25465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25466 $as_echo_n "checking for catanl... " >&6; }
25467 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25468 $as_echo_n "(cached) " >&6
25470 if test x
$gcc_no_link = xyes
; then
25471 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25474 /* end confdefs.h. */
25476 #ifdef HAVE_COMPLEX_H
25477 #include <complex.h>
25483 int (*ptr)() = (int (*)())catanl;
25492 if ac_fn_c_try_link
"$LINENO"; then :
25493 gcc_cv_math_func_catanl
=yes
25495 gcc_cv_math_func_catanl
=no
25497 rm -f core conftest.err conftest.
$ac_objext \
25498 conftest
$ac_exeext conftest.
$ac_ext
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25501 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25502 if test $gcc_cv_math_func_catanl = yes; then
25504 cat >>confdefs.h
<<_ACEOF
25505 #define HAVE_CATANL 1
25511 # On AIX, clog is present in libm as __clog
25512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25513 $as_echo_n "checking for __clog in -lm... " >&6; }
25514 if test "${ac_cv_lib_m___clog+set}" = set; then :
25515 $as_echo_n "(cached) " >&6
25517 ac_check_lib_save_LIBS
=$LIBS
25519 if test x
$gcc_no_link = xyes
; then
25520 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25523 /* end confdefs.h. */
25525 /* Override any GCC internal prototype to avoid an error.
25526 Use char because int might match the return type of a GCC
25527 builtin and then its argument prototype would still apply. */
25540 if ac_fn_c_try_link
"$LINENO"; then :
25541 ac_cv_lib_m___clog
=yes
25543 ac_cv_lib_m___clog
=no
25545 rm -f core conftest.err conftest.
$ac_objext \
25546 conftest
$ac_exeext conftest.
$ac_ext
25547 LIBS
=$ac_check_lib_save_LIBS
25549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25550 $as_echo "$ac_cv_lib_m___clog" >&6; }
25551 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25553 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25558 # Check whether the system has a working stat()
25560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25561 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25562 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25563 $as_echo_n "(cached) " >&6
25566 if test "$cross_compiling" = yes; then :
25568 case "${target}" in
25569 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25570 *) libgfor_cv_have_working_stat
=yes;;
25573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25574 /* end confdefs.h. */
25577 #include <sys/types.h>
25578 #include <sys/stat.h>
25579 #include <unistd.h>
25584 struct stat st1, st2;
25586 f = fopen ("foo", "w");
25587 g = fopen ("bar", "w");
25588 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25590 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25597 if ac_fn_c_try_run
"$LINENO"; then :
25598 libgfor_cv_have_working_stat
=yes
25600 libgfor_cv_have_working_stat
=no
25602 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25603 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25608 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25609 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25611 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25615 # Check whether __mingw_snprintf() is present
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25618 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25619 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25620 $as_echo_n "(cached) " >&6
25623 if test x
$gcc_no_link = xyes
; then
25624 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25627 /* end confdefs.h. */
25630 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25636 __mingw_snprintf (NULL, 0, "%d\n", 1);
25642 if ac_fn_c_try_link
"$LINENO"; then :
25643 eval "libgfor_cv_have_mingw_snprintf=yes"
25645 eval "libgfor_cv_have_mingw_snprintf=no"
25647 rm -f core conftest.err conftest.
$ac_objext \
25648 conftest
$ac_exeext conftest.
$ac_ext
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25652 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25653 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25655 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25660 # Check whether libquadmath should be used
25661 # Check whether --enable-libquadmath-support was given.
25662 if test "${enable_libquadmath_support+set}" = set; then :
25663 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25665 ENABLE_LIBQUADMATH_SUPPORT
=yes
25668 enable_libquadmath_support
=
25669 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25670 enable_libquadmath_support
=no
25673 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25677 if test "x$enable_libquadmath_support" != xno
; then
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25680 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25681 if test "${libgfor_cv_have_float128+set}" = set; then :
25682 $as_echo_n "(cached) " >&6
25685 if test x
$gcc_no_link = xyes
; then
25686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25687 /* end confdefs.h. */
25689 typedef _Complex float __attribute__((mode(TC))) __complex128;
25691 __float128 foo (__float128 x)
25694 __complex128 z1, z2;
25700 return (__float128) z2;
25703 __float128 bar (__float128 x)
25705 return x * __builtin_huge_valq ();
25719 if ac_fn_c_try_compile
"$LINENO"; then :
25721 libgfor_cv_have_float128
=yes
25725 libgfor_cv_have_float128
=no
25728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25730 if test x
$gcc_no_link = xyes
; then
25731 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25734 /* end confdefs.h. */
25736 typedef _Complex float __attribute__((mode(TC))) __complex128;
25738 __float128 foo (__float128 x)
25741 __complex128 z1, z2;
25747 return (__float128) z2;
25750 __float128 bar (__float128 x)
25752 return x * __builtin_huge_valq ();
25766 if ac_fn_c_try_link
"$LINENO"; then :
25768 libgfor_cv_have_float128
=yes
25772 libgfor_cv_have_float128
=no
25775 rm -f core conftest.err conftest.
$ac_objext \
25776 conftest
$ac_exeext conftest.
$ac_ext
25779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25780 $as_echo "$libgfor_cv_have_float128" >&6; }
25782 if test "x$libgfor_cv_have_float128" = xyes
; then
25784 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25787 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25789 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25790 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25791 $as_echo_n "(cached) " >&6
25794 # Test for native Solaris options first.
25795 # No whitespace after -z to pass it through -Wl.
25796 libgfor_cv_as_needed_option
="-zignore"
25797 libgfor_cv_no_as_needed_option
="-zrecord"
25798 save_LDFLAGS
="$LDFLAGS"
25799 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25800 libgfor_cv_have_as_needed
=no
25802 ac_c_werror_flag
=yes
25803 if test x
$gcc_no_link = xyes
; then
25804 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25807 /* end confdefs.h. */
25817 if ac_fn_c_try_link
"$LINENO"; then :
25818 libgfor_cv_have_as_needed
=yes
25820 libgfor_cv_have_as_needed
=no
25822 rm -f core conftest.err conftest.
$ac_objext \
25823 conftest
$ac_exeext conftest.
$ac_ext
25824 LDFLAGS
="$save_LDFLAGS"
25825 if test "x$libgfor_cv_have_as_needed" = xno
; then
25826 libgfor_cv_as_needed_option
="--as-needed"
25827 libgfor_cv_no_as_needed_option
="--no-as-needed"
25828 save_LDFLAGS
="$LDFLAGS"
25829 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25830 libgfor_cv_have_as_needed
=no
25832 ac_c_werror_flag
=yes
25833 if test x
$gcc_no_link = xyes
; then
25834 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25837 /* end confdefs.h. */
25847 if ac_fn_c_try_link
"$LINENO"; then :
25848 libgfor_cv_have_as_needed
=yes
25850 libgfor_cv_have_as_needed
=no
25852 rm -f core conftest.err conftest.
$ac_objext \
25853 conftest
$ac_exeext conftest.
$ac_ext
25854 LDFLAGS
="$save_LDFLAGS"
25856 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25860 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25862 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25863 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25865 LIBQUADSPEC
="-lquadmath"
25867 if test -f ..
/libquadmath
/libquadmath.la
; then
25868 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25869 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25870 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25872 LIBQUADLIB
="-lquadmath"
25878 # for --disable-quadmath
25889 if test "x$libgfor_cv_have_float128" = xyes
; then
25890 LIBGFOR_BUILD_QUAD_TRUE
=
25891 LIBGFOR_BUILD_QUAD_FALSE
='#'
25893 LIBGFOR_BUILD_QUAD_TRUE
='#'
25894 LIBGFOR_BUILD_QUAD_FALSE
=
25899 # Check for GNU libc feenableexcept
25900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25901 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25902 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25903 $as_echo_n "(cached) " >&6
25905 ac_check_lib_save_LIBS
=$LIBS
25907 if test x
$gcc_no_link = xyes
; then
25908 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25911 /* end confdefs.h. */
25913 /* Override any GCC internal prototype to avoid an error.
25914 Use char because int might match the return type of a GCC
25915 builtin and then its argument prototype would still apply. */
25919 char feenableexcept ();
25923 return feenableexcept ();
25928 if ac_fn_c_try_link
"$LINENO"; then :
25929 ac_cv_lib_m_feenableexcept
=yes
25931 ac_cv_lib_m_feenableexcept
=no
25933 rm -f core conftest.err conftest.
$ac_objext \
25934 conftest
$ac_exeext conftest.
$ac_ext
25935 LIBS
=$ac_check_lib_save_LIBS
25937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25938 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25939 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25940 have_feenableexcept
=yes
25941 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25946 # At least for glibc, clock_gettime is in librt. But don't
25947 # pull that in if it still doesn't give us the function we want. This
25948 # test is copied from libgomp, and modified to not link in -lrt as
25949 # libgfortran calls clock_gettime via a weak reference if it's found
25951 if test "$ac_cv_func_clock_gettime" = no
; then
25952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25953 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25954 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25955 $as_echo_n "(cached) " >&6
25957 ac_check_lib_save_LIBS
=$LIBS
25959 if test x
$gcc_no_link = xyes
; then
25960 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25963 /* end confdefs.h. */
25965 /* Override any GCC internal prototype to avoid an error.
25966 Use char because int might match the return type of a GCC
25967 builtin and then its argument prototype would still apply. */
25971 char clock_gettime ();
25975 return clock_gettime ();
25980 if ac_fn_c_try_link
"$LINENO"; then :
25981 ac_cv_lib_rt_clock_gettime
=yes
25983 ac_cv_lib_rt_clock_gettime
=no
25985 rm -f core conftest.err conftest.
$ac_objext \
25986 conftest
$ac_exeext conftest.
$ac_ext
25987 LIBS
=$ac_check_lib_save_LIBS
25989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25990 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25991 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25993 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25999 # Check for SysV fpsetmask
26001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26002 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26003 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
26004 $as_echo_n "(cached) " >&6
26007 if test x
$gcc_no_link = xyes
; then
26008 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26011 /* end confdefs.h. */
26013 #if HAVE_FLOATINGPOINT_H
26014 # include <floatingpoint.h>
26015 #endif /* HAVE_FLOATINGPOINT_H */
26017 # include <ieeefp.h>
26018 #endif /* HAVE_IEEEFP_H */
26027 if ac_fn_c_try_link
"$LINENO"; then :
26028 eval "libgfor_cv_have_fpsetmask=yes"
26030 eval "libgfor_cv_have_fpsetmask=no"
26032 rm -f core conftest.err conftest.
$ac_objext \
26033 conftest
$ac_exeext conftest.
$ac_ext
26036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26037 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26038 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26041 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26045 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
26046 #include <ieeefp.h>
26050 if test "x$ac_cv_type_fp_except" = x
""yes; then :
26052 cat >>confdefs.h
<<_ACEOF
26053 #define HAVE_FP_EXCEPT 1
26058 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26059 #include <ieeefp.h>
26063 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
26065 cat >>confdefs.h
<<_ACEOF
26066 #define HAVE_FP_EXCEPT_T 1
26072 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26073 #include <ieeefp.h>
26077 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
26079 cat >>confdefs.h
<<_ACEOF
26080 #define HAVE_FP_RND 1
26085 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26086 #include <ieeefp.h>
26090 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
26092 cat >>confdefs.h
<<_ACEOF
26093 #define HAVE_FP_RND_T 1
26100 # Check for AIX fp_trap and fp_enable
26101 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26102 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
26104 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26108 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26109 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
26111 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26116 # Runs configure.host to set up necessary host-dependent shell variables.
26117 # We then display a message about it, and propagate them through the
26119 .
${srcdir}/configure.
host
26120 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26121 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26122 FPU_HOST_HEADER
=config
/${fpu_host}.h
26125 # Some targets require additional compiler options for IEEE compatibility.
26126 IEEE_FLAGS
="${ieee_flags}"
26130 # Check for POSIX getpwuid_r
26132 # There are two versions of getpwuid_r, the POSIX one with 5
26133 # arguments, and another one with 4 arguments used by at least HP-UX
26135 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26137 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26138 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26139 $as_echo_n "(cached) " >&6
26142 if test x
$gcc_no_link = xyes
; then
26143 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26146 /* end confdefs.h. */
26149 #include <sys/types.h>
26155 getpwuid_r(0, NULL, NULL, 0, NULL);
26161 if ac_fn_c_try_link
"$LINENO"; then :
26162 libgfor_cv_posix_getpwuid_r
="yes"
26164 libgfor_cv_posix_getpwuid_r
="no"
26166 rm -f core conftest.err conftest.
$ac_objext \
26167 conftest
$ac_exeext conftest.
$ac_ext
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26170 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26172 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26174 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26179 # Check out attribute support.
26181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26182 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26183 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26184 $as_echo_n "(cached) " >&6
26187 save_CFLAGS
="$CFLAGS"
26188 CFLAGS
="$CFLAGS -Werror"
26189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26190 /* end confdefs.h. */
26191 void __attribute__((visibility("hidden"))) foo(void) { }
26200 if ac_fn_c_try_compile
"$LINENO"; then :
26201 libgfor_cv_have_attribute_visibility
=yes
26203 libgfor_cv_have_attribute_visibility
=no
26205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26206 CFLAGS
="$save_CFLAGS"
26208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26209 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26210 if test $libgfor_cv_have_attribute_visibility = yes; then
26212 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26217 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26218 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26219 $as_echo_n "(cached) " >&6
26222 save_CFLAGS
="$CFLAGS"
26223 CFLAGS
="$CFLAGS -Werror"
26224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26225 /* end confdefs.h. */
26226 void __attribute__((dllexport)) foo(void) { }
26235 if ac_fn_c_try_compile
"$LINENO"; then :
26236 libgfor_cv_have_attribute_dllexport
=yes
26238 libgfor_cv_have_attribute_dllexport
=no
26240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26241 CFLAGS
="$save_CFLAGS"
26243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26244 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26245 if test $libgfor_cv_have_attribute_dllexport = yes; then
26247 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26252 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26253 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26254 $as_echo_n "(cached) " >&6
26257 if test x
$gcc_no_link = xyes
; then
26258 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26261 /* end confdefs.h. */
26264 extern void bar(void) __attribute__((alias("foo")));
26273 if ac_fn_c_try_link
"$LINENO"; then :
26274 libgfor_cv_have_attribute_alias
=yes
26276 libgfor_cv_have_attribute_alias
=no
26278 rm -f core conftest.err conftest.
$ac_objext \
26279 conftest
$ac_exeext conftest.
$ac_ext
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26282 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26283 if test $libgfor_cv_have_attribute_alias = yes; then
26285 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26289 # Check out sync builtins support.
26291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26292 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26293 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26294 $as_echo_n "(cached) " >&6
26297 if test x
$gcc_no_link = xyes
; then
26298 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26301 /* end confdefs.h. */
26307 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26308 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26313 if ac_fn_c_try_link
"$LINENO"; then :
26314 libgfor_cv_have_sync_fetch_and_add
=yes
26316 libgfor_cv_have_sync_fetch_and_add
=no
26318 rm -f core conftest.err conftest.
$ac_objext \
26319 conftest
$ac_exeext conftest.
$ac_ext
26321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26322 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26323 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26325 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26329 # Check out #pragma weak.
26331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26332 $as_echo_n "checking whether pragma weak works... " >&6; }
26333 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26334 $as_echo_n "(cached) " >&6
26337 gfor_save_CFLAGS
="$CFLAGS"
26338 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26340 /* end confdefs.h. */
26353 if ac_fn_c_try_compile
"$LINENO"; then :
26354 libgfor_cv_have_pragma_weak
=yes
26356 libgfor_cv_have_pragma_weak
=no
26358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26361 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26362 if test $libgfor_cv_have_pragma_weak = yes; then
26364 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26368 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
26370 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26375 # Various other checks on target
26377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26378 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26379 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26380 $as_echo_n "(cached) " >&6
26383 if test "$cross_compiling" = yes; then :
26385 case "${target}" in
26386 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26387 *) libgfor_cv_have_unlink_open_file
=yes;;
26390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26391 /* end confdefs.h. */
26395 #include <unistd.h>
26396 #include <sys/stat.h>
26402 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26405 if (unlink ("testfile") == -1)
26407 write (fd, "This is a test\n", 15);
26410 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26416 if ac_fn_c_try_run
"$LINENO"; then :
26417 libgfor_cv_have_unlink_open_file
=yes
26419 libgfor_cv_have_unlink_open_file
=no
26421 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26422 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26427 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26428 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26430 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26434 # Check whether line terminator is LF or CRLF
26436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26437 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26438 if test "${libgfor_cv_have_crlf+set}" = set; then :
26439 $as_echo_n "(cached) " >&6
26442 if test "$cross_compiling" = yes; then :
26444 case "${target}" in
26445 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26446 *) libgfor_cv_have_crlf
=no
;;
26449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26450 /* end confdefs.h. */
26452 /* This test program should exit with status 0 if system uses a CRLF as
26453 line terminator, and status 1 otherwise.
26454 Since it is used to check for mingw systems, and should return 0 in any
26455 other case, in case of a failure we will not use CRLF. */
26456 #include <sys/stat.h>
26457 #include <stdlib.h>
26469 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26472 if (write (fd, "\n", 1) < 0)
26477 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26479 bytes = read (fd, buff, 5);
26480 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26487 if ac_fn_c_try_run
"$LINENO"; then :
26488 libgfor_cv_have_crlf
=yes
26490 libgfor_cv_have_crlf
=no
26492 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26493 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26498 $as_echo "$libgfor_cv_have_crlf" >&6; }
26499 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26501 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26505 # Check whether we have _Unwind_GetIPInfo for backtrace
26508 # Check whether --with-system-libunwind was given.
26509 if test "${with_system_libunwind+set}" = set; then :
26510 withval
=$with_system_libunwind;
26513 # If system-libunwind was not specifically set, pick a default setting.
26514 if test x
$with_system_libunwind = x
; then
26516 ia64-
*-hpux*) with_system_libunwind
=yes ;;
26517 *) with_system_libunwind
=no
;;
26520 # Based on system-libunwind and target, do we have ipinfo?
26521 if test x
$with_system_libunwind = xyes
; then
26523 ia64-
*-*) have_unwind_getipinfo
=no
;;
26524 *) have_unwind_getipinfo
=yes ;;
26527 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26530 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
26531 *) have_unwind_getipinfo
=yes ;;
26536 if test x
$have_unwind_getipinfo = xyes
; then
26538 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26543 cat >confcache
<<\_ACEOF
26544 # This file is a shell script that caches the results of configure
26545 # tests run on this system so they can be shared between configure
26546 # scripts and configure runs, see configure's option --config-cache.
26547 # It is not useful on other systems. If it contains results you don't
26548 # want to keep, you may remove or edit it.
26550 # config.status only pays attention to the cache file if you give it
26551 # the --recheck option to rerun configure.
26553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26555 # following values.
26559 # The following way of writing the cache mishandles newlines in values,
26560 # but we know of no workaround that is simple, portable, and efficient.
26561 # So, we kill variables containing newlines.
26562 # Ultrix sh set writes to stderr and can't be redirected directly,
26563 # and sets the high bit in the cache file unless we assign to the vars.
26565 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26566 eval ac_val
=\$
$ac_var
26570 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26571 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26574 _ | IFS | as_nl
) ;; #(
26575 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26576 *) { eval $ac_var=; unset $ac_var;} ;;
26582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26583 *${as_nl}ac_space
=\
*)
26584 # `set' does not quote correctly, so add quotes: double-quote
26585 # substitution turns \\\\ into \\, and sed turns \\ into \.
26588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26591 # `set' quotes correctly as required by POSIX, so do not add quotes.
26592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26605 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26606 if test -w "$cache_file"; then
26607 test "x$cache_file" != "x/dev/null" &&
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26609 $as_echo "$as_me: updating cache $cache_file" >&6;}
26610 cat confcache
>$cache_file
26612 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26613 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26618 if test ${multilib} = yes; then
26619 multilib_arg
="--enable-multilib"
26624 # Write our Makefile and spec file.
26625 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26627 cat >confcache
<<\_ACEOF
26628 # This file is a shell script that caches the results of configure
26629 # tests run on this system so they can be shared between configure
26630 # scripts and configure runs, see configure's option --config-cache.
26631 # It is not useful on other systems. If it contains results you don't
26632 # want to keep, you may remove or edit it.
26634 # config.status only pays attention to the cache file if you give it
26635 # the --recheck option to rerun configure.
26637 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26638 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26639 # following values.
26643 # The following way of writing the cache mishandles newlines in values,
26644 # but we know of no workaround that is simple, portable, and efficient.
26645 # So, we kill variables containing newlines.
26646 # Ultrix sh set writes to stderr and can't be redirected directly,
26647 # and sets the high bit in the cache file unless we assign to the vars.
26649 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26650 eval ac_val
=\$
$ac_var
26654 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26655 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26658 _ | IFS | as_nl
) ;; #(
26659 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26660 *) { eval $ac_var=; unset $ac_var;} ;;
26666 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26667 *${as_nl}ac_space
=\
*)
26668 # `set' does not quote correctly, so add quotes: double-quote
26669 # substitution turns \\\\ into \\, and sed turns \\ into \.
26672 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26675 # `set' quotes correctly as required by POSIX, so do not add quotes.
26676 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26685 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26687 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26689 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26690 if test -w "$cache_file"; then
26691 test "x$cache_file" != "x/dev/null" &&
26692 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26693 $as_echo "$as_me: updating cache $cache_file" >&6;}
26694 cat confcache
>$cache_file
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26697 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26702 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26703 # Let make expand exec_prefix.
26704 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26706 DEFS
=-DHAVE_CONFIG_H
26710 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26711 # 1. Remove the extension, and $U if already installed.
26712 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26713 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26714 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26715 # will be set to the directory where LIBOBJS objects are built.
26716 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26717 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26719 LIBOBJS
=$ac_libobjs
26721 LTLIBOBJS
=$ac_ltlibobjs
26724 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26725 as_fn_error
"conditional \"onestep\" was never defined.
26726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26728 if test -n "$EXEEXT"; then
26730 am__EXEEXT_FALSE
='#'
26732 am__EXEEXT_TRUE
='#'
26736 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26737 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26740 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26741 as_fn_error
"conditional \"AMDEP\" was never defined.
26742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26744 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26745 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26748 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26749 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26752 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26753 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26756 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26757 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26760 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26761 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26764 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26765 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26769 : ${CONFIG_STATUS=./config.status}
26771 ac_clean_files_save
=$ac_clean_files
26772 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26773 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26774 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26776 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26778 # Generated by $as_me.
26779 # Run this file to recreate the current configuration.
26780 # Compiler output produced by configure, useful for debugging
26781 # configure, is in config.log if it exists.
26784 ac_cs_recheck=false
26787 SHELL=\${CONFIG_SHELL-$SHELL}
26790 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26791 ## -------------------- ##
26792 ## M4sh Initialization. ##
26793 ## -------------------- ##
26795 # Be more Bourne compatible
26796 DUALCASE
=1; export DUALCASE
# for MKS sh
26797 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26800 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26801 # is contrary to our usage. Disable this feature.
26802 alias -g '${1+"$@"}'='"$@"'
26803 setopt NO_GLOB_SUBST
26805 case `(set -o) 2>/dev/null` in #(
26817 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26818 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26819 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26820 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26821 # Prefer a ksh shell builtin over an external printf program on Solaris,
26822 # but without wasting forks for bash or zsh.
26823 if test -z "$BASH_VERSION$ZSH_VERSION" \
26824 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26825 as_echo='print
-r --'
26826 as_echo_n='print
-rn --'
26827 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26828 as_echo='printf %s
\n'
26829 as_echo_n='printf %s
'
26831 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26832 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26833 as_echo_n='/usr
/ucb
/echo -n'
26835 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26836 as_echo_n_body='eval
26840 expr "X$arg" : "X\\(.*\\)$as_nl";
26841 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26843 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26845 export as_echo_n_body
26846 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26848 export as_echo_body
26849 as_echo='sh
-c $as_echo_body as_echo
'
26852 # The user is always right.
26853 if test "${PATH_SEPARATOR+set}" != set; then
26855 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26856 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26863 # We need space, tab and new line, in precisely that order. Quoting is
26864 # there to prevent editors from complaining about space-tab.
26865 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26866 # splitting by setting IFS to empty value.)
26869 # Find who we are. Look in the path if we contain no directory separator.
26871 *[\\/]* ) as_myself=$0 ;;
26872 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26873 for as_dir in $PATH
26876 test -z "$as_dir" && as_dir=.
26877 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26883 # We did not find ourselves, most probably we were run as `sh COMMAND'
26884 # in which case we are not to be found in the path.
26885 if test "x$as_myself" = x
; then
26888 if test ! -f "$as_myself"; then
26889 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26893 # Unset variables that we do not need and which cause bugs (e.g. in
26894 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26895 # suppresses any "Segmentation fault" message there. '((' could
26896 # trigger a bug in pdksh 5.2.14.
26897 for as_var
in BASH_ENV ENV MAIL MAILPATH
26898 do eval test x\
${$as_var+set} = xset \
26899 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26912 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26915 # as_fn_error ERROR [LINENO LOG_FD]
26916 # ---------------------------------
26917 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26918 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26919 # script with status $?, using 1 if that was 0.
26922 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26924 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26925 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26927 $as_echo "$as_me: error: $1" >&2
26928 as_fn_exit
$as_status
26932 # as_fn_set_status STATUS
26933 # -----------------------
26934 # Set $? to STATUS, without forking.
26935 as_fn_set_status
()
26938 } # as_fn_set_status
26940 # as_fn_exit STATUS
26941 # -----------------
26942 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26946 as_fn_set_status
$1
26952 # Portably unset VAR.
26955 { eval $1=; unset $1;}
26957 as_unset
=as_fn_unset
26958 # as_fn_append VAR VALUE
26959 # ----------------------
26960 # Append the text in VALUE to the end of the definition contained in VAR. Take
26961 # advantage of any shell optimizations that allow amortized linear growth over
26962 # repeated appends, instead of the typical quadratic growth present in naive
26964 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26965 eval 'as_fn_append ()
26976 # as_fn_arith ARG...
26977 # ------------------
26978 # Perform arithmetic evaluation on the ARGs, and store the result in the
26979 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26980 # must be portable across $(()) and expr.
26981 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26982 eval 'as_fn_arith ()
26989 as_val
=`expr "$@" || test $? -eq 1`
26994 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26995 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27001 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27002 as_basename
=basename
27007 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27013 as_me
=`$as_basename -- "$0" ||
27014 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27015 X"$0" : 'X\(//\)$' \| \
27016 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27018 sed '/^.*\/\([^/][^/]*\)\/*$/{
27032 # Avoid depending upon Character Ranges.
27033 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27034 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27035 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27036 as_cr_digits
='0123456789'
27037 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27039 ECHO_C
= ECHO_N
= ECHO_T
=
27040 case `echo -n x` in #(((((
27042 case `echo 'xy\c'` in
27043 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27045 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27052 rm -f conf$$ conf$$.exe conf$$.
file
27053 if test -d conf$$.dir
; then
27054 rm -f conf$$.dir
/conf$$.
file
27057 mkdir conf$$.dir
2>/dev
/null
27059 if (echo >conf$$.
file) 2>/dev
/null
; then
27060 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27062 # ... but there are two gotchas:
27063 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27064 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27065 # In both cases, we have to default to `cp -p'.
27066 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27068 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27076 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27077 rmdir conf$$.dir
2>/dev
/null
27082 # Create "$as_dir" as a directory, including parents if necessary.
27087 -*) as_dir
=.
/$as_dir;;
27089 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27093 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27094 *) as_qdir
=$as_dir;;
27096 as_dirs
="'$as_qdir' $as_dirs"
27097 as_dir
=`$as_dirname -- "$as_dir" ||
27098 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27099 X"$as_dir" : 'X\(//\)[^/]' \| \
27100 X"$as_dir" : 'X\(//\)$' \| \
27101 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27102 $as_echo X"$as_dir" |
27103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27107 /^X\(\/\/\)[^/].*/{
27120 test -d "$as_dir" && break
27122 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27123 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27127 if mkdir
-p .
2>/dev
/null
; then
27128 as_mkdir_p
='mkdir -p "$as_dir"'
27130 test -d .
/-p && rmdir .
/-p
27134 if test -x / >/dev
/null
2>&1; then
27135 as_test_x
='test -x'
27137 if ls -dL / >/dev
/null
2>&1; then
27144 if test -d "$1"; then
27150 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27151 ???[sx]*):;;*)false;;esac;fi
27155 as_executable_p
=$as_test_x
27157 # Sed expression to map a string onto a valid CPP name.
27158 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27160 # Sed expression to map a string onto a valid variable name.
27161 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27165 ## ----------------------------------- ##
27166 ## Main body of $CONFIG_STATUS script. ##
27167 ## ----------------------------------- ##
27169 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27172 # Save the log message, to keep $0 and so on meaningful, and to
27173 # report actual input values of CONFIG_FILES etc. instead of their
27174 # values after options handling.
27176 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27177 generated by GNU Autoconf 2.64. Invocation command line was
27179 CONFIG_FILES = $CONFIG_FILES
27180 CONFIG_HEADERS = $CONFIG_HEADERS
27181 CONFIG_LINKS = $CONFIG_LINKS
27182 CONFIG_COMMANDS = $CONFIG_COMMANDS
27185 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27190 case $ac_config_files in *"
27191 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27194 case $ac_config_headers in *"
27195 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27200 # Files that config.status was made for.
27201 config_files="$ac_config_files"
27202 config_headers="$ac_config_headers"
27203 config_commands="$ac_config_commands"
27207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27209 \`$as_me' instantiates files and other configuration actions
27210 from templates according to the current configuration. Unless the files
27211 and actions are specified as TAGs, all are instantiated by default.
27213 Usage: $0 [OPTION]... [TAG]...
27215 -h, --help print this help, then exit
27216 -V, --version print version number and configuration settings, then exit
27217 -q, --quiet, --silent
27218 do not print progress messages
27219 -d, --debug don't remove temporary files
27220 --recheck update $as_me by reconfiguring in the same conditions
27221 --file=FILE[:TEMPLATE]
27222 instantiate the configuration file FILE
27223 --header=FILE[:TEMPLATE]
27224 instantiate the configuration header FILE
27226 Configuration files:
27229 Configuration headers:
27232 Configuration commands:
27235 Report bugs to the package provider.
27236 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27237 General help using GNU software: <http://www.gnu.org/gethelp/>."
27240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27242 GNU Fortran Runtime Library config.status 0.3
27243 configured by $0, generated by GNU Autoconf 2.64,
27244 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27246 Copyright (C) 2009 Free Software Foundation, Inc.
27247 This config.status script is free software; the Free Software Foundation
27248 gives unlimited permission to copy, distribute and modify it."
27255 test -n "\$AWK" || AWK=awk
27258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27259 # The default lists apply if the user does not specify any file.
27265 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27266 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27277 # Handling of the options.
27278 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27280 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27281 $as_echo "$ac_cs_version"; exit ;;
27282 --debug |
--debu |
--deb |
--de |
--d |
-d )
27284 --file |
--fil |
--fi |
--f )
27287 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27289 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27290 ac_need_defaults
=false
;;
27291 --header |
--heade |
--head |
--hea )
27294 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27296 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27297 ac_need_defaults
=false
;;
27299 # Conflict between --help and --header
27300 as_fn_error
"ambiguous option: \`$1'
27301 Try \`$0 --help' for more information.";;
27302 --help |
--hel |
-h )
27303 $as_echo "$ac_cs_usage"; exit ;;
27304 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27305 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27308 # This is an error.
27309 -*) as_fn_error
"unrecognized option: \`$1'
27310 Try \`$0 --help' for more information." ;;
27312 *) as_fn_append ac_config_targets
" $1"
27313 ac_need_defaults
=false
;;
27319 ac_configure_extra_args
=
27321 if $ac_cs_silent; then
27323 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27328 if \$ac_cs_recheck; then
27329 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27331 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27332 CONFIG_SHELL='$SHELL'
27333 export CONFIG_SHELL
27338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27342 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27343 ## Running $as_me. ##
27349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27357 with_multisubdir="$with_multisubdir"
27358 with_multisrctop="$with_multisrctop"
27359 with_target_subdir="$with_target_subdir"
27360 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27361 multi_basedir="$multi_basedir"
27362 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27365 GFORTRAN="$GFORTRAN"
27367 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27370 # The HP-UX ksh and POSIX shell print the target directory to stdout
27371 # if CDPATH is set.
27372 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27374 sed_quote_subst='$sed_quote_subst'
27375 double_quote_subst='$double_quote_subst'
27376 delay_variable_subst='$delay_variable_subst'
27377 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27378 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27379 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27380 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27381 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27382 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27383 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27384 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27385 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27386 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27387 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27388 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27389 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27390 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27391 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27392 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27393 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27394 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27395 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27396 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27397 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27398 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27399 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27400 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27401 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27402 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27403 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27404 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27405 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27406 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27407 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27408 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27409 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27410 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27411 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27412 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27413 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27414 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27415 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27416 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27417 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27418 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27419 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27420 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27421 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27422 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27423 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27424 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27425 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"`'
27426 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27427 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27428 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27429 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27430 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27431 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27432 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27433 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27434 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27435 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27436 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27437 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27438 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27439 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27440 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27441 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27442 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27443 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27444 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27445 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27446 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27447 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27448 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27449 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27450 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27451 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27452 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27453 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27454 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27455 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27456 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27457 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27458 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27459 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27460 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27461 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27462 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27463 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27464 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27465 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27466 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27467 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27468 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27469 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27470 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27471 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27472 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27473 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27474 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27475 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27476 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27477 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27478 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27479 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27480 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27481 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27482 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27483 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27484 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27485 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27486 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27487 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27488 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27489 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27490 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27491 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27492 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27493 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27494 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27495 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27496 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27497 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27498 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27499 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27500 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27501 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27502 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27503 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27504 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27505 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27506 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27507 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27508 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27509 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27510 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27511 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27512 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27513 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27514 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27515 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27516 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27517 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27518 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27519 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27520 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27521 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27522 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27523 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27524 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27525 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27526 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27527 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27528 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27529 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27530 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27531 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27532 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27533 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27534 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27535 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27536 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27537 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27538 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27539 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27540 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27541 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27542 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27543 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27544 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27545 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27546 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27547 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27548 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27549 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27550 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27551 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27554 LTCFLAGS='$LTCFLAGS'
27555 compiler='$compiler_DEFAULT'
27557 # A function that is used when there is no print builtin or printf.
27558 func_fallback_echo ()
27560 eval 'cat <<_LTECHO_EOF
27565 # Quote evaled strings.
27579 deplibs_check_method \
27588 lt_cv_sys_global_symbol_pipe \
27589 lt_cv_sys_global_symbol_to_cdecl \
27590 lt_cv_sys_global_symbol_to_c_name_address \
27591 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27592 lt_prog_compiler_no_builtin_flag \
27593 lt_prog_compiler_wl \
27594 lt_prog_compiler_pic \
27595 lt_prog_compiler_static \
27596 lt_cv_prog_compiler_c_o \
27604 export_dynamic_flag_spec \
27605 whole_archive_flag_spec \
27606 compiler_needs_object \
27608 allow_undefined_flag \
27609 no_undefined_flag \
27610 hardcode_libdir_flag_spec \
27611 hardcode_libdir_flag_spec_ld \
27612 hardcode_libdir_separator \
27617 variables_saved_for_relink \
27619 library_names_spec \
27621 install_override_mode \
27625 compiler_lib_search_dirs \
27630 compiler_lib_search_path \
27634 lt_prog_compiler_no_builtin_flag_FC \
27635 lt_prog_compiler_wl_FC \
27636 lt_prog_compiler_pic_FC \
27637 lt_prog_compiler_static_FC \
27638 lt_cv_prog_compiler_c_o_FC \
27639 export_dynamic_flag_spec_FC \
27640 whole_archive_flag_spec_FC \
27641 compiler_needs_object_FC \
27643 allow_undefined_flag_FC \
27644 no_undefined_flag_FC \
27645 hardcode_libdir_flag_spec_FC \
27646 hardcode_libdir_flag_spec_ld_FC \
27647 hardcode_libdir_separator_FC \
27648 fix_srcfile_path_FC \
27649 exclude_expsyms_FC \
27650 include_expsyms_FC \
27651 file_list_spec_FC \
27652 compiler_lib_search_dirs_FC \
27653 predep_objects_FC \
27654 postdep_objects_FC \
27657 compiler_lib_search_path_FC; do
27658 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27659 *[\\\\\\\`\\"\\\$]*)
27660 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27663 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27668 # Double-quote double-evaled strings.
27669 for var in reload_cmds \
27670 old_postinstall_cmds \
27671 old_postuninstall_cmds \
27673 extract_expsyms_cmds \
27674 old_archive_from_new_cmds \
27675 old_archive_from_expsyms_cmds \
27677 archive_expsym_cmds \
27679 module_expsym_cmds \
27680 export_symbols_cmds \
27683 postuninstall_cmds \
27685 sys_lib_search_path_spec \
27686 sys_lib_dlsearch_path_spec \
27688 old_archive_cmds_FC \
27689 old_archive_from_new_cmds_FC \
27690 old_archive_from_expsyms_cmds_FC \
27692 archive_expsym_cmds_FC \
27694 module_expsym_cmds_FC \
27695 export_symbols_cmds_FC \
27696 prelink_cmds_FC; do
27697 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27698 *[\\\\\\\`\\"\\\$]*)
27699 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27702 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27707 ac_aux_dir='$ac_aux_dir'
27708 xsi_shell='$xsi_shell'
27709 lt_shell_append='$lt_shell_append'
27711 # See if we are running on zsh, and set the options which allow our
27712 # commands through without removal of \ escapes INIT.
27713 if test -n "\${ZSH_VERSION+set}" ; then
27714 setopt NO_GLOB_SUBST
27720 TIMESTAMP='$TIMESTAMP'
27731 acx_cv_header_stdint="$acx_cv_header_stdint"
27732 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27733 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27734 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27735 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27736 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27737 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27738 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27739 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27740 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27741 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27742 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27743 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27744 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27751 # Handling of arguments.
27752 for ac_config_target
in $ac_config_targets
27754 case $ac_config_target in
27755 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27756 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27757 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27758 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27759 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27760 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27761 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27763 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27768 # If the user did not use the arguments to specify the items to instantiate,
27769 # then the envvar interface is used. Set only those that are not.
27770 # We use the long form for the default assignment because of an extremely
27771 # bizarre bug on SunOS 4.1.3.
27772 if $ac_need_defaults; then
27773 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27774 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27775 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27778 # Have a temporary directory for convenience. Make it in the build tree
27779 # simply because there is no reason against having it here, and in addition,
27780 # creating and moving files from /tmp can sometimes cause problems.
27781 # Hook for its removal unless debugging.
27782 # Note that there is a small window in which the directory will not be cleaned:
27783 # after its creation but before its name has been assigned to `$tmp'.
27787 trap 'exit_status=$?
27788 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27790 trap 'as_fn_exit 1' 1 2 13 15
27792 # Create a (secure) tmp directory for tmp files.
27795 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27796 test -n "$tmp" && test -d "$tmp"
27799 tmp
=.
/conf$$
-$RANDOM
27800 (umask 077 && mkdir
"$tmp")
27801 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27803 # Set up the scripts for CONFIG_FILES section.
27804 # No need to generate them if there are no CONFIG_FILES.
27805 # This happens for instance with `./config.status config.h'.
27806 if test -n "$CONFIG_FILES"; then
27809 ac_cr
=`echo X | tr X '\015'`
27810 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27811 # But we know of no other shell where ac_cr would be empty at this
27812 # point, so we can use a bashism as a fallback.
27813 if test "x$ac_cr" = x
; then
27814 eval ac_cr
=\$
\'\\r
\'
27816 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27817 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27820 ac_cs_awk_cr
=$ac_cr
27823 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27828 echo "cat >conf$$subs.awk <<_ACEOF" &&
27829 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27831 } >conf$$subs.sh ||
27832 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27833 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27835 for ac_last_try in false false false false false :; do
27836 . ./conf$$subs.sh ||
27837 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27839 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27840 if test $ac_delim_n = $ac_delim_num; then
27842 elif $ac_last_try; then
27843 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27845 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27848 rm -f conf$$subs.sh
27850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27851 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27855 s/^/S["/; s
/!.
*/"]=/
27865 s/\(.\{148\}\).*/\1/
27867 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27872 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27879 s/\(.\{148\}\).*/\1/
27881 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27885 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27890 ' <conf$$subs.awk | sed '
27895 ' >>$CONFIG_STATUS || ac_write_fail=1
27896 rm -f conf$$subs.awk
27897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27899 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27900 for (key in S) S_is_set[key] = 1
27906 nfields = split(line, field, "@
")
27908 len = length(field[1])
27909 for (i = 2; i < nfields; i++) {
27911 keylen = length(key)
27912 if (S_is_set[key]) {
27914 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27915 len += length(value) + length(field[++i])
27926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27927 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27928 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27931 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27932 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27935 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27936 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27937 # trailing colons and then remove the whole line if VPATH becomes empty
27938 # (actually we leave an empty line to preserve line numbers).
27939 if test "x
$srcdir" = x.; then
27940 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27941 s/:*\$(srcdir):*/:/
27942 s/:*\${srcdir}:*/:/
27944 s/^\([^=]*=[ ]*\):*/\1/
27950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27951 fi # test -n "$CONFIG_FILES"
27953 # Set up the scripts for CONFIG_HEADERS section.
27954 # No need to generate them if there are no CONFIG_HEADERS.
27955 # This happens for instance with `./config.status Makefile'.
27956 if test -n "$CONFIG_HEADERS"; then
27957 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27961 # Transform confdefs.h into an awk script `defines.awk', embedded as
27962 # here-document in config.status, that substitutes the proper values into
27963 # config.h.in to produce config.h.
27965 # Create a delimiter string that does not exist in confdefs.h, to ease
27966 # handling of long lines.
27968 for ac_last_try in false false :; do
27969 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27970 if test -z "$ac_t"; then
27972 elif $ac_last_try; then
27973 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27975 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27979 # For the awk script, D is an array of macro values keyed by name,
27980 # likewise P contains macro parameters if any. Preserve backslash
27981 # newline sequences.
27983 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27985 s/.\{148\}/&'"$ac_delim"'/g
27988 s/^[ ]*#[ ]*define[ ][ ]*/ /
27995 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27997 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28001 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28002 D["\
1"]=" \
3\\\\\\n
"\\/p
28004 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28009 s/.\{148\}/&'"$ac_delim"'/g
28014 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28017 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28019 ' <confdefs.h | sed '
28020 s/'"$ac_delim"'/"\\\
28021 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28024 for (key in D) D_is_set[key] = 1
28027 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28029 split(line, arg, " ")
28030 if (arg[1] == "#") {
28034 defundef
= substr
(arg
[1], 2)
28037 split(mac1
, mac2
, "(") #)
28039 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28040 if (D_is_set
[macro
]) {
28041 # Preserve the white space surrounding the "#".
28042 print prefix
"define", macro P
[macro
] D
[macro
]
28045 # Replace #undef with comments. This is necessary, for example,
28046 # in the case of _POSIX_SOURCE, which is predefined and required
28047 # on some systems where configure will not decide to define it.
28048 if (defundef
== "undef") {
28049 print
"/*", prefix defundef
, macro
, "*/"
28057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28058 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
28059 fi # test -n "$CONFIG_HEADERS"
28062 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28067 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28069 case $ac_mode$ac_tag in
28071 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28072 :[FH
]-) ac_tag
=-:-;;
28073 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28090 -) ac_f
="$tmp/stdin";;
28091 *) # Look for the file first in the build tree, then in the source tree
28092 # (if the path is not absolute). The absolute path cannot be DOS-style,
28093 # because $ac_f cannot contain `:'.
28097 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28099 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
28101 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28102 as_fn_append ac_file_inputs
" '$ac_f'"
28105 # Let's still pretend it is `configure' which instantiates (i.e., don't
28106 # use $as_me), people would be surprised to read:
28107 # /* config.h. Generated by config.status. */
28108 configure_input
='Generated from '`
28109 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28111 if test x
"$ac_file" != x-
; then
28112 configure_input
="$ac_file. $configure_input"
28113 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28114 $as_echo "$as_me: creating $ac_file" >&6;}
28116 # Neutralize special characters interpreted by sed in replacement strings.
28117 case $configure_input in #(
28118 *\
&* |
*\|
* |
*\\* )
28119 ac_sed_conf_input
=`$as_echo "$configure_input" |
28120 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28121 *) ac_sed_conf_input
=$configure_input;;
28125 *:-:* |
*:-) cat >"$tmp/stdin" \
28126 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28131 ac_dir
=`$as_dirname -- "$ac_file" ||
28132 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28133 X"$ac_file" : 'X\(//\)[^/]' \| \
28134 X"$ac_file" : 'X\(//\)$' \| \
28135 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28136 $as_echo X"$ac_file" |
28137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28141 /^X\(\/\/\)[^/].*/{
28154 as_dir
="$ac_dir"; as_fn_mkdir_p
28158 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28160 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28161 # A ".." for each directory in $ac_dir_suffix.
28162 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28163 case $ac_top_builddir_sub in
28164 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28165 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28168 ac_abs_top_builddir
=$ac_pwd
28169 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28170 # for backward compatibility:
28171 ac_top_builddir
=$ac_top_build_prefix
28174 .
) # We are building in place.
28176 ac_top_srcdir
=$ac_top_builddir_sub
28177 ac_abs_top_srcdir
=$ac_pwd ;;
28178 [\\/]* | ?
:[\\/]* ) # Absolute name.
28179 ac_srcdir
=$srcdir$ac_dir_suffix;
28180 ac_top_srcdir
=$srcdir
28181 ac_abs_top_srcdir
=$srcdir ;;
28182 *) # Relative name.
28183 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28184 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28185 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28187 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28197 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28198 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28200 ac_MKDIR_P
=$MKDIR_P
28202 [\\/$
]* | ?
:[\\/]* ) ;;
28203 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28208 # If the template does not know about datarootdir, expand it.
28209 # FIXME: This hack should be removed a few years after 2.60.
28210 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28221 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28222 *datarootdir
*) ac_datarootdir_seen
=yes;;
28223 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28225 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28228 ac_datarootdir_hack='
28229 s&@datadir@&$datadir&g
28230 s&@docdir@&$docdir&g
28231 s&@infodir@&$infodir&g
28232 s&@localedir@&$localedir&g
28233 s&@mandir@&$mandir&g
28234 s&\\\${datarootdir}&$datarootdir&g' ;;
28238 # Neutralize VPATH when `$srcdir' = `.'.
28239 # Shell code in configure.ac might set extrasub.
28240 # FIXME: do we really want to maintain this feature?
28241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28242 ac_sed_extra="$ac_vpsub
28245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28247 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28248 s|@configure_input@|
$ac_sed_conf_input|
;t t
28249 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28250 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28251 s
&@srcdir@
&$ac_srcdir&;t t
28252 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28253 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28254 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28255 s
&@builddir@
&$ac_builddir&;t t
28256 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28257 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28258 s
&@INSTALL@
&$ac_INSTALL&;t t
28259 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28260 $ac_datarootdir_hack
28262 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28263 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28265 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28266 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28267 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28269 which seems to be undefined. Please make sure it is defined." >&5
28270 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28271 which seems to be undefined. Please make sure it is defined." >&2;}
28275 -) cat "$tmp/out" && rm -f "$tmp/out";;
28276 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28278 || as_fn_error "could not create $ac_file" "$LINENO" 5
28284 if test x"$ac_file" != x-; then
28286 $as_echo "/* $configure_input */" \
28287 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28288 } >"$tmp/config.h" \
28289 || as_fn_error "could not create $ac_file" "$LINENO" 5
28290 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28292 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28295 mv "$tmp/config.h" "$ac_file" \
28296 || as_fn_error "could not create $ac_file" "$LINENO" 5
28299 $as_echo "/* $configure_input */" \
28300 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28301 || as_fn_error "could not create -" "$LINENO" 5
28303 # Compute "$ac_file"'s index
in $config_headers.
28306 for _am_header
in $config_headers :; do
28307 case $_am_header in
28308 $_am_arg |
$_am_arg:* )
28311 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28314 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28315 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28316 X"$_am_arg" : 'X\(//\)[^/]' \| \
28317 X"$_am_arg" : 'X\(//\)$' \| \
28318 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28319 $as_echo X"$_am_arg" |
28320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28324 /^X\(\/\/\)[^/].*/{
28336 s/.*/./; q'`/stamp-h
$_am_stamp_count
28339 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28340 $as_echo "$as_me: executing $ac_file commands" >&6;}
28345 case $ac_file$ac_mode in
28347 # Only add multilib support code if we just rebuilt the top-level
28349 case " $CONFIG_FILES " in
28351 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28354 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28355 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28356 # are listed without --file. Let's play safe and only enable the eval
28357 # if we detect the quoting.
28358 case $CONFIG_FILES in
28359 *\'*) eval set x
"$CONFIG_FILES" ;;
28360 *) set x
$CONFIG_FILES ;;
28365 # Strip MF so we end up with the name of the file.
28366 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28367 # Check whether this is an Automake generated Makefile or not.
28368 # We used to match only the files named `Makefile.in', but
28369 # some people rename them; so instead we look at the file content.
28370 # Grep'ing the first line is not enough: some people post-process
28371 # each Makefile.in and add a new line on top of each file to say so.
28372 # Grep'ing the whole file is not good either: AIX grep has a line
28373 # limit of 2048, but all sed's we know have understand at least 4000.
28374 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28375 dirpart
=`$as_dirname -- "$mf" ||
28376 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28377 X"$mf" : 'X\(//\)[^/]' \| \
28378 X"$mf" : 'X\(//\)$' \| \
28379 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28385 /^X\(\/\/\)[^/].*/{
28401 # Extract the definition of DEPDIR, am__include, and am__quote
28402 # from the Makefile without running `make'.
28403 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28404 test -z "$DEPDIR" && continue
28405 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28406 test -z "am__include" && continue
28407 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28408 # When using ansi2knr, U may be empty or an underscore; expand it
28409 U
=`sed -n 's/^U = //p' < "$mf"`
28410 # Find all dependency output files, they are included files with
28411 # $(DEPDIR) in their names. We invoke sed twice because it is the
28412 # simplest approach to changing $(DEPDIR) to its actual value in the
28414 for file in `sed -n "
28415 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28416 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28417 # Make sure the directory exists.
28418 test -f "$dirpart/$file" && continue
28419 fdir
=`$as_dirname -- "$file" ||
28420 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28421 X"$file" : 'X\(//\)[^/]' \| \
28422 X"$file" : 'X\(//\)$' \| \
28423 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28424 $as_echo X"$file" |
28425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28429 /^X\(\/\/\)[^/].*/{
28442 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28443 # echo "creating $dirpart/$file"
28444 echo '# dummy' > "$dirpart/$file"
28451 # See if we are running on zsh, and set the options which allow our
28452 # commands through without removal of \ escapes.
28453 if test -n "${ZSH_VERSION+set}" ; then
28454 setopt NO_GLOB_SUBST
28457 cfgfile
="${ofile}T"
28458 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28461 cat <<_LT_EOF >> "$cfgfile"
28464 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28465 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28466 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28467 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28469 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28470 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28471 # Written by Gordon Matzigkeit, 1996
28473 # This file is part of GNU Libtool.
28475 # GNU Libtool is free software; you can redistribute it and/or
28476 # modify it under the terms of the GNU General Public License as
28477 # published by the Free Software Foundation; either version 2 of
28478 # the License, or (at your option) any later version.
28480 # As a special exception to the GNU General Public License,
28481 # if you distribute this file as part of a program or library that
28482 # is built using GNU Libtool, you may include this file under the
28483 # same distribution terms that you use for the rest of that program.
28485 # GNU Libtool is distributed in the hope that it will be useful,
28486 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28487 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28488 # GNU General Public License for more details.
28490 # You should have received a copy of the GNU General Public License
28491 # along with GNU Libtool; see the file COPYING. If not, a copy
28492 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28493 # obtained by writing to the Free Software Foundation, Inc.,
28494 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28497 # The names of the tagged configurations supported by this script.
28498 available_tags="FC "
28500 # ### BEGIN LIBTOOL CONFIG
28502 # Which release of libtool.m4 was used?
28503 macro_version=$macro_version
28504 macro_revision=$macro_revision
28506 # Whether or not to build shared libraries.
28507 build_libtool_libs=$enable_shared
28509 # Whether or not to build static libraries.
28510 build_old_libs=$enable_static
28512 # What type of objects to build.
28515 # Whether or not to optimize for fast installation.
28516 fast_install=$enable_fast_install
28518 # Shell to use when invoking shell scripts.
28521 # An echo program that protects backslashes.
28525 host_alias=$host_alias
28529 # The build system.
28530 build_alias=$build_alias
28534 # A sed program that does not truncate output.
28537 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28538 Xsed="\$SED -e 1s/^X//"
28540 # A grep program that handles long lines.
28546 # A literal string matcher.
28549 # A BSD- or MS-compatible name lister.
28552 # Whether we need soft or hard links.
28555 # What is the maximum length of a command?
28556 max_cmd_len=$max_cmd_len
28558 # Object file suffix (normally "o").
28561 # Executable file suffix (normally "").
28564 # whether the shell understands "unset".
28567 # turn spaces into newlines.
28570 # turn newlines into spaces.
28573 # An object symbol dumper.
28574 OBJDUMP=$lt_OBJDUMP
28576 # Method to check whether dependent libraries are shared objects.
28577 deplibs_check_method=$lt_deplibs_check_method
28579 # Command to use when deplibs_check_method == "file_magic".
28580 file_magic_cmd=$lt_file_magic_cmd
28584 AR_FLAGS=$lt_AR_FLAGS
28586 # A symbol stripping program.
28589 # Commands used to install an old-style archive.
28591 old_postinstall_cmds=$lt_old_postinstall_cmds
28592 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28594 # Whether to use a lock for old archive extraction.
28595 lock_old_archive_extraction=$lock_old_archive_extraction
28600 # LTCC compiler flags.
28601 LTCFLAGS=$lt_CFLAGS
28603 # Take the output of nm and produce a listing of raw symbols and C names.
28604 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28606 # Transform the output of nm in a proper C declaration.
28607 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28609 # Transform the output of nm in a C name address pair.
28610 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28612 # Transform the output of nm in a C name address pair when lib prefix is needed.
28613 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28615 # The name of the directory that contains temporary libtool files.
28618 # Used to examine libraries when file_magic_cmd begins with "file".
28619 MAGIC_CMD=$MAGIC_CMD
28621 # Must we lock files when doing compilation?
28622 need_locks=$lt_need_locks
28624 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28625 DSYMUTIL=$lt_DSYMUTIL
28627 # Tool to change global to local symbols on Mac OS X.
28630 # Tool to manipulate fat objects and archives on Mac OS X.
28633 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28636 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28637 OTOOL64=$lt_OTOOL64
28639 # Old archive suffix (normally "a").
28642 # Shared library suffix (normally ".so").
28643 shrext_cmds=$lt_shrext_cmds
28645 # The commands to extract the exported symbol list from a shared archive.
28646 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28648 # Variables whose values should be saved in libtool wrapper scripts and
28649 # restored at link time.
28650 variables_saved_for_relink=$lt_variables_saved_for_relink
28652 # Do we need the "lib" prefix for modules?
28653 need_lib_prefix=$need_lib_prefix
28655 # Do we need a version for libraries?
28656 need_version=$need_version
28658 # Library versioning type.
28659 version_type=$version_type
28661 # Shared library runtime path variable.
28662 runpath_var=$runpath_var
28664 # Shared library path variable.
28665 shlibpath_var=$shlibpath_var
28667 # Is shlibpath searched before the hard-coded library search path?
28668 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28670 # Format of library name prefix.
28671 libname_spec=$lt_libname_spec
28673 # List of archive names. First name is the real one, the rest are links.
28674 # The last name is the one that the linker finds with -lNAME
28675 library_names_spec=$lt_library_names_spec
28677 # The coded name of the library, if different from the real name.
28678 soname_spec=$lt_soname_spec
28680 # Permission mode override for installation of shared libraries.
28681 install_override_mode=$lt_install_override_mode
28683 # Command to use after installation of a shared archive.
28684 postinstall_cmds=$lt_postinstall_cmds
28686 # Command to use after uninstallation of a shared archive.
28687 postuninstall_cmds=$lt_postuninstall_cmds
28689 # Commands used to finish a libtool library installation in a directory.
28690 finish_cmds=$lt_finish_cmds
28692 # As "finish_cmds", except a single script fragment to be evaled but
28694 finish_eval=$lt_finish_eval
28696 # Whether we should hardcode library paths into libraries.
28697 hardcode_into_libs=$hardcode_into_libs
28699 # Compile-time system search path for libraries.
28700 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28702 # Run-time system search path for libraries.
28703 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28705 # Whether dlopen is supported.
28706 dlopen_support=$enable_dlopen
28708 # Whether dlopen of programs is supported.
28709 dlopen_self=$enable_dlopen_self
28711 # Whether dlopen of statically linked programs is supported.
28712 dlopen_self_static=$enable_dlopen_self_static
28714 # Commands to strip libraries.
28715 old_striplib=$lt_old_striplib
28716 striplib=$lt_striplib
28719 # The linker used to build libraries.
28722 # How to create reloadable object files.
28723 reload_flag=$lt_reload_flag
28724 reload_cmds=$lt_reload_cmds
28726 # Commands used to build an old-style archive.
28727 old_archive_cmds=$lt_old_archive_cmds
28729 # A language specific compiler.
28732 # Is the compiler the GNU compiler?
28735 # Compiler flag to turn off builtin functions.
28736 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28738 # How to pass a linker flag through the compiler.
28739 wl=$lt_lt_prog_compiler_wl
28741 # Additional compiler flags for building library objects.
28742 pic_flag=$lt_lt_prog_compiler_pic
28744 # Compiler flag to prevent dynamic linking.
28745 link_static_flag=$lt_lt_prog_compiler_static
28747 # Does compiler simultaneously support -c and -o options?
28748 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28750 # Whether or not to add -lc for building shared libraries.
28751 build_libtool_need_lc=$archive_cmds_need_lc
28753 # Whether or not to disallow shared libs when runtime libs are static.
28754 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28756 # Compiler flag to allow reflexive dlopens.
28757 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28759 # Compiler flag to generate shared objects directly from archives.
28760 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28762 # Whether the compiler copes with passing no objects directly.
28763 compiler_needs_object=$lt_compiler_needs_object
28765 # Create an old-style archive from a shared archive.
28766 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28768 # Create a temporary old-style archive to link instead of a shared archive.
28769 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28771 # Commands used to build a shared archive.
28772 archive_cmds=$lt_archive_cmds
28773 archive_expsym_cmds=$lt_archive_expsym_cmds
28775 # Commands used to build a loadable module if different from building
28776 # a shared archive.
28777 module_cmds=$lt_module_cmds
28778 module_expsym_cmds=$lt_module_expsym_cmds
28780 # Whether we are building with GNU ld or not.
28781 with_gnu_ld=$lt_with_gnu_ld
28783 # Flag that allows shared libraries with undefined symbols to be built.
28784 allow_undefined_flag=$lt_allow_undefined_flag
28786 # Flag that enforces no undefined symbols.
28787 no_undefined_flag=$lt_no_undefined_flag
28789 # Flag to hardcode \$libdir into a binary during linking.
28790 # This must work even if \$libdir does not exist
28791 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28793 # If ld is used when linking, flag to hardcode \$libdir into a binary
28794 # during linking. This must work even if \$libdir does not exist.
28795 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28797 # Whether we need a single "-rpath" flag with a separated argument.
28798 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28800 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28801 # DIR into the resulting binary.
28802 hardcode_direct=$hardcode_direct
28804 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28805 # DIR into the resulting binary and the resulting library dependency is
28806 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28807 # library is relocated.
28808 hardcode_direct_absolute=$hardcode_direct_absolute
28810 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28811 # into the resulting binary.
28812 hardcode_minus_L=$hardcode_minus_L
28814 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28815 # into the resulting binary.
28816 hardcode_shlibpath_var=$hardcode_shlibpath_var
28818 # Set to "yes" if building a shared library automatically hardcodes DIR
28819 # into the library and all subsequent libraries and executables linked
28821 hardcode_automatic=$hardcode_automatic
28823 # Set to yes if linker adds runtime paths of dependent libraries
28824 # to runtime path list.
28825 inherit_rpath=$inherit_rpath
28827 # Whether libtool must link a program against all its dependency libraries.
28828 link_all_deplibs=$link_all_deplibs
28830 # Fix the shell variable \$srcfile for the compiler.
28831 fix_srcfile_path=$lt_fix_srcfile_path
28833 # Set to "yes" if exported symbols are required.
28834 always_export_symbols=$always_export_symbols
28836 # The commands to list exported symbols.
28837 export_symbols_cmds=$lt_export_symbols_cmds
28839 # Symbols that should not be listed in the preloaded symbols.
28840 exclude_expsyms=$lt_exclude_expsyms
28842 # Symbols that must always be exported.
28843 include_expsyms=$lt_include_expsyms
28845 # Commands necessary for linking programs (against libraries) with templates.
28846 prelink_cmds=$lt_prelink_cmds
28848 # Specify filename containing input files.
28849 file_list_spec=$lt_file_list_spec
28851 # How to hardcode a shared library path into an executable.
28852 hardcode_action=$hardcode_action
28854 # The directories searched by this compiler when creating a shared library.
28855 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28857 # Dependencies to place before and after the objects being linked to
28858 # create a shared library.
28859 predep_objects=$lt_predep_objects
28860 postdep_objects=$lt_postdep_objects
28861 predeps=$lt_predeps
28862 postdeps=$lt_postdeps
28864 # The library search path used internally by the compiler when linking
28865 # a shared library.
28866 compiler_lib_search_path=$lt_compiler_lib_search_path
28868 # ### END LIBTOOL CONFIG
28874 cat <<\_LT_EOF
>> "$cfgfile"
28875 # AIX sometimes has problems with the GCC collect2 program. For some
28876 # reason, if we set the COLLECT_NAMES environment variable, the problems
28877 # vanish in a puff of smoke.
28878 if test "X${COLLECT_NAMES+set}" != Xset
; then
28880 export COLLECT_NAMES
28887 ltmain
="$ac_aux_dir/ltmain.sh"
28890 # We use sed instead of cat because bash on DJGPP gets confused if
28891 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28892 # text mode, it properly converts lines to CR/LF. This bash problem
28893 # is reportedly fixed, but why not run on old versions too?
28894 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28895 ||
(rm -f "$cfgfile"; exit 1)
28899 cat << \_LT_EOF
>> "$cfgfile"
28901 # func_dirname file append nondir_replacement
28902 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28903 # otherwise set result to NONDIR_REPLACEMENT.
28907 */*) func_dirname_result
="${1%/*}${2}" ;;
28908 * ) func_dirname_result
="${3}" ;;
28912 # func_basename file
28915 func_basename_result
="${1##*/}"
28918 # func_dirname_and_basename file append nondir_replacement
28919 # perform func_basename and func_dirname in a single function
28921 # dirname: Compute the dirname of FILE. If nonempty,
28922 # add APPEND to the result, otherwise set result
28923 # to NONDIR_REPLACEMENT.
28924 # value returned in "$func_dirname_result"
28925 # basename: Compute filename of FILE.
28926 # value retuned in "$func_basename_result"
28927 # Implementation must be kept synchronized with func_dirname
28928 # and func_basename. For efficiency, we do not delegate to
28929 # those functions but instead duplicate the functionality here.
28930 func_dirname_and_basename
()
28933 */*) func_dirname_result
="${1%/*}${2}" ;;
28934 * ) func_dirname_result
="${3}" ;;
28936 func_basename_result
="${1##*/}"
28939 # func_stripname prefix suffix name
28940 # strip PREFIX and SUFFIX off of NAME.
28941 # PREFIX and SUFFIX must not contain globbing or regex special
28942 # characters, hashes, percent signs, but SUFFIX may contain a leading
28943 # dot (in which case that matches only a dot).
28946 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28947 # positional parameters, so assign one to ordinary parameter first.
28948 func_stripname_result
=${3}
28949 func_stripname_result
=${func_stripname_result#"${1}"}
28950 func_stripname_result
=${func_stripname_result%"${2}"}
28956 func_opt_split_opt
=${1%%=*}
28957 func_opt_split_arg
=${1#*=}
28964 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28965 *) func_lo2o_result
=${1} ;;
28969 # func_xform libobj-or-source
28972 func_xform_result
=${1%.*}.lo
28975 # func_arith arithmetic-term...
28978 func_arith_result
=$
(( $
* ))
28982 # STRING may not start with a hyphen.
28985 func_len_result
=${#1}
28990 *) # Bourne compatible functions.
28991 cat << \_LT_EOF
>> "$cfgfile"
28993 # func_dirname file append nondir_replacement
28994 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28995 # otherwise set result to NONDIR_REPLACEMENT.
28998 # Extract subdirectory from the argument.
28999 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29000 if test "X$func_dirname_result" = "X${1}"; then
29001 func_dirname_result
="${3}"
29003 func_dirname_result
="$func_dirname_result${2}"
29007 # func_basename file
29010 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29014 # func_stripname prefix suffix name
29015 # strip PREFIX and SUFFIX off of NAME.
29016 # PREFIX and SUFFIX must not contain globbing or regex special
29017 # characters, hashes, percent signs, but SUFFIX may contain a leading
29018 # dot (in which case that matches only a dot).
29019 # func_strip_suffix prefix name
29023 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29024 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29029 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29030 my_sed_long_arg
='1s/^-[^=]*=//'
29035 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29036 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29042 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29045 # func_xform libobj-or-source
29048 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29051 # func_arith arithmetic-term...
29054 func_arith_result
=`expr "$@"`
29058 # STRING may not start with a hyphen.
29061 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29067 case $lt_shell_append in
29069 cat << \_LT_EOF
>> "$cfgfile"
29071 # func_append var value
29072 # Append VALUE to the end of shell variable VAR.
29080 cat << \_LT_EOF
>> "$cfgfile"
29082 # func_append var value
29083 # Append VALUE to the end of shell variable VAR.
29094 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29095 ||
(rm -f "$cfgfile"; exit 1)
29097 mv -f "$cfgfile" "$ofile" ||
29098 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29102 cat <<_LT_EOF >> "$ofile"
29104 # ### BEGIN LIBTOOL TAG CONFIG: FC
29106 # The linker used to build libraries.
29109 # How to create reloadable object files.
29110 reload_flag=$lt_reload_flag_FC
29111 reload_cmds=$lt_reload_cmds_FC
29113 # Commands used to build an old-style archive.
29114 old_archive_cmds=$lt_old_archive_cmds_FC
29116 # A language specific compiler.
29119 # Is the compiler the GNU compiler?
29122 # Compiler flag to turn off builtin functions.
29123 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29125 # How to pass a linker flag through the compiler.
29126 wl=$lt_lt_prog_compiler_wl_FC
29128 # Additional compiler flags for building library objects.
29129 pic_flag=$lt_lt_prog_compiler_pic_FC
29131 # Compiler flag to prevent dynamic linking.
29132 link_static_flag=$lt_lt_prog_compiler_static_FC
29134 # Does compiler simultaneously support -c and -o options?
29135 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29137 # Whether or not to add -lc for building shared libraries.
29138 build_libtool_need_lc=$archive_cmds_need_lc_FC
29140 # Whether or not to disallow shared libs when runtime libs are static.
29141 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29143 # Compiler flag to allow reflexive dlopens.
29144 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29146 # Compiler flag to generate shared objects directly from archives.
29147 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29149 # Whether the compiler copes with passing no objects directly.
29150 compiler_needs_object=$lt_compiler_needs_object_FC
29152 # Create an old-style archive from a shared archive.
29153 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29155 # Create a temporary old-style archive to link instead of a shared archive.
29156 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29158 # Commands used to build a shared archive.
29159 archive_cmds=$lt_archive_cmds_FC
29160 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29162 # Commands used to build a loadable module if different from building
29163 # a shared archive.
29164 module_cmds=$lt_module_cmds_FC
29165 module_expsym_cmds=$lt_module_expsym_cmds_FC
29167 # Whether we are building with GNU ld or not.
29168 with_gnu_ld=$lt_with_gnu_ld_FC
29170 # Flag that allows shared libraries with undefined symbols to be built.
29171 allow_undefined_flag=$lt_allow_undefined_flag_FC
29173 # Flag that enforces no undefined symbols.
29174 no_undefined_flag=$lt_no_undefined_flag_FC
29176 # Flag to hardcode \$libdir into a binary during linking.
29177 # This must work even if \$libdir does not exist
29178 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29180 # If ld is used when linking, flag to hardcode \$libdir into a binary
29181 # during linking. This must work even if \$libdir does not exist.
29182 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29184 # Whether we need a single "-rpath" flag with a separated argument.
29185 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29187 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29188 # DIR into the resulting binary.
29189 hardcode_direct=$hardcode_direct_FC
29191 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29192 # DIR into the resulting binary and the resulting library dependency is
29193 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29194 # library is relocated.
29195 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29197 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29198 # into the resulting binary.
29199 hardcode_minus_L=$hardcode_minus_L_FC
29201 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29202 # into the resulting binary.
29203 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29205 # Set to "yes" if building a shared library automatically hardcodes DIR
29206 # into the library and all subsequent libraries and executables linked
29208 hardcode_automatic=$hardcode_automatic_FC
29210 # Set to yes if linker adds runtime paths of dependent libraries
29211 # to runtime path list.
29212 inherit_rpath=$inherit_rpath_FC
29214 # Whether libtool must link a program against all its dependency libraries.
29215 link_all_deplibs=$link_all_deplibs_FC
29217 # Fix the shell variable \$srcfile for the compiler.
29218 fix_srcfile_path=$lt_fix_srcfile_path_FC
29220 # Set to "yes" if exported symbols are required.
29221 always_export_symbols=$always_export_symbols_FC
29223 # The commands to list exported symbols.
29224 export_symbols_cmds=$lt_export_symbols_cmds_FC
29226 # Symbols that should not be listed in the preloaded symbols.
29227 exclude_expsyms=$lt_exclude_expsyms_FC
29229 # Symbols that must always be exported.
29230 include_expsyms=$lt_include_expsyms_FC
29232 # Commands necessary for linking programs (against libraries) with templates.
29233 prelink_cmds=$lt_prelink_cmds_FC
29235 # Specify filename containing input files.
29236 file_list_spec=$lt_file_list_spec_FC
29238 # How to hardcode a shared library path into an executable.
29239 hardcode_action=$hardcode_action_FC
29241 # The directories searched by this compiler when creating a shared library.
29242 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29244 # Dependencies to place before and after the objects being linked to
29245 # create a shared library.
29246 predep_objects=$lt_predep_objects_FC
29247 postdep_objects=$lt_postdep_objects_FC
29248 predeps=$lt_predeps_FC
29249 postdeps=$lt_postdeps_FC
29251 # The library search path used internally by the compiler when linking
29252 # a shared library.
29253 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29255 # ### END LIBTOOL TAG CONFIG: FC
29260 if test "$GCC" = yes; then
29261 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29263 echo "/* generated for $CC */" > tmp-stdint.h
29266 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29268 #ifndef GCC_GENERATED_STDINT_H
29269 #define GCC_GENERATED_STDINT_H 1
29271 #include <sys/types.h>
29274 if test "$acx_cv_header_stdint" != stdint.h
; then
29275 echo "#include <stddef.h>" >> tmp-stdint.h
29277 if test "$acx_cv_header_stdint" != stddef.h
; then
29278 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29281 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29282 /* glibc uses these symbols as guards to prevent redefinitions. */
29283 #ifdef __int8_t_defined
29288 #ifdef __uint32_t_defined
29294 # ----------------- done header, emit basic int types -------------
29295 if test "$acx_cv_header_stdint" = stddef.h
; then
29296 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29300 #ifndef __uint8_t_defined
29301 #define __uint8_t_defined
29303 typedef unsigned $acx_cv_type_int8_t uint8_t;
29310 #ifndef __uint16_t_defined
29311 #define __uint16_t_defined
29313 typedef unsigned $acx_cv_type_int16_t uint16_t;
29320 #ifndef __uint32_t_defined
29321 #define __uint32_t_defined
29323 typedef unsigned $acx_cv_type_int32_t uint32_t;
29330 #ifndef __int8_t_defined
29331 #define __int8_t_defined
29333 typedef $acx_cv_type_int8_t int8_t;
29340 #ifndef __int16_t_defined
29341 #define __int16_t_defined
29343 typedef $acx_cv_type_int16_t int16_t;
29350 #ifndef __int32_t_defined
29351 #define __int32_t_defined
29353 typedef $acx_cv_type_int32_t int32_t;
29358 elif test "$ac_cv_type_u_int32_t" = yes; then
29359 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29361 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29374 #ifndef __uint8_t_defined
29375 #define __uint8_t_defined
29377 typedef u_int8_t uint8_t;
29384 #ifndef __uint16_t_defined
29385 #define __uint16_t_defined
29387 typedef u_int16_t uint16_t;
29394 #ifndef __uint32_t_defined
29395 #define __uint32_t_defined
29397 typedef u_int32_t uint32_t;
29403 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29405 /* Some systems have guard macros to prevent redefinitions, define them. */
29427 # ------------- done basic int types, emit int64_t types ------------
29428 if test "$ac_cv_type_uint64_t" = yes; then
29429 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29431 /* system headers have good uint64_t and int64_t */
29439 elif test "$ac_cv_type_u_int64_t" = yes; then
29440 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29442 /* system headers have an u_int64_t (and int64_t) */
29448 #ifndef __uint64_t_defined
29449 #define __uint64_t_defined
29451 typedef u_int64_t uint64_t;
29456 elif test -n "$acx_cv_type_int64_t"; then
29457 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29459 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29463 typedef $acx_cv_type_int64_t int64_t;
29468 #ifndef __uint64_t_defined
29469 #define __uint64_t_defined
29471 typedef unsigned $acx_cv_type_int64_t uint64_t;
29477 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29479 /* some common heuristics for int64_t, using compiler-specific tests */
29480 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29483 #ifndef __int64_t_defined
29485 typedef long long int64_t;
29492 typedef unsigned long long uint64_t;
29496 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29497 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29498 does not implement __extension__. But that compiler doesn't define
29500 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29501 # define __extension__
29507 __extension__ typedef long long int64_t;
29513 __extension__ typedef unsigned long long uint64_t;
29517 #elif !defined __STRICT_ANSI__
29518 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29523 typedef __int64 int64_t;
29529 typedef unsigned __int64 uint64_t;
29532 # endif /* compiler */
29534 #endif /* ANSI version */
29538 # ------------- done int64_t types, emit intptr types ------------
29539 if test "$ac_cv_type_uintptr_t" != yes; then
29540 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29542 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29543 #ifndef __uintptr_t_defined
29545 typedef u$acx_cv_type_intptr_t uintptr_t;
29548 #ifndef __intptr_t_defined
29550 typedef $acx_cv_type_intptr_t intptr_t;
29556 # ------------- done intptr types, emit int_least types ------------
29557 if test "$ac_cv_type_int_least32_t" != yes; then
29558 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29560 /* Define int_least types */
29561 typedef int8_t int_least8_t;
29562 typedef int16_t int_least16_t;
29563 typedef int32_t int_least32_t;
29565 typedef int64_t int_least64_t;
29568 typedef uint8_t uint_least8_t;
29569 typedef uint16_t uint_least16_t;
29570 typedef uint32_t uint_least32_t;
29572 typedef uint64_t uint_least64_t;
29577 # ------------- done intptr types, emit int_fast types ------------
29578 if test "$ac_cv_type_int_fast32_t" != yes; then
29579 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29581 /* Define int_fast types. short is often slow */
29582 typedef int8_t int_fast8_t;
29583 typedef int int_fast16_t;
29584 typedef int32_t int_fast32_t;
29586 typedef int64_t int_fast64_t;
29589 typedef uint8_t uint_fast8_t;
29590 typedef unsigned int uint_fast16_t;
29591 typedef uint32_t uint_fast32_t;
29593 typedef uint64_t uint_fast64_t;
29598 if test "$ac_cv_type_uintmax_t" != yes; then
29599 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29601 /* Define intmax based on what we found */
29604 typedef int64_t intmax_t;
29606 typedef long intmax_t;
29611 typedef uint64_t uintmax_t;
29613 typedef unsigned long uintmax_t;
29619 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29621 #endif /* GCC_GENERATED_STDINT_H */
29624 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29627 mv -f tmp-stdint.h gstdint.h
29638 ac_clean_files
=$ac_clean_files_save
29640 test $ac_write_fail = 0 ||
29641 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29644 # configure is writing to config.log, and then calls config.status.
29645 # config.status does its own redirection, appending to config.log.
29646 # Unfortunately, on DOS this fails, as config.log is still kept open
29647 # by configure, so config.status won't be able to write to it; its
29648 # output is simply discarded. So we exec the FD to /dev/null,
29649 # effectively closing config.log, so it can be properly (re)opened and
29650 # appended to by config.status. When coming back to configure, we
29651 # need to make the FD available again.
29652 if test "$no_create" != yes; then
29654 ac_config_status_args
=
29655 test "$silent" = yes &&
29656 ac_config_status_args
="$ac_config_status_args --quiet"
29658 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29660 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29661 # would make configure fail if this is the last instruction.
29662 $ac_cs_success || as_fn_exit $?
29664 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29666 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}