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
672 MAINTAINER_MODE_FALSE
682 INSTALL_STRIP_PROGRAM
744 program_transform_name
757 enable_option_checking
759 enable_version_specific_runtime_libs
761 enable_maintainer_mode
763 enable_dependency_tracking
772 enable_libquadmath_support
773 with_system_libunwind
775 ac_precious_vars
='build_alias
788 # Initialize some variables set by options.
790 ac_init_version
=false
791 ac_unrecognized_opts
=
793 # The variables have the same names as the options, with
794 # dashes changed to underlines.
802 program_transform_name
=s
,x
,x
,
810 # Installation directory options.
811 # These are left unexpanded so users can "make install exec_prefix=/foo"
812 # and all the variables that are supposed to be based on exec_prefix
813 # by default will actually change.
814 # Use braces instead of parens because sh, perl, etc. also accept them.
815 # (The list follows the same order as the GNU Coding Standards.)
816 bindir
='${exec_prefix}/bin'
817 sbindir
='${exec_prefix}/sbin'
818 libexecdir
='${exec_prefix}/libexec'
819 datarootdir
='${prefix}/share'
820 datadir
='${datarootdir}'
821 sysconfdir
='${prefix}/etc'
822 sharedstatedir
='${prefix}/com'
823 localstatedir
='${prefix}/var'
824 includedir
='${prefix}/include'
825 oldincludedir
='/usr/include'
826 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
827 infodir
='${datarootdir}/info'
832 libdir
='${exec_prefix}/lib'
833 localedir
='${datarootdir}/locale'
834 mandir
='${datarootdir}/man'
840 # If the previous option needs an argument, assign it.
841 if test -n "$ac_prev"; then
842 eval $ac_prev=\
$ac_option
848 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852 # Accept the important Cygnus configure options, so we can diagnose typos.
854 case $ac_dashdash$ac_option in
858 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
860 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
863 -build |
--build |
--buil |
--bui |
--bu)
864 ac_prev
=build_alias
;;
865 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
866 build_alias
=$ac_optarg ;;
868 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
869 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
870 ac_prev
=cache_file
;;
871 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
872 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
873 cache_file
=$ac_optarg ;;
876 cache_file
=config.cache
;;
878 -datadir |
--datadir |
--datadi |
--datad)
880 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
881 datadir
=$ac_optarg ;;
883 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
884 |
--dataroo |
--dataro |
--datar)
885 ac_prev
=datarootdir
;;
886 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
887 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
888 datarootdir
=$ac_optarg ;;
890 -disable-* |
--disable-*)
891 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
894 as_fn_error
"invalid feature name: $ac_useropt"
895 ac_useropt_orig
=$ac_useropt
896 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897 case $ac_user_opts in
901 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
902 ac_unrecognized_sep
=', ';;
904 eval enable_
$ac_useropt=no
;;
906 -docdir |
--docdir |
--docdi |
--doc |
--do)
908 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
911 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
913 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
916 -enable-* |
--enable-*)
917 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
920 as_fn_error
"invalid feature name: $ac_useropt"
921 ac_useropt_orig
=$ac_useropt
922 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923 case $ac_user_opts in
927 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
928 ac_unrecognized_sep
=', ';;
930 eval enable_
$ac_useropt=\
$ac_optarg ;;
932 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
933 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
934 |
--exec |
--exe |
--ex)
935 ac_prev
=exec_prefix
;;
936 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
937 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
938 |
--exec=* |
--exe=* |
--ex=*)
939 exec_prefix
=$ac_optarg ;;
941 -gas |
--gas |
--ga |
--g)
942 # Obsolete; use --with-gas.
945 -help |
--help |
--hel |
--he |
-h)
947 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
948 ac_init_help
=recursive
;;
949 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
950 ac_init_help
=short
;;
952 -host |
--host |
--hos |
--ho)
953 ac_prev
=host_alias
;;
954 -host=* |
--host=* |
--hos=* |
--ho=*)
955 host_alias
=$ac_optarg ;;
957 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
959 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
961 htmldir
=$ac_optarg ;;
963 -includedir |
--includedir |
--includedi |
--included |
--include \
964 |
--includ |
--inclu |
--incl |
--inc)
965 ac_prev
=includedir
;;
966 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
967 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
968 includedir
=$ac_optarg ;;
970 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
972 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
973 infodir
=$ac_optarg ;;
975 -libdir |
--libdir |
--libdi |
--libd)
977 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
980 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
981 |
--libexe |
--libex |
--libe)
982 ac_prev
=libexecdir
;;
983 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
984 |
--libexe=* |
--libex=* |
--libe=*)
985 libexecdir
=$ac_optarg ;;
987 -localedir |
--localedir |
--localedi |
--localed |
--locale)
989 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
990 localedir
=$ac_optarg ;;
992 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
993 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
994 ac_prev
=localstatedir
;;
995 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
996 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
997 localstatedir
=$ac_optarg ;;
999 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1001 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1002 mandir
=$ac_optarg ;;
1004 -nfp |
--nfp |
--nf)
1005 # Obsolete; use --without-fp.
1008 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1009 |
--no-cr |
--no-c |
-n)
1012 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1013 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1016 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1017 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1018 |
--oldin |
--oldi |
--old |
--ol |
--o)
1019 ac_prev
=oldincludedir
;;
1020 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1021 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1022 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1023 oldincludedir
=$ac_optarg ;;
1025 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1027 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1028 prefix
=$ac_optarg ;;
1030 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1031 |
--program-pre |
--program-pr |
--program-p)
1032 ac_prev
=program_prefix
;;
1033 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1034 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1035 program_prefix
=$ac_optarg ;;
1037 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1038 |
--program-suf |
--program-su |
--program-s)
1039 ac_prev
=program_suffix
;;
1040 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1041 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1042 program_suffix
=$ac_optarg ;;
1044 -program-transform-name |
--program-transform-name \
1045 |
--program-transform-nam |
--program-transform-na \
1046 |
--program-transform-n |
--program-transform- \
1047 |
--program-transform |
--program-transfor \
1048 |
--program-transfo |
--program-transf \
1049 |
--program-trans |
--program-tran \
1050 |
--progr-tra |
--program-tr |
--program-t)
1051 ac_prev
=program_transform_name
;;
1052 -program-transform-name=* |
--program-transform-name=* \
1053 |
--program-transform-nam=* |
--program-transform-na=* \
1054 |
--program-transform-n=* |
--program-transform-=* \
1055 |
--program-transform=* |
--program-transfor=* \
1056 |
--program-transfo=* |
--program-transf=* \
1057 |
--program-trans=* |
--program-tran=* \
1058 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1059 program_transform_name
=$ac_optarg ;;
1061 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1063 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1064 pdfdir
=$ac_optarg ;;
1066 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1068 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1071 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1072 |
-silent |
--silent |
--silen |
--sile |
--sil)
1075 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1077 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1079 sbindir
=$ac_optarg ;;
1081 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1082 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1083 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1085 ac_prev
=sharedstatedir
;;
1086 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1087 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1088 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1090 sharedstatedir
=$ac_optarg ;;
1092 -site |
--site |
--sit)
1094 -site=* |
--site=* |
--sit=*)
1097 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1099 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1100 srcdir
=$ac_optarg ;;
1102 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1103 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1104 ac_prev
=sysconfdir
;;
1105 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1106 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1107 sysconfdir
=$ac_optarg ;;
1109 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1110 ac_prev
=target_alias
;;
1111 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1112 target_alias
=$ac_optarg ;;
1114 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1117 -version |
--version |
--versio |
--versi |
--vers |
-V)
1118 ac_init_version
=: ;;
1121 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1124 as_fn_error
"invalid package name: $ac_useropt"
1125 ac_useropt_orig
=$ac_useropt
1126 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1131 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1132 ac_unrecognized_sep
=', ';;
1134 eval with_
$ac_useropt=\
$ac_optarg ;;
1136 -without-* |
--without-*)
1137 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1140 as_fn_error
"invalid package name: $ac_useropt"
1141 ac_useropt_orig
=$ac_useropt
1142 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1147 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1148 ac_unrecognized_sep
=', ';;
1150 eval with_
$ac_useropt=no
;;
1153 # Obsolete; use --with-x.
1156 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1157 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1158 ac_prev
=x_includes
;;
1159 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1160 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1161 x_includes
=$ac_optarg ;;
1163 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1164 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1165 ac_prev
=x_libraries
;;
1166 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1167 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1168 x_libraries
=$ac_optarg ;;
1170 -*) as_fn_error
"unrecognized option: \`$ac_option'
1171 Try \`$0 --help' for more information."
1175 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1176 # Reject names that are not valid shell variable names.
1177 case $ac_envvar in #(
1178 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1179 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1181 eval $ac_envvar=\
$ac_optarg
1182 export $ac_envvar ;;
1185 # FIXME: should be removed in autoconf 3.0.
1186 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1188 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1189 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1195 if test -n "$ac_prev"; then
1196 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1197 as_fn_error
"missing argument to $ac_option"
1200 if test -n "$ac_unrecognized_opts"; then
1201 case $enable_option_checking in
1203 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1204 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1208 # Check all directory arguments for consistency.
1209 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1210 datadir sysconfdir sharedstatedir localstatedir includedir \
1211 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1212 libdir localedir mandir
1214 eval ac_val
=\$
$ac_var
1215 # Remove trailing slashes.
1218 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1219 eval $ac_var=\
$ac_val;;
1221 # Be sure to have absolute directory names.
1223 [\\/$
]* | ?
:[\\/]* ) continue;;
1224 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1226 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1229 # There might be people who depend on the old broken behavior: `$host'
1230 # used to hold the argument of --host etc.
1231 # FIXME: To remove some day.
1234 target
=$target_alias
1236 # FIXME: To remove some day.
1237 if test "x$host_alias" != x
; then
1238 if test "x$build_alias" = x
; then
1239 cross_compiling
=maybe
1240 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1241 If a cross compiler is detected then cross compile mode will be used." >&2
1242 elif test "x$build_alias" != "x$host_alias"; then
1248 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1250 test "$silent" = yes && exec 6>/dev
/null
1253 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1254 ac_ls_di
=`ls -di .` &&
1255 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1256 as_fn_error
"working directory cannot be determined"
1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1258 as_fn_error
"pwd does not report name of working directory"
1261 # Find the source files, if location was not specified.
1262 if test -z "$srcdir"; then
1263 ac_srcdir_defaulted
=yes
1264 # Try the directory containing this script, then the parent directory.
1265 ac_confdir
=`$as_dirname -- "$as_myself" ||
1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1267 X"$as_myself" : 'X\(//\)[^/]' \| \
1268 X"$as_myself" : 'X\(//\)$' \| \
1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1270 $as_echo X"$as_myself" |
1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1293 ac_srcdir_defaulted
=no
1295 if test ! -r "$srcdir/$ac_unique_file"; then
1296 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1297 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1299 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1303 # When building in place, set srcdir=.
1304 if test "$ac_abs_confdir" = "$ac_pwd"; then
1307 # Remove unnecessary trailing slashes from srcdir.
1308 # Double slashes in file names in object file debugging info
1309 # mess up M-x gdb in Emacs.
1311 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313 for ac_var
in $ac_precious_vars; do
1314 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1315 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1316 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1317 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1321 # Report the --help message.
1323 if test "$ac_init_help" = "long"; then
1324 # Omit some internal or obsolete options to make the list less imposing.
1325 # This message is too long to be a string in the A/UX 3.1 sh.
1327 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1329 Usage: $0 [OPTION]... [VAR=VALUE]...
1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1332 VAR=VALUE. See below for descriptions of some of the useful variables.
1334 Defaults for the options are specified in brackets.
1337 -h, --help display this help and exit
1338 --help=short display options specific to this package
1339 --help=recursive display the short help of all the included packages
1340 -V, --version display version information and exit
1341 -q, --quiet, --silent do not print \`checking...' messages
1342 --cache-file=FILE cache test results in FILE [disabled]
1343 -C, --config-cache alias for \`--cache-file=config.cache'
1344 -n, --no-create do not create output files
1345 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1347 Installation directories:
1348 --prefix=PREFIX install architecture-independent files in PREFIX
1349 [$ac_default_prefix]
1350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1353 By default, \`make install' will install all the files in
1354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1356 for instance \`--prefix=\$HOME'.
1358 For better control, use the options below.
1360 Fine tuning of the installation directories:
1361 --bindir=DIR user executables [EPREFIX/bin]
1362 --sbindir=DIR system admin executables [EPREFIX/sbin]
1363 --libexecdir=DIR program executables [EPREFIX/libexec]
1364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1367 --libdir=DIR object code libraries [EPREFIX/lib]
1368 --includedir=DIR C header files [PREFIX/include]
1369 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1370 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1371 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1372 --infodir=DIR info documentation [DATAROOTDIR/info]
1373 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1374 --mandir=DIR man documentation [DATAROOTDIR/man]
1375 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1376 --htmldir=DIR html documentation [DOCDIR]
1377 --dvidir=DIR dvi documentation [DOCDIR]
1378 --pdfdir=DIR pdf documentation [DOCDIR]
1379 --psdir=DIR ps documentation [DOCDIR]
1385 --program-prefix=PREFIX prepend PREFIX to installed program names
1386 --program-suffix=SUFFIX append SUFFIX to installed program names
1387 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1390 --build=BUILD configure
for building on BUILD
[guessed
]
1391 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1392 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1396 if test -n "$ac_init_help"; then
1397 case $ac_init_help in
1398 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1403 --disable-option-checking ignore unrecognized
--enable/--with options
1404 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1405 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1406 --enable-version-specific-runtime-libs
1407 specify that runtime libraries should be installed
1408 in a compiler-specific directory
1409 --enable-intermodule build the library
in one step
1410 --enable-maintainer-mode enable make rules and dependencies not useful
1411 (and sometimes confusing
) to the casual installer
1412 --enable-multilib build many library versions
(default
)
1413 --disable-dependency-tracking speeds up one-time build
1414 --enable-dependency-tracking do not reject slow dependency extractors
1415 --disable-symvers disable symbol versioning
for libgfortran
1416 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1417 --enable-static[=PKGS
] build static libraries
[default
=yes]
1418 --enable-fast-install[=PKGS
]
1419 optimize
for fast installation
[default
=yes]
1420 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1421 --disable-largefile omit support
for large files
1422 --disable-libquadmath-support
1423 disable libquadmath support
for Fortran
1426 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1427 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1428 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1429 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1431 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1432 --with-system-libunwind use installed libunwind
1434 Some influential environment variables
:
1435 CC C compiler
command
1436 CFLAGS C compiler flags
1437 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1438 nonstandard directory
<lib dir
>
1439 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1440 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1441 you have headers
in a nonstandard directory
<include dir
>
1443 FC Fortran compiler
command
1444 FCFLAGS Fortran compiler flags
1446 Use these variables to override the choices made by
`configure' or to help
1447 it to find libraries and programs with nonstandard names/locations.
1449 Report bugs to the package provider.
1450 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1451 General help using GNU software: <http://www.gnu.org/gethelp/>.
1456 if test "$ac_init_help" = "recursive"; then
1457 # If there are subdirs, report their specific --help.
1458 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1459 test -d "$ac_dir" ||
1460 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1465 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1467 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1468 # A ".." for each directory in $ac_dir_suffix.
1469 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1470 case $ac_top_builddir_sub in
1471 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1475 ac_abs_top_builddir=$ac_pwd
1476 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1477 # for backward compatibility:
1478 ac_top_builddir=$ac_top_build_prefix
1481 .) # We are building in place.
1483 ac_top_srcdir=$ac_top_builddir_sub
1484 ac_abs_top_srcdir=$ac_pwd ;;
1485 [\\/]* | ?:[\\/]* ) # Absolute name.
1486 ac_srcdir=$srcdir$ac_dir_suffix;
1487 ac_top_srcdir=$srcdir
1488 ac_abs_top_srcdir=$srcdir ;;
1490 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1491 ac_top_srcdir=$ac_top_build_prefix$srcdir
1492 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1494 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1496 cd "$ac_dir" || { ac_status=$?; continue; }
1497 # Check for guested configure.
1498 if test -f "$ac_srcdir/configure.gnu"; then
1500 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1501 elif test -f "$ac_srcdir/configure"; then
1503 $SHELL "$ac_srcdir/configure" --help=recursive
1505 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1507 cd "$ac_pwd" || { ac_status=$?; break; }
1511 test -n "$ac_init_help" && exit $ac_status
1512 if $ac_init_version; then
1514 GNU Fortran Runtime Library configure 0.3
1515 generated by GNU Autoconf 2.64
1517 Copyright (C) 2009 Free Software Foundation, Inc.
1518 This configure script is free software; the Free Software Foundation
1519 gives unlimited permission to copy, distribute and modify it.
1524 ## ------------------------ ##
1525 ## Autoconf initialization. ##
1526 ## ------------------------ ##
1528 # ac_fn_c_try_compile LINENO
1529 # --------------------------
1530 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1531 ac_fn_c_try_compile ()
1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534 rm -f conftest.$ac_objext
1535 if { { ac_try="$ac_compile"
1537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1538 *) ac_try_echo
=$ac_try;;
1540 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541 $as_echo "$ac_try_echo"; } >&5
1542 (eval "$ac_compile") 2>conftest.err
1544 if test -s conftest.err
; then
1545 grep -v '^ *+' conftest.err
>conftest.er1
1546 cat conftest.er1
>&5
1547 mv -f conftest.er1 conftest.err
1549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550 test $ac_status = 0; } && {
1551 test -z "$ac_c_werror_flag" ||
1552 test ! -s conftest.err
1553 } && test -s conftest.
$ac_objext; then :
1556 $as_echo "$as_me: failed program was:" >&5
1557 sed 's/^/| /' conftest.
$ac_ext >&5
1561 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1564 } # ac_fn_c_try_compile
1566 # ac_fn_c_try_cpp LINENO
1567 # ----------------------
1568 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1571 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1572 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1581 if test -s conftest.err; then
1582 grep -v '^ *+' conftest.err >conftest.er1
1583 cat conftest.er1 >&5
1584 mv -f conftest.er1 conftest.err
1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587 test $ac_status = 0; } >/dev/null && {
1588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1589 test ! -s conftest.err
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1598 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1603 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1604 # -------------------------------------------------------
1605 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1606 # the include files in INCLUDES and setting the cache variable VAR
1608 ac_fn_c_check_header_mongrel ()
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1615 $as_echo_n "(cached) " >&6
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619 $as_echo "$ac_res" >&6; }
1621 # Is the header compilable?
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1623 $as_echo_n "checking $2 usability... " >&6; }
1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625 /* end confdefs.h. */
1629 if ac_fn_c_try_compile "$LINENO"; then :
1630 ac_header_compiler=yes
1632 ac_header_compiler=no
1634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1636 $as_echo "$ac_header_compiler" >&6; }
1638 # Is the header present?
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1640 $as_echo_n "checking $2 presence... " >&6; }
1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1645 if ac_fn_c_try_cpp "$LINENO"; then :
1646 ac_header_preproc=yes
1648 ac_header_preproc=no
1650 rm -f conftest.err conftest.$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1652 $as_echo "$ac_header_preproc" >&6; }
1654 # So? What about this header?
1655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1658 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1660 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1664 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1666 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1668 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1670 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1672 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1678 $as_echo_n "(cached) " >&6
1680 eval "$3=\$ac_header_compiler"
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 } # ac_fn_c_check_header_mongrel
1690 # ac_fn_c_try_run LINENO
1691 # ----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1693 # that executables *can* be run.
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1700 *) ac_try_echo
=$ac_try;;
1702 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>&5
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1708 { { case "(($ac_try" in
1709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_try") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; }; }; then :
1720 $as_echo "$as_me: program exited with status $ac_status" >&5
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724 ac_retval=$ac_status
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1733 # -------------------------------------------------------
1734 # Tests whether HEADER exists and can be compiled using the include files in
1735 # INCLUDES, setting the cache variable VAR accordingly.
1736 ac_fn_c_check_header_compile ()
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1742 $as_echo_n "(cached) " >&6
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1749 if ac_fn_c_try_compile "$LINENO"; then :
1754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1761 } # ac_fn_c_check_header_compile
1763 # ac_fn_c_try_link LINENO
1764 # -----------------------
1765 # Try to link conftest.$ac_ext, and return whether this succeeded.
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 rm -f conftest.$ac_objext conftest$ac_exeext
1770 if { { ac_try="$ac_link"
1772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1773 *) ac_try_echo
=$ac_try;;
1775 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_link") 2>conftest.err
1779 if test -s conftest.err
; then
1780 grep -v '^ *+' conftest.err
>conftest.er1
1781 cat conftest.er1
>&5
1782 mv -f conftest.er1 conftest.err
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_c_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest
$ac_exeext && {
1789 test "$cross_compiling" = yes ||
1790 $as_test_x conftest
$ac_exeext
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.
$ac_ext >&5
1799 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1800 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1801 # interfere with the next link command; also delete a directory that is
1802 # left behind by Apple's compiler. We do this before executing the actions.
1803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1807 } # ac_fn_c_try_link
1809 # ac_fn_c_check_func LINENO FUNC VAR
1810 # ----------------------------------
1811 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1812 ac_fn_c_check_func
()
1814 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816 $as_echo_n "checking for $2... " >&6; }
1817 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1818 $as_echo_n "(cached) " >&6
1820 if test x
$gcc_no_link = xyes
; then
1821 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1825 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1827 #define $2 innocuous_$2
1829 /* System header to define __stub macros and hopefully few prototypes,
1830 which can conflict with char $2 (); below.
1831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1832 <limits.h> exists even on freestanding compilers. */
1835 # include <limits.h>
1837 # include <assert.h>
1842 /* Override any GCC internal prototype to avoid an error.
1843 Use char because int might match the return type of a GCC
1844 builtin and then its argument prototype would still apply. */
1849 /* The GNU C library defines this for functions which it implements
1850 to always fail with ENOSYS. Some functions are actually named
1851 something starting with __ and the normal name is an alias. */
1852 #if defined __stub_$2 || defined __stub___$2
1864 if ac_fn_c_try_link
"$LINENO"; then :
1869 rm -f core conftest.err conftest.
$ac_objext \
1870 conftest
$ac_exeext conftest.
$ac_ext
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874 $as_echo "$ac_res" >&6; }
1875 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1877 } # ac_fn_c_check_func
1879 # ac_fn_fc_try_compile LINENO
1880 # ---------------------------
1881 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1882 ac_fn_fc_try_compile
()
1884 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1885 rm -f conftest.
$ac_objext
1886 if { { ac_try
="$ac_compile"
1888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_compile") 2>conftest.err
1895 if test -s conftest.err; then
1896 grep -v '^ *+' conftest.err >conftest.er1
1897 cat conftest.er1 >&5
1898 mv -f conftest.er1 conftest.err
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; } && {
1902 test -z "$ac_fc_werror_flag" ||
1903 test ! -s conftest.err
1904 } && test -s conftest.$ac_objext; then :
1907 $as_echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1915 } # ac_fn_fc_try_compile
1917 # ac_fn_fc_try_link LINENO
1918 # ------------------------
1919 # Try to link conftest.$ac_ext, and return whether this succeeded.
1920 ac_fn_fc_try_link ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 rm -f conftest.$ac_objext conftest$ac_exeext
1924 if { { ac_try="$ac_link"
1926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1927 *) ac_try_echo
=$ac_try;;
1929 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930 $as_echo "$ac_try_echo"; } >&5
1931 (eval "$ac_link") 2>conftest.err
1933 if test -s conftest.err
; then
1934 grep -v '^ *+' conftest.err
>conftest.er1
1935 cat conftest.er1
>&5
1936 mv -f conftest.er1 conftest.err
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; } && {
1940 test -z "$ac_fc_werror_flag" ||
1941 test ! -s conftest.err
1942 } && test -s conftest
$ac_exeext && {
1943 test "$cross_compiling" = yes ||
1944 $as_test_x conftest
$ac_exeext
1948 $as_echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.
$ac_ext >&5
1953 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1954 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1955 # interfere with the next link command; also delete a directory that is
1956 # left behind by Apple's compiler. We do this before executing the actions.
1957 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1958 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1961 } # ac_fn_fc_try_link
1963 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1964 # -------------------------------------------
1965 # Tests whether TYPE exists after having included INCLUDES, setting cache
1966 # variable VAR accordingly.
1967 ac_fn_c_check_type
()
1969 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971 $as_echo_n "checking for $2... " >&6; }
1972 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1973 $as_echo_n "(cached) " >&6
1976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1988 if ac_fn_c_try_compile
"$LINENO"; then :
1989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h. */
2001 if ac_fn_c_try_compile
"$LINENO"; then :
2006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2015 } # ac_fn_c_check_type
2017 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2018 # --------------------------------------------
2019 # Tries to find the compile-time value of EXPR in a program that includes
2020 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2022 ac_fn_c_compute_int
()
2024 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2025 if test "$cross_compiling" = yes; then
2026 # Depending upon the size, compute the lo and hi bounds.
2027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2033 static int test_array [1 - 2 * !(($2) >= 0)];
2040 if ac_fn_c_try_compile
"$LINENO"; then :
2043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2049 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2056 if ac_fn_c_try_compile
"$LINENO"; then :
2057 ac_hi
=$ac_mid; break
2059 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2060 if test $ac_lo -le $ac_mid; then
2064 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2075 static int test_array [1 - 2 * !(($2) < 0)];
2082 if ac_fn_c_try_compile
"$LINENO"; then :
2085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2091 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2098 if ac_fn_c_try_compile
"$LINENO"; then :
2099 ac_lo
=$ac_mid; break
2101 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2102 if test $ac_mid -le $ac_hi; then
2106 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2116 # Binary search between lo and hi bounds.
2117 while test "x$ac_lo" != "x$ac_hi"; do
2118 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2120 /* end confdefs.h. */
2125 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2132 if ac_fn_c_try_compile
"$LINENO"; then :
2135 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2140 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2145 /* end confdefs.h. */
2147 static long int longval () { return $2; }
2148 static unsigned long int ulongval () { return $2; }
2155 FILE *f = fopen ("conftest.val", "w");
2160 long int i = longval ();
2163 fprintf (f, "%ld", i);
2167 unsigned long int i = ulongval ();
2170 fprintf (f, "%lu", i);
2172 /* Do not output a trailing newline, as this causes \r\n confusion
2173 on some platforms. */
2174 return ferror (f) || fclose (f) != 0;
2180 if ac_fn_c_try_run
"$LINENO"; then :
2181 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2185 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2186 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2190 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2193 } # ac_fn_c_compute_int
2195 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2196 # ----------------------------------------------------
2197 # Tries to find if the field MEMBER exists in type AGGR, after including
2198 # INCLUDES, setting cache variable VAR accordingly.
2199 ac_fn_c_check_member
()
2201 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2203 $as_echo_n "checking for $2.$3... " >&6; }
2204 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2205 $as_echo_n "(cached) " >&6
2207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2220 if ac_fn_c_try_compile
"$LINENO"; then :
2223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2224 /* end confdefs.h. */
2230 if (sizeof ac_aggr.$3)
2236 if ac_fn_c_try_compile
"$LINENO"; then :
2241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2248 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2250 } # ac_fn_c_check_member
2251 cat >config.log
<<_ACEOF
2252 This file contains any messages produced by compilers while
2253 running configure, to aid debugging if configure makes a mistake.
2255 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2256 generated by GNU Autoconf 2.64. Invocation command line was
2268 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2269 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2270 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2271 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2272 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2274 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2275 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2277 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2278 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2279 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2280 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2281 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2282 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2283 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir
=.
2292 $as_echo "PATH: $as_dir"
2308 # Keep a trace of the command line.
2309 # Strip out --no-create and --no-recursion so they do not pile up.
2310 # Strip out --silent because we don't want to record it for future runs.
2311 # Also quote any args containing shell meta-characters.
2312 # Make two passes to allow for proper duplicate-argument suppression.
2316 ac_must_keep_next
=false
2322 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2323 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2324 |
-silent |
--silent |
--silen |
--sile |
--sil)
2327 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2330 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2332 as_fn_append ac_configure_args1
" '$ac_arg'"
2333 if test $ac_must_keep_next = true
; then
2334 ac_must_keep_next
=false
# Got value, back to normal.
2337 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2338 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2339 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2340 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2341 case "$ac_configure_args0 " in
2342 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2345 -* ) ac_must_keep_next
=true
;;
2348 as_fn_append ac_configure_args
" '$ac_arg'"
2353 { ac_configure_args0
=; unset ac_configure_args0
;}
2354 { ac_configure_args1
=; unset ac_configure_args1
;}
2356 # When interrupted or exit'd, cleanup temporary files, and complete
2357 # config.log. We remove comments because anyway the quotes in there
2358 # would cause problems or look ugly.
2359 # WARNING: Use '\'' to represent an apostrophe within the trap.
2360 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2361 trap 'exit_status=$?
2362 # Save into config.log some information that might help in debugging.
2367 ## ---------------- ##
2368 ## Cache variables. ##
2369 ## ---------------- ##
2372 # The following way of writing the cache mishandles newlines in values,
2374 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2375 eval ac_val=\$$ac_var
2379 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2383 _ | IFS | as_nl) ;; #(
2384 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2385 *) { eval $ac_var=; unset $ac_var;} ;;
2390 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2391 *${as_nl}ac_space=\ *)
2393 "s/'\''/'\''\\\\'\'''\''/g;
2394 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2397 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2405 ## ----------------- ##
2406 ## Output variables. ##
2407 ## ----------------- ##
2410 for ac_var in $ac_subst_vars
2412 eval ac_val=\$$ac_var
2414 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2416 $as_echo "$ac_var='\''$ac_val'\''"
2420 if test -n "$ac_subst_files"; then
2422 ## ------------------- ##
2423 ## File substitutions. ##
2424 ## ------------------- ##
2427 for ac_var
in $ac_subst_files
2429 eval ac_val
=\$
$ac_var
2431 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2433 $as_echo "$ac_var='\''$ac_val'\''"
2438 if test -s confdefs.h; then
2448 test "$ac_signal" != 0 &&
2449 $as_echo "$as_me: caught signal $ac_signal"
2450 $as_echo "$as_me: exit $exit_status"
2452 rm -f core *.core core.conftest.* &&
2453 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2456 for ac_signal
in 1 2 13 15; do
2457 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2461 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2462 rm -f -r conftest
* confdefs.h
2464 $as_echo "/* confdefs.h */" > confdefs.h
2466 # Predefined preprocessor variables.
2468 cat >>confdefs.h
<<_ACEOF
2469 #define PACKAGE_NAME "$PACKAGE_NAME"
2472 cat >>confdefs.h
<<_ACEOF
2473 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2476 cat >>confdefs.h
<<_ACEOF
2477 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2480 cat >>confdefs.h
<<_ACEOF
2481 #define PACKAGE_STRING "$PACKAGE_STRING"
2484 cat >>confdefs.h
<<_ACEOF
2485 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_URL "$PACKAGE_URL"
2493 # Let the site file select an alternate cache file if it wants to.
2494 # Prefer an explicitly selected file to automatically selected ones.
2497 if test -n "$CONFIG_SITE"; then
2498 ac_site_file1
=$CONFIG_SITE
2499 elif test "x$prefix" != xNONE
; then
2500 ac_site_file1
=$prefix/share
/config.site
2501 ac_site_file2
=$prefix/etc
/config.site
2503 ac_site_file1
=$ac_default_prefix/share
/config.site
2504 ac_site_file2
=$ac_default_prefix/etc
/config.site
2506 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2508 test "x$ac_site_file" = xNONE
&& continue
2509 if test -r "$ac_site_file"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2511 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2512 sed 's/^/| /' "$ac_site_file" >&5
2517 if test -r "$cache_file"; then
2518 # Some versions of bash will fail to source /dev/null (special
2519 # files actually), so we avoid doing that.
2520 if test -f "$cache_file"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2522 $as_echo "$as_me: loading cache $cache_file" >&6;}
2524 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2525 *) .
"./$cache_file";;
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2530 $as_echo "$as_me: creating cache $cache_file" >&6;}
2534 as_fn_append ac_header_list
" unistd.h"
2535 as_fn_append ac_header_list
" sys/time.h"
2536 as_fn_append ac_header_list
" sys/times.h"
2537 as_fn_append ac_header_list
" sys/resource.h"
2538 as_fn_append ac_header_list
" sys/types.h"
2539 as_fn_append ac_header_list
" sys/stat.h"
2540 as_fn_append ac_header_list
" sys/wait.h"
2541 as_fn_append ac_header_list
" floatingpoint.h"
2542 as_fn_append ac_header_list
" ieeefp.h"
2543 as_fn_append ac_header_list
" fenv.h"
2544 as_fn_append ac_header_list
" fptrap.h"
2545 as_fn_append ac_header_list
" fpxcp.h"
2546 as_fn_append ac_header_list
" pwd.h"
2547 as_fn_append ac_header_list
" complex.h"
2548 as_fn_append ac_func_list
" getrusage"
2549 as_fn_append ac_func_list
" times"
2550 as_fn_append ac_func_list
" mkstemp"
2551 as_fn_append ac_func_list
" strtof"
2552 as_fn_append ac_func_list
" strtold"
2553 as_fn_append ac_func_list
" snprintf"
2554 as_fn_append ac_func_list
" ftruncate"
2555 as_fn_append ac_func_list
" chsize"
2556 as_fn_append ac_func_list
" chdir"
2557 as_fn_append ac_func_list
" getlogin"
2558 as_fn_append ac_func_list
" gethostname"
2559 as_fn_append ac_func_list
" kill"
2560 as_fn_append ac_func_list
" link"
2561 as_fn_append ac_func_list
" symlink"
2562 as_fn_append ac_func_list
" sleep"
2563 as_fn_append ac_func_list
" ttyname"
2564 as_fn_append ac_func_list
" alarm"
2565 as_fn_append ac_func_list
" access"
2566 as_fn_append ac_func_list
" fork"
2567 as_fn_append ac_func_list
" execl"
2568 as_fn_append ac_func_list
" wait"
2569 as_fn_append ac_func_list
" setmode"
2570 as_fn_append ac_func_list
" execve"
2571 as_fn_append ac_func_list
" pipe"
2572 as_fn_append ac_func_list
" dup2"
2573 as_fn_append ac_func_list
" close"
2574 as_fn_append ac_func_list
" strcasestr"
2575 as_fn_append ac_func_list
" getrlimit"
2576 as_fn_append ac_func_list
" gettimeofday"
2577 as_fn_append ac_func_list
" stat"
2578 as_fn_append ac_func_list
" fstat"
2579 as_fn_append ac_func_list
" lstat"
2580 as_fn_append ac_func_list
" getpwuid"
2581 as_fn_append ac_func_list
" vsnprintf"
2582 as_fn_append ac_func_list
" dup"
2583 as_fn_append ac_func_list
" getcwd"
2584 as_fn_append ac_func_list
" localtime_r"
2585 as_fn_append ac_func_list
" gmtime_r"
2586 as_fn_append ac_func_list
" getpwuid_r"
2587 as_fn_append ac_func_list
" ttyname_r"
2588 as_fn_append ac_func_list
" clock_gettime"
2589 as_fn_append ac_func_list
" readlink"
2590 as_fn_append ac_func_list
" getgid"
2591 as_fn_append ac_func_list
" getpid"
2592 as_fn_append ac_func_list
" getppid"
2593 as_fn_append ac_func_list
" getuid"
2594 as_fn_append ac_func_list
" geteuid"
2595 as_fn_append ac_func_list
" umask"
2596 as_fn_append ac_func_list
" getegid"
2597 as_fn_append ac_func_list
" secure_getenv"
2598 as_fn_append ac_func_list
" __secure_getenv"
2599 as_fn_append ac_header_list
" math.h"
2600 # Check that the precious variables saved in the cache have kept the same
2602 ac_cache_corrupted
=false
2603 for ac_var
in $ac_precious_vars; do
2604 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2605 eval ac_new_set
=\
$ac_env_${ac_var}_set
2606 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2607 eval ac_new_val
=\
$ac_env_${ac_var}_value
2608 case $ac_old_set,$ac_new_set in
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2611 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2612 ac_cache_corrupted
=: ;;
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2615 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2616 ac_cache_corrupted
=: ;;
2619 if test "x$ac_old_val" != "x$ac_new_val"; then
2620 # differences in whitespace do not lead to failure.
2621 ac_old_val_w
=`echo x $ac_old_val`
2622 ac_new_val_w
=`echo x $ac_new_val`
2623 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2625 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2626 ac_cache_corrupted
=:
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2629 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2630 eval $ac_var=\
$ac_old_val
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2633 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2635 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2638 # Pass precious variables to config.status.
2639 if test "$ac_new_set" = set; then
2641 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2642 *) ac_arg
=$ac_var=$ac_new_val ;;
2644 case " $ac_configure_args " in
2645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2646 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2650 if $ac_cache_corrupted; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2654 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2655 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2657 ## -------------------- ##
2658 ## Main body of script. ##
2659 ## -------------------- ##
2662 ac_cpp
='$CPP $CPPFLAGS'
2663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2671 ac_config_headers
="$ac_config_headers config.h"
2674 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2675 for ac_t
in install-sh
install.sh shtool
; do
2676 if test -f "$ac_dir/$ac_t"; then
2678 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2683 if test -z "$ac_aux_dir"; then
2684 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2687 # These three variables are undocumented and unsupported,
2688 # and are intended to be withdrawn in a future Autoconf release.
2689 # They can cause serious problems if a builder's source tree is in a directory
2690 # whose full name contains unusual characters.
2691 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2692 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2693 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2696 # Make sure we can run config.sub.
2697 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2698 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2701 $as_echo_n "checking build system type... " >&6; }
2702 if test "${ac_cv_build+set}" = set; then :
2703 $as_echo_n "(cached) " >&6
2705 ac_build_alias
=$build_alias
2706 test "x$ac_build_alias" = x
&&
2707 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2708 test "x$ac_build_alias" = x
&&
2709 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2710 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2711 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2715 $as_echo "$ac_cv_build" >&6; }
2716 case $ac_cv_build in
2718 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2721 ac_save_IFS
=$IFS; IFS
='-'
2727 # Remember, the first character of IFS is used to create $*,
2728 # except with old shells:
2731 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2734 case ${build_alias} in
2735 "") build_noncanonical
=${build} ;;
2736 *) build_noncanonical
=${build_alias} ;;
2739 case ${host_alias} in
2740 "") host_noncanonical
=${build_noncanonical} ;;
2741 *) host_noncanonical
=${host_alias} ;;
2744 case ${target_alias} in
2745 "") target_noncanonical
=${host_noncanonical} ;;
2746 *) target_noncanonical
=${target_alias} ;;
2750 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2751 # have matching libraries, they should use host libraries: Makefile.tpl
2752 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2753 # However, they still use the build modules, because the corresponding
2754 # host modules (e.g. bison) are only built for the host when bootstrap
2756 # - build_subdir is where we find build modules, and never changes.
2757 # - build_libsubdir is where we find build libraries, and can be overridden.
2759 # Prefix 'build-' so this never conflicts with target_subdir.
2760 build_subdir
="build-${build_noncanonical}"
2762 # Check whether --with-build-libsubdir was given.
2763 if test "${with_build_libsubdir+set}" = set; then :
2764 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2766 build_libsubdir
="$build_subdir"
2769 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2770 if ( test $srcdir = .
&& test -d gcc
) \
2771 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2772 host_subdir
="host-${host_noncanonical}"
2777 target_subdir
=${target_noncanonical}
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2785 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2786 # Check whether --enable-version-specific-runtime-libs was given.
2787 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2788 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2789 yes) version_specific_libs
=yes ;;
2790 no
) version_specific_libs
=no
;;
2791 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2794 version_specific_libs
=no
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2798 $as_echo "$version_specific_libs" >&6; }
2800 # Build with intermodule optimisations
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2802 $as_echo_n "checking for --enable-intermodule... " >&6; }
2803 # Check whether --enable-intermodule was given.
2804 if test "${enable_intermodule+set}" = set; then :
2805 enableval
=$enable_intermodule; case "$enable_intermodule" in
2806 yes) onestep
="-onestep";;
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2814 $as_echo "$enable_intermodule" >&6; }
2815 if test x
$onestep = x-onestep
; then
2825 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2827 # You will slowly go insane if you do not grok the following fact: when
2828 # building this library, the top-level /target/ becomes the library's /host/.
2830 # configure then causes --target to default to --host, exactly like any
2831 # other package using autoconf. Therefore, 'target' and 'host' will
2832 # always be the same. This makes sense both for native and cross compilers
2833 # just think about it for a little while. :-)
2835 # Also, if this library is being configured as part of a cross compiler, the
2836 # top-level configure script will pass the "real" host as $with_cross_host.
2838 # Do not delete or change the following two lines. For why, see
2839 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2841 $as_echo_n "checking host system type... " >&6; }
2842 if test "${ac_cv_host+set}" = set; then :
2843 $as_echo_n "(cached) " >&6
2845 if test "x$host_alias" = x
; then
2846 ac_cv_host
=$ac_cv_build
2848 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2849 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2854 $as_echo "$ac_cv_host" >&6; }
2857 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2860 ac_save_IFS
=$IFS; IFS
='-'
2866 # Remember, the first character of IFS is used to create $*,
2867 # except with old shells:
2870 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2874 $as_echo_n "checking target system type... " >&6; }
2875 if test "${ac_cv_target+set}" = set; then :
2876 $as_echo_n "(cached) " >&6
2878 if test "x$target_alias" = x
; then
2879 ac_cv_target
=$ac_cv_host
2881 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2882 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2887 $as_echo "$ac_cv_target" >&6; }
2888 case $ac_cv_target in
2890 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2892 target
=$ac_cv_target
2893 ac_save_IFS
=$IFS; IFS
='-'
2899 # Remember, the first character of IFS is used to create $*,
2900 # except with old shells:
2903 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2906 # The aliases save the names the user supplied, while $host etc.
2907 # will get canonicalized.
2908 test -n "$target_alias" &&
2909 test "$program_prefix$program_suffix$program_transform_name" = \
2911 program_prefix
=${target_alias}-
2916 target_alias
=${target_alias-$host_alias}
2919 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2920 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2921 # 1.9.6: minimum required version
2922 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2923 # of other PACKAGE_* variables will, however, and there's nothing
2924 # we can do about that; they come from AC_INIT).
2925 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2926 # file in the top srcdir, etc, etc), so stop complaining.
2927 # no-dist: we don't want 'dist' and related rules.
2928 # -Wall: turns on all automake warnings...
2929 # -Wno-portability: ...except this one, since GNU make is required.
2930 am__api_version
='1.11'
2932 # Find a good install program. We prefer a C program (faster),
2933 # so one script is as good as another. But avoid the broken or
2934 # incompatible versions:
2935 # SysV /etc/install, /usr/sbin/install
2936 # SunOS /usr/etc/install
2937 # IRIX /sbin/install
2939 # AmigaOS /C/install, which installs bootblocks on floppy discs
2940 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2941 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2942 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2943 # OS/2's system install, which has a completely different semantic
2944 # ./install, which can be erroneously created by make from ./install.sh.
2945 # Reject install programs that cannot install multiple files.
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2947 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2948 if test -z "$INSTALL"; then
2949 if test "${ac_cv_path_install+set}" = set; then :
2950 $as_echo_n "(cached) " >&6
2952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir
=.
2957 # Account for people who put trailing slashes in PATH elements.
2958 case $as_dir/ in #((
2959 .
/ | .
// |
/[cC
]/* | \
2960 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2961 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2964 # OSF1 and SCO ODT 3.0 have their own names for install.
2965 # Don't use installbsd from OSF since it installs stuff as root
2967 for ac_prog
in ginstall scoinst
install; do
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2970 if test $ac_prog = install &&
2971 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2972 # AIX install. It has an incompatible calling convention.
2974 elif test $ac_prog = install &&
2975 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2976 # program-specific install script used by HP pwplus--don't use.
2979 rm -rf conftest.one conftest.two conftest.dir
2980 echo one
> conftest.one
2981 echo two
> conftest.two
2983 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2984 test -s conftest.one
&& test -s conftest.two
&&
2985 test -s conftest.dir
/conftest.one
&&
2986 test -s conftest.dir
/conftest.two
2988 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3001 rm -rf conftest.one conftest.two conftest.dir
3004 if test "${ac_cv_path_install+set}" = set; then
3005 INSTALL
=$ac_cv_path_install
3007 # As a last resort, use the slow shell script. Don't cache a
3008 # value for INSTALL within a source directory, because that will
3009 # break other packages using the cache if that directory is
3010 # removed, or if the value is a relative name.
3011 INSTALL
=$ac_install_sh
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3015 $as_echo "$INSTALL" >&6; }
3017 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3018 # It thinks the first close brace ends the variable substitution.
3019 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3021 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3023 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3026 $as_echo_n "checking whether build environment is sane... " >&6; }
3029 echo timestamp
> conftest.
file
3030 # Reject unsafe characters in $srcdir or the absolute working directory
3031 # name. Accept space and tab only in the latter.
3035 *[\\\"\
#\$\&\'\`$am_lf]*)
3036 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3039 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3040 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3043 # Do `set' in a subshell so we don't clobber the current shell's
3044 # arguments. Must try -L first in case configure is actually a
3045 # symlink; some systems play weird games with the mod time of symlinks
3046 # (eg FreeBSD returns the mod time of the symlink's containing
3049 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3050 if test "$*" = "X"; then
3052 set X
`ls -t "$srcdir/configure" conftest.file`
3055 if test "$*" != "X $srcdir/configure conftest.file" \
3056 && test "$*" != "X conftest.file $srcdir/configure"; then
3058 # If neither matched, then we have a broken ls. This can happen
3059 # if, for instance, CONFIG_SHELL is bash and it inherits a
3060 # broken ls alias from the environment. This has actually
3061 # happened. Such a system could not be considered "sane".
3062 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3063 alias in your environment" "$LINENO" 5
3066 test "$2" = conftest.
file
3072 as_fn_error
"newly created file is older than distributed files!
3073 Check your system clock" "$LINENO" 5
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3076 $as_echo "yes" >&6; }
3077 test "$program_prefix" != NONE
&&
3078 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3079 # Use a double $ so make ignores it.
3080 test "$program_suffix" != NONE
&&
3081 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3082 # Double any \ or $.
3083 # By default was `s,x,x', remove it if useless.
3084 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3085 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3087 # expand $ac_aux_dir to an absolute path
3088 am_aux_dir
=`cd $ac_aux_dir && pwd`
3090 if test x
"${MISSING+set}" != xset
; then
3093 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3095 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3098 # Use eval to expand $SHELL
3099 if eval "$MISSING --run true"; then
3100 am_missing_run
="$MISSING --run "
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3104 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3107 if test x
"${install_sh}" != xset
; then
3110 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3112 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3116 # Installed binaries are usually stripped using `strip' when the user
3117 # run `make install-strip'. However `strip' might not be the right
3118 # tool to use in cross-compilation environments, therefore Automake
3119 # will honor the `STRIP' environment variable to overrule this program.
3120 if test "$cross_compiling" != no
; then
3121 if test -n "$ac_tool_prefix"; then
3122 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3123 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3125 $as_echo_n "checking for $ac_word... " >&6; }
3126 if test "${ac_cv_prog_STRIP+set}" = set; then :
3127 $as_echo_n "(cached) " >&6
3129 if test -n "$STRIP"; then
3130 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3136 test -z "$as_dir" && as_dir
=.
3137 for ac_exec_ext
in '' $ac_executable_extensions; do
3138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3139 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 STRIP
=$ac_cv_prog_STRIP
3150 if test -n "$STRIP"; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3152 $as_echo "$STRIP" >&6; }
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155 $as_echo "no" >&6; }
3160 if test -z "$ac_cv_prog_STRIP"; then
3162 # Extract the first word of "strip", so it can be a program name with args.
3163 set dummy strip
; ac_word
=$2
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165 $as_echo_n "checking for $ac_word... " >&6; }
3166 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3167 $as_echo_n "(cached) " >&6
3169 if test -n "$ac_ct_STRIP"; then
3170 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir
=.
3177 for ac_exec_ext
in '' $ac_executable_extensions; do
3178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179 ac_cv_prog_ac_ct_STRIP
="strip"
3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3190 if test -n "$ac_ct_STRIP"; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3192 $as_echo "$ac_ct_STRIP" >&6; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195 $as_echo "no" >&6; }
3198 if test "x$ac_ct_STRIP" = x
; then
3201 case $cross_compiling:$ac_tool_warned in
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3205 ac_tool_warned
=yes ;;
3210 STRIP
="$ac_cv_prog_STRIP"
3214 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3217 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3218 if test -z "$MKDIR_P"; then
3219 if test "${ac_cv_path_mkdir+set}" = set; then :
3220 $as_echo_n "(cached) " >&6
3222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3223 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3226 test -z "$as_dir" && as_dir
=.
3227 for ac_prog
in mkdir gmkdir
; do
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3230 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3231 'mkdir (GNU coreutils) '* | \
3232 'mkdir (coreutils) '* | \
3233 'mkdir (fileutils) '4.1*)
3234 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3244 if test "${ac_cv_path_mkdir+set}" = set; then
3245 MKDIR_P
="$ac_cv_path_mkdir -p"
3247 # As a last resort, use the slow shell script. Don't cache a
3248 # value for MKDIR_P within a source directory, because that will
3249 # break other packages using the cache if that directory is
3250 # removed, or if the value is a relative name.
3251 test -d .
/--version && rmdir .
/--version
3252 MKDIR_P
="$ac_install_sh -d"
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3256 $as_echo "$MKDIR_P" >&6; }
3260 [\\/$
]* | ?
:[\\/]*) ;;
3261 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3264 for ac_prog
in gawk mawk nawk
awk
3266 # Extract the first word of "$ac_prog", so it can be a program name with args.
3267 set dummy
$ac_prog; ac_word
=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_AWK+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3273 if test -n "$AWK"; then
3274 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3280 test -z "$as_dir" && as_dir
=.
3281 for ac_exec_ext
in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_AWK
="$ac_prog"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3294 if test -n "$AWK"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3296 $as_echo "$AWK" >&6; }
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3303 test -n "$AWK" && break
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3307 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3309 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3310 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3311 $as_echo_n "(cached) " >&6
3313 cat >conftest.
make <<\_ACEOF
3316 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3318 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3319 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3321 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3323 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3327 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3329 $as_echo "yes" >&6; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 $as_echo "no" >&6; }
3334 SET_MAKE
="MAKE=${MAKE-make}"
3337 rm -rf .tst
2>/dev
/null
3338 mkdir .tst
2>/dev
/null
3339 if test -d .tst
; then
3344 rmdir .tst
2>/dev
/null
3346 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3347 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3348 # is not polluted with repeated "-I."
3349 am__isrc
=' -I$(srcdir)'
3350 # test to see if srcdir already configured
3351 if test -f $srcdir/config.status
; then
3352 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3356 # test whether we have cygpath
3357 if test -z "$CYGPATH_W"; then
3358 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3359 CYGPATH_W
='cygpath -w'
3366 # Define the identity of the package.
3367 PACKAGE
='libgfortran'
3371 # Some tools Automake needs.
3373 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3376 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3379 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3382 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3385 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3387 # We need awk for the "check" target. The system "awk" is bad on
3389 # Always define AMTAR for backward compatibility.
3391 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3393 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3402 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3403 # Check whether --enable-maintainer-mode was given.
3404 if test "${enable_maintainer_mode+set}" = set; then :
3405 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3407 USE_MAINTAINER_MODE
=no
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3411 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3412 if test $USE_MAINTAINER_MODE = yes; then
3413 MAINTAINER_MODE_TRUE
=
3414 MAINTAINER_MODE_FALSE
='#'
3416 MAINTAINER_MODE_TRUE
='#'
3417 MAINTAINER_MODE_FALSE
=
3420 MAINT
=$MAINTAINER_MODE_TRUE
3423 # Default to --enable-multilib
3424 # Check whether --enable-multilib was given.
3425 if test "${enable_multilib+set}" = set; then :
3426 enableval
=$enable_multilib; case "$enableval" in
3427 yes) multilib
=yes ;;
3429 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3436 # We may get other options which we leave undocumented:
3437 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3438 # See config-ml.in if you want the gory details.
3440 if test "$srcdir" = "."; then
3441 if test "$with_target_subdir" != "."; then
3442 multi_basedir
="$srcdir/$with_multisrctop../.."
3444 multi_basedir
="$srcdir/$with_multisrctop.."
3447 multi_basedir
="$srcdir/.."
3451 # Even if the default multilib is not a cross compilation,
3452 # it may be that some of the other multilibs are.
3453 if test $cross_compiling = no
&& test $multilib = yes \
3454 && test "x${with_multisubdir}" != x
; then
3455 cross_compiling
=maybe
3458 ac_config_commands
="$ac_config_commands default-1"
3461 # Handy for debugging:
3462 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3464 # Are we being configured with some form of cross compiler?
3465 # NB: We don't actually need to know this just now, but when, say, a test
3466 # suite is included, we'll have to know.
3467 if test "$build" != "$host"; then
3468 LIBGFOR_IS_NATIVE
=false
3471 LIBGFOR_IS_NATIVE
=true
3474 DEPDIR
="${am__leading_dot}deps"
3476 ac_config_commands
="$ac_config_commands depfiles"
3479 am_make
=${MAKE-make}
3480 cat > confinc
<< 'END'
3482 @
echo this is the am__doit target
3485 # If we don't find an include directive, just comment out the code.
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3487 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3491 # First try GNU make style include.
3492 echo "include confinc" > confmf
3493 # Ignore all kinds of additional output from `make'.
3494 case `$am_make -s -f confmf 2> /dev/null` in #(
3495 *the\ am__doit\ target
*)
3501 # Now try BSD make style include.
3502 if test "$am__include" = "#"; then
3503 echo '.include "confinc"' > confmf
3504 case `$am_make -s -f confmf 2> /dev/null` in #(
3505 *the\ am__doit\ target
*)
3506 am__include
=.include
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3515 $as_echo "$_am_result" >&6; }
3516 rm -f confinc confmf
3518 # Check whether --enable-dependency-tracking was given.
3519 if test "${enable_dependency_tracking+set}" = set; then :
3520 enableval
=$enable_dependency_tracking;
3523 if test "x$enable_dependency_tracking" != xno
; then
3524 am_depcomp
="$ac_aux_dir/depcomp"
3527 if test "x$enable_dependency_tracking" != xno; then
3537 ac_cpp
='$CPP $CPPFLAGS'
3538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3543 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if test "${ac_cv_prog_CC+set}" = set; then :
3547 $as_echo_n "(cached) " >&6
3549 if test -n "$CC"; then
3550 ac_cv_prog_CC
="$CC" # Let the user override the test.
3552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3556 test -z "$as_dir" && as_dir
=.
3557 for ac_exec_ext
in '' $ac_executable_extensions; do
3558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3559 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 if test -n "$CC"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3572 $as_echo "$CC" >&6; }
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3580 if test -z "$ac_cv_prog_CC"; then
3582 # Extract the first word of "gcc", so it can be a program name with args.
3583 set dummy gcc
; ac_word
=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3587 $as_echo_n "(cached) " >&6
3589 if test -n "$ac_ct_CC"; then
3590 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3596 test -z "$as_dir" && as_dir
=.
3597 for ac_exec_ext
in '' $ac_executable_extensions; do
3598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3599 ac_cv_prog_ac_ct_CC
="gcc"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3610 if test -n "$ac_ct_CC"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3612 $as_echo "$ac_ct_CC" >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3618 if test "x$ac_ct_CC" = x
; then
3621 case $cross_compiling:$ac_tool_warned in
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3625 ac_tool_warned
=yes ;;
3633 if test -z "$CC"; then
3634 if test -n "$ac_tool_prefix"; then
3635 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3636 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if test "${ac_cv_prog_CC+set}" = set; then :
3640 $as_echo_n "(cached) " >&6
3642 if test -n "$CC"; then
3643 ac_cv_prog_CC
="$CC" # Let the user override the test.
3645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir
=.
3650 for ac_exec_ext
in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 if test -n "$CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665 $as_echo "$CC" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3674 if test -z "$CC"; then
3675 # Extract the first word of "cc", so it can be a program name with args.
3676 set dummy cc
; ac_word
=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if test "${ac_cv_prog_CC+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3682 if test -n "$CC"; then
3683 ac_cv_prog_CC
="$CC" # Let the user override the test.
3686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir
=.
3691 for ac_exec_ext
in '' $ac_executable_extensions; do
3692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3694 ac_prog_rejected
=yes
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 if test $ac_prog_rejected = yes; then
3706 # We found a bogon in the path, so make sure we never use it.
3707 set dummy
$ac_cv_prog_CC
3709 if test $# != 0; then
3710 # We chose a different compiler from the bogus one.
3711 # However, it has the same basename, so the bogon will be chosen
3712 # first if we set CC to just the basename; use the full file name.
3714 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3720 if test -n "$CC"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3722 $as_echo "$CC" >&6; }
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3730 if test -z "$CC"; then
3731 if test -n "$ac_tool_prefix"; then
3732 for ac_prog
in cl.exe
3734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3735 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if test "${ac_cv_prog_CC+set}" = set; then :
3739 $as_echo_n "(cached) " >&6
3741 if test -n "$CC"; then
3742 ac_cv_prog_CC
="$CC" # Let the user override the test.
3744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3748 test -z "$as_dir" && as_dir
=.
3749 for ac_exec_ext
in '' $ac_executable_extensions; do
3750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3751 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 if test -n "$CC"; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3764 $as_echo "$CC" >&6; }
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767 $as_echo "no" >&6; }
3771 test -n "$CC" && break
3774 if test -z "$CC"; then
3776 for ac_prog
in cl.exe
3778 # Extract the first word of "$ac_prog", so it can be a program name with args.
3779 set dummy
$ac_prog; ac_word
=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3785 if test -n "$ac_ct_CC"; then
3786 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir
=.
3793 for ac_exec_ext
in '' $ac_executable_extensions; do
3794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3795 ac_cv_prog_ac_ct_CC
="$ac_prog"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3806 if test -n "$ac_ct_CC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3808 $as_echo "$ac_ct_CC" >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3815 test -n "$ac_ct_CC" && break
3818 if test "x$ac_ct_CC" = x
; then
3821 case $cross_compiling:$ac_tool_warned in
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3825 ac_tool_warned
=yes ;;
3834 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 as_fn_error
"no acceptable C compiler found in \$PATH
3837 See \`config.log' for more details." "$LINENO" 5; }
3839 # Provide some information about the compiler.
3840 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3843 for ac_option
in --version -v -V -qversion; do
3844 { { ac_try
="$ac_compiler $ac_option >&5"
3846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3850 $as_echo "$ac_try_echo"; } >&5
3851 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3853 if test -s conftest.err; then
3855 ... rest of stderr output deleted ...
3856 10q' conftest.err >conftest.er1
3857 cat conftest.er1 >&5
3858 rm -f conftest.er1 conftest.err
3860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3861 test $ac_status = 0; }
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3877 (eval $ac_link) 2>&5
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }; then :
3885 if test x$gcc_no_link = xyes; then
3886 # Setting cross_compile will disable run tests; it will
3887 # also disable AC_CHECK_FILE but that's generally
3888 # correct if we can't link.
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3903 ac_clean_files_save=$ac_clean_files
3904 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3905 # Try to create an executable without -o first, disregard a.out.
3906 # It will help us diagnose broken compilers, and finding out an intuition
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3909 $as_echo_n "checking for C compiler default output file name... " >&6; }
3910 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3912 # The possible output files:
3913 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3916 for ac_file in $ac_files
3919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3920 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3925 if { { ac_try="$ac_link_default"
3927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3928 *) ac_try_echo
=$ac_try;;
3930 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3931 $as_echo "$ac_try_echo"; } >&5
3932 (eval "$ac_link_default") 2>&5
3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3935 test $ac_status = 0; }; then :
3936 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3937 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3938 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3939 # so that the user can short-circuit this test for compilers unknown to
3941 for ac_file
in $ac_files ''
3943 test -f "$ac_file" ||
continue
3945 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3948 # We found the default executable, but exeext='' is most
3952 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3954 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3956 # We set ac_cv_exeext here because the later test for it is not
3957 # safe: cross compilers may not add the suffix if given an `-o'
3958 # argument, so we may need to know it at that point already.
3959 # Even if this section looks crufty: it has the advantage of
3966 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3972 $as_echo "$ac_file" >&6; }
3973 if test -z "$ac_file"; then :
3974 $as_echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.
$ac_ext >&5
3977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3979 { as_fn_set_status
77
3980 as_fn_error
"C compiler cannot create executables
3981 See \`config.log' for more details." "$LINENO" 5; }; }
3983 ac_exeext
=$ac_cv_exeext
3985 # Check that the compiler produces executables we can run. If not, either
3986 # the compiler is broken, or we cross compile.
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3988 $as_echo_n "checking whether the C compiler works... " >&6; }
3989 # If not cross compiling, check that we can run a simple program.
3990 if test "$cross_compiling" != yes; then
3991 if { ac_try
='./$ac_file'
3992 { { case "(($ac_try" in
3993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998 (eval "$ac_try") 2>&5
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }; }; then
4004 if test "$cross_compiling" = maybe; then
4007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 as_fn_error "cannot run C compiled programs.
4010 If you meant to cross compile
, use \
`--host'.
4011 See \`config.log
' for more details." "$LINENO" 5; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4016 $as_echo "yes" >&6; }
4018 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4019 ac_clean_files=$ac_clean_files_save
4020 # Check that the compiler produces executables we can run. If not, either
4021 # the compiler is broken, or we cross compile.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4023 $as_echo_n "checking whether we are cross compiling... " >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4025 $as_echo "$cross_compiling" >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4028 $as_echo_n "checking for suffix of executables... " >&6; }
4029 if { { ac_try="$ac_link"
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_link") 2>&5
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }; then :
4040 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4041 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4042 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4044 for ac_file
in conftest.exe conftest conftest.
*; do
4045 test -f "$ac_file" ||
continue
4047 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4048 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4056 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4057 See \`config.log' for more details." "$LINENO" 5; }
4059 rm -f conftest
$ac_cv_exeext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4061 $as_echo "$ac_cv_exeext" >&6; }
4063 rm -f conftest.
$ac_ext
4064 EXEEXT
=$ac_cv_exeext
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4068 $as_echo_n "checking for suffix of object files... " >&6; }
4069 if test "${ac_cv_objext+set}" = set; then :
4070 $as_echo_n "(cached) " >&6
4072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4083 rm -f conftest.o conftest.obj
4084 if { { ac_try
="$ac_compile"
4086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_compile") 2>&5
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }; then :
4095 for ac_file in conftest.o conftest.obj conftest.*; do
4096 test -f "$ac_file" || continue;
4098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4099 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4104 $as_echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.$ac_ext >&5
4107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4109 as_fn_error "cannot compute suffix of object files
: cannot compile
4110 See \
`config.log' for more details." "$LINENO" 5; }
4112 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4115 $as_echo "$ac_cv_objext" >&6; }
4116 OBJEXT=$ac_cv_objext
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4119 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4120 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4121 $as_echo_n "(cached) " >&6
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4137 if ac_fn_c_try_compile "$LINENO"; then :
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4147 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4148 if test $ac_compiler_gnu = yes; then
4153 ac_test_CFLAGS=${CFLAGS+set}
4154 ac_save_CFLAGS=$CFLAGS
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4156 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4157 if test "${ac_cv_prog_cc_g+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4160 ac_save_c_werror_flag=$ac_c_werror_flag
4161 ac_c_werror_flag=yes
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4175 if ac_fn_c_try_compile "$LINENO"; then :
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4190 if ac_fn_c_try_compile "$LINENO"; then :
4193 ac_c_werror_flag=$ac_save_c_werror_flag
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4206 if ac_fn_c_try_compile "$LINENO"; then :
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 ac_c_werror_flag=$ac_save_c_werror_flag
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4217 $as_echo "$ac_cv_prog_cc_g" >&6; }
4218 if test "$ac_test_CFLAGS" = set; then
4219 CFLAGS=$ac_save_CFLAGS
4220 elif test $ac_cv_prog_cc_g = yes; then
4221 if test "$GCC" = yes; then
4227 if test "$GCC" = yes; then
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4234 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4235 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4236 $as_echo_n "(cached) " >&6
4238 ac_cv_prog_cc_c89=no
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4244 #include <sys/types.h>
4245 #include <sys/stat.h>
4246 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4247 struct buf { int x; };
4248 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4249 static char *e (p, i)
4255 static char *f (char * (*g) (char **, int), char **p, ...)
4260 s = g (p, va_arg (v,int));
4265 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4266 function prototypes and stuff, but not '\xHH' hex character constants.
4267 These don't provoke an error unfortunately, instead are silently treated
4268 as 'x'. The following induces an error, until -std is added to get
4269 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4270 array size at least. It's necessary to write '\x00'==0 to get something
4271 that's true only with -std. */
4272 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4274 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4275 inside strings and character constants. */
4277 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4279 int test (int i, double x);
4280 struct s1 {int (*f) (int a);};
4281 struct s2 {int (*f) (double a);};
4282 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4288 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4293 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4294 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4296 CC="$ac_save_CC $ac_arg"
4297 if ac_fn_c_try_compile "$LINENO"; then :
4298 ac_cv_prog_cc_c89=$ac_arg
4300 rm -f core conftest.err conftest.$ac_objext
4301 test "x$ac_cv_prog_cc_c89" != "xno" && break
4303 rm -f conftest.$ac_ext
4308 case "x$ac_cv_prog_cc_c89" in
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4311 $as_echo "none needed" >&6; } ;;
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4314 $as_echo "unsupported" >&6; } ;;
4316 CC="$CC $ac_cv_prog_cc_c89"
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4318 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4320 if test "x$ac_cv_prog_cc_c89" != xno; then :
4325 ac_cpp='$CPP $CPPFLAGS'
4326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4330 depcc="$CC" am_compiler_list=
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4333 $as_echo_n "checking dependency style of $depcc... " >&6; }
4334 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4335 $as_echo_n "(cached) " >&6
4337 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4338 # We make a subdir and do the tests there. Otherwise we can end up
4339 # making bogus files that we don't know about and never remove. For
4340 # instance it was reported that on HP-UX the gcc test will end up
4341 # making a dummy file named `D
' -- because `-MD' means
`put the output
4344 # Copy depcomp to subdir because otherwise we won't find it if we're
4345 # using a relative directory.
4346 cp "$am_depcomp" conftest.dir
4348 # We will build objects and dependencies in a subdirectory because
4349 # it helps to detect inapplicable dependency modes. For instance
4350 # both Tru64's cc and ICC support -MD to output dependencies as a
4351 # side effect of compilation, but ICC will put the dependencies in
4352 # the current directory while Tru64 will put them in the object
4356 am_cv_CC_dependencies_compiler_type=none
4357 if test "$am_compiler_list" = ""; then
4358 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4361 case " $depcc " in #(
4362 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4365 for depmode in $am_compiler_list; do
4366 # Setup a source with many dependencies, because some compilers
4367 # like to wrap large dependency lists on column 80 (with \), and
4368 # we should not choose a depcomp mode which is confused by this.
4370 # We need to recreate these files for each test, as the compiler may
4371 # overwrite some of them when testing with obscure command lines.
4372 # This happens at least with the AIX C compiler.
4374 for i in 1 2 3 4 5 6; do
4375 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4376 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4377 # Solaris 8's
{/usr
,}/bin
/sh.
4378 touch sub
/conftst
$i.h
4380 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4382 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4383 # mode. It turns out that the SunPro C++ compiler does not properly
4384 # handle `-M -o', and we need to detect this. Also, some Intel
4385 # versions had trouble with output in subdirs
4386 am__obj
=sub
/conftest.
${OBJEXT-o}
4387 am__minus_obj
="-o $am__obj"
4390 # This depmode causes a compiler race in universal mode.
4391 test "$am__universal" = false ||
continue
4394 # after this tag, mechanisms are not by side-effect, so they'll
4395 # only be used when explicitly requested
4396 if test "x$enable_dependency_tracking" = xyes
; then
4402 msvisualcpp | msvcmsys
)
4403 # This compiler won't grok `-c -o', but also, the minuso test has
4404 # not run yet. These depmodes are late enough in the game, and
4405 # so weak that their functioning should not be impacted.
4406 am__obj
=conftest.
${OBJEXT-o}
4411 if depmode
=$depmode \
4412 source=sub
/conftest.c object
=$am__obj \
4413 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4414 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4415 >/dev
/null
2>conftest.err
&&
4416 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4417 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4418 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4419 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4420 # icc doesn't choke on unknown options, it will just issue warnings
4421 # or remarks (even with -Werror). So we grep stderr for any message
4422 # that says an option was ignored or not supported.
4423 # When given -MP, icc 7.0 and 7.1 complain thusly:
4424 # icc: Command line warning: ignoring option '-M'; no argument required
4425 # The diagnosis changed in icc 8.0:
4426 # icc: Command line remark: option '-MP' not supported
4427 if (grep 'ignoring option' conftest.err ||
4428 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4429 am_cv_CC_dependencies_compiler_type
=$depmode
4438 am_cv_CC_dependencies_compiler_type
=none
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4443 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4444 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4447 test "x$enable_dependency_tracking" != xno \
4448 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4450 am__fastdepCC_FALSE
='#'
4452 am__fastdepCC_TRUE
='#'
4453 am__fastdepCC_FALSE
=
4459 ac_cpp
='$CPP $CPPFLAGS'
4460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4464 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4465 # On Suns, sometimes $CPP names a directory.
4466 if test -n "$CPP" && test -d "$CPP"; then
4469 if test -z "$CPP"; then
4470 if test "${ac_cv_prog_CPP+set}" = set; then :
4471 $as_echo_n "(cached) " >&6
4473 # Double quotes because CPP needs to be expanded
4474 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4477 for ac_c_preproc_warn_flag
in '' yes
4479 # Use a header file that comes with gcc, so configuring glibc
4480 # with a fresh cross-compiler works.
4481 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4482 # <limits.h> exists even on freestanding compilers.
4483 # On the NeXT, cc -E runs the code through the compiler's parser,
4484 # not just through cpp. "Syntax error" is here to catch this case.
4485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4488 # include <limits.h>
4490 # include <assert.h>
4494 if ac_fn_c_try_cpp
"$LINENO"; then :
4497 # Broken: fails on valid input.
4500 rm -f conftest.err conftest.
$ac_ext
4502 # OK, works on sane cases. Now check whether nonexistent headers
4503 # can be detected and how.
4504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4506 #include <ac_nonexistent.h>
4508 if ac_fn_c_try_cpp
"$LINENO"; then :
4509 # Broken: success on invalid input.
4512 # Passes both tests.
4516 rm -f conftest.err conftest.
$ac_ext
4519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4520 rm -f conftest.err conftest.
$ac_ext
4521 if $ac_preproc_ok; then :
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4534 $as_echo "$CPP" >&6; }
4536 for ac_c_preproc_warn_flag
in '' yes
4538 # Use a header file that comes with gcc, so configuring glibc
4539 # with a fresh cross-compiler works.
4540 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4541 # <limits.h> exists even on freestanding compilers.
4542 # On the NeXT, cc -E runs the code through the compiler's parser,
4543 # not just through cpp. "Syntax error" is here to catch this case.
4544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4547 # include <limits.h>
4549 # include <assert.h>
4553 if ac_fn_c_try_cpp
"$LINENO"; then :
4556 # Broken: fails on valid input.
4559 rm -f conftest.err conftest.
$ac_ext
4561 # OK, works on sane cases. Now check whether nonexistent headers
4562 # can be detected and how.
4563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4565 #include <ac_nonexistent.h>
4567 if ac_fn_c_try_cpp
"$LINENO"; then :
4568 # Broken: success on invalid input.
4571 # Passes both tests.
4575 rm -f conftest.err conftest.
$ac_ext
4578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4579 rm -f conftest.err conftest.
$ac_ext
4580 if $ac_preproc_ok; then :
4583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4585 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4586 See \`config.log' for more details." "$LINENO" 5; }
4590 ac_cpp
='$CPP $CPPFLAGS'
4591 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4597 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4598 if test "${ac_cv_path_GREP+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4601 if test -z "$GREP"; then
4602 ac_path_GREP_found
=false
4603 # Loop through the user's path and test for each of PROGNAME-LIST
4604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4605 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4608 test -z "$as_dir" && as_dir
=.
4609 for ac_prog
in grep ggrep
; do
4610 for ac_exec_ext
in '' $ac_executable_extensions; do
4611 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4612 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4613 # Check for GNU ac_path_GREP and select it if it is found.
4614 # Check for GNU $ac_path_GREP
4615 case `"$ac_path_GREP" --version 2>&1` in
4617 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4620 $as_echo_n 0123456789 >"conftest.in"
4623 cat "conftest.in" "conftest.in" >"conftest.tmp"
4624 mv "conftest.tmp" "conftest.in"
4625 cp "conftest.in" "conftest.nl"
4626 $as_echo 'GREP' >> "conftest.nl"
4627 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4628 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4629 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4630 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4631 # Best one so far, save it but keep looking for a better one
4632 ac_cv_path_GREP
="$ac_path_GREP"
4633 ac_path_GREP_max
=$ac_count
4635 # 10*(2^10) chars as input seems more than enough
4636 test $ac_count -gt 10 && break
4638 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4641 $ac_path_GREP_found && break 3
4646 if test -z "$ac_cv_path_GREP"; then
4647 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4650 ac_cv_path_GREP
=$GREP
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4655 $as_echo "$ac_cv_path_GREP" >&6; }
4656 GREP
="$ac_cv_path_GREP"
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4660 $as_echo_n "checking for egrep... " >&6; }
4661 if test "${ac_cv_path_EGREP+set}" = set; then :
4662 $as_echo_n "(cached) " >&6
4664 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4665 then ac_cv_path_EGREP
="$GREP -E"
4667 if test -z "$EGREP"; then
4668 ac_path_EGREP_found
=false
4669 # Loop through the user's path and test for each of PROGNAME-LIST
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_prog
in egrep; do
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4678 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4679 # Check for GNU ac_path_EGREP and select it if it is found.
4680 # Check for GNU $ac_path_EGREP
4681 case `"$ac_path_EGREP" --version 2>&1` in
4683 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4686 $as_echo_n 0123456789 >"conftest.in"
4689 cat "conftest.in" "conftest.in" >"conftest.tmp"
4690 mv "conftest.tmp" "conftest.in"
4691 cp "conftest.in" "conftest.nl"
4692 $as_echo 'EGREP' >> "conftest.nl"
4693 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4694 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4695 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4696 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4697 # Best one so far, save it but keep looking for a better one
4698 ac_cv_path_EGREP
="$ac_path_EGREP"
4699 ac_path_EGREP_max
=$ac_count
4701 # 10*(2^10) chars as input seems more than enough
4702 test $ac_count -gt 10 && break
4704 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4707 $ac_path_EGREP_found && break 3
4712 if test -z "$ac_cv_path_EGREP"; then
4713 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4716 ac_cv_path_EGREP
=$EGREP
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4722 $as_echo "$ac_cv_path_EGREP" >&6; }
4723 EGREP
="$ac_cv_path_EGREP"
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4727 $as_echo_n "checking for ANSI C header files... " >&6; }
4728 if test "${ac_cv_header_stdc+set}" = set; then :
4729 $as_echo_n "(cached) " >&6
4731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4746 if ac_fn_c_try_compile
"$LINENO"; then :
4747 ac_cv_header_stdc
=yes
4749 ac_cv_header_stdc
=no
4751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4753 if test $ac_cv_header_stdc = yes; then
4754 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4761 $EGREP "memchr" >/dev
/null
2>&1; then :
4764 ac_cv_header_stdc
=no
4770 if test $ac_cv_header_stdc = yes; then
4771 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4778 $EGREP "free" >/dev
/null
2>&1; then :
4781 ac_cv_header_stdc
=no
4787 if test $ac_cv_header_stdc = yes; then
4788 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4789 if test "$cross_compiling" = yes; then :
4792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4796 #if ((' ' & 0x0FF) == 0x020)
4797 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4798 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4800 # define ISLOWER(c) \
4801 (('a' <= (c) && (c) <= 'i') \
4802 || ('j' <= (c) && (c) <= 'r') \
4803 || ('s' <= (c) && (c) <= 'z'))
4804 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4807 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4812 for (i = 0; i < 256; i++)
4813 if (XOR (islower (i), ISLOWER (i))
4814 || toupper (i) != TOUPPER (i))
4819 if ac_fn_c_try_run
"$LINENO"; then :
4822 ac_cv_header_stdc
=no
4824 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4825 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4831 $as_echo "$ac_cv_header_stdc" >&6; }
4832 if test $ac_cv_header_stdc = yes; then
4834 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4838 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4839 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4840 inttypes.h stdint.h unistd.h
4842 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4843 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4845 eval as_val
=\$
$as_ac_Header
4846 if test "x$as_val" = x
""yes; then :
4847 cat >>confdefs.h
<<_ACEOF
4848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4857 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4858 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4865 if test "$MINIX" = yes; then
4867 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4870 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4873 $as_echo "#define _MINIX 1" >>confdefs.h
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4879 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4880 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4881 $as_echo_n "(cached) " >&6
4883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4886 # define __EXTENSIONS__ 1
4887 $ac_includes_default
4896 if ac_fn_c_try_compile
"$LINENO"; then :
4897 ac_cv_safe_to_define___extensions__
=yes
4899 ac_cv_safe_to_define___extensions__
=no
4901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4904 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4905 test $ac_cv_safe_to_define___extensions__ = yes &&
4906 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4908 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4910 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4912 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4914 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4918 # Calculate toolexeclibdir
4919 # Also toolexecdir, though it's only used in toolexeclibdir
4920 case ${version_specific_libs} in
4922 # Need the gcc compiler version to know where to install libraries
4923 # and header files if --enable-version-specific-runtime-libs option
4925 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4926 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4929 if test -n "$with_cross_host" &&
4930 test x
"$with_cross_host" != x
"no"; then
4931 # Install a library built with a cross compiler in tooldir, not libdir.
4932 toolexecdir
='$(exec_prefix)/$(target_alias)'
4933 toolexeclibdir
='$(toolexecdir)/lib'
4935 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4936 toolexeclibdir
='$(libdir)'
4938 multi_os_directory
=`$CC -print-multi-os-directory`
4939 case $multi_os_directory in
4940 .
) ;; # Avoid trailing /.
4941 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4948 # Create a spec file, so that compile/link tests don't fail
4949 test -f libgfortran.spec ||
touch libgfortran.spec
4952 ac_cpp
='$CPP $CPPFLAGS'
4953 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4954 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4955 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4957 # Check the compiler.
4958 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4959 # We must force CC to /not/ be precious variables; otherwise
4960 # the wrong, non-multilib-adjusted value will be used in multilibs.
4961 # As a side effect, we have to subst CFLAGS ourselves.
4966 ac_cpp
='$CPP $CPPFLAGS'
4967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4970 if test -n "$ac_tool_prefix"; then
4971 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4972 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if test "${ac_cv_prog_CC+set}" = set; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$CC"; then
4979 ac_cv_prog_CC
="$CC" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir
=.
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4988 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 if test -n "$CC"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5001 $as_echo "$CC" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5009 if test -z "$ac_cv_prog_CC"; then
5011 # Extract the first word of "gcc", so it can be a program name with args.
5012 set dummy gcc
; ac_word
=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5016 $as_echo_n "(cached) " >&6
5018 if test -n "$ac_ct_CC"; then
5019 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5025 test -z "$as_dir" && as_dir
=.
5026 for ac_exec_ext
in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_ac_ct_CC
="gcc"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5039 if test -n "$ac_ct_CC"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5041 $as_echo "$ac_ct_CC" >&6; }
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5047 if test "x$ac_ct_CC" = x
; then
5050 case $cross_compiling:$ac_tool_warned in
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5054 ac_tool_warned
=yes ;;
5062 if test -z "$CC"; then
5063 if test -n "$ac_tool_prefix"; then
5064 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5065 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if test "${ac_cv_prog_CC+set}" = set; then :
5069 $as_echo_n "(cached) " >&6
5071 if test -n "$CC"; then
5072 ac_cv_prog_CC
="$CC" # Let the user override the test.
5074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5078 test -z "$as_dir" && as_dir
=.
5079 for ac_exec_ext
in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 if test -n "$CC"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5094 $as_echo "$CC" >&6; }
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5103 if test -z "$CC"; then
5104 # Extract the first word of "cc", so it can be a program name with args.
5105 set dummy cc
; ac_word
=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if test "${ac_cv_prog_CC+set}" = set; then :
5109 $as_echo_n "(cached) " >&6
5111 if test -n "$CC"; then
5112 ac_cv_prog_CC
="$CC" # Let the user override the test.
5115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir
=.
5120 for ac_exec_ext
in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5123 ac_prog_rejected
=yes
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 if test $ac_prog_rejected = yes; then
5135 # We found a bogon in the path, so make sure we never use it.
5136 set dummy
$ac_cv_prog_CC
5138 if test $# != 0; then
5139 # We chose a different compiler from the bogus one.
5140 # However, it has the same basename, so the bogon will be chosen
5141 # first if we set CC to just the basename; use the full file name.
5143 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5149 if test -n "$CC"; then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5151 $as_echo "$CC" >&6; }
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5159 if test -z "$CC"; then
5160 if test -n "$ac_tool_prefix"; then
5161 for ac_prog
in cl.exe
5163 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5164 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 $as_echo_n "checking for $ac_word... " >&6; }
5167 if test "${ac_cv_prog_CC+set}" = set; then :
5168 $as_echo_n "(cached) " >&6
5170 if test -n "$CC"; then
5171 ac_cv_prog_CC
="$CC" # Let the user override the test.
5173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir
=.
5178 for ac_exec_ext
in '' $ac_executable_extensions; do
5179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5180 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 if test -n "$CC"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5193 $as_echo "$CC" >&6; }
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5200 test -n "$CC" && break
5203 if test -z "$CC"; then
5205 for ac_prog
in cl.exe
5207 # Extract the first word of "$ac_prog", so it can be a program name with args.
5208 set dummy
$ac_prog; ac_word
=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5212 $as_echo_n "(cached) " >&6
5214 if test -n "$ac_ct_CC"; then
5215 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5221 test -z "$as_dir" && as_dir
=.
5222 for ac_exec_ext
in '' $ac_executable_extensions; do
5223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5224 ac_cv_prog_ac_ct_CC
="$ac_prog"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5235 if test -n "$ac_ct_CC"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5237 $as_echo "$ac_ct_CC" >&6; }
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5244 test -n "$ac_ct_CC" && break
5247 if test "x$ac_ct_CC" = x
; then
5250 case $cross_compiling:$ac_tool_warned in
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5254 ac_tool_warned
=yes ;;
5263 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5265 as_fn_error
"no acceptable C compiler found in \$PATH
5266 See \`config.log' for more details." "$LINENO" 5; }
5268 # Provide some information about the compiler.
5269 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5272 for ac_option
in --version -v -V -qversion; do
5273 { { ac_try
="$ac_compiler $ac_option >&5"
5275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5279 $as_echo "$ac_try_echo"; } >&5
5280 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5282 if test -s conftest.err; then
5284 ... rest of stderr output deleted ...
5285 10q' conftest.err >conftest.er1
5286 cat conftest.er1 >&5
5287 rm -f conftest.er1 conftest.err
5289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5294 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5295 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5296 $as_echo_n "(cached) " >&6
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5312 if ac_fn_c_try_compile "$LINENO"; then :
5317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5318 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5322 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5323 if test $ac_compiler_gnu = yes; then
5328 ac_test_CFLAGS=${CFLAGS+set}
5329 ac_save_CFLAGS=$CFLAGS
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5331 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5332 if test "${ac_cv_prog_cc_g+set}" = set; then :
5333 $as_echo_n "(cached) " >&6
5335 ac_save_c_werror_flag=$ac_c_werror_flag
5336 ac_c_werror_flag=yes
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5350 if ac_fn_c_try_compile "$LINENO"; then :
5354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5355 /* end confdefs.h. */
5365 if ac_fn_c_try_compile "$LINENO"; then :
5368 ac_c_werror_flag=$ac_save_c_werror_flag
5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5381 if ac_fn_c_try_compile "$LINENO"; then :
5384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5389 ac_c_werror_flag=$ac_save_c_werror_flag
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5392 $as_echo "$ac_cv_prog_cc_g" >&6; }
5393 if test "$ac_test_CFLAGS" = set; then
5394 CFLAGS=$ac_save_CFLAGS
5395 elif test $ac_cv_prog_cc_g = yes; then
5396 if test "$GCC" = yes; then
5402 if test "$GCC" = yes; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5409 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5410 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5411 $as_echo_n "(cached) " >&6
5413 ac_cv_prog_cc_c89=no
5415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5419 #include <sys/types.h>
5420 #include <sys/stat.h>
5421 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5422 struct buf { int x; };
5423 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5424 static char *e (p, i)
5430 static char *f (char * (*g) (char **, int), char **p, ...)
5435 s = g (p, va_arg (v,int));
5440 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5441 function prototypes and stuff, but not '\xHH' hex character constants.
5442 These don't provoke an error unfortunately, instead are silently treated
5443 as 'x'. The following induces an error, until -std is added to get
5444 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5445 array size at least. It's necessary to write '\x00'==0 to get something
5446 that's true only with -std. */
5447 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5449 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5450 inside strings and character constants. */
5452 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5454 int test (int i, double x);
5455 struct s1 {int (*f) (int a);};
5456 struct s2 {int (*f) (double a);};
5457 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5463 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5468 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5469 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5471 CC="$ac_save_CC $ac_arg"
5472 if ac_fn_c_try_compile "$LINENO"; then :
5473 ac_cv_prog_cc_c89=$ac_arg
5475 rm -f core conftest.err conftest.$ac_objext
5476 test "x$ac_cv_prog_cc_c89" != "xno" && break
5478 rm -f conftest.$ac_ext
5483 case "x$ac_cv_prog_cc_c89" in
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5486 $as_echo "none needed" >&6; } ;;
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5489 $as_echo "unsupported" >&6; } ;;
5491 CC="$CC $ac_cv_prog_cc_c89"
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5493 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5495 if test "x$ac_cv_prog_cc_c89" != xno; then :
5500 ac_cpp='$CPP $CPPFLAGS'
5501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5505 depcc="$CC" am_compiler_list=
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5508 $as_echo_n "checking dependency style of $depcc... " >&6; }
5509 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5510 $as_echo_n "(cached) " >&6
5512 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5513 # We make a subdir and do the tests there. Otherwise we can end up
5514 # making bogus files that we don't know about and never remove. For
5515 # instance it was reported that on HP-UX the gcc test will end up
5516 # making a dummy file named `D
' -- because `-MD' means
`put the output
5519 # Copy depcomp to subdir because otherwise we won't find it if we're
5520 # using a relative directory.
5521 cp "$am_depcomp" conftest.dir
5523 # We will build objects and dependencies in a subdirectory because
5524 # it helps to detect inapplicable dependency modes. For instance
5525 # both Tru64's cc and ICC support -MD to output dependencies as a
5526 # side effect of compilation, but ICC will put the dependencies in
5527 # the current directory while Tru64 will put them in the object
5531 am_cv_CC_dependencies_compiler_type=none
5532 if test "$am_compiler_list" = ""; then
5533 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5536 case " $depcc " in #(
5537 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5540 for depmode in $am_compiler_list; do
5541 # Setup a source with many dependencies, because some compilers
5542 # like to wrap large dependency lists on column 80 (with \), and
5543 # we should not choose a depcomp mode which is confused by this.
5545 # We need to recreate these files for each test, as the compiler may
5546 # overwrite some of them when testing with obscure command lines.
5547 # This happens at least with the AIX C compiler.
5549 for i in 1 2 3 4 5 6; do
5550 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5551 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5552 # Solaris 8's
{/usr
,}/bin
/sh.
5553 touch sub
/conftst
$i.h
5555 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5557 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5558 # mode. It turns out that the SunPro C++ compiler does not properly
5559 # handle `-M -o', and we need to detect this. Also, some Intel
5560 # versions had trouble with output in subdirs
5561 am__obj
=sub
/conftest.
${OBJEXT-o}
5562 am__minus_obj
="-o $am__obj"
5565 # This depmode causes a compiler race in universal mode.
5566 test "$am__universal" = false ||
continue
5569 # after this tag, mechanisms are not by side-effect, so they'll
5570 # only be used when explicitly requested
5571 if test "x$enable_dependency_tracking" = xyes
; then
5577 msvisualcpp | msvcmsys
)
5578 # This compiler won't grok `-c -o', but also, the minuso test has
5579 # not run yet. These depmodes are late enough in the game, and
5580 # so weak that their functioning should not be impacted.
5581 am__obj
=conftest.
${OBJEXT-o}
5586 if depmode
=$depmode \
5587 source=sub
/conftest.c object
=$am__obj \
5588 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5589 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5590 >/dev
/null
2>conftest.err
&&
5591 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5592 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5593 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5594 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5595 # icc doesn't choke on unknown options, it will just issue warnings
5596 # or remarks (even with -Werror). So we grep stderr for any message
5597 # that says an option was ignored or not supported.
5598 # When given -MP, icc 7.0 and 7.1 complain thusly:
5599 # icc: Command line warning: ignoring option '-M'; no argument required
5600 # The diagnosis changed in icc 8.0:
5601 # icc: Command line remark: option '-MP' not supported
5602 if (grep 'ignoring option' conftest.err ||
5603 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5604 am_cv_CC_dependencies_compiler_type
=$depmode
5613 am_cv_CC_dependencies_compiler_type
=none
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5618 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5619 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5622 test "x$enable_dependency_tracking" != xno \
5623 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5625 am__fastdepCC_FALSE
='#'
5627 am__fastdepCC_TRUE
='#'
5628 am__fastdepCC_FALSE
=
5636 if test "x$CC" != xcc
; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5638 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5641 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5643 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5644 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5645 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5646 $as_echo_n "(cached) " >&6
5648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5649 /* end confdefs.h. */
5659 # Make sure it works both with $CC and with simple cc.
5660 # We do the test twice because some compilers refuse to overwrite an
5661 # existing .o file with -o, though they will create one.
5662 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5664 if { { case "(($ac_try" in
5665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5666 *) ac_try_echo=$ac_try;;
5668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5669 $as_echo "$ac_try_echo"; } >&5
5670 (eval "$ac_try") 2>&5
5672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5673 test $ac_status = 0; } &&
5674 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5676 *) ac_try_echo
=$ac_try;;
5678 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5679 $as_echo "$ac_try_echo"; } >&5
5680 (eval "$ac_try") 2>&5
5682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5683 test $ac_status = 0; };
5685 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5686 if test "x$CC" != xcc
; then
5687 # Test first that cc exists at all.
5688 if { ac_try
='cc -c conftest.$ac_ext >&5'
5689 { { case "(($ac_try" in
5690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5691 *) ac_try_echo=$ac_try;;
5693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5694 $as_echo "$ac_try_echo"; } >&5
5695 (eval "$ac_try") 2>&5
5697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5698 test $ac_status = 0; }; }; then
5699 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5701 if { { case "(($ac_try" in
5702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5703 *) ac_try_echo
=$ac_try;;
5705 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5706 $as_echo "$ac_try_echo"; } >&5
5707 (eval "$ac_try") 2>&5
5709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5710 test $ac_status = 0; } &&
5711 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5713 *) ac_try_echo=$ac_try;;
5715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5716 $as_echo "$ac_try_echo"; } >&5
5717 (eval "$ac_try") 2>&5
5719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5720 test $ac_status = 0; };
5725 # cc exists but doesn't like -o.
5726 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5731 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5733 rm -f core conftest*
5736 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5738 $as_echo "yes" >&6; }
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5743 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5747 # FIXME: we rely on the cache variable name because
5748 # there is no other way.
5750 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5751 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5752 if test "$am_t" != yes; then
5753 # Losing compiler, so override with the script.
5754 # FIXME: It is wrong to rewrite CC.
5755 # But if we don't then we get into trouble of one sort or another.
5756 # A longer-term fix would be to have automake use am__CC in this case,
5757 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5758 CC="$am_aux_dir/compile $CC"
5763 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5764 if test "x$GCC" = "xyes"; then
5765 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5766 ## We like to use C99 routines when available. This makes sure that
5767 ## __STDC_VERSION__ is set such that libc includes make them available.
5768 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5769 ## Compile the following tests with the same system header contents
5770 ## that we'll encounter when compiling our own source files.
5771 CFLAGS="-std=gnu99 $CFLAGS"
5777 # Check for symbol versioning (copied from libssp).
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5779 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5780 # Check whether --enable-symvers was given.
5781 if test "${enable_symvers+set}" = set; then :
5782 enableval=$enable_symvers; gfortran_use_symver=$enableval
5784 gfortran_use_symver=yes
5787 if test "x$gfortran_use_symver" != xno; then
5788 save_LDFLAGS="$LDFLAGS"
5789 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5790 cat > conftest.map <<EOF
5792 global: *foo*; bar; local: *;
5795 if test x$gcc_no_link = xyes; then
5796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5809 if ac_fn_c_try_link "$LINENO"; then :
5810 gfortran_use_symver=gnu
5812 gfortran_use_symver=no
5814 rm -f core conftest.err conftest.$ac_objext \
5815 conftest$ac_exeext conftest.$ac_ext
5816 if test x$gfortran_use_symver = xno; then
5817 case "$target_os" in
5819 LDFLAGS="$save_LDFLAGS"
5820 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5821 # Sun ld cannot handle wildcards and treats all entries as undefined.
5822 cat > conftest.map <<EOF
5824 global: foo; local: *;
5827 if test x$gcc_no_link = xyes; then
5828 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5831 /* end confdefs.h. */
5841 if ac_fn_c_try_link "$LINENO"; then :
5842 gfortran_use_symver=sun
5844 gfortran_use_symver=no
5846 rm -f core conftest.err conftest.$ac_objext \
5847 conftest$ac_exeext conftest.$ac_ext
5851 LDFLAGS="$save_LDFLAGS"
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5854 $as_echo "$gfortran_use_symver" >&6; }
5855 if test "x$gfortran_use_symver" != xno; then
5856 LIBGFOR_USE_SYMVER_TRUE=
5857 LIBGFOR_USE_SYMVER_FALSE='#'
5859 LIBGFOR_USE_SYMVER_TRUE='#'
5860 LIBGFOR_USE_SYMVER_FALSE=
5863 if test "x$gfortran_use_symver" = xgnu; then
5864 LIBGFOR_USE_SYMVER_GNU_TRUE=
5865 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5867 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5868 LIBGFOR_USE_SYMVER_GNU_FALSE=
5871 if test "x$gfortran_use_symver" = xsun; then
5872 LIBGFOR_USE_SYMVER_SUN_TRUE=
5873 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5875 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5876 LIBGFOR_USE_SYMVER_SUN_FALSE=
5880 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5881 # similarly to how libstdc++ does it
5882 ac_test_CFLAGS="${CFLAGS+set}"
5883 ac_save_CFLAGS="$CFLAGS"
5885 # Check for -ffunction-sections -fdata-sections
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5887 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5888 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5900 if ac_fn_c_try_compile "$LINENO"; then :
5905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5906 if test "$ac_test_CFLAGS" = set; then
5907 CFLAGS="$ac_save_CFLAGS"
5909 # this is the suspicious part
5912 if test x"$ac_fdsections" = x"yes"; then
5913 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5916 $as_echo "$ac_fdsections" >&6; }
5919 # Find other programs we need.
5920 if test -n "$ac_tool_prefix"; then
5921 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5922 set dummy ${ac_tool_prefix}as; ac_word=$2
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5924 $as_echo_n "checking for $ac_word... " >&6; }
5925 if test "${ac_cv_prog_AS+set}" = set; then :
5926 $as_echo_n "(cached) " >&6
5928 if test -n "$AS"; then
5929 ac_cv_prog_AS="$AS" # Let the user override the test.
5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 test -z "$as_dir" && as_dir=.
5936 for ac_exec_ext in '' $ac_executable_extensions; do
5937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5938 ac_cv_prog_AS="${ac_tool_prefix}as"
5939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 if test -n "$AS"; then
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5951 $as_echo "$AS" >&6; }
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5954 $as_echo "no" >&6; }
5959 if test -z "$ac_cv_prog_AS"; then
5961 # Extract the first word of "as", so it can be a program name with args.
5962 set dummy as; ac_word=$2
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 $as_echo_n "checking for $ac_word... " >&6; }
5965 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5966 $as_echo_n "(cached) " >&6
5968 if test -n "$ac_ct_AS"; then
5969 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975 test -z "$as_dir" && as_dir=.
5976 for ac_exec_ext in '' $ac_executable_extensions; do
5977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5978 ac_cv_prog_ac_ct_AS="as"
5979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5989 if test -n "$ac_ct_AS"; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5991 $as_echo "$ac_ct_AS" >&6; }
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5997 if test "x$ac_ct_AS" = x; then
6000 case $cross_compiling:$ac_tool_warned in
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6004 ac_tool_warned=yes ;;
6012 if test -n "$ac_tool_prefix"; then
6013 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6014 set dummy ${ac_tool_prefix}ar; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if test "${ac_cv_prog_AR+set}" = set; then :
6018 $as_echo_n "(cached) " >&6
6020 if test -n "$AR"; then
6021 ac_cv_prog_AR="$AR" # Let the user override the test.
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6030 ac_cv_prog_AR="${ac_tool_prefix}ar"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041 if test -n "$AR"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6043 $as_echo "$AR" >&6; }
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6051 if test -z "$ac_cv_prog_AR"; then
6053 # Extract the first word of "ar", so it can be a program name with args.
6054 set dummy ar; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6058 $as_echo_n "(cached) " >&6
6060 if test -n "$ac_ct_AR"; then
6061 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6070 ac_cv_prog_ac_ct_AR="ar"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6081 if test -n "$ac_ct_AR"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6083 $as_echo "$ac_ct_AR" >&6; }
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6089 if test "x$ac_ct_AR" = x; then
6092 case $cross_compiling:$ac_tool_warned in
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6096 ac_tool_warned=yes ;;
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6112 if test -n "$RANLIB"; then
6113 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 RANLIB=$ac_cv_prog_RANLIB
6133 if test -n "$RANLIB"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6135 $as_echo "$RANLIB" >&6; }
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6143 if test -z "$ac_cv_prog_RANLIB"; then
6144 ac_ct_RANLIB=$RANLIB
6145 # Extract the first word of "ranlib", so it can be a program name with args.
6146 set dummy ranlib; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6152 if test -n "$ac_ct_RANLIB"; then
6153 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_RANLIB="ranlib"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6172 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6173 if test -n "$ac_ct_RANLIB"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6175 $as_echo "$ac_ct_RANLIB" >&6; }
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6181 if test "x$ac_ct_RANLIB" = x; then
6182 RANLIB="ranlib-not-found-in-path-error"
6184 case $cross_compiling:$ac_tool_warned in
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6190 RANLIB=$ac_ct_RANLIB
6193 RANLIB="$ac_cv_prog_RANLIB"
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6197 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6199 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6200 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6201 $as_echo_n "(cached) " >&6
6203 cat >conftest.make <<\_ACEOF
6206 @echo '@@@%%%=$(MAKE)=@@@%%%'
6208 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6209 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6211 eval ac_cv_prog_make_${ac_make}_set=yes;;
6213 eval ac_cv_prog_make_${ac_make}_set=no;;
6217 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6219 $as_echo "yes" >&6; }
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6223 $as_echo "no" >&6; }
6224 SET_MAKE="MAKE=${MAKE-make}"
6230 #AC_MSG_NOTICE([====== Starting libtool configuration])
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6238 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6243 macro_version='2.2.7a'
6244 macro_revision='1.3134'
6258 ltmain="$ac_aux_dir/ltmain.sh"
6260 # Backslashify metacharacters that are still active within
6261 # double-quoted strings.
6262 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6264 # Same as above, but do not quote variable references.
6265 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6267 # Sed substitution to delay expansion of an escaped shell variable in a
6268 # double_quote_subst'ed string.
6269 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6271 # Sed substitution to delay expansion of an escaped single quote.
6272 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6274 # Sed substitution to avoid accidental globbing in evaled expressions
6275 no_glob_subst='s/\*/\\\*/g'
6277 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6278 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6279 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6282 $as_echo_n "checking how to print
strings...
" >&6; }
6283 # Test print first, because it will be a builtin if present.
6284 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6285 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6287 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6290 # Use this function as a fallback that always works.
6291 func_fallback_echo ()
6293 eval 'cat <<_LTECHO_EOF
6297 ECHO='func_fallback_echo'
6300 # func_echo_all arg...
6301 # Invoke $ECHO with all args, space-separated.
6308 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6309 $as_echo "printf" >&6; } ;;
6310 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6311 $as_echo "print
-r" >&6; } ;;
6312 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6313 $as_echo "cat" >&6; } ;;
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6330 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6331 if test "${ac_cv_path_SED+set}" = set; then :
6332 $as_echo_n "(cached
) " >&6
6334 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6335 for ac_i in 1 2 3 4 5 6 7; do
6336 ac_script="$ac_script$as_nl$ac_script"
6338 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6339 { ac_script=; unset ac_script;}
6340 if test -z "$SED"; then
6341 ac_path_SED_found=false
6342 # Loop through the user's path and test for each of PROGNAME-LIST
6343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347 test -z "$as_dir" && as_dir=.
6348 for ac_prog in sed gsed; do
6349 for ac_exec_ext in '' $ac_executable_extensions; do
6350 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6351 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6352 # Check for GNU ac_path_SED and select it if it is found.
6353 # Check for GNU $ac_path_SED
6354 case `"$ac_path_SED" --version 2>&1` in
6356 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6359 $as_echo_n 0123456789 >"conftest.
in"
6362 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6363 mv "conftest.tmp
" "conftest.
in"
6364 cp "conftest.
in" "conftest.
nl"
6365 $as_echo '' >> "conftest.
nl"
6366 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6367 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6368 as_fn_arith $ac_count + 1 && ac_count=$as_val
6369 if test $ac_count -gt ${ac_path_SED_max-0}; then
6370 # Best one so far, save it but keep looking for a better one
6371 ac_cv_path_SED="$ac_path_SED"
6372 ac_path_SED_max=$ac_count
6374 # 10*(2^10) chars as input seems more than enough
6375 test $ac_count -gt 10 && break
6377 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6380 $ac_path_SED_found && break 3
6385 if test -z "$ac_cv_path_SED"; then
6386 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6394 $as_echo "$ac_cv_path_SED" >&6; }
6395 SED="$ac_cv_path_SED"
6398 test -z "$SED" && SED=sed
6399 Xsed="$SED -e 1s
/^X
//"
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6412 $as_echo_n "checking
for fgrep...
" >&6; }
6413 if test "${ac_cv_path_FGREP+set}" = set; then :
6414 $as_echo_n "(cached
) " >&6
6416 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6417 then ac_cv_path_FGREP="$GREP -F"
6419 if test -z "$FGREP"; then
6420 ac_path_FGREP_found=false
6421 # Loop through the user's path and test for each of PROGNAME-LIST
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6426 test -z "$as_dir" && as_dir=.
6427 for ac_prog in fgrep; do
6428 for ac_exec_ext in '' $ac_executable_extensions; do
6429 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6430 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6431 # Check for GNU ac_path_FGREP and select it if it is found.
6432 # Check for GNU $ac_path_FGREP
6433 case `"$ac_path_FGREP" --version 2>&1` in
6435 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6438 $as_echo_n 0123456789 >"conftest.
in"
6441 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6442 mv "conftest.tmp
" "conftest.
in"
6443 cp "conftest.
in" "conftest.
nl"
6444 $as_echo 'FGREP' >> "conftest.
nl"
6445 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6446 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6447 as_fn_arith $ac_count + 1 && ac_count=$as_val
6448 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6449 # Best one so far, save it but keep looking for a better one
6450 ac_cv_path_FGREP="$ac_path_FGREP"
6451 ac_path_FGREP_max=$ac_count
6453 # 10*(2^10) chars as input seems more than enough
6454 test $ac_count -gt 10 && break
6456 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6459 $ac_path_FGREP_found && break 3
6464 if test -z "$ac_cv_path_FGREP"; then
6465 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6468 ac_cv_path_FGREP=$FGREP
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6474 $as_echo "$ac_cv_path_FGREP" >&6; }
6475 FGREP="$ac_cv_path_FGREP"
6478 test -z "$GREP" && GREP=grep
6498 # Check whether --with-gnu-ld was given.
6499 if test "${with_gnu_ld+set}" = set; then :
6500 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6506 if test "$GCC" = yes; then
6507 # Check if gcc -print-prog-name=ld gives a path.
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6509 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6512 # gcc leaves a trailing carriage return which upsets mingw
6513 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6515 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6518 # Accept absolute paths.
6520 re_direlt='/[^/][^/]*/\.\./'
6521 # Canonicalize the pathname of ld
6522 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6523 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6524 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6526 test -z "$LD" && LD="$ac_prog"
6529 # If it fails, then pretend we aren't using GCC.
6533 # If it is relative, then search for the first ld in PATH.
6537 elif test "$with_gnu_ld" = yes; then
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6539 $as_echo_n "checking
for GNU ld...
" >&6; }
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6542 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6544 if test "${lt_cv_path_LD+set}" = set; then :
6545 $as_echo_n "(cached
) " >&6
6547 if test -z "$LD"; then
6548 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6549 for ac_dir in $PATH; do
6551 test -z "$ac_dir" && ac_dir=.
6552 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6553 lt_cv_path_LD="$ac_dir/$ac_prog"
6554 # Check to see if the program is GNU ld. I'd rather use --version,
6555 # but apparently some variants of GNU ld only accept -v.
6556 # Break only if it was the GNU/non-GNU ld that we prefer.
6557 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6558 *GNU* | *'with BFD'*)
6559 test "$with_gnu_ld" != no && break
6562 test "$with_gnu_ld" != yes && break
6569 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6574 if test -n "$LD"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6576 $as_echo "$LD" >&6; }
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6579 $as_echo "no
" >&6; }
6581 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6583 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6584 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6585 $as_echo_n "(cached
) " >&6
6587 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6588 case `$LD -v 2>&1 </dev/null` in
6589 *GNU* | *'with BFD'*)
6590 lt_cv_prog_gnu_ld=yes
6593 lt_cv_prog_gnu_ld=no
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6598 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6599 with_gnu_ld=$lt_cv_prog_gnu_ld
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6610 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6611 if test "${lt_cv_path_NM+set}" = set; then :
6612 $as_echo_n "(cached
) " >&6
6614 if test -n "$NM"; then
6615 # Let the user override the test.
6618 lt_nm_to_check="${ac_tool_prefix}nm
"
6619 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6620 lt_nm_to_check="$lt_nm_to_check nm
"
6622 for lt_tmp_nm in $lt_nm_to_check; do
6623 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6624 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6626 test -z "$ac_dir" && ac_dir=.
6627 tmp_nm="$ac_dir/$lt_tmp_nm"
6628 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6629 # Check to see if the nm accepts a BSD-compat flag.
6630 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6631 # nm: unknown option "B
" ignored
6632 # Tru64's nm complains that /dev/null is an invalid object file
6633 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6634 */dev/null* | *'Invalid file or object type'*)
6635 lt_cv_path_NM="$tmp_nm -B"
6639 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6641 lt_cv_path_NM="$tmp_nm -p"
6645 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6646 continue # so that we can try to find one that supports BSD flags
6655 : ${lt_cv_path_NM=no}
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6659 $as_echo "$lt_cv_path_NM" >&6; }
6660 if test "$lt_cv_path_NM" != "no
"; then
6663 # Didn't find any BSD compatible name lister, look for dumpbin.
6664 if test -n "$DUMPBIN"; then :
6665 # Let the user override the test.
6667 if test -n "$ac_tool_prefix"; then
6668 for ac_prog in dumpbin "link
-dump"
6670 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6671 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6673 $as_echo_n "checking
for $ac_word...
" >&6; }
6674 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6675 $as_echo_n "(cached
) " >&6
6677 if test -n "$DUMPBIN"; then
6678 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6687 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6697 DUMPBIN=$ac_cv_prog_DUMPBIN
6698 if test -n "$DUMPBIN"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6700 $as_echo "$DUMPBIN" >&6; }
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6703 $as_echo "no
" >&6; }
6707 test -n "$DUMPBIN" && break
6710 if test -z "$DUMPBIN"; then
6711 ac_ct_DUMPBIN=$DUMPBIN
6712 for ac_prog in dumpbin "link
-dump"
6714 # Extract the first word of "$ac_prog", so it can be a program name with args.
6715 set dummy $ac_prog; ac_word=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6717 $as_echo_n "checking
for $ac_word...
" >&6; }
6718 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6719 $as_echo_n "(cached
) " >&6
6721 if test -n "$ac_ct_DUMPBIN"; then
6722 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 test -z "$as_dir" && as_dir=.
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6731 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6741 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6742 if test -n "$ac_ct_DUMPBIN"; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6744 $as_echo "$ac_ct_DUMPBIN" >&6; }
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6747 $as_echo "no
" >&6; }
6751 test -n "$ac_ct_DUMPBIN" && break
6754 if test "x
$ac_ct_DUMPBIN" = x; then
6757 case $cross_compiling:$ac_tool_warned in
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6760 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6761 ac_tool_warned=yes ;;
6763 DUMPBIN=$ac_ct_DUMPBIN
6767 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6769 DUMPBIN="$DUMPBIN -symbols"
6777 if test "$DUMPBIN" != ":"; then
6781 test -z "$NM" && NM=nm
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6789 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6790 if test "${lt_cv_nm_interface+set}" = set; then :
6791 $as_echo_n "(cached
) " >&6
6793 lt_cv_nm_interface="BSD nm
"
6794 echo "int some_variable
= 0;" > conftest.$ac_ext
6795 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6796 (eval "$ac_compile" 2>conftest.err)
6797 cat conftest.err >&5
6798 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6799 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6800 cat conftest.err >&5
6801 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6802 cat conftest.out >&5
6803 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6804 lt_cv_nm_interface="MS dumpbin
"
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6809 $as_echo "$lt_cv_nm_interface" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6812 $as_echo_n "checking whether
ln -s works...
" >&6; }
6814 if test "$LN_S" = "ln -s"; then
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6816 $as_echo "yes" >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6819 $as_echo "no
, using
$LN_S" >&6; }
6822 # find the maximum length of command line arguments
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6824 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6825 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6826 $as_echo_n "(cached
) " >&6
6833 # On DJGPP, this test can blow up pretty badly due to problems in libc
6834 # (any single argument exceeding 2000 bytes causes a buffer overrun
6835 # during glob expansion). Even if it were fixed, the result of this
6836 # check would be larger than it should be.
6837 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6841 # Under GNU Hurd, this test is not required because there is
6842 # no limit to the length of command line arguments.
6843 # Libtool will interpret -1 as no limit whatsoever
6844 lt_cv_sys_max_cmd_len=-1;
6847 cygwin* | mingw* | cegcc*)
6848 # On Win9x/ME, this test blows up -- it succeeds, but takes
6849 # about 5 minutes as the teststring grows exponentially.
6850 # Worse, since 9x/ME are not pre-emptively multitasking,
6851 # you end up with a "frozen
" computer, even though with patience
6852 # the test eventually succeeds (with a max line length of 256k).
6853 # Instead, let's just punt: use the minimum linelength reported by
6854 # all of the supported platforms: 8192 (on NT/2K/XP).
6855 lt_cv_sys_max_cmd_len=8192;
6859 # On MiNT this can take a long time and run out of memory.
6860 lt_cv_sys_max_cmd_len=8192;
6864 # On AmigaOS with pdksh, this test takes hours, literally.
6865 # So we just punt and use a minimum line length of 8192.
6866 lt_cv_sys_max_cmd_len=8192;
6869 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6870 # This has been around since 386BSD, at least. Likely further.
6871 if test -x /sbin/sysctl; then
6872 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6873 elif test -x /usr/sbin/sysctl; then
6874 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6876 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6878 # And add a safety zone
6879 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6880 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6884 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6885 lt_cv_sys_max_cmd_len=196608
6889 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6890 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6891 # nice to cause kernel panics so lets avoid the loop below.
6892 # First set a reasonable default.
6893 lt_cv_sys_max_cmd_len=16384
6895 if test -x /sbin/sysconfig; then
6896 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6897 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6902 lt_cv_sys_max_cmd_len=102400
6904 sysv5* | sco5v6* | sysv4.2uw2*)
6905 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6906 if test -n "$kargmax"; then
6907 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6909 lt_cv_sys_max_cmd_len=32768
6913 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6914 if test -n "$lt_cv_sys_max_cmd_len"; then
6915 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6916 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6918 # Make teststring a little bigger before we do anything with it.
6919 # a 1K string should be a reasonable start.
6920 for i in 1 2 3 4 5 6 7 8 ; do
6921 teststring=$teststring$teststring
6923 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6924 # If test is not a shell built-in, we'll probably end up computing a
6925 # maximum length that is only half of the actual maximum length, but
6927 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6928 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6929 test $i != 17 # 1/2 MB should be enough
6932 teststring=$teststring$teststring
6934 # Only check the string length outside the loop.
6935 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6937 # Add a significant safety factor because C++ compilers can tack on
6938 # massive amounts of additional arguments before passing them to the
6939 # linker. It appears as though 1/2 is a usable value.
6940 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6947 if test -n $lt_cv_sys_max_cmd_len ; then
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6949 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6952 $as_echo "none
" >&6; }
6954 max_cmd_len=$lt_cv_sys_max_cmd_len
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6966 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6967 # Try some XSI features
6970 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6972 && eval 'test $(( 1 + 1 )) -eq 2 \
6973 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6976 $as_echo "$xsi_shell" >&6; }
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6980 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6982 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6984 && lt_shell_append
=yes
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6986 $as_echo "$lt_shell_append" >&6; }
6989 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6999 # test EBCDIC or ASCII
7000 case `echo X|tr X '\101'` in
7001 A
) # ASCII based system
7002 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7003 lt_SP2NL
='tr \040 \012'
7004 lt_NL2SP
='tr \015\012 \040\040'
7006 *) # EBCDIC based system
7007 lt_SP2NL
='tr \100 \n'
7008 lt_NL2SP
='tr \r\n \100\100'
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7021 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7022 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7023 $as_echo_n "(cached) " >&6
7025 lt_cv_ld_reload_flag
='-r'
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7028 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7029 reload_flag
=$lt_cv_ld_reload_flag
7030 case $reload_flag in
7032 *) reload_flag
=" $reload_flag" ;;
7034 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7037 if test "$GCC" = yes; then
7038 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7040 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7053 if test -n "$ac_tool_prefix"; then
7054 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7055 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057 $as_echo_n "checking for $ac_word... " >&6; }
7058 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7059 $as_echo_n "(cached) " >&6
7061 if test -n "$OBJDUMP"; then
7062 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7068 test -z "$as_dir" && as_dir
=.
7069 for ac_exec_ext
in '' $ac_executable_extensions; do
7070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7071 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7081 OBJDUMP
=$ac_cv_prog_OBJDUMP
7082 if test -n "$OBJDUMP"; then
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7084 $as_echo "$OBJDUMP" >&6; }
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7087 $as_echo "no" >&6; }
7092 if test -z "$ac_cv_prog_OBJDUMP"; then
7093 ac_ct_OBJDUMP
=$OBJDUMP
7094 # Extract the first word of "objdump", so it can be a program name with args.
7095 set dummy objdump
; ac_word
=$2
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097 $as_echo_n "checking for $ac_word... " >&6; }
7098 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7099 $as_echo_n "(cached) " >&6
7101 if test -n "$ac_ct_OBJDUMP"; then
7102 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7108 test -z "$as_dir" && as_dir
=.
7109 for ac_exec_ext
in '' $ac_executable_extensions; do
7110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7111 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7122 if test -n "$ac_ct_OBJDUMP"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7124 $as_echo "$ac_ct_OBJDUMP" >&6; }
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 $as_echo "no" >&6; }
7130 if test "x$ac_ct_OBJDUMP" = x
; then
7133 case $cross_compiling:$ac_tool_warned in
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7137 ac_tool_warned
=yes ;;
7139 OBJDUMP
=$ac_ct_OBJDUMP
7142 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7145 test -z "$OBJDUMP" && OBJDUMP
=objdump
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7156 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7157 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7158 $as_echo_n "(cached) " >&6
7160 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7161 lt_cv_file_magic_test_file
=
7162 lt_cv_deplibs_check_method
='unknown'
7163 # Need to set the preceding variable on all platforms that support
7164 # interlibrary dependencies.
7165 # 'none' -- dependencies not supported.
7166 # `unknown' -- same as none, but documents that we really don't know.
7167 # 'pass_all' -- all dependencies passed with no checks.
7168 # 'test_compile' -- check by making test program.
7169 # 'file_magic [[regex]]' -- check by looking for files in library path
7170 # which responds to the $file_magic_cmd with a given extended regex.
7171 # If you have `file' or equivalent on your system and you're not sure
7172 # whether `pass_all' will *always* work, you probably want this one.
7176 lt_cv_deplibs_check_method
=pass_all
7180 lt_cv_deplibs_check_method
=pass_all
7184 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7185 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7186 lt_cv_file_magic_test_file
=/shlib
/libc.so
7190 # func_win32_libid is a shell function defined in ltmain.sh
7191 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7192 lt_cv_file_magic_cmd
='func_win32_libid'
7196 # Base MSYS/MinGW do not provide the 'file' command needed by
7197 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7198 # unless we find 'file', for example because we are cross-compiling.
7199 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7200 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7201 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7202 lt_cv_file_magic_cmd
='func_win32_libid'
7204 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7205 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7210 # use the weaker test based on 'objdump'. See mingw*.
7211 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7212 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7215 darwin
* | rhapsody
*)
7216 lt_cv_deplibs_check_method
=pass_all
7219 freebsd
* | dragonfly
*)
7220 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7223 # Not sure whether the presence of OpenBSD here was a mistake.
7224 # Let's accept both of them until this is cleared up.
7225 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7226 lt_cv_file_magic_cmd
=/usr
/bin
/file
7227 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7231 lt_cv_deplibs_check_method
=pass_all
7236 lt_cv_deplibs_check_method
=pass_all
7240 lt_cv_deplibs_check_method
=pass_all
7243 hpux10.20
* | hpux11
*)
7244 lt_cv_file_magic_cmd
=/usr
/bin
/file
7247 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7248 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7251 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]'
7252 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7255 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7256 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7262 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7263 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7266 irix5
* | irix6
* | nonstopux
*)
7268 *-32|
*"-32 ") libmagic
=32-bit;;
7269 *-n32|
*"-n32 ") libmagic
=N32
;;
7270 *-64|
*"-64 ") libmagic
=64-bit;;
7271 *) libmagic
=never-match
;;
7273 lt_cv_deplibs_check_method
=pass_all
7276 # This must be Linux ELF.
7277 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7278 lt_cv_deplibs_check_method
=pass_all
7282 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7283 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7285 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7290 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7291 lt_cv_file_magic_cmd
=/usr
/bin
/file
7292 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7296 lt_cv_deplibs_check_method
=pass_all
7300 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7301 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7303 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7307 osf3
* | osf4
* | osf5
*)
7308 lt_cv_deplibs_check_method
=pass_all
7312 lt_cv_deplibs_check_method
=pass_all
7316 lt_cv_deplibs_check_method
=pass_all
7319 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7320 lt_cv_deplibs_check_method
=pass_all
7324 case $host_vendor in
7326 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]'
7327 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7330 lt_cv_deplibs_check_method
=pass_all
7333 lt_cv_file_magic_cmd
='/bin/file'
7334 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7337 lt_cv_file_magic_cmd
='/bin/file'
7338 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7339 lt_cv_file_magic_test_file
=/lib
/libc.so
7342 lt_cv_deplibs_check_method
=pass_all
7345 lt_cv_deplibs_check_method
=pass_all
7351 lt_cv_deplibs_check_method
=pass_all
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7357 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7358 file_magic_cmd
=$lt_cv_file_magic_cmd
7359 deplibs_check_method
=$lt_cv_deplibs_check_method
7360 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7373 if test -n "$ac_tool_prefix"; then
7374 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7375 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 $as_echo_n "checking for $ac_word... " >&6; }
7378 if test "${ac_cv_prog_AR+set}" = set; then :
7379 $as_echo_n "(cached) " >&6
7381 if test -n "$AR"; then
7382 ac_cv_prog_AR
="$AR" # Let the user override the test.
7384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7388 test -z "$as_dir" && as_dir
=.
7389 for ac_exec_ext
in '' $ac_executable_extensions; do
7390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7391 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7402 if test -n "$AR"; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7404 $as_echo "$AR" >&6; }
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 $as_echo "no" >&6; }
7412 if test -z "$ac_cv_prog_AR"; then
7414 # Extract the first word of "ar", so it can be a program name with args.
7415 set dummy
ar; ac_word
=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7419 $as_echo_n "(cached) " >&6
7421 if test -n "$ac_ct_AR"; then
7422 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7428 test -z "$as_dir" && as_dir
=.
7429 for ac_exec_ext
in '' $ac_executable_extensions; do
7430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7431 ac_cv_prog_ac_ct_AR
="ar"
7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7442 if test -n "$ac_ct_AR"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7444 $as_echo "$ac_ct_AR" >&6; }
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7450 if test "x$ac_ct_AR" = x
; then
7453 case $cross_compiling:$ac_tool_warned in
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7457 ac_tool_warned
=yes ;;
7465 test -z "$AR" && AR
=ar
7466 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7478 if test -n "$ac_tool_prefix"; then
7479 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7480 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_STRIP+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7486 if test -n "$STRIP"; then
7487 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7493 test -z "$as_dir" && as_dir
=.
7494 for ac_exec_ext
in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 STRIP
=$ac_cv_prog_STRIP
7507 if test -n "$STRIP"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7509 $as_echo "$STRIP" >&6; }
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7517 if test -z "$ac_cv_prog_STRIP"; then
7519 # Extract the first word of "strip", so it can be a program name with args.
7520 set dummy strip
; ac_word
=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7522 $as_echo_n "checking for $ac_word... " >&6; }
7523 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7524 $as_echo_n "(cached) " >&6
7526 if test -n "$ac_ct_STRIP"; then
7527 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7533 test -z "$as_dir" && as_dir
=.
7534 for ac_exec_ext
in '' $ac_executable_extensions; do
7535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7536 ac_cv_prog_ac_ct_STRIP
="strip"
7537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7546 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7547 if test -n "$ac_ct_STRIP"; then
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7549 $as_echo "$ac_ct_STRIP" >&6; }
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552 $as_echo "no" >&6; }
7555 if test "x$ac_ct_STRIP" = x
; then
7558 case $cross_compiling:$ac_tool_warned in
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7562 ac_tool_warned
=yes ;;
7567 STRIP
="$ac_cv_prog_STRIP"
7570 test -z "$STRIP" && STRIP
=:
7577 if test -n "$ac_tool_prefix"; then
7578 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7579 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7581 $as_echo_n "checking for $ac_word... " >&6; }
7582 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7583 $as_echo_n "(cached) " >&6
7585 if test -n "$RANLIB"; then
7586 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7592 test -z "$as_dir" && as_dir
=.
7593 for ac_exec_ext
in '' $ac_executable_extensions; do
7594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7595 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7605 RANLIB
=$ac_cv_prog_RANLIB
7606 if test -n "$RANLIB"; then
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7608 $as_echo "$RANLIB" >&6; }
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611 $as_echo "no" >&6; }
7616 if test -z "$ac_cv_prog_RANLIB"; then
7617 ac_ct_RANLIB
=$RANLIB
7618 # Extract the first word of "ranlib", so it can be a program name with args.
7619 set dummy ranlib
; ac_word
=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 $as_echo_n "checking for $ac_word... " >&6; }
7622 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7623 $as_echo_n "(cached) " >&6
7625 if test -n "$ac_ct_RANLIB"; then
7626 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7632 test -z "$as_dir" && as_dir
=.
7633 for ac_exec_ext
in '' $ac_executable_extensions; do
7634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7635 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7646 if test -n "$ac_ct_RANLIB"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7648 $as_echo "$ac_ct_RANLIB" >&6; }
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651 $as_echo "no" >&6; }
7654 if test "x$ac_ct_RANLIB" = x
; then
7657 case $cross_compiling:$ac_tool_warned in
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7661 ac_tool_warned
=yes ;;
7663 RANLIB
=$ac_ct_RANLIB
7666 RANLIB
="$ac_cv_prog_RANLIB"
7669 test -z "$RANLIB" && RANLIB
=:
7676 # Determine commands to create old-style static archives.
7677 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7678 old_postinstall_cmds
='chmod 644 $oldlib'
7679 old_postuninstall_cmds
=
7681 if test -n "$RANLIB"; then
7684 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7687 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7690 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7695 lock_old_archive_extraction
=yes ;;
7697 lock_old_archive_extraction
=no
;;
7738 # If no C compiler was specified, use CC.
7741 # If no C compiler flags were specified, use CFLAGS.
7742 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7744 # Allow CC to be a program name with arguments.
7748 # Check for command to grab the raw symbol name followed by C symbol from nm.
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7750 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7751 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7752 $as_echo_n "(cached) " >&6
7755 # These are sane defaults that work on at least a few old systems.
7756 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7758 # Character class describing NM global symbol codes.
7759 symcode
='[BCDEGRST]'
7761 # Regexp to match symbols that can be accessed directly from C.
7762 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7764 # Define system-specific variables.
7769 cygwin
* | mingw
* | pw32
* | cegcc
*)
7770 symcode
='[ABCDGISTW]'
7773 if test "$host_cpu" = ia64
; then
7774 symcode
='[ABCDEGRST]'
7778 symcode
='[BCDEGRST]'
7781 symcode
='[BCDEGQRST]'
7792 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7800 # If we're using GNU nm, then use its standard symbol codes.
7801 case `$NM -V 2>&1` in
7802 *GNU
* |
*'with BFD'*)
7803 symcode
='[ABCDGIRSTW]' ;;
7806 # Transform an extracted symbol line into a proper C declaration.
7807 # Some systems (esp. on ia64) link data and code symbols differently,
7808 # so use this general approach.
7809 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7811 # Transform an extracted symbol line into symbol name and symbol address
7812 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7813 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'"
7815 # Handle CRLF in mingw tool chain
7819 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7823 # Try without a prefix underscore, then with it.
7824 for ac_symprfx
in "" "_"; do
7826 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7827 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7829 # Write the raw and C identifiers.
7830 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7831 # Fake it for dumpbin and say T for any non-static function
7832 # and D for any global variable.
7833 # Also find C++ and __fastcall symbols from MSVC++,
7834 # which start with @ or ?.
7835 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7836 " {last_section=section; section=\$ 3};"\
7837 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7838 " \$ 0!~/External *\|/{next};"\
7839 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7840 " {if(hide[section]) next};"\
7841 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7842 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7843 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7844 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7845 " ' prfx=^$ac_symprfx"
7847 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7850 # Check to see that the pipe works correctly.
7854 cat > conftest.
$ac_ext <<_LT_EOF
7859 void nm_test_func(void);
7860 void nm_test_func(void){}
7864 int main(){nm_test_var='a';nm_test_func();return(0);}
7867 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7868 (eval $ac_compile) 2>&5
7870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7871 test $ac_status = 0; }; then
7872 # Now try to grab the symbols.
7874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7875 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7878 test $ac_status = 0; } && test -s "$nlist"; then
7879 # Try sorting and uniquifying the output.
7880 if sort "$nlist" |
uniq > "$nlist"T
; then
7881 mv -f "$nlist"T
"$nlist"
7886 # Make sure that we snagged all the symbols we need.
7887 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7888 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7889 cat <<_LT_EOF > conftest.$ac_ext
7895 # Now generate the symbol file.
7896 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7898 cat <<_LT_EOF >> conftest.$ac_ext
7900 /* The mapping between symbol names and symbols. */
7905 lt__PROGRAM__LTX_preloaded_symbols[] =
7907 { "@PROGRAM@", (void *) 0 },
7909 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7910 cat <<\_LT_EOF
>> conftest.
$ac_ext
7914 /* This works around a problem
in FreeBSD linker
*/
7915 #ifdef FREEBSD_WORKAROUND
7916 static const void
*lt_preloaded_setup
() {
7917 return lt__PROGRAM__LTX_preloaded_symbols
;
7925 # Now try linking the two files.
7926 mv conftest.
$ac_objext conftstm.
$ac_objext
7927 lt_save_LIBS
="$LIBS"
7928 lt_save_CFLAGS
="$CFLAGS"
7929 LIBS
="conftstm.$ac_objext"
7930 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7931 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7932 (eval $ac_link) 2>&5
7934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7935 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7938 LIBS
="$lt_save_LIBS"
7939 CFLAGS
="$lt_save_CFLAGS"
7941 echo "cannot find nm_test_func in $nlist" >&5
7944 echo "cannot find nm_test_var in $nlist" >&5
7947 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7950 echo "$progname: failed program was:" >&5
7951 cat conftest.
$ac_ext >&5
7953 rm -rf conftest
* conftst
*
7955 # Do not use the global_symbol_pipe unless it works.
7956 if test "$pipe_works" = yes; then
7959 lt_cv_sys_global_symbol_pipe
=
7965 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7966 lt_cv_sys_global_symbol_to_cdecl
=
7968 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7970 $as_echo "failed" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7973 $as_echo "ok" >&6; }
7997 # Check whether --enable-libtool-lock was given.
7998 if test "${enable_libtool_lock+set}" = set; then :
7999 enableval
=$enable_libtool_lock;
8002 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8004 # Some flags need to be propagated to the compiler or linker for good
8008 # Find out which ABI we are using.
8009 echo 'int i;' > conftest.
$ac_ext
8010 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8011 (eval $ac_compile) 2>&5
8013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8014 test $ac_status = 0; }; then
8015 case `/usr/bin/file conftest.$ac_objext` in
8027 # Find out which ABI we are using.
8028 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8029 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8030 (eval $ac_compile) 2>&5
8032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8033 test $ac_status = 0; }; then
8034 if test "$lt_cv_prog_gnu_ld" = yes; then
8035 case `/usr/bin/file conftest.$ac_objext` in
8037 LD
="${LD-ld} -melf32bsmip"
8040 LD
="${LD-ld} -melf32bmipn32"
8043 LD
="${LD-ld} -melf64bmip"
8047 case `/usr/bin/file conftest.$ac_objext` in
8063 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8064 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8065 # Find out which ABI we are using.
8066 echo 'int i;' > conftest.
$ac_ext
8067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8068 (eval $ac_compile) 2>&5
8070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8071 test $ac_status = 0; }; then
8072 case `/usr/bin/file conftest.o` in
8075 x86_64-
*kfreebsd
*-gnu)
8076 LD
="${LD-ld} -m elf_i386_fbsd"
8079 case `/usr/bin/file conftest.o` in
8081 LD
="${LD-ld} -m elf32_x86_64"
8084 LD
="${LD-ld} -m elf_i386"
8088 powerpc64le-
*linux
*)
8089 LD
="${LD-ld} -m elf32lppclinux"
8092 LD
="${LD-ld} -m elf32ppclinux"
8095 LD
="${LD-ld} -m elf_s390"
8098 LD
="${LD-ld} -m elf32_sparc"
8104 x86_64-
*kfreebsd
*-gnu)
8105 LD
="${LD-ld} -m elf_x86_64_fbsd"
8108 LD
="${LD-ld} -m elf_x86_64"
8111 LD
="${LD-ld} -m elf64lppc"
8114 LD
="${LD-ld} -m elf64ppc"
8116 s390
*-*linux
*|s390
*-*tpf
*)
8117 LD
="${LD-ld} -m elf64_s390"
8120 LD
="${LD-ld} -m elf64_sparc"
8130 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8131 SAVE_CFLAGS
="$CFLAGS"
8132 CFLAGS
="$CFLAGS -belf"
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8134 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8135 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8136 $as_echo_n "(cached) " >&6
8139 ac_cpp
='$CPP $CPPFLAGS'
8140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8144 if test x
$gcc_no_link = xyes
; then
8145 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8148 /* end confdefs.h. */
8158 if ac_fn_c_try_link
"$LINENO"; then :
8159 lt_cv_cc_needs_belf
=yes
8161 lt_cv_cc_needs_belf
=no
8163 rm -f core conftest.err conftest.
$ac_objext \
8164 conftest
$ac_exeext conftest.
$ac_ext
8166 ac_cpp
='$CPP $CPPFLAGS'
8167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8173 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8174 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8175 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8176 CFLAGS
="$SAVE_CFLAGS"
8180 # Find out which ABI we are using.
8181 echo 'int i;' > conftest.
$ac_ext
8182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8183 (eval $ac_compile) 2>&5
8185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8186 test $ac_status = 0; }; then
8187 case `/usr/bin/file conftest.o` in
8189 case $lt_cv_prog_gnu_ld in
8190 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8192 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8204 need_locks
="$enable_libtool_lock"
8208 rhapsody
* | darwin
*)
8209 if test -n "$ac_tool_prefix"; then
8210 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8211 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8213 $as_echo_n "checking for $ac_word... " >&6; }
8214 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8215 $as_echo_n "(cached) " >&6
8217 if test -n "$DSYMUTIL"; then
8218 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8224 test -z "$as_dir" && as_dir
=.
8225 for ac_exec_ext
in '' $ac_executable_extensions; do
8226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8227 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8237 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8238 if test -n "$DSYMUTIL"; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8240 $as_echo "$DSYMUTIL" >&6; }
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243 $as_echo "no" >&6; }
8248 if test -z "$ac_cv_prog_DSYMUTIL"; then
8249 ac_ct_DSYMUTIL
=$DSYMUTIL
8250 # Extract the first word of "dsymutil", so it can be a program name with args.
8251 set dummy dsymutil
; ac_word
=$2
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8253 $as_echo_n "checking for $ac_word... " >&6; }
8254 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8255 $as_echo_n "(cached) " >&6
8257 if test -n "$ac_ct_DSYMUTIL"; then
8258 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8264 test -z "$as_dir" && as_dir
=.
8265 for ac_exec_ext
in '' $ac_executable_extensions; do
8266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8267 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8277 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8278 if test -n "$ac_ct_DSYMUTIL"; then
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8280 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8283 $as_echo "no" >&6; }
8286 if test "x$ac_ct_DSYMUTIL" = x
; then
8289 case $cross_compiling:$ac_tool_warned in
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8293 ac_tool_warned
=yes ;;
8295 DSYMUTIL
=$ac_ct_DSYMUTIL
8298 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8301 if test -n "$ac_tool_prefix"; then
8302 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8303 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8305 $as_echo_n "checking for $ac_word... " >&6; }
8306 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8307 $as_echo_n "(cached) " >&6
8309 if test -n "$NMEDIT"; then
8310 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8316 test -z "$as_dir" && as_dir
=.
8317 for ac_exec_ext
in '' $ac_executable_extensions; do
8318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8319 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8329 NMEDIT
=$ac_cv_prog_NMEDIT
8330 if test -n "$NMEDIT"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8332 $as_echo "$NMEDIT" >&6; }
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8340 if test -z "$ac_cv_prog_NMEDIT"; then
8341 ac_ct_NMEDIT
=$NMEDIT
8342 # Extract the first word of "nmedit", so it can be a program name with args.
8343 set dummy nmedit
; ac_word
=$2
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8345 $as_echo_n "checking for $ac_word... " >&6; }
8346 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8347 $as_echo_n "(cached) " >&6
8349 if test -n "$ac_ct_NMEDIT"; then
8350 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8356 test -z "$as_dir" && as_dir
=.
8357 for ac_exec_ext
in '' $ac_executable_extensions; do
8358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8359 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8369 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8370 if test -n "$ac_ct_NMEDIT"; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8372 $as_echo "$ac_ct_NMEDIT" >&6; }
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8375 $as_echo "no" >&6; }
8378 if test "x$ac_ct_NMEDIT" = x
; then
8381 case $cross_compiling:$ac_tool_warned in
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8385 ac_tool_warned
=yes ;;
8387 NMEDIT
=$ac_ct_NMEDIT
8390 NMEDIT
="$ac_cv_prog_NMEDIT"
8393 if test -n "$ac_tool_prefix"; then
8394 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8395 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8397 $as_echo_n "checking for $ac_word... " >&6; }
8398 if test "${ac_cv_prog_LIPO+set}" = set; then :
8399 $as_echo_n "(cached) " >&6
8401 if test -n "$LIPO"; then
8402 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8408 test -z "$as_dir" && as_dir
=.
8409 for ac_exec_ext
in '' $ac_executable_extensions; do
8410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8411 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8421 LIPO
=$ac_cv_prog_LIPO
8422 if test -n "$LIPO"; then
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8424 $as_echo "$LIPO" >&6; }
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427 $as_echo "no" >&6; }
8432 if test -z "$ac_cv_prog_LIPO"; then
8434 # Extract the first word of "lipo", so it can be a program name with args.
8435 set dummy lipo
; ac_word
=$2
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8437 $as_echo_n "checking for $ac_word... " >&6; }
8438 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8439 $as_echo_n "(cached) " >&6
8441 if test -n "$ac_ct_LIPO"; then
8442 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8448 test -z "$as_dir" && as_dir
=.
8449 for ac_exec_ext
in '' $ac_executable_extensions; do
8450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8451 ac_cv_prog_ac_ct_LIPO
="lipo"
8452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8461 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8462 if test -n "$ac_ct_LIPO"; then
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8464 $as_echo "$ac_ct_LIPO" >&6; }
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8467 $as_echo "no" >&6; }
8470 if test "x$ac_ct_LIPO" = x
; then
8473 case $cross_compiling:$ac_tool_warned in
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8477 ac_tool_warned
=yes ;;
8482 LIPO
="$ac_cv_prog_LIPO"
8485 if test -n "$ac_tool_prefix"; then
8486 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8487 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8489 $as_echo_n "checking for $ac_word... " >&6; }
8490 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8491 $as_echo_n "(cached) " >&6
8493 if test -n "$OTOOL"; then
8494 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8500 test -z "$as_dir" && as_dir
=.
8501 for ac_exec_ext
in '' $ac_executable_extensions; do
8502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8503 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8513 OTOOL
=$ac_cv_prog_OTOOL
8514 if test -n "$OTOOL"; then
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8516 $as_echo "$OTOOL" >&6; }
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8519 $as_echo "no" >&6; }
8524 if test -z "$ac_cv_prog_OTOOL"; then
8526 # Extract the first word of "otool", so it can be a program name with args.
8527 set dummy otool
; ac_word
=$2
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8529 $as_echo_n "checking for $ac_word... " >&6; }
8530 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8531 $as_echo_n "(cached) " >&6
8533 if test -n "$ac_ct_OTOOL"; then
8534 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8540 test -z "$as_dir" && as_dir
=.
8541 for ac_exec_ext
in '' $ac_executable_extensions; do
8542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8543 ac_cv_prog_ac_ct_OTOOL
="otool"
8544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8553 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8554 if test -n "$ac_ct_OTOOL"; then
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8556 $as_echo "$ac_ct_OTOOL" >&6; }
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8559 $as_echo "no" >&6; }
8562 if test "x$ac_ct_OTOOL" = x
; then
8565 case $cross_compiling:$ac_tool_warned in
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8569 ac_tool_warned
=yes ;;
8574 OTOOL
="$ac_cv_prog_OTOOL"
8577 if test -n "$ac_tool_prefix"; then
8578 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8579 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8581 $as_echo_n "checking for $ac_word... " >&6; }
8582 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8583 $as_echo_n "(cached) " >&6
8585 if test -n "$OTOOL64"; then
8586 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8592 test -z "$as_dir" && as_dir
=.
8593 for ac_exec_ext
in '' $ac_executable_extensions; do
8594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8595 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8605 OTOOL64
=$ac_cv_prog_OTOOL64
8606 if test -n "$OTOOL64"; then
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8608 $as_echo "$OTOOL64" >&6; }
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8611 $as_echo "no" >&6; }
8616 if test -z "$ac_cv_prog_OTOOL64"; then
8617 ac_ct_OTOOL64
=$OTOOL64
8618 # Extract the first word of "otool64", so it can be a program name with args.
8619 set dummy otool64
; ac_word
=$2
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8621 $as_echo_n "checking for $ac_word... " >&6; }
8622 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8623 $as_echo_n "(cached) " >&6
8625 if test -n "$ac_ct_OTOOL64"; then
8626 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8632 test -z "$as_dir" && as_dir
=.
8633 for ac_exec_ext
in '' $ac_executable_extensions; do
8634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8635 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8645 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8646 if test -n "$ac_ct_OTOOL64"; then
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8648 $as_echo "$ac_ct_OTOOL64" >&6; }
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8651 $as_echo "no" >&6; }
8654 if test "x$ac_ct_OTOOL64" = x
; then
8657 case $cross_compiling:$ac_tool_warned in
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8661 ac_tool_warned
=yes ;;
8663 OTOOL64
=$ac_ct_OTOOL64
8666 OTOOL64
="$ac_cv_prog_OTOOL64"
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8696 $as_echo_n "checking for -single_module linker flag... " >&6; }
8697 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8698 $as_echo_n "(cached) " >&6
8700 lt_cv_apple_cc_single_mod
=no
8701 if test -z "${LT_MULTI_MODULE}"; then
8702 # By default we will add the -single_module flag. You can override
8703 # by either setting the environment variable LT_MULTI_MODULE
8704 # non-empty at configure time, or by adding -multi_module to the
8706 rm -rf libconftest.dylib
*
8707 echo "int foo(void){return 1;}" > conftest.c
8708 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8709 -dynamiclib -Wl,-single_module conftest.c" >&5
8710 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8711 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8713 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8714 lt_cv_apple_cc_single_mod
=yes
8716 cat conftest.err
>&5
8718 rm -rf libconftest.dylib
*
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8723 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8725 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8726 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8727 $as_echo_n "(cached) " >&6
8729 lt_cv_ld_exported_symbols_list
=no
8730 save_LDFLAGS
=$LDFLAGS
8731 echo "_main" > conftest.sym
8732 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8733 if test x
$gcc_no_link = xyes
; then
8734 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8747 if ac_fn_c_try_link
"$LINENO"; then :
8748 lt_cv_ld_exported_symbols_list
=yes
8750 lt_cv_ld_exported_symbols_list
=no
8752 rm -f core conftest.err conftest.
$ac_objext \
8753 conftest
$ac_exeext conftest.
$ac_ext
8754 LDFLAGS
="$save_LDFLAGS"
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8758 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8760 $as_echo_n "checking for -force_load linker flag... " >&6; }
8761 if test "${lt_cv_ld_force_load+set}" = set; then :
8762 $as_echo_n "(cached) " >&6
8764 lt_cv_ld_force_load
=no
8765 cat > conftest.c
<< _LT_EOF
8766 int forced_loaded() { return 2;}
8768 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8769 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8770 echo "$AR cru libconftest.a conftest.o" >&5
8771 $AR cru libconftest.a conftest.o
2>&5
8772 cat > conftest.c
<< _LT_EOF
8773 int main() { return 0;}
8775 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8776 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8778 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8779 lt_cv_ld_force_load
=yes
8781 cat conftest.err
>&5
8783 rm -f conftest.err libconftest.a conftest conftest.c
8784 rm -rf conftest.dSYM
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8788 $as_echo "$lt_cv_ld_force_load" >&6; }
8790 rhapsody
* | darwin1.
[012])
8791 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8793 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8794 darwin
*) # darwin 5.x on
8795 # if running on 10.5 or later, the deployment target defaults
8796 # to the OS version, if on x86, and 10.4, the deployment
8797 # target defaults to 10.4. Don't you love it?
8798 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8799 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8800 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8802 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8804 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8808 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8809 _lt_dar_single_mod
='$single_module'
8811 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8812 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8814 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8816 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8817 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8824 for ac_header
in dlfcn.h
8826 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8828 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8829 cat >>confdefs.h
<<_ACEOF
8830 #define HAVE_DLFCN_H 1
8849 # Check whether --enable-shared was given.
8850 if test "${enable_shared+set}" = set; then :
8851 enableval
=$enable_shared; p
=${PACKAGE-default}
8853 yes) enable_shared
=yes ;;
8854 no
) enable_shared
=no
;;
8857 # Look at the argument we got. We use all the common list separators.
8858 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8859 for pkg
in $enableval; do
8861 if test "X$pkg" = "X$p"; then
8880 # Check whether --enable-static was given.
8881 if test "${enable_static+set}" = set; then :
8882 enableval
=$enable_static; p
=${PACKAGE-default}
8884 yes) enable_static
=yes ;;
8885 no
) enable_static
=no
;;
8888 # Look at the argument we got. We use all the common list separators.
8889 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8890 for pkg
in $enableval; do
8892 if test "X$pkg" = "X$p"; then
8912 # Check whether --with-pic was given.
8913 if test "${with_pic+set}" = set; then :
8914 withval
=$with_pic; pic_mode
="$withval"
8920 test -z "$pic_mode" && pic_mode
=default
8928 # Check whether --enable-fast-install was given.
8929 if test "${enable_fast_install+set}" = set; then :
8930 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8932 yes) enable_fast_install
=yes ;;
8933 no
) enable_fast_install
=no
;;
8935 enable_fast_install
=no
8936 # Look at the argument we got. We use all the common list separators.
8937 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8938 for pkg
in $enableval; do
8940 if test "X$pkg" = "X$p"; then
8941 enable_fast_install
=yes
8948 enable_fast_install
=yes
8961 # This can be used to rebuild libtool when needed
8962 LIBTOOL_DEPS
="$ltmain"
8964 # Always use our own libtool.
8965 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8992 test -z "$LN_S" && LN_S
="ln -s"
9007 if test -n "${ZSH_VERSION+set}" ; then
9008 setopt NO_GLOB_SUBST
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9012 $as_echo_n "checking for objdir... " >&6; }
9013 if test "${lt_cv_objdir+set}" = set; then :
9014 $as_echo_n "(cached) " >&6
9016 rm -f .libs
2>/dev
/null
9017 mkdir .libs
2>/dev
/null
9018 if test -d .libs
; then
9021 # MS-DOS does not allow filenames that begin with a dot.
9024 rmdir .libs
2>/dev
/null
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9027 $as_echo "$lt_cv_objdir" >&6; }
9028 objdir
=$lt_cv_objdir
9034 cat >>confdefs.h
<<_ACEOF
9035 #define LT_OBJDIR "$lt_cv_objdir/"
9043 # AIX sometimes has problems with the GCC collect2 program. For some
9044 # reason, if we set the COLLECT_NAMES environment variable, the problems
9045 # vanish in a puff of smoke.
9046 if test "X${COLLECT_NAMES+set}" != Xset
; then
9048 export COLLECT_NAMES
9055 can_build_shared
=yes
9057 # All known linkers require a `.a' archive for static linking (except MSVC,
9058 # which needs '.lib').
9061 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9064 old_CFLAGS
="$CFLAGS"
9066 # Set sane defaults for various variables
9067 test -z "$CC" && CC
=cc
9068 test -z "$LTCC" && LTCC
=$CC
9069 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9070 test -z "$LD" && LD
=ld
9071 test -z "$ac_objext" && ac_objext
=o
9073 for cc_temp
in $compiler""; do
9075 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9076 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9081 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9084 # Only perform the check for file, if the check method requires it
9085 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9086 case $deplibs_check_method in
9088 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9090 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9091 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9092 $as_echo_n "(cached) " >&6
9096 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9099 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9100 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9101 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9102 for ac_dir
in $ac_dummy; do
9104 test -z "$ac_dir" && ac_dir
=.
9105 if test -f $ac_dir/${ac_tool_prefix}file; then
9106 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9107 if test -n "$file_magic_test_file"; then
9108 case $deplibs_check_method in
9110 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9111 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9112 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9113 $EGREP "$file_magic_regex" > /dev
/null
; then
9118 *** Warning: the command libtool uses to detect shared libraries,
9119 *** $file_magic_cmd, produces output that libtool cannot recognize.
9120 *** The result is that libtool may fail to recognize shared libraries
9121 *** as such. This will affect the creation of libtool libraries that
9122 *** depend on shared libraries, but programs linked with such libtool
9123 *** libraries will work regardless of this problem. Nevertheless, you
9124 *** may want to report the problem to your system manager and/or to
9125 *** bug-libtool@gnu.org
9135 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9140 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9141 if test -n "$MAGIC_CMD"; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9143 $as_echo "$MAGIC_CMD" >&6; }
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146 $as_echo "no" >&6; }
9153 if test -z "$lt_cv_path_MAGIC_CMD"; then
9154 if test -n "$ac_tool_prefix"; then
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9156 $as_echo_n "checking for file... " >&6; }
9157 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9158 $as_echo_n "(cached) " >&6
9162 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9165 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9166 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9167 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9168 for ac_dir
in $ac_dummy; do
9170 test -z "$ac_dir" && ac_dir
=.
9171 if test -f $ac_dir/file; then
9172 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9173 if test -n "$file_magic_test_file"; then
9174 case $deplibs_check_method in
9176 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9177 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9178 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9179 $EGREP "$file_magic_regex" > /dev
/null
; then
9184 *** Warning: the command libtool uses to detect shared libraries,
9185 *** $file_magic_cmd, produces output that libtool cannot recognize.
9186 *** The result is that libtool may fail to recognize shared libraries
9187 *** as such. This will affect the creation of libtool libraries that
9188 *** depend on shared libraries, but programs linked with such libtool
9189 *** libraries will work regardless of this problem. Nevertheless, you
9190 *** may want to report the problem to your system manager and/or to
9191 *** bug-libtool@gnu.org
9201 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9206 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9207 if test -n "$MAGIC_CMD"; then
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9209 $as_echo "$MAGIC_CMD" >&6; }
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9212 $as_echo "no" >&6; }
9225 # Use C for the default configuration in the libtool script
9229 ac_cpp
='$CPP $CPPFLAGS'
9230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9235 # Source file extension for C test sources.
9238 # Object file extension for compiled C test sources.
9242 # Code to be used in simple compile tests
9243 lt_simple_compile_test_code
="int some_variable = 0;"
9245 # Code to be used in simple link tests
9246 lt_simple_link_test_code
='int main(){return(0);}'
9254 # If no C compiler was specified, use CC.
9257 # If no C compiler flags were specified, use CFLAGS.
9258 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9260 # Allow CC to be a program name with arguments.
9263 # Save the default compiler, since it gets overwritten when the other
9264 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9265 compiler_DEFAULT
=$CC
9267 # save warnings/boilerplate of simple test code
9268 ac_outfile
=conftest.
$ac_objext
9269 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9270 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9271 _lt_compiler_boilerplate
=`cat conftest.err`
9274 ac_outfile
=conftest.
$ac_objext
9275 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9276 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9277 _lt_linker_boilerplate
=`cat conftest.err`
9282 ## There is no encapsulation within the following macros, do not change
9283 ## the running order or otherwise move them around unless you know exactly
9284 ## what you are doing...
9285 if test -n "$compiler"; then
9287 lt_prog_compiler_no_builtin_flag
=
9289 if test "$GCC" = yes; then
9290 case $cc_basename in
9292 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9294 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9298 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9299 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9300 $as_echo_n "(cached) " >&6
9302 lt_cv_prog_compiler_rtti_exceptions
=no
9303 ac_outfile
=conftest.
$ac_objext
9304 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9305 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9306 # Insert the option either (1) after the last *FLAGS variable, or
9307 # (2) before a word containing "conftest.", or (3) at the end.
9308 # Note that $ac_compile itself does not contain backslashes and begins
9309 # with a dollar sign (not a hyphen), so the echo should work correctly.
9310 # The option is referenced via a variable to avoid confusing sed.
9311 lt_compile
=`echo "$ac_compile" | $SED \
9312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9314 -e 's:$: $lt_compiler_flag:'`
9315 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9316 (eval "$lt_compile" 2>conftest.err
)
9318 cat conftest.err
>&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 if (exit $ac_status) && test -s "$ac_outfile"; then
9321 # The compiler can only warn and ignore the option if not recognized
9322 # So say no if there are warnings other than the usual output.
9323 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9324 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9325 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9326 lt_cv_prog_compiler_rtti_exceptions
=yes
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9333 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9335 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9336 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9348 lt_prog_compiler_wl
=
9349 lt_prog_compiler_pic
=
9350 lt_prog_compiler_static
=
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9353 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9355 if test "$GCC" = yes; then
9356 lt_prog_compiler_wl
='-Wl,'
9357 lt_prog_compiler_static
='-static'
9361 # All AIX code is PIC.
9362 if test "$host_cpu" = ia64
; then
9363 # AIX 5 now supports IA64 processor
9364 lt_prog_compiler_static
='-Bstatic'
9366 lt_prog_compiler_pic
='-fPIC'
9372 # see comment about AmigaOS4 .so support
9373 lt_prog_compiler_pic
='-fPIC'
9376 # FIXME: we need at least 68020 code to build shared libraries, but
9377 # adding the `-m68020' flag to GCC prevents building anything better,
9379 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9384 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9385 # PIC is the default for these OSes.
9388 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9389 # This hack is so that the source file can tell whether it is being
9390 # built for inclusion in a dll (and should export symbols for example).
9391 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9392 # (--disable-auto-import) libraries
9393 lt_prog_compiler_pic
='-DDLL_EXPORT'
9396 darwin
* | rhapsody
*)
9397 # PIC is the default on this platform
9398 # Common symbols not allowed in MH_DYLIB files
9399 lt_prog_compiler_pic
='-fno-common'
9403 # PIC is the default for Haiku.
9404 # The "-static" flag exists, but is broken.
9405 lt_prog_compiler_static
=
9409 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9410 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9411 # sets the default TLS model and affects inlining.
9417 lt_prog_compiler_pic
='-fPIC'
9423 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9424 # Instead, we relocate shared libraries at runtime.
9428 # Just because we use GCC doesn't mean we suddenly get shared libraries
9429 # on systems that don't support them.
9430 lt_prog_compiler_can_build_shared
=no
9435 # QNX uses GNU C++, but need to define -shared option too, otherwise
9437 lt_prog_compiler_pic
='-fPIC -shared'
9441 if test -d /usr
/nec
; then
9442 lt_prog_compiler_pic
=-Kconform_pic
9447 lt_prog_compiler_pic
='-fPIC'
9451 case $cc_basename in
9452 nvcc
*) # Cuda Compiler Driver 2.2
9453 lt_prog_compiler_wl
='-Xlinker '
9454 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9458 # PORTME Check for flag to pass linker flags through the system compiler.
9461 lt_prog_compiler_wl
='-Wl,'
9462 if test "$host_cpu" = ia64
; then
9463 # AIX 5 now supports IA64 processor
9464 lt_prog_compiler_static
='-Bstatic'
9466 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9470 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9471 # This hack is so that the source file can tell whether it is being
9472 # built for inclusion in a dll (and should export symbols for example).
9473 lt_prog_compiler_pic
='-DDLL_EXPORT'
9476 hpux9
* | hpux10
* | hpux11
*)
9477 lt_prog_compiler_wl
='-Wl,'
9478 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9485 lt_prog_compiler_pic
='+Z'
9488 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9489 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9492 irix5
* | irix6
* | nonstopux
*)
9493 lt_prog_compiler_wl
='-Wl,'
9494 # PIC (with -KPIC) is the default.
9495 lt_prog_compiler_static
='-non_shared'
9498 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9499 case $cc_basename in
9500 # old Intel for x86_64 which still supported -KPIC.
9502 lt_prog_compiler_wl
='-Wl,'
9503 lt_prog_compiler_pic
='-KPIC'
9504 lt_prog_compiler_static
='-static'
9506 # icc used to be incompatible with GCC.
9507 # ICC 10 doesn't accept -KPIC any more.
9509 lt_prog_compiler_wl
='-Wl,'
9510 lt_prog_compiler_pic
='-fPIC'
9511 lt_prog_compiler_static
='-static'
9513 # Lahey Fortran 8.1.
9515 lt_prog_compiler_wl
='-Wl,'
9516 lt_prog_compiler_pic
='--shared'
9517 lt_prog_compiler_static
='--static'
9519 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9520 # Portland Group compilers (*not* the Pentium gcc compiler,
9521 # which looks to be a dead project)
9522 lt_prog_compiler_wl
='-Wl,'
9523 lt_prog_compiler_pic
='-fpic'
9524 lt_prog_compiler_static
='-Bstatic'
9527 lt_prog_compiler_wl
='-Wl,'
9528 # All Alpha code is PIC.
9529 lt_prog_compiler_static
='-non_shared'
9531 xl
* | bgxl
* | bgf
* | mpixl
*)
9532 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9533 lt_prog_compiler_wl
='-Wl,'
9534 lt_prog_compiler_pic
='-qpic'
9535 lt_prog_compiler_static
='-qstaticlink'
9538 case `$CC -V 2>&1 | sed 5q` in
9539 *Sun\ F
* |
*Sun
*Fortran
*)
9540 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9541 lt_prog_compiler_pic
='-KPIC'
9542 lt_prog_compiler_static
='-Bstatic'
9543 lt_prog_compiler_wl
=''
9547 lt_prog_compiler_pic
='-KPIC'
9548 lt_prog_compiler_static
='-Bstatic'
9549 lt_prog_compiler_wl
='-Wl,'
9557 lt_prog_compiler_pic
='-KPIC'
9558 lt_prog_compiler_static
='-Bstatic'
9562 # QNX uses GNU C++, but need to define -shared option too, otherwise
9564 lt_prog_compiler_pic
='-fPIC -shared'
9567 osf3
* | osf4
* | osf5
*)
9568 lt_prog_compiler_wl
='-Wl,'
9569 # All OSF/1 code is PIC.
9570 lt_prog_compiler_static
='-non_shared'
9574 lt_prog_compiler_static
='-non_shared'
9578 lt_prog_compiler_pic
='-KPIC'
9579 lt_prog_compiler_static
='-Bstatic'
9580 case $cc_basename in
9582 lt_prog_compiler_wl
='-Qoption ld ';;
9584 lt_prog_compiler_wl
='-Wl,';;
9589 lt_prog_compiler_wl
='-Qoption ld '
9590 lt_prog_compiler_pic
='-PIC'
9591 lt_prog_compiler_static
='-Bstatic'
9594 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9595 lt_prog_compiler_wl
='-Wl,'
9596 lt_prog_compiler_pic
='-KPIC'
9597 lt_prog_compiler_static
='-Bstatic'
9601 if test -d /usr
/nec
;then
9602 lt_prog_compiler_pic
='-Kconform_pic'
9603 lt_prog_compiler_static
='-Bstatic'
9607 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9608 lt_prog_compiler_wl
='-Wl,'
9609 lt_prog_compiler_pic
='-KPIC'
9610 lt_prog_compiler_static
='-Bstatic'
9614 lt_prog_compiler_wl
='-Wl,'
9615 lt_prog_compiler_can_build_shared
=no
9619 lt_prog_compiler_pic
='-pic'
9620 lt_prog_compiler_static
='-Bstatic'
9624 lt_prog_compiler_can_build_shared
=no
9630 # For platforms which do not support PIC, -DPIC is meaningless:
9632 lt_prog_compiler_pic
=
9635 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9639 $as_echo "$lt_prog_compiler_pic" >&6; }
9647 # Check to make sure the PIC flag actually works.
9649 if test -n "$lt_prog_compiler_pic"; then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9651 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9652 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9653 $as_echo_n "(cached) " >&6
9655 lt_cv_prog_compiler_pic_works
=no
9656 ac_outfile
=conftest.
$ac_objext
9657 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9658 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9659 # Insert the option either (1) after the last *FLAGS variable, or
9660 # (2) before a word containing "conftest.", or (3) at the end.
9661 # Note that $ac_compile itself does not contain backslashes and begins
9662 # with a dollar sign (not a hyphen), so the echo should work correctly.
9663 # The option is referenced via a variable to avoid confusing sed.
9664 lt_compile
=`echo "$ac_compile" | $SED \
9665 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9666 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9667 -e 's:$: $lt_compiler_flag:'`
9668 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9669 (eval "$lt_compile" 2>conftest.err
)
9671 cat conftest.err
>&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 if (exit $ac_status) && test -s "$ac_outfile"; then
9674 # The compiler can only warn and ignore the option if not recognized
9675 # So say no if there are warnings other than the usual output.
9676 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9677 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9678 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9679 lt_cv_prog_compiler_pic_works
=yes
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9686 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9688 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9689 case $lt_prog_compiler_pic in
9691 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9694 lt_prog_compiler_pic
=
9695 lt_prog_compiler_can_build_shared
=no
9706 # Check to make sure the static flag actually works.
9708 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9710 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9711 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9712 $as_echo_n "(cached) " >&6
9714 lt_cv_prog_compiler_static_works
=no
9715 save_LDFLAGS
="$LDFLAGS"
9716 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9717 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9718 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9719 # The linker can only warn and ignore the option if not recognized
9720 # So say no if there are warnings
9721 if test -s conftest.err
; then
9722 # Append any errors to the config.log.
9723 cat conftest.err
1>&5
9724 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9725 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9726 if diff conftest.exp conftest.er2
>/dev
/null
; then
9727 lt_cv_prog_compiler_static_works
=yes
9730 lt_cv_prog_compiler_static_works
=yes
9734 LDFLAGS
="$save_LDFLAGS"
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9738 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9740 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9743 lt_prog_compiler_static
=
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9753 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9754 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9755 $as_echo_n "(cached) " >&6
9757 lt_cv_prog_compiler_c_o
=no
9758 $RM -r conftest
2>/dev
/null
9762 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9764 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9765 # Insert the option either (1) after the last *FLAGS variable, or
9766 # (2) before a word containing "conftest.", or (3) at the end.
9767 # Note that $ac_compile itself does not contain backslashes and begins
9768 # with a dollar sign (not a hyphen), so the echo should work correctly.
9769 lt_compile
=`echo "$ac_compile" | $SED \
9770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9772 -e 's:$: $lt_compiler_flag:'`
9773 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9774 (eval "$lt_compile" 2>out
/conftest.err
)
9776 cat out
/conftest.err
>&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9780 # The compiler can only warn and ignore the option if not recognized
9781 # So say no if there are warnings
9782 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9783 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9784 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9785 lt_cv_prog_compiler_c_o
=yes
9790 # SGI C++ compiler will create directory out/ii_files/ for
9791 # template instantiation
9792 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9793 $RM out
/* && rmdir out
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9800 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9808 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9809 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9810 $as_echo_n "(cached) " >&6
9812 lt_cv_prog_compiler_c_o
=no
9813 $RM -r conftest
2>/dev
/null
9817 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9819 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9820 # Insert the option either (1) after the last *FLAGS variable, or
9821 # (2) before a word containing "conftest.", or (3) at the end.
9822 # Note that $ac_compile itself does not contain backslashes and begins
9823 # with a dollar sign (not a hyphen), so the echo should work correctly.
9824 lt_compile
=`echo "$ac_compile" | $SED \
9825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9827 -e 's:$: $lt_compiler_flag:'`
9828 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9829 (eval "$lt_compile" 2>out
/conftest.err
)
9831 cat out
/conftest.err
>&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9835 # The compiler can only warn and ignore the option if not recognized
9836 # So say no if there are warnings
9837 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9838 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9839 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9840 lt_cv_prog_compiler_c_o
=yes
9845 # SGI C++ compiler will create directory out/ii_files/ for
9846 # template instantiation
9847 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9848 $RM out
/* && rmdir out
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9855 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9860 hard_links
="nottested"
9861 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9862 # do not overwrite the value of need_locks provided by the user
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9864 $as_echo_n "checking if we can lock with hard links... " >&6; }
9867 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9869 ln conftest.a conftest.b
2>&5 || hard_links
=no
9870 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9872 $as_echo "$hard_links" >&6; }
9873 if test "$hard_links" = no
; then
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9875 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9888 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9891 allow_undefined_flag
=
9892 always_export_symbols
=no
9894 archive_expsym_cmds
=
9895 compiler_needs_object
=no
9896 enable_shared_with_static_runtimes
=no
9897 export_dynamic_flag_spec
=
9898 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9899 hardcode_automatic
=no
9901 hardcode_direct_absolute
=no
9902 hardcode_libdir_flag_spec
=
9903 hardcode_libdir_flag_spec_ld
=
9904 hardcode_libdir_separator
=
9906 hardcode_shlibpath_var
=unsupported
9908 link_all_deplibs
=unknown
9911 old_archive_from_new_cmds
=
9912 old_archive_from_expsyms_cmds
=
9913 thread_safe_flag_spec
=
9914 whole_archive_flag_spec
=
9915 # include_expsyms should be a list of space-separated symbols to be *always*
9916 # included in the symbol list
9918 # exclude_expsyms can be an extended regexp of symbols to exclude
9919 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9920 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9921 # as well as any symbol that contains `d'.
9922 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9923 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9924 # platforms (ab)use it in PIC code, but their linkers get confused if
9925 # the symbol is explicitly referenced. Since portable code cannot
9926 # rely on this symbol name, it's probably fine to never include it in
9927 # preloaded symbol tables.
9928 # Exclude shared library initialization/finalization symbols.
9929 extract_expsyms_cmds
=
9932 cygwin
* | mingw
* | pw32
* | cegcc
*)
9933 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9934 # When not using gcc, we currently assume that we are using
9935 # Microsoft Visual C++.
9936 if test "$GCC" != yes; then
9941 # we just hope/assume this is gcc and not c89 (= MSVC++)
9951 # On some targets, GNU ld is compatible enough with the native linker
9952 # that we're better off using the native interface for both.
9953 lt_use_gnu_ld_interface
=no
9954 if test "$with_gnu_ld" = yes; then
9957 # The AIX port of GNU ld has always aspired to compatibility
9958 # with the native linker. However, as the warning in the GNU ld
9959 # block says, versions before 2.19.5* couldn't really create working
9960 # shared libraries, regardless of the interface used.
9961 case `$LD -v 2>&1` in
9962 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9963 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9964 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9966 lt_use_gnu_ld_interface
=yes
9971 lt_use_gnu_ld_interface
=yes
9976 if test "$lt_use_gnu_ld_interface" = yes; then
9977 # If archive_cmds runs LD, not CC, wlarc should be empty
9980 # Set some defaults for GNU ld with shared library support. These
9981 # are reset later if shared libraries are not supported. Putting them
9982 # here allows them to be overridden if necessary.
9983 runpath_var
=LD_RUN_PATH
9984 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9985 export_dynamic_flag_spec
='${wl}--export-dynamic'
9986 # ancient GNU ld didn't support --whole-archive et. al.
9987 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9988 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9990 whole_archive_flag_spec
=
9992 supports_anon_versioning
=no
9993 case `$LD -v 2>&1` in
9994 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9995 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9996 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9997 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9998 *\
2.11.
*) ;; # other 2.11 versions
9999 *) supports_anon_versioning
=yes ;;
10002 # See if GNU ld supports shared libraries.
10005 # On AIX/PPC, the GNU linker is very broken
10006 if test "$host_cpu" != ia64
; then
10010 *** Warning: the GNU linker, at least up to release 2.19, is reported
10011 *** to be unable to reliably create shared libraries on AIX.
10012 *** Therefore, libtool is disabling shared libraries support. If you
10013 *** really care for shared libraries, you may want to install binutils
10014 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10015 *** You will then need to restart the configuration process.
10024 # see comment about AmigaOS4 .so support
10025 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10026 archive_expsym_cmds
=''
10029 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)'
10030 hardcode_libdir_flag_spec
='-L$libdir'
10031 hardcode_minus_L
=yes
10037 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10038 allow_undefined_flag
=unsupported
10039 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10040 # support --undefined. This deserves some investigation. FIXME
10041 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10047 cygwin
* | mingw
* | pw32
* | cegcc
*)
10048 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10049 # as there is no search path for DLLs.
10050 hardcode_libdir_flag_spec
='-L$libdir'
10051 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10052 allow_undefined_flag
=unsupported
10053 always_export_symbols
=no
10054 enable_shared_with_static_runtimes
=yes
10055 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10057 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10058 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10059 # If the export-symbols file already is a .def file (1st line
10060 # is EXPORTS), use it as is; otherwise, prepend...
10061 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10062 cp $export_symbols $output_objdir/$soname.def;
10064 echo EXPORTS > $output_objdir/$soname.def;
10065 cat $export_symbols >> $output_objdir/$soname.def;
10067 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10074 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10075 link_all_deplibs
=yes
10080 hardcode_shlibpath_var
=no
10081 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10082 export_dynamic_flag_spec
='${wl}-E'
10083 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10084 # Instead, shared libraries are loaded at an image base (0x10000000 by
10085 # default) and relocated if they conflict, which is a slow very memory
10086 # consuming and fragmenting process. To avoid this, we pick a random,
10087 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10088 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10089 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10090 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'
10093 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10095 if test "$host_os" = linux-dietlibc
; then
10096 case $cc_basename in
10097 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10100 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10101 && test "$tmp_diet" = no
10104 tmp_sharedflag
='-shared'
10105 case $cc_basename,$host_cpu in
10106 pgcc
*) # Portland Group C compiler
10107 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'
10108 tmp_addflag
=' $pic_flag'
10110 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10111 # Portland Group f77 and f90 compilers
10112 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10113 tmp_addflag
=' $pic_flag -Mnomain' ;;
10114 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10115 tmp_addflag
=' -i_dynamic' ;;
10116 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10117 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10118 ifc
* | ifort
*) # Intel Fortran compiler
10119 tmp_addflag
=' -nofor_main' ;;
10120 lf95
*) # Lahey Fortran 8.1
10121 whole_archive_flag_spec
=
10122 tmp_sharedflag
='--shared' ;;
10123 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10124 tmp_sharedflag
='-qmkshrobj'
10126 nvcc
*) # Cuda Compiler Driver 2.2
10127 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'
10128 compiler_needs_object
=yes
10131 case `$CC -V 2>&1 | sed 5q` in
10132 *Sun\ C
*) # Sun C 5.9
10133 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'
10134 compiler_needs_object
=yes
10135 tmp_sharedflag
='-G' ;;
10136 *Sun\ F
*) # Sun Fortran 8.3
10137 tmp_sharedflag
='-G' ;;
10139 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10141 if test "x$supports_anon_versioning" = xyes
; then
10142 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10143 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10144 echo "local: *; };" >> $output_objdir/$libname.ver~
10145 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10148 case $cc_basename in
10149 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10150 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10151 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10152 hardcode_libdir_flag_spec
=
10153 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10154 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10155 if test "x$supports_anon_versioning" = xyes
; then
10156 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10157 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10158 echo "local: *; };" >> $output_objdir/$libname.ver~
10159 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10169 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10170 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10174 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10179 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10183 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10184 *** create shared libraries on Solaris systems. Therefore, libtool
10185 *** is disabling shared libraries support. We urge you to upgrade GNU
10186 *** binutils to release 2.9.1 or newer. Another option is to modify
10187 *** your PATH or compiler configuration so that the native linker is
10188 *** used, and then restart.
10191 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10192 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10193 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10199 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10200 case `$LD -v 2>&1` in
10201 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10205 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10206 *** reliably create shared libraries on SCO systems. Therefore, libtool
10207 *** is disabling shared libraries support. We urge you to upgrade GNU
10208 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10209 *** your PATH or compiler configuration so that the native linker is
10210 *** used, and then restart.
10215 # For security reasons, it is highly recommended that you always
10216 # use absolute paths for naming shared libraries, and exclude the
10217 # DT_RUNPATH tag from executables and libraries. But doing so
10218 # requires that you compile everything twice, which is a pain.
10219 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10220 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10221 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10222 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10231 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10233 hardcode_direct
=yes
10234 hardcode_shlibpath_var
=no
10238 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10239 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10240 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10247 if test "$ld_shlibs" = no
; then
10249 hardcode_libdir_flag_spec
=
10250 export_dynamic_flag_spec
=
10251 whole_archive_flag_spec
=
10254 # PORTME fill in a description of your system's linker (not GNU ld)
10257 allow_undefined_flag
=unsupported
10258 always_export_symbols
=yes
10259 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'
10260 # Note: this linker hardcodes the directories in LIBPATH if there
10261 # are no directories specified by -L.
10262 hardcode_minus_L
=yes
10263 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10264 # Neither direct hardcoding nor static linking is supported with a
10266 hardcode_direct
=unsupported
10271 if test "$host_cpu" = ia64
; then
10272 # On IA64, the linker does run time linking by default, so we don't
10273 # have to do anything special.
10274 aix_use_runtimelinking
=no
10275 exp_sym_flag
='-Bexport'
10278 # If we're using GNU nm, then we don't want the "-C" option.
10279 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10280 # Also, AIX nm treats weak defined symbols like other global
10281 # defined symbols, whereas GNU nm marks them as "W".
10282 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10283 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'
10285 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'
10287 aix_use_runtimelinking
=no
10289 # Test if we are trying to use run time linking or normal
10290 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10291 # need to do runtime linking.
10292 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10293 for ld_flag
in $LDFLAGS; do
10294 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10295 aix_use_runtimelinking
=yes
10302 exp_sym_flag
='-bexport'
10303 no_entry_flag
='-bnoentry'
10306 # When large executables or shared objects are built, AIX ld can
10307 # have problems creating the table of contents. If linking a library
10308 # or program results in "error TOC overflow" add -mminimal-toc to
10309 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10310 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10313 hardcode_direct
=yes
10314 hardcode_direct_absolute
=yes
10315 hardcode_libdir_separator
=':'
10316 link_all_deplibs
=yes
10317 file_list_spec
='${wl}-f,'
10319 if test "$GCC" = yes; then
10320 case $host_os in aix4.
[012]|aix4.
[012].
*)
10321 # We only want to do this on AIX 4.2 and lower, the check
10322 # below for broken collect2 doesn't work under 4.3+
10323 collect2name
=`${CC} -print-prog-name=collect2`
10324 if test -f "$collect2name" &&
10325 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10327 # We have reworked collect2
10330 # We have old collect2
10331 hardcode_direct
=unsupported
10332 # It fails to find uninstalled libraries when the uninstalled
10333 # path is not listed in the libpath. Setting hardcode_minus_L
10334 # to unsupported forces relinking
10335 hardcode_minus_L
=yes
10336 hardcode_libdir_flag_spec
='-L$libdir'
10337 hardcode_libdir_separator
=
10341 shared_flag
='-shared'
10342 if test "$aix_use_runtimelinking" = yes; then
10343 shared_flag
="$shared_flag "'${wl}-G'
10347 if test "$host_cpu" = ia64
; then
10348 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10349 # chokes on -Wl,-G. The following line is correct:
10352 if test "$aix_use_runtimelinking" = yes; then
10353 shared_flag
='${wl}-G'
10355 shared_flag
='${wl}-bM:SRE'
10360 export_dynamic_flag_spec
='${wl}-bexpall'
10361 # It seems that -bexpall does not export symbols beginning with
10362 # underscore (_), so it is better to generate a list of symbols to export.
10363 always_export_symbols
=yes
10364 if test "$aix_use_runtimelinking" = yes; then
10365 # Warning - without using the other runtime loading flags (-brtl),
10366 # -berok will link without error, but may produce a broken library.
10367 allow_undefined_flag
='-berok'
10368 # Determine the default libpath from the value encoded in an
10369 # empty executable.
10370 if test x
$gcc_no_link = xyes
; then
10371 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10384 if ac_fn_c_try_link
"$LINENO"; then :
10386 lt_aix_libpath_sed
='
10387 /Import File Strings/,/^$/ {
10393 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10394 # Check for a 64-bit object if we didn't find anything.
10395 if test -z "$aix_libpath"; then
10396 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10399 rm -f core conftest.err conftest.
$ac_objext \
10400 conftest
$ac_exeext conftest.
$ac_ext
10401 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10403 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10404 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"
10406 if test "$host_cpu" = ia64
; then
10407 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10408 allow_undefined_flag
="-z nodefs"
10409 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"
10411 # Determine the default libpath from the value encoded in an
10412 # empty executable.
10413 if test x
$gcc_no_link = xyes
; then
10414 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10427 if ac_fn_c_try_link
"$LINENO"; then :
10429 lt_aix_libpath_sed
='
10430 /Import File Strings/,/^$/ {
10436 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10437 # Check for a 64-bit object if we didn't find anything.
10438 if test -z "$aix_libpath"; then
10439 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10442 rm -f core conftest.err conftest.
$ac_objext \
10443 conftest
$ac_exeext conftest.
$ac_ext
10444 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10446 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10447 # Warning - without using the other run time loading flags,
10448 # -berok will link without error, but may produce a broken library.
10449 no_undefined_flag
=' ${wl}-bernotok'
10450 allow_undefined_flag
=' ${wl}-berok'
10451 if test "$with_gnu_ld" = yes; then
10452 # We only use this code for GNU lds that support --whole-archive.
10453 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10455 # Exported symbols can be pulled into shared objects from archives
10456 whole_archive_flag_spec
='$convenience'
10458 archive_cmds_need_lc
=yes
10459 # This is similar to how AIX traditionally builds its shared libraries.
10460 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'
10468 # see comment about AmigaOS4 .so support
10469 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10470 archive_expsym_cmds
=''
10473 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)'
10474 hardcode_libdir_flag_spec
='-L$libdir'
10475 hardcode_minus_L
=yes
10481 export_dynamic_flag_spec
=-rdynamic
10484 cygwin
* | mingw
* | pw32
* | cegcc
*)
10485 # When not using gcc, we currently assume that we are using
10486 # Microsoft Visual C++.
10487 # hardcode_libdir_flag_spec is actually meaningless, as there is
10488 # no search path for DLLs.
10489 hardcode_libdir_flag_spec
=' '
10490 allow_undefined_flag
=unsupported
10491 # Tell ltmain to make .lib files, not .a files.
10493 # Tell ltmain to make .dll files, not .so files.
10495 # FIXME: Setting linknames here is a bad hack.
10496 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10497 # The linker will automatically build a .lib file if we build a DLL.
10498 old_archive_from_new_cmds
='true'
10499 # FIXME: Should let the user specify the lib program.
10500 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10501 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10502 enable_shared_with_static_runtimes
=yes
10505 darwin
* | rhapsody
*)
10508 archive_cmds_need_lc
=no
10510 hardcode_automatic
=yes
10511 hardcode_shlibpath_var
=unsupported
10512 if test "$lt_cv_ld_force_load" = "yes"; then
10513 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\"`'
10515 whole_archive_flag_spec
=''
10517 link_all_deplibs
=yes
10518 allow_undefined_flag
="$_lt_dar_allow_undefined"
10519 case $cc_basename in
10520 ifort
*) _lt_dar_can_shared
=yes ;;
10521 *) _lt_dar_can_shared
=$GCC ;;
10523 if test "$_lt_dar_can_shared" = "yes"; then
10524 output_verbose_link_cmd
=func_echo_all
10525 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10526 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10527 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}"
10528 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}"
10537 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10538 hardcode_libdir_flag_spec
='-L$libdir'
10539 hardcode_shlibpath_var
=no
10542 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10543 # support. Future versions do this automatically, but an explicit c++rt0.o
10544 # does not break anything, and helps significantly (at the cost of a little
10547 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10548 hardcode_libdir_flag_spec
='-R$libdir'
10549 hardcode_direct
=yes
10550 hardcode_shlibpath_var
=no
10553 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10555 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10556 hardcode_direct
=yes
10557 hardcode_minus_L
=yes
10558 hardcode_shlibpath_var
=no
10561 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10562 freebsd
* | dragonfly
*)
10563 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10564 hardcode_libdir_flag_spec
='-R$libdir'
10565 hardcode_direct
=yes
10566 hardcode_shlibpath_var
=no
10570 if test "$GCC" = yes; then
10571 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'
10573 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'
10575 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10576 hardcode_libdir_separator
=:
10577 hardcode_direct
=yes
10579 # hardcode_minus_L: Not really in the search PATH,
10580 # but as the default location of the library.
10581 hardcode_minus_L
=yes
10582 export_dynamic_flag_spec
='${wl}-E'
10586 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10587 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10589 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10591 if test "$with_gnu_ld" = no
; then
10592 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10593 hardcode_libdir_flag_spec_ld
='+b $libdir'
10594 hardcode_libdir_separator
=:
10595 hardcode_direct
=yes
10596 hardcode_direct_absolute
=yes
10597 export_dynamic_flag_spec
='${wl}-E'
10598 # hardcode_minus_L: Not really in the search PATH,
10599 # but as the default location of the library.
10600 hardcode_minus_L
=yes
10605 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10608 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10611 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10614 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10620 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10623 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10627 # Older versions of the 11.00 compiler do not understand -b yet
10628 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10630 $as_echo_n "checking if $CC understands -b... " >&6; }
10631 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10632 $as_echo_n "(cached) " >&6
10634 lt_cv_prog_compiler__b
=no
10635 save_LDFLAGS
="$LDFLAGS"
10636 LDFLAGS
="$LDFLAGS -b"
10637 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10638 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10639 # The linker can only warn and ignore the option if not recognized
10640 # So say no if there are warnings
10641 if test -s conftest.err
; then
10642 # Append any errors to the config.log.
10643 cat conftest.err
1>&5
10644 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10645 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10646 if diff conftest.exp conftest.er2
>/dev
/null
; then
10647 lt_cv_prog_compiler__b
=yes
10650 lt_cv_prog_compiler__b
=yes
10654 LDFLAGS
="$save_LDFLAGS"
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10658 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10660 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10661 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10663 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10669 if test "$with_gnu_ld" = no
; then
10670 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10671 hardcode_libdir_separator
=:
10676 hardcode_shlibpath_var
=no
10679 hardcode_direct
=yes
10680 hardcode_direct_absolute
=yes
10681 export_dynamic_flag_spec
='${wl}-E'
10683 # hardcode_minus_L: Not really in the search PATH,
10684 # but as the default location of the library.
10685 hardcode_minus_L
=yes
10691 irix5
* | irix6
* | nonstopux
*)
10692 if test "$GCC" = yes; then
10693 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'
10694 # Try to use the -exported_symbol ld option, if it does not
10695 # work, assume that -exports_file does not work either and
10696 # implicitly export all symbols.
10697 save_LDFLAGS
="$LDFLAGS"
10698 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10699 if test x
$gcc_no_link = xyes
; then
10700 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10706 if ac_fn_c_try_link
"$LINENO"; then :
10707 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'
10710 rm -f core conftest.err conftest.
$ac_objext \
10711 conftest
$ac_exeext conftest.
$ac_ext
10712 LDFLAGS
="$save_LDFLAGS"
10714 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'
10715 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'
10717 archive_cmds_need_lc
='no'
10718 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10719 hardcode_libdir_separator
=:
10721 link_all_deplibs
=yes
10725 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10726 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10728 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10730 hardcode_libdir_flag_spec
='-R$libdir'
10731 hardcode_direct
=yes
10732 hardcode_shlibpath_var
=no
10736 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10737 hardcode_direct
=yes
10738 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10739 hardcode_libdir_separator
=:
10740 hardcode_shlibpath_var
=no
10747 if test -f /usr
/libexec
/ld.so
; then
10748 hardcode_direct
=yes
10749 hardcode_shlibpath_var
=no
10750 hardcode_direct_absolute
=yes
10751 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10752 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10753 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10754 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10755 export_dynamic_flag_spec
='${wl}-E'
10758 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10759 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10760 hardcode_libdir_flag_spec
='-R$libdir'
10763 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10764 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10774 hardcode_libdir_flag_spec
='-L$libdir'
10775 hardcode_minus_L
=yes
10776 allow_undefined_flag
=unsupported
10777 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'
10778 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10782 if test "$GCC" = yes; then
10783 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10784 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'
10786 allow_undefined_flag
=' -expect_unresolved \*'
10787 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'
10789 archive_cmds_need_lc
='no'
10790 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10791 hardcode_libdir_separator
=:
10794 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10795 if test "$GCC" = yes; then
10796 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10797 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'
10798 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10800 allow_undefined_flag
=' -expect_unresolved \*'
10801 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'
10802 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~
10803 $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'
10805 # Both c and cxx compiler support -rpath directly
10806 hardcode_libdir_flag_spec
='-rpath $libdir'
10808 archive_cmds_need_lc
='no'
10809 hardcode_libdir_separator
=:
10813 no_undefined_flag
=' -z defs'
10814 if test "$GCC" = yes; then
10816 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10817 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10818 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10820 case `$CC -V 2>&1` in
10823 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10824 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10825 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10829 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10830 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10831 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10835 hardcode_libdir_flag_spec
='-R$libdir'
10836 hardcode_shlibpath_var
=no
10838 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10840 # The compiler driver will combine and reorder linker options,
10841 # but understands `-z linker_flag'. GCC discards it without `$wl',
10842 # but is careful enough not to reorder.
10843 # Supported since Solaris 2.6 (maybe 2.5.1?)
10844 if test "$GCC" = yes; then
10845 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10847 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10851 link_all_deplibs
=yes
10855 if test "x$host_vendor" = xsequent
; then
10856 # Use $CC to link under sequent, because it throws in some extra .o
10857 # files that make .init and .fini sections work.
10858 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10860 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10862 hardcode_libdir_flag_spec
='-L$libdir'
10863 hardcode_direct
=yes
10864 hardcode_minus_L
=yes
10865 hardcode_shlibpath_var
=no
10869 case $host_vendor in
10871 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10872 hardcode_direct
=yes # is this really true???
10875 ## LD is ld it makes a PLAMLIB
10876 ## CC just makes a GrossModule.
10877 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10878 reload_cmds
='$CC -r -o $output$reload_objs'
10882 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10883 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10886 runpath_var
='LD_RUN_PATH'
10887 hardcode_shlibpath_var
=no
10891 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10892 hardcode_shlibpath_var
=no
10893 export_dynamic_flag_spec
='-Bexport'
10897 if test -d /usr
/nec
; then
10898 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10899 hardcode_shlibpath_var
=no
10900 runpath_var
=LD_RUN_PATH
10901 hardcode_runpath_var
=yes
10906 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10907 no_undefined_flag
='${wl}-z,text'
10908 archive_cmds_need_lc
=no
10909 hardcode_shlibpath_var
=no
10910 runpath_var
='LD_RUN_PATH'
10912 if test "$GCC" = yes; then
10913 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10914 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10916 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10917 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10921 sysv5
* | sco3.2v5
* | sco5v6
*)
10922 # Note: We can NOT use -z defs as we might desire, because we do not
10923 # link with -lc, and that would cause any symbols used from libc to
10924 # always be unresolved, which means just about no library would
10925 # ever link correctly. If we're not using GNU ld we use -z text
10926 # though, which does catch some bad symbols but isn't as heavy-handed
10928 no_undefined_flag
='${wl}-z,text'
10929 allow_undefined_flag
='${wl}-z,nodefs'
10930 archive_cmds_need_lc
=no
10931 hardcode_shlibpath_var
=no
10932 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10933 hardcode_libdir_separator
=':'
10934 link_all_deplibs
=yes
10935 export_dynamic_flag_spec
='${wl}-Bexport'
10936 runpath_var
='LD_RUN_PATH'
10938 if test "$GCC" = yes; then
10939 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10940 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10942 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10943 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10948 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10949 hardcode_libdir_flag_spec
='-L$libdir'
10950 hardcode_shlibpath_var
=no
10958 if test x
$host_vendor = xsni
; then
10960 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10961 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10968 $as_echo "$ld_shlibs" >&6; }
10969 test "$ld_shlibs" = no
&& can_build_shared
=no
10971 with_gnu_ld
=$with_gnu_ld
10988 # Do we need to explicitly link libc?
10990 case "x$archive_cmds_need_lc" in
10992 # Assume -lc should be added
10993 archive_cmds_need_lc
=yes
10995 if test "$enable_shared" = yes && test "$GCC" = yes; then
10996 case $archive_cmds in
10998 # FIXME: we may have to deal with multi-command sequences.
11001 # Test whether the compiler implicitly links with -lc since on some
11002 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11003 # to ld, don't add -lc before -lgcc.
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11005 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11006 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11007 $as_echo_n "(cached) " >&6
11010 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11012 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11013 (eval $ac_compile) 2>&5
11015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11016 test $ac_status = 0; } 2>conftest.err
; then
11019 libobjs
=conftest.
$ac_objext
11021 wl
=$lt_prog_compiler_wl
11022 pic_flag
=$lt_prog_compiler_pic
11028 lt_save_allow_undefined_flag
=$allow_undefined_flag
11029 allow_undefined_flag
=
11030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11031 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11034 test $ac_status = 0; }
11036 lt_cv_archive_cmds_need_lc
=no
11038 lt_cv_archive_cmds_need_lc
=yes
11040 allow_undefined_flag
=$lt_save_allow_undefined_flag
11042 cat conftest.err
1>&5
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11048 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11049 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11213 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11215 if test "$GCC" = yes; then
11217 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11218 *) lt_awk_arg
="/^libraries:/" ;;
11221 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11222 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11224 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11225 case $lt_search_path_spec in
11227 # if the path contains ";" then we assume it to be the separator
11228 # otherwise default to the standard path separator (i.e. ":") - it is
11229 # assumed that no part of a normal pathname contains ";" but that should
11230 # okay in the real world where ";" in dirpaths is itself problematic.
11231 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11234 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11237 # Ok, now we have the path, separated by spaces, we can step through it
11238 # and add multilib dir if necessary.
11239 lt_tmp_lt_search_path_spec
=
11240 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11241 for lt_sys_path
in $lt_search_path_spec; do
11242 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11243 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11245 test -d "$lt_sys_path" && \
11246 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11249 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11250 BEGIN {RS=" "; FS="/|\n";} {
11253 for (lt_i = NF; lt_i > 0; lt_i--) {
11254 if ($lt_i != "" && $lt_i != ".") {
11255 if ($lt_i == "..") {
11258 if (lt_count == 0) {
11259 lt_foo="/" $lt_i lt_foo;
11266 if (lt_foo != "") { lt_freq[lt_foo]++; }
11267 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11269 # AWK program above erroneously prepends '/' to C:/dos/paths
11272 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11273 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11275 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11277 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11279 library_names_spec
=
11280 libname_spec
='lib$name'
11284 postuninstall_cmds
=
11288 shlibpath_overrides_runpath
=unknown
11290 dynamic_linker
="$host_os ld.so"
11291 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11292 need_lib_prefix
=unknown
11293 hardcode_into_libs
=no
11295 # when you set need_version to no, make sure it does not cause -set_version
11296 # flags to be left without arguments
11297 need_version
=unknown
11302 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11303 shlibpath_var
=LIBPATH
11305 # AIX 3 has no versioning support, so we append a major version to the name.
11306 soname_spec
='${libname}${release}${shared_ext}$major'
11313 hardcode_into_libs
=yes
11314 if test "$host_cpu" = ia64
; then
11315 # AIX 5 supports IA64
11316 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11317 shlibpath_var
=LD_LIBRARY_PATH
11319 # With GCC up to 2.95.x, collect2 would create an import file
11320 # for dependence libraries. The import file would start with
11321 # the line `#! .'. This would cause the generated library to
11322 # depend on `.', always an invalid library. This was fixed in
11323 # development snapshots of GCC prior to 3.0.
11325 aix4 | aix4.
[01] | aix4.
[01].
*)
11326 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11328 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11331 can_build_shared
=no
11335 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11336 # soname into executable. Probably we can add versioning support to
11337 # collect2, so additional links can be useful in future.
11338 if test "$aix_use_runtimelinking" = yes; then
11339 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11340 # instead of lib<name>.a to let people know that these are not
11341 # typical AIX shared libraries.
11342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11344 # We preserve .a as extension for shared libraries through AIX4.2
11345 # and later when we are not doing run time linking.
11346 library_names_spec
='${libname}${release}.a $libname.a'
11347 soname_spec
='${libname}${release}${shared_ext}$major'
11349 shlibpath_var
=LIBPATH
11356 # Since July 2007 AmigaOS4 officially supports .so libraries.
11357 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361 library_names_spec
='$libname.ixlibrary $libname.a'
11362 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11363 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'
11369 library_names_spec
='${libname}${shared_ext}'
11370 dynamic_linker
="$host_os ld.so"
11371 shlibpath_var
=LIBRARY_PATH
11377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11378 soname_spec
='${libname}${release}${shared_ext}$major'
11379 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11380 shlibpath_var
=LD_LIBRARY_PATH
11381 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11382 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11383 # the default ld.so.conf also contains /usr/contrib/lib and
11384 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11385 # libtool to hard-code these into programs
11388 cygwin
* | mingw
* | pw32
* | cegcc
*)
11389 version_type
=windows
11394 case $GCC,$host_os in
11395 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11396 library_names_spec
='$libname.dll.a'
11397 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11398 postinstall_cmds
='base_file=`basename \${file}`~
11399 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11400 dldir=$destdir/`dirname \$dlpath`~
11401 test -d \$dldir || mkdir -p \$dldir~
11402 $install_prog $dir/$dlname \$dldir/$dlname~
11403 chmod a+x \$dldir/$dlname~
11404 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11405 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11407 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11408 dlpath=$dir/\$dldll~
11410 shlibpath_overrides_runpath
=yes
11414 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11415 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11417 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11420 # MinGW DLLs use traditional 'lib' prefix
11421 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11424 # pw32 DLLs use 'pw' prefix rather than 'lib'
11425 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11431 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11434 dynamic_linker
='Win32 ld.exe'
11435 # FIXME: first we should search . and the directory the executable is in
11439 darwin
* | rhapsody
*)
11440 dynamic_linker
="$host_os dyld"
11441 version_type
=darwin
11444 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11445 soname_spec
='${libname}${release}${major}$shared_ext'
11446 shlibpath_overrides_runpath
=yes
11447 shlibpath_var
=DYLD_LIBRARY_PATH
11448 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11450 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11451 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11459 soname_spec
='${libname}${release}${shared_ext}$major'
11460 shlibpath_var
=LD_LIBRARY_PATH
11463 freebsd
* | dragonfly
*)
11464 # DragonFly does not have aout. When/if they implement a new
11465 # versioning mechanism, adjust this.
11466 if test -x /usr
/bin
/objformat
; then
11467 objformat
=`/usr/bin/objformat`
11470 freebsd
[23].
*) objformat
=aout
;;
11471 *) objformat
=elf
;;
11474 version_type
=freebsd-
$objformat
11475 case $version_type in
11477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11482 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11486 shlibpath_var
=LD_LIBRARY_PATH
11489 shlibpath_overrides_runpath
=yes
11491 freebsd3.
[01]* | freebsdelf3.
[01]*)
11492 shlibpath_overrides_runpath
=yes
11493 hardcode_into_libs
=yes
11495 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11496 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11497 shlibpath_overrides_runpath
=no
11498 hardcode_into_libs
=yes
11500 *) # from 4.6 on, and DragonFly
11501 shlibpath_overrides_runpath
=yes
11502 hardcode_into_libs
=yes
11511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11512 soname_spec
='${libname}${release}${shared_ext}$major'
11513 shlibpath_var
=LD_LIBRARY_PATH
11514 hardcode_into_libs
=yes
11521 dynamic_linker
="$host_os runtime_loader"
11522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11523 soname_spec
='${libname}${release}${shared_ext}$major'
11524 shlibpath_var
=LIBRARY_PATH
11525 shlibpath_overrides_runpath
=yes
11526 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11527 hardcode_into_libs
=yes
11530 hpux9
* | hpux10
* | hpux11
*)
11531 # Give a soname corresponding to the major version so that dld.sl refuses to
11532 # link against other versions.
11539 hardcode_into_libs
=yes
11540 dynamic_linker
="$host_os dld.so"
11541 shlibpath_var
=LD_LIBRARY_PATH
11542 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11544 soname_spec
='${libname}${release}${shared_ext}$major'
11545 if test "X$HPUX_IA64_MODE" = X32
; then
11546 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11548 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11550 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11554 hardcode_into_libs
=yes
11555 dynamic_linker
="$host_os dld.sl"
11556 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11557 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11559 soname_spec
='${libname}${release}${shared_ext}$major'
11560 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11561 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11565 dynamic_linker
="$host_os dld.sl"
11566 shlibpath_var
=SHLIB_PATH
11567 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11569 soname_spec
='${libname}${release}${shared_ext}$major'
11572 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11573 postinstall_cmds
='chmod 555 $lib'
11574 # or fails outright, so override atomically:
11575 install_override_mode
=555
11582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11583 soname_spec
='${libname}${release}${shared_ext}$major'
11584 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11585 shlibpath_var
=LD_LIBRARY_PATH
11586 shlibpath_overrides_runpath
=no
11587 hardcode_into_libs
=yes
11590 irix5
* | irix6
* | nonstopux
*)
11592 nonstopux
*) version_type
=nonstopux
;;
11594 if test "$lt_cv_prog_gnu_ld" = yes; then
11602 soname_spec
='${libname}${release}${shared_ext}$major'
11603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11605 irix5
* | nonstopux
*)
11606 libsuff
= shlibsuff
=
11609 case $LD in # libtool.m4 will add one of these switches to LD
11610 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11611 libsuff
= shlibsuff
= libmagic
=32-bit;;
11612 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11613 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11614 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11615 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11616 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11620 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11621 shlibpath_overrides_runpath
=no
11622 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11623 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11624 hardcode_into_libs
=yes
11627 # No shared lib support for Linux oldld, aout, or coff.
11628 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11632 # This must be Linux ELF.
11633 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11638 soname_spec
='${libname}${release}${shared_ext}$major'
11639 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11640 shlibpath_var
=LD_LIBRARY_PATH
11641 shlibpath_overrides_runpath
=no
11643 # Some binutils ld are patched to set DT_RUNPATH
11644 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11645 $as_echo_n "(cached) " >&6
11647 lt_cv_shlibpath_overrides_runpath
=no
11648 save_LDFLAGS
=$LDFLAGS
11649 save_libdir
=$libdir
11650 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11651 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11652 if test x
$gcc_no_link = xyes
; then
11653 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h. */
11666 if ac_fn_c_try_link
"$LINENO"; then :
11667 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11668 lt_cv_shlibpath_overrides_runpath
=yes
11671 rm -f core conftest.err conftest.
$ac_objext \
11672 conftest
$ac_exeext conftest.
$ac_ext
11673 LDFLAGS
=$save_LDFLAGS
11674 libdir
=$save_libdir
11678 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11680 # This implies no fast_install, which is unacceptable.
11681 # Some rework will be needed to allow for fast_install
11682 # before this can be enabled.
11683 hardcode_into_libs
=yes
11685 # Append ld.so.conf contents to the search path
11686 if test -f /etc
/ld.so.conf
; then
11687 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' ' '`
11688 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11691 # We used to test for /lib/ld.so.1 and disable shared libraries on
11692 # powerpc, because MkLinux only supported shared libraries with the
11693 # GNU dynamic linker. Since this was broken with cross compilers,
11694 # most powerpc-linux boxes support dynamic linking these days and
11695 # people can always --disable-shared, the test was removed, and we
11696 # assume the GNU/Linux dynamic linker is in use.
11697 dynamic_linker
='GNU/Linux ld.so'
11704 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11706 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11707 dynamic_linker
='NetBSD (a.out) ld.so'
11709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11710 soname_spec
='${libname}${release}${shared_ext}$major'
11711 dynamic_linker
='NetBSD ld.elf_so'
11713 shlibpath_var
=LD_LIBRARY_PATH
11714 shlibpath_overrides_runpath
=yes
11715 hardcode_into_libs
=yes
11720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11721 shlibpath_var
=LD_LIBRARY_PATH
11722 shlibpath_overrides_runpath
=yes
11729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11730 soname_spec
='${libname}${release}${shared_ext}$major'
11731 shlibpath_var
=LD_LIBRARY_PATH
11732 shlibpath_overrides_runpath
=no
11733 hardcode_into_libs
=yes
11734 dynamic_linker
='ldqnx.so'
11739 sys_lib_dlsearch_path_spec
="/usr/lib"
11741 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11743 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11744 *) need_version
=no
;;
11746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11747 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11748 shlibpath_var
=LD_LIBRARY_PATH
11749 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11751 openbsd2.
[89] | openbsd2.
[89].
*)
11752 shlibpath_overrides_runpath
=no
11755 shlibpath_overrides_runpath
=yes
11759 shlibpath_overrides_runpath
=yes
11764 libname_spec
='$name'
11767 library_names_spec
='$libname${shared_ext} $libname.a'
11768 dynamic_linker
='OS/2 ld.exe'
11769 shlibpath_var
=LIBPATH
11772 osf3
* | osf4
* | osf5
*)
11776 soname_spec
='${libname}${release}${shared_ext}$major'
11777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778 shlibpath_var
=LD_LIBRARY_PATH
11779 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11780 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11792 soname_spec
='${libname}${release}${shared_ext}$major'
11793 shlibpath_var
=LD_LIBRARY_PATH
11794 shlibpath_overrides_runpath
=yes
11795 hardcode_into_libs
=yes
11796 # ldd complains unless libraries are executable
11797 postinstall_cmds
='chmod +x $lib'
11802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11803 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11804 shlibpath_var
=LD_LIBRARY_PATH
11805 shlibpath_overrides_runpath
=yes
11806 if test "$with_gnu_ld" = yes; then
11814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11815 soname_spec
='${libname}${release}${shared_ext}$major'
11816 shlibpath_var
=LD_LIBRARY_PATH
11817 case $host_vendor in
11819 shlibpath_overrides_runpath
=no
11821 runpath_var
=LD_RUN_PATH
11829 shlibpath_overrides_runpath
=no
11830 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11836 if test -d /usr
/nec
;then
11838 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11839 soname_spec
='$libname${shared_ext}.$major'
11840 shlibpath_var
=LD_LIBRARY_PATH
11844 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11845 version_type
=freebsd-elf
11848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11849 soname_spec
='${libname}${release}${shared_ext}$major'
11850 shlibpath_var
=LD_LIBRARY_PATH
11851 shlibpath_overrides_runpath
=yes
11852 hardcode_into_libs
=yes
11853 if test "$with_gnu_ld" = yes; then
11854 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11856 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11859 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11863 sys_lib_dlsearch_path_spec
='/usr/lib'
11867 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11872 shlibpath_var
=LD_LIBRARY_PATH
11873 shlibpath_overrides_runpath
=no
11874 hardcode_into_libs
=yes
11879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11880 soname_spec
='${libname}${release}${shared_ext}$major'
11881 shlibpath_var
=LD_LIBRARY_PATH
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11889 $as_echo "$dynamic_linker" >&6; }
11890 test "$dynamic_linker" = no
&& can_build_shared
=no
11892 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11893 if test "$GCC" = yes; then
11894 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11897 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11898 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11900 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11901 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11996 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11998 if test -n "$hardcode_libdir_flag_spec" ||
11999 test -n "$runpath_var" ||
12000 test "X$hardcode_automatic" = "Xyes" ; then
12002 # We can hardcode non-existent directories.
12003 if test "$hardcode_direct" != no
&&
12004 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12005 # have to relink, otherwise we might link with an installed library
12006 # when we should be linking with a yet-to-be-installed one
12007 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12008 test "$hardcode_minus_L" != no
; then
12009 # Linking always hardcodes the temporary library directory.
12010 hardcode_action
=relink
12012 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12013 hardcode_action
=immediate
12016 # We cannot hardcode anything, or else we can only hardcode existing
12018 hardcode_action
=unsupported
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12021 $as_echo "$hardcode_action" >&6; }
12023 if test "$hardcode_action" = relink ||
12024 test "$inherit_rpath" = yes; then
12025 # Fast installation is not supported
12026 enable_fast_install
=no
12027 elif test "$shlibpath_overrides_runpath" = yes ||
12028 test "$enable_shared" = no
; then
12029 # Fast installation is not necessary
12030 enable_fast_install
=needless
12038 if test "x$enable_dlopen" != xyes
; then
12039 enable_dlopen
=unknown
12040 enable_dlopen_self
=unknown
12041 enable_dlopen_self_static
=unknown
12048 lt_cv_dlopen
="load_add_on"
12050 lt_cv_dlopen_self
=yes
12053 mingw
* | pw32
* | cegcc
*)
12054 lt_cv_dlopen
="LoadLibrary"
12059 lt_cv_dlopen
="dlopen"
12064 # if libdl is installed we need to link against it
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12066 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12067 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12068 $as_echo_n "(cached) " >&6
12070 ac_check_lib_save_LIBS
=$LIBS
12072 if test x
$gcc_no_link = xyes
; then
12073 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 /* Override any GCC internal prototype to avoid an error.
12079 Use char because int might match the return type of a GCC
12080 builtin and then its argument prototype would still apply. */
12093 if ac_fn_c_try_link
"$LINENO"; then :
12094 ac_cv_lib_dl_dlopen
=yes
12096 ac_cv_lib_dl_dlopen
=no
12098 rm -f core conftest.err conftest.
$ac_objext \
12099 conftest
$ac_exeext conftest.
$ac_ext
12100 LIBS
=$ac_check_lib_save_LIBS
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12103 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12104 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12105 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12108 lt_cv_dlopen
="dyld"
12110 lt_cv_dlopen_self
=yes
12117 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12118 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12119 lt_cv_dlopen
="shl_load"
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12122 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12123 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12124 $as_echo_n "(cached) " >&6
12126 ac_check_lib_save_LIBS
=$LIBS
12128 if test x
$gcc_no_link = xyes
; then
12129 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12144 return shl_load ();
12149 if ac_fn_c_try_link
"$LINENO"; then :
12150 ac_cv_lib_dld_shl_load
=yes
12152 ac_cv_lib_dld_shl_load
=no
12154 rm -f core conftest.err conftest.
$ac_objext \
12155 conftest
$ac_exeext conftest.
$ac_ext
12156 LIBS
=$ac_check_lib_save_LIBS
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12159 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12160 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12161 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12163 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12164 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12165 lt_cv_dlopen
="dlopen"
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12168 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12169 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12170 $as_echo_n "(cached) " >&6
12172 ac_check_lib_save_LIBS
=$LIBS
12174 if test x
$gcc_no_link = xyes
; then
12175 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12180 /* Override any GCC internal prototype to avoid an error.
12181 Use char because int might match the return type of a GCC
12182 builtin and then its argument prototype would still apply. */
12195 if ac_fn_c_try_link
"$LINENO"; then :
12196 ac_cv_lib_dl_dlopen
=yes
12198 ac_cv_lib_dl_dlopen
=no
12200 rm -f core conftest.err conftest.
$ac_objext \
12201 conftest
$ac_exeext conftest.
$ac_ext
12202 LIBS
=$ac_check_lib_save_LIBS
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12205 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12206 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12207 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12210 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12211 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12212 $as_echo_n "(cached) " >&6
12214 ac_check_lib_save_LIBS
=$LIBS
12215 LIBS
="-lsvld $LIBS"
12216 if test x
$gcc_no_link = xyes
; then
12217 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12220 /* end confdefs.h. */
12222 /* Override any GCC internal prototype to avoid an error.
12223 Use char because int might match the return type of a GCC
12224 builtin and then its argument prototype would still apply. */
12237 if ac_fn_c_try_link
"$LINENO"; then :
12238 ac_cv_lib_svld_dlopen
=yes
12240 ac_cv_lib_svld_dlopen
=no
12242 rm -f core conftest.err conftest.
$ac_objext \
12243 conftest
$ac_exeext conftest.
$ac_ext
12244 LIBS
=$ac_check_lib_save_LIBS
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12247 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12248 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12249 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12252 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12253 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12254 $as_echo_n "(cached) " >&6
12256 ac_check_lib_save_LIBS
=$LIBS
12258 if test x
$gcc_no_link = xyes
; then
12259 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12274 return dld_link ();
12279 if ac_fn_c_try_link
"$LINENO"; then :
12280 ac_cv_lib_dld_dld_link
=yes
12282 ac_cv_lib_dld_dld_link
=no
12284 rm -f core conftest.err conftest.
$ac_objext \
12285 conftest
$ac_exeext conftest.
$ac_ext
12286 LIBS
=$ac_check_lib_save_LIBS
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12289 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12290 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12291 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12312 if test "x$lt_cv_dlopen" != xno
; then
12318 case $lt_cv_dlopen in
12320 save_CPPFLAGS
="$CPPFLAGS"
12321 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12323 save_LDFLAGS
="$LDFLAGS"
12324 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12327 LIBS
="$lt_cv_dlopen_libs $LIBS"
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12330 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12331 if test "${lt_cv_dlopen_self+set}" = set; then :
12332 $as_echo_n "(cached) " >&6
12334 if test "$cross_compiling" = yes; then :
12335 lt_cv_dlopen_self
=cross
12337 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12338 lt_status
=$lt_dlunknown
12339 cat > conftest.
$ac_ext <<_LT_EOF
12340 #line 12340 "configure"
12341 #include "confdefs.h"
12350 # define LT_DLGLOBAL RTLD_GLOBAL
12353 # define LT_DLGLOBAL DL_GLOBAL
12355 # define LT_DLGLOBAL 0
12359 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12360 find out it does not work in some platform. */
12361 #ifndef LT_DLLAZY_OR_NOW
12363 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12366 # define LT_DLLAZY_OR_NOW DL_LAZY
12369 # define LT_DLLAZY_OR_NOW RTLD_NOW
12372 # define LT_DLLAZY_OR_NOW DL_NOW
12374 # define LT_DLLAZY_OR_NOW 0
12381 /* When -fvisbility=hidden is used, assume the code has been annotated
12382 correspondingly for the symbols needed. */
12383 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12384 void fnord () __attribute__((visibility("default")));
12387 void fnord () { int i=42; }
12390 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12391 int status = $lt_dlunknown;
12395 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12398 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12399 else puts (dlerror ());
12401 /* dlclose (self); */
12409 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12410 (eval $ac_link) 2>&5
12412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12413 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12414 (.
/conftest
; exit; ) >&5 2>/dev
/null
12416 case x
$lt_status in
12417 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12418 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12419 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12422 # compilation failed
12423 lt_cv_dlopen_self
=no
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12431 $as_echo "$lt_cv_dlopen_self" >&6; }
12433 if test "x$lt_cv_dlopen_self" = xyes
; then
12434 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12436 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12437 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12438 $as_echo_n "(cached) " >&6
12440 if test "$cross_compiling" = yes; then :
12441 lt_cv_dlopen_self_static
=cross
12443 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12444 lt_status
=$lt_dlunknown
12445 cat > conftest.
$ac_ext <<_LT_EOF
12446 #line 12446 "configure"
12447 #include "confdefs.h"
12456 # define LT_DLGLOBAL RTLD_GLOBAL
12459 # define LT_DLGLOBAL DL_GLOBAL
12461 # define LT_DLGLOBAL 0
12465 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12466 find out it does not work in some platform. */
12467 #ifndef LT_DLLAZY_OR_NOW
12469 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12472 # define LT_DLLAZY_OR_NOW DL_LAZY
12475 # define LT_DLLAZY_OR_NOW RTLD_NOW
12478 # define LT_DLLAZY_OR_NOW DL_NOW
12480 # define LT_DLLAZY_OR_NOW 0
12487 /* When -fvisbility=hidden is used, assume the code has been annotated
12488 correspondingly for the symbols needed. */
12489 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12490 void fnord () __attribute__((visibility("default")));
12493 void fnord () { int i=42; }
12496 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12497 int status = $lt_dlunknown;
12501 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12504 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12505 else puts (dlerror ());
12507 /* dlclose (self); */
12515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12516 (eval $ac_link) 2>&5
12518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12519 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12520 (.
/conftest
; exit; ) >&5 2>/dev
/null
12522 case x
$lt_status in
12523 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12524 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12525 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12528 # compilation failed
12529 lt_cv_dlopen_self_static
=no
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12537 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12540 CPPFLAGS
="$save_CPPFLAGS"
12541 LDFLAGS
="$save_LDFLAGS"
12546 case $lt_cv_dlopen_self in
12547 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12548 *) enable_dlopen_self
=unknown
;;
12551 case $lt_cv_dlopen_self_static in
12552 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12553 *) enable_dlopen_self_static
=unknown
;;
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12576 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12577 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12578 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12579 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12581 $as_echo "yes" >&6; }
12583 # FIXME - insert some real tests, host_os isn't really good enough
12586 if test -n "$STRIP" ; then
12587 striplib
="$STRIP -x"
12588 old_striplib
="$STRIP -S"
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12590 $as_echo "yes" >&6; }
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12593 $as_echo "no" >&6; }
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12598 $as_echo "no" >&6; }
12614 # Report which library types will actually be built
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12616 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12618 $as_echo "$can_build_shared" >&6; }
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12621 $as_echo_n "checking whether to build shared libraries... " >&6; }
12622 test "$can_build_shared" = "no" && enable_shared
=no
12624 # On AIX, shared libraries and static libraries use the same namespace, and
12625 # are all built from PIC.
12628 test "$enable_shared" = yes && enable_static
=no
12629 if test -n "$RANLIB"; then
12630 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12631 postinstall_cmds
='$RANLIB $lib'
12636 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12637 test "$enable_shared" = yes && enable_static
=no
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12642 $as_echo "$enable_shared" >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12645 $as_echo_n "checking whether to build static libraries... " >&6; }
12646 # Make sure either enable_shared or enable_static is yes.
12647 test "$enable_shared" = yes || enable_static
=yes
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12649 $as_echo "$enable_static" >&6; }
12656 ac_cpp
='$CPP $CPPFLAGS'
12657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12675 ac_config_commands
="$ac_config_commands libtool"
12680 # Only expand once:
12687 *-cygwin* |
*-mingw*)
12688 # 'host' will be top-level target in the case of a target lib,
12689 # we must compare to with_cross_host to decide if this is a native
12690 # or cross-compiler and select where to install dlls appropriately.
12691 if test -n "$with_cross_host" &&
12692 test x
"$with_cross_host" != x
"no"; then
12693 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12695 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12707 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12709 # We need gfortran to compile parts of the library
12710 #AC_PROG_FC(gfortran)
12712 ac_ext
=${ac_fc_srcext-f}
12713 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12714 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12715 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12716 if test -n "$ac_tool_prefix"; then
12717 for ac_prog
in gfortran
12719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12720 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12722 $as_echo_n "checking for $ac_word... " >&6; }
12723 if test "${ac_cv_prog_FC+set}" = set; then :
12724 $as_echo_n "(cached) " >&6
12726 if test -n "$FC"; then
12727 ac_cv_prog_FC
="$FC" # Let the user override the test.
12729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12730 for as_dir
in $PATH
12733 test -z "$as_dir" && as_dir
=.
12734 for ac_exec_ext
in '' $ac_executable_extensions; do
12735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12736 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12747 if test -n "$FC"; then
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12749 $as_echo "$FC" >&6; }
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12752 $as_echo "no" >&6; }
12756 test -n "$FC" && break
12759 if test -z "$FC"; then
12761 for ac_prog
in gfortran
12763 # Extract the first word of "$ac_prog", so it can be a program name with args.
12764 set dummy
$ac_prog; ac_word
=$2
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12766 $as_echo_n "checking for $ac_word... " >&6; }
12767 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12768 $as_echo_n "(cached) " >&6
12770 if test -n "$ac_ct_FC"; then
12771 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12774 for as_dir
in $PATH
12777 test -z "$as_dir" && as_dir
=.
12778 for ac_exec_ext
in '' $ac_executable_extensions; do
12779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12780 ac_cv_prog_ac_ct_FC
="$ac_prog"
12781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12790 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12791 if test -n "$ac_ct_FC"; then
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12793 $as_echo "$ac_ct_FC" >&6; }
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12796 $as_echo "no" >&6; }
12800 test -n "$ac_ct_FC" && break
12803 if test "x$ac_ct_FC" = x
; then
12806 case $cross_compiling:$ac_tool_warned in
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12810 ac_tool_warned
=yes ;;
12817 # Provide some information about the compiler.
12818 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12821 for ac_option
in --version -v -V -qversion; do
12822 { { ac_try
="$ac_compiler $ac_option >&5"
12823 case "(($ac_try" in
12824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12825 *) ac_try_echo=$ac_try;;
12827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12828 $as_echo "$ac_try_echo"; } >&5
12829 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12831 if test -s conftest.err; then
12833 ... rest of stderr output deleted ...
12834 10q' conftest.err >conftest.er1
12835 cat conftest.er1 >&5
12836 rm -f conftest.er1 conftest.err
12838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12839 test $ac_status = 0; }
12843 # If we don't use `.F
' as extension, the preprocessor is not run on the
12844 # input file. (Note that this only needs to work for GNU compilers.)
12845 ac_save_ext=$ac_ext
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12848 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12849 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12850 $as_echo_n "(cached) " >&6
12852 cat > conftest.$ac_ext <<_ACEOF
12860 if ac_fn_fc_try_compile "$LINENO"; then :
12861 ac_compiler_gnu=yes
12865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12866 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12870 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12871 ac_ext=$ac_save_ext
12872 ac_test_FCFLAGS=${FCFLAGS+set}
12873 ac_save_FCFLAGS=$FCFLAGS
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12876 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12877 if test "${ac_cv_prog_fc_g+set}" = set; then :
12878 $as_echo_n "(cached) " >&6
12881 cat > conftest.$ac_ext <<_ACEOF
12886 if ac_fn_fc_try_compile "$LINENO"; then :
12887 ac_cv_prog_fc_g=yes
12891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12895 $as_echo "$ac_cv_prog_fc_g" >&6; }
12896 if test "$ac_test_FCFLAGS" = set; then
12897 FCFLAGS=$ac_save_FCFLAGS
12898 elif test $ac_cv_prog_fc_g = yes; then
12899 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12905 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12913 ac_cpp='$CPP $CPPFLAGS'
12914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12915 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12918 ac_ext=${ac_fc_srcext-f}
12919 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12920 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12921 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12924 if test -z "$FC" || test "X$FC" = "Xno"; then
12928 archive_cmds_need_lc_FC=no
12929 allow_undefined_flag_FC=
12930 always_export_symbols_FC=no
12931 archive_expsym_cmds_FC=
12932 export_dynamic_flag_spec_FC=
12933 hardcode_direct_FC=no
12934 hardcode_direct_absolute_FC=no
12935 hardcode_libdir_flag_spec_FC=
12936 hardcode_libdir_flag_spec_ld_FC=
12937 hardcode_libdir_separator_FC=
12938 hardcode_minus_L_FC=no
12939 hardcode_automatic_FC=no
12940 inherit_rpath_FC=no
12942 module_expsym_cmds_FC=
12943 link_all_deplibs_FC=unknown
12944 old_archive_cmds_FC=$old_archive_cmds
12945 reload_flag_FC=$reload_flag
12946 reload_cmds_FC=$reload_cmds
12947 no_undefined_flag_FC=
12948 whole_archive_flag_spec_FC=
12949 enable_shared_with_static_runtimes_FC=no
12951 # Source file extension for fc test sources.
12952 ac_ext=${ac_fc_srcext-f}
12954 # Object file extension for compiled fc test sources.
12958 # No sense in running all these tests if we already determined that
12959 # the FC compiler isn't working. Some variables
(like enable_shared
)
12960 # are currently assumed to apply to all compilers on this platform,
12961 # and will be corrupted by setting them based on a non-working compiler.
12962 if test "$_lt_disable_FC" != yes; then
12963 # Code to be used in simple compile tests
12964 lt_simple_compile_test_code
="\
12970 # Code to be used in simple link tests
12971 lt_simple_link_test_code
="\
12976 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12983 # If no C compiler was specified, use CC.
12986 # If no C compiler flags were specified, use CFLAGS.
12987 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12989 # Allow CC to be a program name with arguments.
12993 # save warnings/boilerplate of simple test code
12994 ac_outfile
=conftest.
$ac_objext
12995 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12996 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12997 _lt_compiler_boilerplate
=`cat conftest.err`
13000 ac_outfile
=conftest.
$ac_objext
13001 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13002 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13003 _lt_linker_boilerplate
=`cat conftest.err`
13007 # Allow CC to be a program name with arguments.
13012 GCC
=$ac_cv_fc_compiler_gnu
13015 for cc_temp
in $compiler""; do
13017 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13018 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13023 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13026 if test -n "$compiler"; then
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13028 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13030 $as_echo "$can_build_shared" >&6; }
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13033 $as_echo_n "checking whether to build shared libraries... " >&6; }
13034 test "$can_build_shared" = "no" && enable_shared
=no
13036 # On AIX, shared libraries and static libraries use the same namespace, and
13037 # are all built from PIC.
13040 test "$enable_shared" = yes && enable_static
=no
13041 if test -n "$RANLIB"; then
13042 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13043 postinstall_cmds
='$RANLIB $lib'
13047 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13048 test "$enable_shared" = yes && enable_static
=no
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13053 $as_echo "$enable_shared" >&6; }
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13056 $as_echo_n "checking whether to build static libraries... " >&6; }
13057 # Make sure either enable_shared or enable_static is yes.
13058 test "$enable_shared" = yes || enable_static
=yes
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13060 $as_echo "$enable_static" >&6; }
13062 GCC_FC
="$ac_cv_fc_compiler_gnu"
13066 ## There is no encapsulation within the following macros, do not change
13067 ## the running order or otherwise move them around unless you know exactly
13068 ## what you are doing...
13069 # Dependencies to place before and after the object being linked:
13071 postdep_objects_FC
=
13074 compiler_lib_search_path_FC
=
13076 cat > conftest.
$ac_ext <<_LT_EOF
13085 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13086 (eval $ac_compile) 2>&5
13088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13089 test $ac_status = 0; }; then
13090 # Parse the compiler output and extract the necessary
13091 # objects, libraries and library flags.
13093 # Sentinel used to keep track of whether or not we are before
13094 # the conftest object file.
13095 pre_test_object_deps_done
=no
13097 for p
in `eval "$output_verbose_link_cmd"`; do
13101 # Some compilers place space between "-{L,R}" and the path.
13102 # Remove the space.
13103 if test $p = "-L" ||
13104 test $p = "-R"; then
13111 if test "$pre_test_object_deps_done" = no
; then
13114 # Internal compiler library paths should come after those
13115 # provided the user. The postdeps already come after the
13116 # user supplied libs so there is no need to process them.
13117 if test -z "$compiler_lib_search_path_FC"; then
13118 compiler_lib_search_path_FC
="${prev}${p}"
13120 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13123 # The "-l" case would never come before the object being
13124 # linked, so don't bother handling this case.
13127 if test -z "$postdeps_FC"; then
13128 postdeps_FC
="${prev}${p}"
13130 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13136 # This assumes that the test object file only shows up
13137 # once in the compiler output.
13138 if test "$p" = "conftest.$objext"; then
13139 pre_test_object_deps_done
=yes
13143 if test "$pre_test_object_deps_done" = no
; then
13144 if test -z "$predep_objects_FC"; then
13145 predep_objects_FC
="$p"
13147 predep_objects_FC
="$predep_objects_FC $p"
13150 if test -z "$postdep_objects_FC"; then
13151 postdep_objects_FC
="$p"
13153 postdep_objects_FC
="$postdep_objects_FC $p"
13158 *) ;; # Ignore the rest.
13166 echo "libtool.m4: error: problem compiling FC test program"
13169 $RM -f confest.
$objext
13171 # PORTME: override above test on systems where it is broken
13174 case " $postdeps_FC " in
13175 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13177 compiler_lib_search_dirs_FC
=
13178 if test -n "${compiler_lib_search_path_FC}"; then
13179 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13212 lt_prog_compiler_wl_FC
=
13213 lt_prog_compiler_pic_FC
=
13214 lt_prog_compiler_static_FC
=
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13217 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13219 if test "$GCC" = yes; then
13220 lt_prog_compiler_wl_FC
='-Wl,'
13221 lt_prog_compiler_static_FC
='-static'
13225 # All AIX code is PIC.
13226 if test "$host_cpu" = ia64
; then
13227 # AIX 5 now supports IA64 processor
13228 lt_prog_compiler_static_FC
='-Bstatic'
13230 lt_prog_compiler_pic_FC
='-fPIC'
13236 # see comment about AmigaOS4 .so support
13237 lt_prog_compiler_pic_FC
='-fPIC'
13240 # FIXME: we need at least 68020 code to build shared libraries, but
13241 # adding the `-m68020' flag to GCC prevents building anything better,
13243 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13248 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13249 # PIC is the default for these OSes.
13252 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13253 # This hack is so that the source file can tell whether it is being
13254 # built for inclusion in a dll (and should export symbols for example).
13255 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13256 # (--disable-auto-import) libraries
13257 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13260 darwin
* | rhapsody
*)
13261 # PIC is the default on this platform
13262 # Common symbols not allowed in MH_DYLIB files
13263 lt_prog_compiler_pic_FC
='-fno-common'
13267 # PIC is the default for Haiku.
13268 # The "-static" flag exists, but is broken.
13269 lt_prog_compiler_static_FC
=
13273 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13274 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13275 # sets the default TLS model and affects inlining.
13281 lt_prog_compiler_pic_FC
='-fPIC'
13287 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13288 # Instead, we relocate shared libraries at runtime.
13292 # Just because we use GCC doesn't mean we suddenly get shared libraries
13293 # on systems that don't support them.
13294 lt_prog_compiler_can_build_shared_FC
=no
13299 # QNX uses GNU C++, but need to define -shared option too, otherwise
13300 # it will coredump.
13301 lt_prog_compiler_pic_FC
='-fPIC -shared'
13305 if test -d /usr
/nec
; then
13306 lt_prog_compiler_pic_FC
=-Kconform_pic
13311 lt_prog_compiler_pic_FC
='-fPIC'
13315 case $cc_basename in
13316 nvcc
*) # Cuda Compiler Driver 2.2
13317 lt_prog_compiler_wl_FC
='-Xlinker '
13318 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13322 # PORTME Check for flag to pass linker flags through the system compiler.
13325 lt_prog_compiler_wl_FC
='-Wl,'
13326 if test "$host_cpu" = ia64
; then
13327 # AIX 5 now supports IA64 processor
13328 lt_prog_compiler_static_FC
='-Bstatic'
13330 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13334 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13335 # This hack is so that the source file can tell whether it is being
13336 # built for inclusion in a dll (and should export symbols for example).
13337 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13340 hpux9
* | hpux10
* | hpux11
*)
13341 lt_prog_compiler_wl_FC
='-Wl,'
13342 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13343 # not for PA HP-UX.
13349 lt_prog_compiler_pic_FC
='+Z'
13352 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13353 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13356 irix5
* | irix6
* | nonstopux
*)
13357 lt_prog_compiler_wl_FC
='-Wl,'
13358 # PIC (with -KPIC) is the default.
13359 lt_prog_compiler_static_FC
='-non_shared'
13362 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13363 case $cc_basename in
13364 # old Intel for x86_64 which still supported -KPIC.
13366 lt_prog_compiler_wl_FC
='-Wl,'
13367 lt_prog_compiler_pic_FC
='-KPIC'
13368 lt_prog_compiler_static_FC
='-static'
13370 # icc used to be incompatible with GCC.
13371 # ICC 10 doesn't accept -KPIC any more.
13373 lt_prog_compiler_wl_FC
='-Wl,'
13374 lt_prog_compiler_pic_FC
='-fPIC'
13375 lt_prog_compiler_static_FC
='-static'
13377 # Lahey Fortran 8.1.
13379 lt_prog_compiler_wl_FC
='-Wl,'
13380 lt_prog_compiler_pic_FC
='--shared'
13381 lt_prog_compiler_static_FC
='--static'
13383 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13384 # Portland Group compilers (*not* the Pentium gcc compiler,
13385 # which looks to be a dead project)
13386 lt_prog_compiler_wl_FC
='-Wl,'
13387 lt_prog_compiler_pic_FC
='-fpic'
13388 lt_prog_compiler_static_FC
='-Bstatic'
13391 lt_prog_compiler_wl_FC
='-Wl,'
13392 # All Alpha code is PIC.
13393 lt_prog_compiler_static_FC
='-non_shared'
13395 xl
* | bgxl
* | bgf
* | mpixl
*)
13396 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13397 lt_prog_compiler_wl_FC
='-Wl,'
13398 lt_prog_compiler_pic_FC
='-qpic'
13399 lt_prog_compiler_static_FC
='-qstaticlink'
13402 case `$CC -V 2>&1 | sed 5q` in
13403 *Sun\ F
* |
*Sun
*Fortran
*)
13404 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13405 lt_prog_compiler_pic_FC
='-KPIC'
13406 lt_prog_compiler_static_FC
='-Bstatic'
13407 lt_prog_compiler_wl_FC
=''
13411 lt_prog_compiler_pic_FC
='-KPIC'
13412 lt_prog_compiler_static_FC
='-Bstatic'
13413 lt_prog_compiler_wl_FC
='-Wl,'
13421 lt_prog_compiler_pic_FC
='-KPIC'
13422 lt_prog_compiler_static_FC
='-Bstatic'
13426 # QNX uses GNU C++, but need to define -shared option too, otherwise
13427 # it will coredump.
13428 lt_prog_compiler_pic_FC
='-fPIC -shared'
13431 osf3
* | osf4
* | osf5
*)
13432 lt_prog_compiler_wl_FC
='-Wl,'
13433 # All OSF/1 code is PIC.
13434 lt_prog_compiler_static_FC
='-non_shared'
13438 lt_prog_compiler_static_FC
='-non_shared'
13442 lt_prog_compiler_pic_FC
='-KPIC'
13443 lt_prog_compiler_static_FC
='-Bstatic'
13444 case $cc_basename in
13445 f77
* | f90
* | f95
*)
13446 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13448 lt_prog_compiler_wl_FC
='-Wl,';;
13453 lt_prog_compiler_wl_FC
='-Qoption ld '
13454 lt_prog_compiler_pic_FC
='-PIC'
13455 lt_prog_compiler_static_FC
='-Bstatic'
13458 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13459 lt_prog_compiler_wl_FC
='-Wl,'
13460 lt_prog_compiler_pic_FC
='-KPIC'
13461 lt_prog_compiler_static_FC
='-Bstatic'
13465 if test -d /usr
/nec
;then
13466 lt_prog_compiler_pic_FC
='-Kconform_pic'
13467 lt_prog_compiler_static_FC
='-Bstatic'
13471 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13472 lt_prog_compiler_wl_FC
='-Wl,'
13473 lt_prog_compiler_pic_FC
='-KPIC'
13474 lt_prog_compiler_static_FC
='-Bstatic'
13478 lt_prog_compiler_wl_FC
='-Wl,'
13479 lt_prog_compiler_can_build_shared_FC
=no
13483 lt_prog_compiler_pic_FC
='-pic'
13484 lt_prog_compiler_static_FC
='-Bstatic'
13488 lt_prog_compiler_can_build_shared_FC
=no
13494 # For platforms which do not support PIC, -DPIC is meaningless:
13496 lt_prog_compiler_pic_FC
=
13499 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13503 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13508 # Check to make sure the PIC flag actually works.
13510 if test -n "$lt_prog_compiler_pic_FC"; then
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13512 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13513 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13514 $as_echo_n "(cached) " >&6
13516 lt_cv_prog_compiler_pic_works_FC
=no
13517 ac_outfile
=conftest.
$ac_objext
13518 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13519 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13520 # Insert the option either (1) after the last *FLAGS variable, or
13521 # (2) before a word containing "conftest.", or (3) at the end.
13522 # Note that $ac_compile itself does not contain backslashes and begins
13523 # with a dollar sign (not a hyphen), so the echo should work correctly.
13524 # The option is referenced via a variable to avoid confusing sed.
13525 lt_compile
=`echo "$ac_compile" | $SED \
13526 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13527 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13528 -e 's:$: $lt_compiler_flag:'`
13529 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13530 (eval "$lt_compile" 2>conftest.err
)
13532 cat conftest.err
>&5
13533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13534 if (exit $ac_status) && test -s "$ac_outfile"; then
13535 # The compiler can only warn and ignore the option if not recognized
13536 # So say no if there are warnings other than the usual output.
13537 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13538 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13539 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13540 lt_cv_prog_compiler_pic_works_FC
=yes
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13547 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13549 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13550 case $lt_prog_compiler_pic_FC in
13552 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13555 lt_prog_compiler_pic_FC
=
13556 lt_prog_compiler_can_build_shared_FC
=no
13564 # Check to make sure the static flag actually works.
13566 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13568 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13569 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13570 $as_echo_n "(cached) " >&6
13572 lt_cv_prog_compiler_static_works_FC
=no
13573 save_LDFLAGS
="$LDFLAGS"
13574 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13575 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13576 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13577 # The linker can only warn and ignore the option if not recognized
13578 # So say no if there are warnings
13579 if test -s conftest.err
; then
13580 # Append any errors to the config.log.
13581 cat conftest.err
1>&5
13582 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13583 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13584 if diff conftest.exp conftest.er2
>/dev
/null
; then
13585 lt_cv_prog_compiler_static_works_FC
=yes
13588 lt_cv_prog_compiler_static_works_FC
=yes
13592 LDFLAGS
="$save_LDFLAGS"
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13596 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13598 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13601 lt_prog_compiler_static_FC
=
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13608 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13609 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13610 $as_echo_n "(cached) " >&6
13612 lt_cv_prog_compiler_c_o_FC
=no
13613 $RM -r conftest
2>/dev
/null
13617 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13619 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13620 # Insert the option either (1) after the last *FLAGS variable, or
13621 # (2) before a word containing "conftest.", or (3) at the end.
13622 # Note that $ac_compile itself does not contain backslashes and begins
13623 # with a dollar sign (not a hyphen), so the echo should work correctly.
13624 lt_compile
=`echo "$ac_compile" | $SED \
13625 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13626 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13627 -e 's:$: $lt_compiler_flag:'`
13628 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13629 (eval "$lt_compile" 2>out
/conftest.err
)
13631 cat out
/conftest.err
>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13635 # The compiler can only warn and ignore the option if not recognized
13636 # So say no if there are warnings
13637 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13638 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13639 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13640 lt_cv_prog_compiler_c_o_FC
=yes
13645 # SGI C++ compiler will create directory out/ii_files/ for
13646 # template instantiation
13647 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13648 $RM out
/* && rmdir out
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13655 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13660 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13661 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13662 $as_echo_n "(cached) " >&6
13664 lt_cv_prog_compiler_c_o_FC
=no
13665 $RM -r conftest
2>/dev
/null
13669 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13671 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13672 # Insert the option either (1) after the last *FLAGS variable, or
13673 # (2) before a word containing "conftest.", or (3) at the end.
13674 # Note that $ac_compile itself does not contain backslashes and begins
13675 # with a dollar sign (not a hyphen), so the echo should work correctly.
13676 lt_compile
=`echo "$ac_compile" | $SED \
13677 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13678 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13679 -e 's:$: $lt_compiler_flag:'`
13680 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13681 (eval "$lt_compile" 2>out
/conftest.err
)
13683 cat out
/conftest.err
>&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13687 # The compiler can only warn and ignore the option if not recognized
13688 # So say no if there are warnings
13689 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13690 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13691 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13692 lt_cv_prog_compiler_c_o_FC
=yes
13697 # SGI C++ compiler will create directory out/ii_files/ for
13698 # template instantiation
13699 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13700 $RM out
/* && rmdir out
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13707 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13712 hard_links
="nottested"
13713 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13714 # do not overwrite the value of need_locks provided by the user
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13716 $as_echo_n "checking if we can lock with hard links... " >&6; }
13719 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13721 ln conftest.a conftest.b
2>&5 || hard_links
=no
13722 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13724 $as_echo "$hard_links" >&6; }
13725 if test "$hard_links" = no
; then
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13727 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13737 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13740 allow_undefined_flag_FC
=
13741 always_export_symbols_FC
=no
13743 archive_expsym_cmds_FC
=
13744 compiler_needs_object_FC
=no
13745 enable_shared_with_static_runtimes_FC
=no
13746 export_dynamic_flag_spec_FC
=
13747 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13748 hardcode_automatic_FC
=no
13749 hardcode_direct_FC
=no
13750 hardcode_direct_absolute_FC
=no
13751 hardcode_libdir_flag_spec_FC
=
13752 hardcode_libdir_flag_spec_ld_FC
=
13753 hardcode_libdir_separator_FC
=
13754 hardcode_minus_L_FC
=no
13755 hardcode_shlibpath_var_FC
=unsupported
13756 inherit_rpath_FC
=no
13757 link_all_deplibs_FC
=unknown
13759 module_expsym_cmds_FC
=
13760 old_archive_from_new_cmds_FC
=
13761 old_archive_from_expsyms_cmds_FC
=
13762 thread_safe_flag_spec_FC
=
13763 whole_archive_flag_spec_FC
=
13764 # include_expsyms should be a list of space-separated symbols to be *always*
13765 # included in the symbol list
13766 include_expsyms_FC
=
13767 # exclude_expsyms can be an extended regexp of symbols to exclude
13768 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13769 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13770 # as well as any symbol that contains `d'.
13771 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13772 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13773 # platforms (ab)use it in PIC code, but their linkers get confused if
13774 # the symbol is explicitly referenced. Since portable code cannot
13775 # rely on this symbol name, it's probably fine to never include it in
13776 # preloaded symbol tables.
13777 # Exclude shared library initialization/finalization symbols.
13778 extract_expsyms_cmds
=
13781 cygwin
* | mingw
* | pw32
* | cegcc
*)
13782 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13783 # When not using gcc, we currently assume that we are using
13784 # Microsoft Visual C++.
13785 if test "$GCC" != yes; then
13790 # we just hope/assume this is gcc and not c89 (= MSVC++)
13800 # On some targets, GNU ld is compatible enough with the native linker
13801 # that we're better off using the native interface for both.
13802 lt_use_gnu_ld_interface
=no
13803 if test "$with_gnu_ld" = yes; then
13806 # The AIX port of GNU ld has always aspired to compatibility
13807 # with the native linker. However, as the warning in the GNU ld
13808 # block says, versions before 2.19.5* couldn't really create working
13809 # shared libraries, regardless of the interface used.
13810 case `$LD -v 2>&1` in
13811 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13812 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13813 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13815 lt_use_gnu_ld_interface
=yes
13820 lt_use_gnu_ld_interface
=yes
13825 if test "$lt_use_gnu_ld_interface" = yes; then
13826 # If archive_cmds runs LD, not CC, wlarc should be empty
13829 # Set some defaults for GNU ld with shared library support. These
13830 # are reset later if shared libraries are not supported. Putting them
13831 # here allows them to be overridden if necessary.
13832 runpath_var
=LD_RUN_PATH
13833 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13834 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13835 # ancient GNU ld didn't support --whole-archive et. al.
13836 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13837 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13839 whole_archive_flag_spec_FC
=
13841 supports_anon_versioning
=no
13842 case `$LD -v 2>&1` in
13843 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13844 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13845 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13846 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13847 *\
2.11.
*) ;; # other 2.11 versions
13848 *) supports_anon_versioning
=yes ;;
13851 # See if GNU ld supports shared libraries.
13854 # On AIX/PPC, the GNU linker is very broken
13855 if test "$host_cpu" != ia64
; then
13859 *** Warning: the GNU linker, at least up to release 2.19, is reported
13860 *** to be unable to reliably create shared libraries on AIX.
13861 *** Therefore, libtool is disabling shared libraries support. If you
13862 *** really care for shared libraries, you may want to install binutils
13863 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13864 *** You will then need to restart the configuration process.
13873 # see comment about AmigaOS4 .so support
13874 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13875 archive_expsym_cmds_FC
=''
13878 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)'
13879 hardcode_libdir_flag_spec_FC
='-L$libdir'
13880 hardcode_minus_L_FC
=yes
13886 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13887 allow_undefined_flag_FC
=unsupported
13888 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13889 # support --undefined. This deserves some investigation. FIXME
13890 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13896 cygwin
* | mingw
* | pw32
* | cegcc
*)
13897 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13898 # as there is no search path for DLLs.
13899 hardcode_libdir_flag_spec_FC
='-L$libdir'
13900 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13901 allow_undefined_flag_FC
=unsupported
13902 always_export_symbols_FC
=no
13903 enable_shared_with_static_runtimes_FC
=yes
13904 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13906 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13907 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13908 # If the export-symbols file already is a .def file (1st line
13909 # is EXPORTS), use it as is; otherwise, prepend...
13910 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13911 cp $export_symbols $output_objdir/$soname.def;
13913 echo EXPORTS > $output_objdir/$soname.def;
13914 cat $export_symbols >> $output_objdir/$soname.def;
13916 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13923 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13924 link_all_deplibs_FC
=yes
13928 hardcode_direct_FC
=no
13929 hardcode_shlibpath_var_FC
=no
13930 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13931 export_dynamic_flag_spec_FC
='${wl}-E'
13932 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13933 # Instead, shared libraries are loaded at an image base (0x10000000 by
13934 # default) and relocated if they conflict, which is a slow very memory
13935 # consuming and fragmenting process. To avoid this, we pick a random,
13936 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13937 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13938 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'
13939 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'
13942 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13944 if test "$host_os" = linux-dietlibc
; then
13945 case $cc_basename in
13946 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13949 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13950 && test "$tmp_diet" = no
13953 tmp_sharedflag
='-shared'
13954 case $cc_basename,$host_cpu in
13955 pgcc
*) # Portland Group C compiler
13956 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'
13957 tmp_addflag
=' $pic_flag'
13959 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13960 # Portland Group f77 and f90 compilers
13961 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13962 tmp_addflag
=' $pic_flag -Mnomain' ;;
13963 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13964 tmp_addflag
=' -i_dynamic' ;;
13965 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13966 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13967 ifc
* | ifort
*) # Intel Fortran compiler
13968 tmp_addflag
=' -nofor_main' ;;
13969 lf95
*) # Lahey Fortran 8.1
13970 whole_archive_flag_spec_FC
=
13971 tmp_sharedflag
='--shared' ;;
13972 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13973 tmp_sharedflag
='-qmkshrobj'
13975 nvcc
*) # Cuda Compiler Driver 2.2
13976 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'
13977 compiler_needs_object_FC
=yes
13980 case `$CC -V 2>&1 | sed 5q` in
13981 *Sun\ C
*) # Sun C 5.9
13982 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'
13983 compiler_needs_object_FC
=yes
13984 tmp_sharedflag
='-G' ;;
13985 *Sun\ F
*) # Sun Fortran 8.3
13986 tmp_sharedflag
='-G' ;;
13988 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13990 if test "x$supports_anon_versioning" = xyes
; then
13991 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13992 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13993 echo "local: *; };" >> $output_objdir/$libname.ver~
13994 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13997 case $cc_basename in
13998 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
13999 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14000 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14001 hardcode_libdir_flag_spec_FC
=
14002 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14003 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14004 if test "x$supports_anon_versioning" = xyes
; then
14005 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14006 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14007 echo "local: *; };" >> $output_objdir/$libname.ver~
14008 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14018 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14019 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14022 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14023 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14028 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14032 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14033 *** create shared libraries on Solaris systems. Therefore, libtool
14034 *** is disabling shared libraries support. We urge you to upgrade GNU
14035 *** binutils to release 2.9.1 or newer. Another option is to modify
14036 *** your PATH or compiler configuration so that the native linker is
14037 *** used, and then restart.
14040 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14041 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14042 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14048 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14049 case `$LD -v 2>&1` in
14050 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14054 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14055 *** reliably create shared libraries on SCO systems. Therefore, libtool
14056 *** is disabling shared libraries support. We urge you to upgrade GNU
14057 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14058 *** your PATH or compiler configuration so that the native linker is
14059 *** used, and then restart.
14064 # For security reasons, it is highly recommended that you always
14065 # use absolute paths for naming shared libraries, and exclude the
14066 # DT_RUNPATH tag from executables and libraries. But doing so
14067 # requires that you compile everything twice, which is a pain.
14068 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14069 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14070 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14071 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14080 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14082 hardcode_direct_FC
=yes
14083 hardcode_shlibpath_var_FC
=no
14087 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14088 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14089 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14096 if test "$ld_shlibs_FC" = no
; then
14098 hardcode_libdir_flag_spec_FC
=
14099 export_dynamic_flag_spec_FC
=
14100 whole_archive_flag_spec_FC
=
14103 # PORTME fill in a description of your system's linker (not GNU ld)
14106 allow_undefined_flag_FC
=unsupported
14107 always_export_symbols_FC
=yes
14108 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'
14109 # Note: this linker hardcodes the directories in LIBPATH if there
14110 # are no directories specified by -L.
14111 hardcode_minus_L_FC
=yes
14112 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14113 # Neither direct hardcoding nor static linking is supported with a
14115 hardcode_direct_FC
=unsupported
14120 if test "$host_cpu" = ia64
; then
14121 # On IA64, the linker does run time linking by default, so we don't
14122 # have to do anything special.
14123 aix_use_runtimelinking
=no
14124 exp_sym_flag
='-Bexport'
14127 # If we're using GNU nm, then we don't want the "-C" option.
14128 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14129 # Also, AIX nm treats weak defined symbols like other global
14130 # defined symbols, whereas GNU nm marks them as "W".
14131 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14132 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'
14134 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'
14136 aix_use_runtimelinking
=no
14138 # Test if we are trying to use run time linking or normal
14139 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14140 # need to do runtime linking.
14141 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14142 for ld_flag
in $LDFLAGS; do
14143 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14144 aix_use_runtimelinking
=yes
14151 exp_sym_flag
='-bexport'
14152 no_entry_flag
='-bnoentry'
14155 # When large executables or shared objects are built, AIX ld can
14156 # have problems creating the table of contents. If linking a library
14157 # or program results in "error TOC overflow" add -mminimal-toc to
14158 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14159 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14162 hardcode_direct_FC
=yes
14163 hardcode_direct_absolute_FC
=yes
14164 hardcode_libdir_separator_FC
=':'
14165 link_all_deplibs_FC
=yes
14166 file_list_spec_FC
='${wl}-f,'
14168 if test "$GCC" = yes; then
14169 case $host_os in aix4.
[012]|aix4.
[012].
*)
14170 # We only want to do this on AIX 4.2 and lower, the check
14171 # below for broken collect2 doesn't work under 4.3+
14172 collect2name
=`${CC} -print-prog-name=collect2`
14173 if test -f "$collect2name" &&
14174 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14176 # We have reworked collect2
14179 # We have old collect2
14180 hardcode_direct_FC
=unsupported
14181 # It fails to find uninstalled libraries when the uninstalled
14182 # path is not listed in the libpath. Setting hardcode_minus_L
14183 # to unsupported forces relinking
14184 hardcode_minus_L_FC
=yes
14185 hardcode_libdir_flag_spec_FC
='-L$libdir'
14186 hardcode_libdir_separator_FC
=
14190 shared_flag
='-shared'
14191 if test "$aix_use_runtimelinking" = yes; then
14192 shared_flag
="$shared_flag "'${wl}-G'
14196 if test "$host_cpu" = ia64
; then
14197 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14198 # chokes on -Wl,-G. The following line is correct:
14201 if test "$aix_use_runtimelinking" = yes; then
14202 shared_flag
='${wl}-G'
14204 shared_flag
='${wl}-bM:SRE'
14209 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14210 # It seems that -bexpall does not export symbols beginning with
14211 # underscore (_), so it is better to generate a list of symbols to export.
14212 always_export_symbols_FC
=yes
14213 if test "$aix_use_runtimelinking" = yes; then
14214 # Warning - without using the other runtime loading flags (-brtl),
14215 # -berok will link without error, but may produce a broken library.
14216 allow_undefined_flag_FC
='-berok'
14217 # Determine the default libpath from the value encoded in an
14218 # empty executable.
14219 if test x
$gcc_no_link = xyes
; then
14220 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14222 cat > conftest.
$ac_ext <<_ACEOF
14227 if ac_fn_fc_try_link
"$LINENO"; then :
14229 lt_aix_libpath_sed
='
14230 /Import File Strings/,/^$/ {
14236 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14237 # Check for a 64-bit object if we didn't find anything.
14238 if test -z "$aix_libpath"; then
14239 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14242 rm -f core conftest.err conftest.
$ac_objext \
14243 conftest
$ac_exeext conftest.
$ac_ext
14244 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14246 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14247 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"
14249 if test "$host_cpu" = ia64
; then
14250 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14251 allow_undefined_flag_FC
="-z nodefs"
14252 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"
14254 # Determine the default libpath from the value encoded in an
14255 # empty executable.
14256 if test x
$gcc_no_link = xyes
; then
14257 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14259 cat > conftest.
$ac_ext <<_ACEOF
14264 if ac_fn_fc_try_link
"$LINENO"; then :
14266 lt_aix_libpath_sed
='
14267 /Import File Strings/,/^$/ {
14273 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14274 # Check for a 64-bit object if we didn't find anything.
14275 if test -z "$aix_libpath"; then
14276 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14279 rm -f core conftest.err conftest.
$ac_objext \
14280 conftest
$ac_exeext conftest.
$ac_ext
14281 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14283 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14284 # Warning - without using the other run time loading flags,
14285 # -berok will link without error, but may produce a broken library.
14286 no_undefined_flag_FC
=' ${wl}-bernotok'
14287 allow_undefined_flag_FC
=' ${wl}-berok'
14288 if test "$with_gnu_ld" = yes; then
14289 # We only use this code for GNU lds that support --whole-archive.
14290 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14292 # Exported symbols can be pulled into shared objects from archives
14293 whole_archive_flag_spec_FC
='$convenience'
14295 archive_cmds_need_lc_FC
=yes
14296 # This is similar to how AIX traditionally builds its shared libraries.
14297 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'
14305 # see comment about AmigaOS4 .so support
14306 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14307 archive_expsym_cmds_FC
=''
14310 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)'
14311 hardcode_libdir_flag_spec_FC
='-L$libdir'
14312 hardcode_minus_L_FC
=yes
14318 export_dynamic_flag_spec_FC
=-rdynamic
14321 cygwin
* | mingw
* | pw32
* | cegcc
*)
14322 # When not using gcc, we currently assume that we are using
14323 # Microsoft Visual C++.
14324 # hardcode_libdir_flag_spec is actually meaningless, as there is
14325 # no search path for DLLs.
14326 hardcode_libdir_flag_spec_FC
=' '
14327 allow_undefined_flag_FC
=unsupported
14328 # Tell ltmain to make .lib files, not .a files.
14330 # Tell ltmain to make .dll files, not .so files.
14332 # FIXME: Setting linknames here is a bad hack.
14333 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14334 # The linker will automatically build a .lib file if we build a DLL.
14335 old_archive_from_new_cmds_FC
='true'
14336 # FIXME: Should let the user specify the lib program.
14337 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14338 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14339 enable_shared_with_static_runtimes_FC
=yes
14342 darwin
* | rhapsody
*)
14345 archive_cmds_need_lc_FC
=no
14346 hardcode_direct_FC
=no
14347 hardcode_automatic_FC
=yes
14348 hardcode_shlibpath_var_FC
=unsupported
14349 if test "$lt_cv_ld_force_load" = "yes"; then
14350 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\"`'
14352 whole_archive_flag_spec_FC
=''
14354 link_all_deplibs_FC
=yes
14355 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14356 case $cc_basename in
14357 ifort
*) _lt_dar_can_shared
=yes ;;
14358 *) _lt_dar_can_shared
=$GCC ;;
14360 if test "$_lt_dar_can_shared" = "yes"; then
14361 output_verbose_link_cmd
=func_echo_all
14362 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}"
14363 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14364 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}"
14365 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}"
14374 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14375 hardcode_libdir_flag_spec_FC
='-L$libdir'
14376 hardcode_shlibpath_var_FC
=no
14379 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14380 # support. Future versions do this automatically, but an explicit c++rt0.o
14381 # does not break anything, and helps significantly (at the cost of a little
14384 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14385 hardcode_libdir_flag_spec_FC
='-R$libdir'
14386 hardcode_direct_FC
=yes
14387 hardcode_shlibpath_var_FC
=no
14390 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14392 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14393 hardcode_direct_FC
=yes
14394 hardcode_minus_L_FC
=yes
14395 hardcode_shlibpath_var_FC
=no
14398 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14399 freebsd
* | dragonfly
*)
14400 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14401 hardcode_libdir_flag_spec_FC
='-R$libdir'
14402 hardcode_direct_FC
=yes
14403 hardcode_shlibpath_var_FC
=no
14407 if test "$GCC" = yes; then
14408 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'
14410 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'
14412 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14413 hardcode_libdir_separator_FC
=:
14414 hardcode_direct_FC
=yes
14416 # hardcode_minus_L: Not really in the search PATH,
14417 # but as the default location of the library.
14418 hardcode_minus_L_FC
=yes
14419 export_dynamic_flag_spec_FC
='${wl}-E'
14423 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14424 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14426 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14428 if test "$with_gnu_ld" = no
; then
14429 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14430 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14431 hardcode_libdir_separator_FC
=:
14432 hardcode_direct_FC
=yes
14433 hardcode_direct_absolute_FC
=yes
14434 export_dynamic_flag_spec_FC
='${wl}-E'
14435 # hardcode_minus_L: Not really in the search PATH,
14436 # but as the default location of the library.
14437 hardcode_minus_L_FC
=yes
14442 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14445 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14448 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14451 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14457 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14460 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14463 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14467 if test "$with_gnu_ld" = no
; then
14468 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14469 hardcode_libdir_separator_FC
=:
14473 hardcode_direct_FC
=no
14474 hardcode_shlibpath_var_FC
=no
14477 hardcode_direct_FC
=yes
14478 hardcode_direct_absolute_FC
=yes
14479 export_dynamic_flag_spec_FC
='${wl}-E'
14481 # hardcode_minus_L: Not really in the search PATH,
14482 # but as the default location of the library.
14483 hardcode_minus_L_FC
=yes
14489 irix5
* | irix6
* | nonstopux
*)
14490 if test "$GCC" = yes; then
14491 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'
14492 # Try to use the -exported_symbol ld option, if it does not
14493 # work, assume that -exports_file does not work either and
14494 # implicitly export all symbols.
14495 save_LDFLAGS
="$LDFLAGS"
14496 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14497 if test x
$gcc_no_link = xyes
; then
14498 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14500 cat > conftest.
$ac_ext <<_ACEOF
14503 if ac_fn_fc_try_link
"$LINENO"; then :
14504 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'
14507 rm -f core conftest.err conftest.
$ac_objext \
14508 conftest
$ac_exeext conftest.
$ac_ext
14509 LDFLAGS
="$save_LDFLAGS"
14511 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'
14512 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'
14514 archive_cmds_need_lc_FC
='no'
14515 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14516 hardcode_libdir_separator_FC
=:
14517 inherit_rpath_FC
=yes
14518 link_all_deplibs_FC
=yes
14522 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14523 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14525 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14527 hardcode_libdir_flag_spec_FC
='-R$libdir'
14528 hardcode_direct_FC
=yes
14529 hardcode_shlibpath_var_FC
=no
14533 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14534 hardcode_direct_FC
=yes
14535 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14536 hardcode_libdir_separator_FC
=:
14537 hardcode_shlibpath_var_FC
=no
14544 if test -f /usr
/libexec
/ld.so
; then
14545 hardcode_direct_FC
=yes
14546 hardcode_shlibpath_var_FC
=no
14547 hardcode_direct_absolute_FC
=yes
14548 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14549 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14550 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14551 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14552 export_dynamic_flag_spec_FC
='${wl}-E'
14555 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14556 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14557 hardcode_libdir_flag_spec_FC
='-R$libdir'
14560 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14561 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14571 hardcode_libdir_flag_spec_FC
='-L$libdir'
14572 hardcode_minus_L_FC
=yes
14573 allow_undefined_flag_FC
=unsupported
14574 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'
14575 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14579 if test "$GCC" = yes; then
14580 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14581 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'
14583 allow_undefined_flag_FC
=' -expect_unresolved \*'
14584 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'
14586 archive_cmds_need_lc_FC
='no'
14587 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14588 hardcode_libdir_separator_FC
=:
14591 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14592 if test "$GCC" = yes; then
14593 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14594 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'
14595 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14597 allow_undefined_flag_FC
=' -expect_unresolved \*'
14598 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'
14599 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~
14600 $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'
14602 # Both c and cxx compiler support -rpath directly
14603 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14605 archive_cmds_need_lc_FC
='no'
14606 hardcode_libdir_separator_FC
=:
14610 no_undefined_flag_FC
=' -z defs'
14611 if test "$GCC" = yes; then
14613 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14614 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14615 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14617 case `$CC -V 2>&1` in
14620 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14621 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14622 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14626 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14627 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14628 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14632 hardcode_libdir_flag_spec_FC
='-R$libdir'
14633 hardcode_shlibpath_var_FC
=no
14635 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14637 # The compiler driver will combine and reorder linker options,
14638 # but understands `-z linker_flag'. GCC discards it without `$wl',
14639 # but is careful enough not to reorder.
14640 # Supported since Solaris 2.6 (maybe 2.5.1?)
14641 if test "$GCC" = yes; then
14642 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14644 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14648 link_all_deplibs_FC
=yes
14652 if test "x$host_vendor" = xsequent
; then
14653 # Use $CC to link under sequent, because it throws in some extra .o
14654 # files that make .init and .fini sections work.
14655 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14657 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14659 hardcode_libdir_flag_spec_FC
='-L$libdir'
14660 hardcode_direct_FC
=yes
14661 hardcode_minus_L_FC
=yes
14662 hardcode_shlibpath_var_FC
=no
14666 case $host_vendor in
14668 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14669 hardcode_direct_FC
=yes # is this really true???
14672 ## LD is ld it makes a PLAMLIB
14673 ## CC just makes a GrossModule.
14674 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14675 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14676 hardcode_direct_FC
=no
14679 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14680 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14683 runpath_var
='LD_RUN_PATH'
14684 hardcode_shlibpath_var_FC
=no
14688 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14689 hardcode_shlibpath_var_FC
=no
14690 export_dynamic_flag_spec_FC
='-Bexport'
14694 if test -d /usr
/nec
; then
14695 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14696 hardcode_shlibpath_var_FC
=no
14697 runpath_var
=LD_RUN_PATH
14698 hardcode_runpath_var
=yes
14703 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14704 no_undefined_flag_FC
='${wl}-z,text'
14705 archive_cmds_need_lc_FC
=no
14706 hardcode_shlibpath_var_FC
=no
14707 runpath_var
='LD_RUN_PATH'
14709 if test "$GCC" = yes; then
14710 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14711 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14713 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14714 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14718 sysv5
* | sco3.2v5
* | sco5v6
*)
14719 # Note: We can NOT use -z defs as we might desire, because we do not
14720 # link with -lc, and that would cause any symbols used from libc to
14721 # always be unresolved, which means just about no library would
14722 # ever link correctly. If we're not using GNU ld we use -z text
14723 # though, which does catch some bad symbols but isn't as heavy-handed
14725 no_undefined_flag_FC
='${wl}-z,text'
14726 allow_undefined_flag_FC
='${wl}-z,nodefs'
14727 archive_cmds_need_lc_FC
=no
14728 hardcode_shlibpath_var_FC
=no
14729 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14730 hardcode_libdir_separator_FC
=':'
14731 link_all_deplibs_FC
=yes
14732 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14733 runpath_var
='LD_RUN_PATH'
14735 if test "$GCC" = yes; then
14736 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14737 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14739 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14740 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14745 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14746 hardcode_libdir_flag_spec_FC
='-L$libdir'
14747 hardcode_shlibpath_var_FC
=no
14755 if test x
$host_vendor = xsni
; then
14757 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14758 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14765 $as_echo "$ld_shlibs_FC" >&6; }
14766 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14768 with_gnu_ld_FC
=$with_gnu_ld
14776 # Do we need to explicitly link libc?
14778 case "x$archive_cmds_need_lc_FC" in
14780 # Assume -lc should be added
14781 archive_cmds_need_lc_FC
=yes
14783 if test "$enable_shared" = yes && test "$GCC" = yes; then
14784 case $archive_cmds_FC in
14786 # FIXME: we may have to deal with multi-command sequences.
14789 # Test whether the compiler implicitly links with -lc since on some
14790 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14791 # to ld, don't add -lc before -lgcc.
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14793 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14794 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14795 $as_echo_n "(cached) " >&6
14798 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14800 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14801 (eval $ac_compile) 2>&5
14803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14804 test $ac_status = 0; } 2>conftest.err
; then
14807 libobjs
=conftest.
$ac_objext
14809 wl
=$lt_prog_compiler_wl_FC
14810 pic_flag
=$lt_prog_compiler_pic_FC
14816 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14817 allow_undefined_flag_FC
=
14818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14819 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14822 test $ac_status = 0; }
14824 lt_cv_archive_cmds_need_lc_FC
=no
14826 lt_cv_archive_cmds_need_lc_FC
=yes
14828 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14830 cat conftest.err
1>&5
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14836 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14837 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14908 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14910 library_names_spec
=
14911 libname_spec
='lib$name'
14915 postuninstall_cmds
=
14919 shlibpath_overrides_runpath
=unknown
14921 dynamic_linker
="$host_os ld.so"
14922 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14923 need_lib_prefix
=unknown
14924 hardcode_into_libs
=no
14926 # when you set need_version to no, make sure it does not cause -set_version
14927 # flags to be left without arguments
14928 need_version
=unknown
14933 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14934 shlibpath_var
=LIBPATH
14936 # AIX 3 has no versioning support, so we append a major version to the name.
14937 soname_spec
='${libname}${release}${shared_ext}$major'
14944 hardcode_into_libs
=yes
14945 if test "$host_cpu" = ia64
; then
14946 # AIX 5 supports IA64
14947 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14948 shlibpath_var
=LD_LIBRARY_PATH
14950 # With GCC up to 2.95.x, collect2 would create an import file
14951 # for dependence libraries. The import file would start with
14952 # the line `#! .'. This would cause the generated library to
14953 # depend on `.', always an invalid library. This was fixed in
14954 # development snapshots of GCC prior to 3.0.
14956 aix4 | aix4.
[01] | aix4.
[01].
*)
14957 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14959 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14962 can_build_shared
=no
14966 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14967 # soname into executable. Probably we can add versioning support to
14968 # collect2, so additional links can be useful in future.
14969 if test "$aix_use_runtimelinking" = yes; then
14970 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14971 # instead of lib<name>.a to let people know that these are not
14972 # typical AIX shared libraries.
14973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14975 # We preserve .a as extension for shared libraries through AIX4.2
14976 # and later when we are not doing run time linking.
14977 library_names_spec
='${libname}${release}.a $libname.a'
14978 soname_spec
='${libname}${release}${shared_ext}$major'
14980 shlibpath_var
=LIBPATH
14987 # Since July 2007 AmigaOS4 officially supports .so libraries.
14988 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14992 library_names_spec
='$libname.ixlibrary $libname.a'
14993 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14994 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'
15000 library_names_spec
='${libname}${shared_ext}'
15001 dynamic_linker
="$host_os ld.so"
15002 shlibpath_var
=LIBRARY_PATH
15008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15009 soname_spec
='${libname}${release}${shared_ext}$major'
15010 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15011 shlibpath_var
=LD_LIBRARY_PATH
15012 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15013 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15014 # the default ld.so.conf also contains /usr/contrib/lib and
15015 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15016 # libtool to hard-code these into programs
15019 cygwin
* | mingw
* | pw32
* | cegcc
*)
15020 version_type
=windows
15025 case $GCC,$host_os in
15026 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15027 library_names_spec
='$libname.dll.a'
15028 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15029 postinstall_cmds
='base_file=`basename \${file}`~
15030 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15031 dldir=$destdir/`dirname \$dlpath`~
15032 test -d \$dldir || mkdir -p \$dldir~
15033 $install_prog $dir/$dlname \$dldir/$dlname~
15034 chmod a+x \$dldir/$dlname~
15035 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15036 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15038 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15039 dlpath=$dir/\$dldll~
15041 shlibpath_overrides_runpath
=yes
15045 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15046 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15050 # MinGW DLLs use traditional 'lib' prefix
15051 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15054 # pw32 DLLs use 'pw' prefix rather than 'lib'
15055 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15061 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15064 dynamic_linker
='Win32 ld.exe'
15065 # FIXME: first we should search . and the directory the executable is in
15069 darwin
* | rhapsody
*)
15070 dynamic_linker
="$host_os dyld"
15071 version_type
=darwin
15074 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15075 soname_spec
='${libname}${release}${major}$shared_ext'
15076 shlibpath_overrides_runpath
=yes
15077 shlibpath_var
=DYLD_LIBRARY_PATH
15078 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15080 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15088 soname_spec
='${libname}${release}${shared_ext}$major'
15089 shlibpath_var
=LD_LIBRARY_PATH
15092 freebsd
* | dragonfly
*)
15093 # DragonFly does not have aout. When/if they implement a new
15094 # versioning mechanism, adjust this.
15095 if test -x /usr
/bin
/objformat
; then
15096 objformat
=`/usr/bin/objformat`
15099 freebsd
[23].
*) objformat
=aout
;;
15100 *) objformat
=elf
;;
15103 version_type
=freebsd-
$objformat
15104 case $version_type in
15106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15111 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15115 shlibpath_var
=LD_LIBRARY_PATH
15118 shlibpath_overrides_runpath
=yes
15120 freebsd3.
[01]* | freebsdelf3.
[01]*)
15121 shlibpath_overrides_runpath
=yes
15122 hardcode_into_libs
=yes
15124 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15125 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15126 shlibpath_overrides_runpath
=no
15127 hardcode_into_libs
=yes
15129 *) # from 4.6 on, and DragonFly
15130 shlibpath_overrides_runpath
=yes
15131 hardcode_into_libs
=yes
15140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15141 soname_spec
='${libname}${release}${shared_ext}$major'
15142 shlibpath_var
=LD_LIBRARY_PATH
15143 hardcode_into_libs
=yes
15150 dynamic_linker
="$host_os runtime_loader"
15151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15152 soname_spec
='${libname}${release}${shared_ext}$major'
15153 shlibpath_var
=LIBRARY_PATH
15154 shlibpath_overrides_runpath
=yes
15155 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15156 hardcode_into_libs
=yes
15159 hpux9
* | hpux10
* | hpux11
*)
15160 # Give a soname corresponding to the major version so that dld.sl refuses to
15161 # link against other versions.
15168 hardcode_into_libs
=yes
15169 dynamic_linker
="$host_os dld.so"
15170 shlibpath_var
=LD_LIBRARY_PATH
15171 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15173 soname_spec
='${libname}${release}${shared_ext}$major'
15174 if test "X$HPUX_IA64_MODE" = X32
; then
15175 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15177 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15179 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15183 hardcode_into_libs
=yes
15184 dynamic_linker
="$host_os dld.sl"
15185 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15186 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15188 soname_spec
='${libname}${release}${shared_ext}$major'
15189 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15190 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15194 dynamic_linker
="$host_os dld.sl"
15195 shlibpath_var
=SHLIB_PATH
15196 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15198 soname_spec
='${libname}${release}${shared_ext}$major'
15201 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15202 postinstall_cmds
='chmod 555 $lib'
15203 # or fails outright, so override atomically:
15204 install_override_mode
=555
15211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15212 soname_spec
='${libname}${release}${shared_ext}$major'
15213 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15214 shlibpath_var
=LD_LIBRARY_PATH
15215 shlibpath_overrides_runpath
=no
15216 hardcode_into_libs
=yes
15219 irix5
* | irix6
* | nonstopux
*)
15221 nonstopux
*) version_type
=nonstopux
;;
15223 if test "$lt_cv_prog_gnu_ld" = yes; then
15231 soname_spec
='${libname}${release}${shared_ext}$major'
15232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15234 irix5
* | nonstopux
*)
15235 libsuff
= shlibsuff
=
15238 case $LD in # libtool.m4 will add one of these switches to LD
15239 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15240 libsuff
= shlibsuff
= libmagic
=32-bit;;
15241 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15242 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15243 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15244 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15245 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15249 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15250 shlibpath_overrides_runpath
=no
15251 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15252 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15253 hardcode_into_libs
=yes
15256 # No shared lib support for Linux oldld, aout, or coff.
15257 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15261 # This must be Linux ELF.
15262 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15267 soname_spec
='${libname}${release}${shared_ext}$major'
15268 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15269 shlibpath_var
=LD_LIBRARY_PATH
15270 shlibpath_overrides_runpath
=no
15272 # Some binutils ld are patched to set DT_RUNPATH
15273 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15274 $as_echo_n "(cached) " >&6
15276 lt_cv_shlibpath_overrides_runpath
=no
15277 save_LDFLAGS
=$LDFLAGS
15278 save_libdir
=$libdir
15279 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15280 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15281 if test x
$gcc_no_link = xyes
; then
15282 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15284 cat > conftest.
$ac_ext <<_ACEOF
15289 if ac_fn_fc_try_link
"$LINENO"; then :
15290 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15291 lt_cv_shlibpath_overrides_runpath
=yes
15294 rm -f core conftest.err conftest.
$ac_objext \
15295 conftest
$ac_exeext conftest.
$ac_ext
15296 LDFLAGS
=$save_LDFLAGS
15297 libdir
=$save_libdir
15301 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15303 # This implies no fast_install, which is unacceptable.
15304 # Some rework will be needed to allow for fast_install
15305 # before this can be enabled.
15306 hardcode_into_libs
=yes
15308 # Append ld.so.conf contents to the search path
15309 if test -f /etc
/ld.so.conf
; then
15310 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' ' '`
15311 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15314 # We used to test for /lib/ld.so.1 and disable shared libraries on
15315 # powerpc, because MkLinux only supported shared libraries with the
15316 # GNU dynamic linker. Since this was broken with cross compilers,
15317 # most powerpc-linux boxes support dynamic linking these days and
15318 # people can always --disable-shared, the test was removed, and we
15319 # assume the GNU/Linux dynamic linker is in use.
15320 dynamic_linker
='GNU/Linux ld.so'
15327 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15329 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15330 dynamic_linker
='NetBSD (a.out) ld.so'
15332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15333 soname_spec
='${libname}${release}${shared_ext}$major'
15334 dynamic_linker
='NetBSD ld.elf_so'
15336 shlibpath_var
=LD_LIBRARY_PATH
15337 shlibpath_overrides_runpath
=yes
15338 hardcode_into_libs
=yes
15343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15344 shlibpath_var
=LD_LIBRARY_PATH
15345 shlibpath_overrides_runpath
=yes
15352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15353 soname_spec
='${libname}${release}${shared_ext}$major'
15354 shlibpath_var
=LD_LIBRARY_PATH
15355 shlibpath_overrides_runpath
=no
15356 hardcode_into_libs
=yes
15357 dynamic_linker
='ldqnx.so'
15362 sys_lib_dlsearch_path_spec
="/usr/lib"
15364 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15366 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15367 *) need_version
=no
;;
15369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15370 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15371 shlibpath_var
=LD_LIBRARY_PATH
15372 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15374 openbsd2.
[89] | openbsd2.
[89].
*)
15375 shlibpath_overrides_runpath
=no
15378 shlibpath_overrides_runpath
=yes
15382 shlibpath_overrides_runpath
=yes
15387 libname_spec
='$name'
15390 library_names_spec
='$libname${shared_ext} $libname.a'
15391 dynamic_linker
='OS/2 ld.exe'
15392 shlibpath_var
=LIBPATH
15395 osf3
* | osf4
* | osf5
*)
15399 soname_spec
='${libname}${release}${shared_ext}$major'
15400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15401 shlibpath_var
=LD_LIBRARY_PATH
15402 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15403 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15415 soname_spec
='${libname}${release}${shared_ext}$major'
15416 shlibpath_var
=LD_LIBRARY_PATH
15417 shlibpath_overrides_runpath
=yes
15418 hardcode_into_libs
=yes
15419 # ldd complains unless libraries are executable
15420 postinstall_cmds
='chmod +x $lib'
15425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15426 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15427 shlibpath_var
=LD_LIBRARY_PATH
15428 shlibpath_overrides_runpath
=yes
15429 if test "$with_gnu_ld" = yes; then
15437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15438 soname_spec
='${libname}${release}${shared_ext}$major'
15439 shlibpath_var
=LD_LIBRARY_PATH
15440 case $host_vendor in
15442 shlibpath_overrides_runpath
=no
15444 runpath_var
=LD_RUN_PATH
15452 shlibpath_overrides_runpath
=no
15453 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15459 if test -d /usr
/nec
;then
15461 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15462 soname_spec
='$libname${shared_ext}.$major'
15463 shlibpath_var
=LD_LIBRARY_PATH
15467 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15468 version_type
=freebsd-elf
15471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15472 soname_spec
='${libname}${release}${shared_ext}$major'
15473 shlibpath_var
=LD_LIBRARY_PATH
15474 shlibpath_overrides_runpath
=yes
15475 hardcode_into_libs
=yes
15476 if test "$with_gnu_ld" = yes; then
15477 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15479 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15482 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15486 sys_lib_dlsearch_path_spec
='/usr/lib'
15490 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15495 shlibpath_var
=LD_LIBRARY_PATH
15496 shlibpath_overrides_runpath
=no
15497 hardcode_into_libs
=yes
15502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15503 soname_spec
='${libname}${release}${shared_ext}$major'
15504 shlibpath_var
=LD_LIBRARY_PATH
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15512 $as_echo "$dynamic_linker" >&6; }
15513 test "$dynamic_linker" = no
&& can_build_shared
=no
15515 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15516 if test "$GCC" = yes; then
15517 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15520 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15521 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15523 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15524 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15565 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15566 hardcode_action_FC
=
15567 if test -n "$hardcode_libdir_flag_spec_FC" ||
15568 test -n "$runpath_var_FC" ||
15569 test "X$hardcode_automatic_FC" = "Xyes" ; then
15571 # We can hardcode non-existent directories.
15572 if test "$hardcode_direct_FC" != no
&&
15573 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15574 # have to relink, otherwise we might link with an installed library
15575 # when we should be linking with a yet-to-be-installed one
15576 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15577 test "$hardcode_minus_L_FC" != no
; then
15578 # Linking always hardcodes the temporary library directory.
15579 hardcode_action_FC
=relink
15581 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15582 hardcode_action_FC
=immediate
15585 # We cannot hardcode anything, or else we can only hardcode existing
15587 hardcode_action_FC
=unsupported
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15590 $as_echo "$hardcode_action_FC" >&6; }
15592 if test "$hardcode_action_FC" = relink ||
15593 test "$inherit_rpath_FC" = yes; then
15594 # Fast installation is not supported
15595 enable_fast_install
=no
15596 elif test "$shlibpath_overrides_runpath" = yes ||
15597 test "$enable_shared" = no
; then
15598 # Fast installation is not necessary
15599 enable_fast_install
=needless
15608 fi # test -n "$compiler"
15612 fi # test "$_lt_disable_FC" != yes
15615 ac_cpp
='$CPP $CPPFLAGS'
15616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15622 # extra LD Flags which are required for targets
15625 # Darwin needs -single_module when linking libgfortran
15626 extra_ldflags_libgfortran
=-Wl,-single_module
15631 # We need a working compiler at that point, otherwise give a clear
15632 # error message and bail out.
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15635 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15636 ac_ext
=${ac_fc_srcext-f}
15637 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15638 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15639 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15641 cat > conftest.
$ac_ext <<_ACEOF
15644 real, parameter :: bar = sin (12.34 / 2.5)
15647 if ac_fn_fc_try_compile
"$LINENO"; then :
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15649 $as_echo "yes" >&6; }
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15652 $as_echo "no" >&6; }
15653 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15658 ac_cpp
='$CPP $CPPFLAGS'
15659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15665 # Check whether --enable-largefile was given.
15666 if test "${enable_largefile+set}" = set; then :
15667 enableval
=$enable_largefile;
15670 if test "$enable_largefile" != no
; then
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15673 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15674 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15675 $as_echo_n "(cached) " >&6
15677 ac_cv_sys_largefile_CC
=no
15678 if test "$GCC" != yes; then
15681 # IRIX 6.2 and later do not support large files by default,
15682 # so use the C compiler's -n32 option if that helps.
15683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15684 /* end confdefs.h. */
15685 #include <sys/types.h>
15686 /* Check that off_t can represent 2**63 - 1 correctly.
15687 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15688 since some C++ compilers masquerading as C compilers
15689 incorrectly reject 9223372036854775807. */
15690 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15691 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15692 && LARGE_OFF_T % 2147483647 == 1)
15702 if ac_fn_c_try_compile
"$LINENO"; then :
15705 rm -f core conftest.err conftest.
$ac_objext
15707 if ac_fn_c_try_compile
"$LINENO"; then :
15708 ac_cv_sys_largefile_CC
=' -n32'; break
15710 rm -f core conftest.err conftest.
$ac_objext
15714 rm -f conftest.
$ac_ext
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15718 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15719 if test "$ac_cv_sys_largefile_CC" != no
; then
15720 CC
=$CC$ac_cv_sys_largefile_CC
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15724 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15725 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15726 $as_echo_n "(cached) " >&6
15729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15730 /* end confdefs.h. */
15731 #include <sys/types.h>
15732 /* Check that off_t can represent 2**63 - 1 correctly.
15733 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15734 since some C++ compilers masquerading as C compilers
15735 incorrectly reject 9223372036854775807. */
15736 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15737 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15738 && LARGE_OFF_T % 2147483647 == 1)
15748 if ac_fn_c_try_compile
"$LINENO"; then :
15749 ac_cv_sys_file_offset_bits
=no
; break
15751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h. */
15754 #define _FILE_OFFSET_BITS 64
15755 #include <sys/types.h>
15756 /* Check that off_t can represent 2**63 - 1 correctly.
15757 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15758 since some C++ compilers masquerading as C compilers
15759 incorrectly reject 9223372036854775807. */
15760 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15761 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15762 && LARGE_OFF_T % 2147483647 == 1)
15772 if ac_fn_c_try_compile
"$LINENO"; then :
15773 ac_cv_sys_file_offset_bits
=64; break
15775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15776 ac_cv_sys_file_offset_bits
=unknown
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15781 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15782 case $ac_cv_sys_file_offset_bits in #(
15785 cat >>confdefs.h
<<_ACEOF
15786 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15791 if test $ac_cv_sys_file_offset_bits = unknown
; then
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15793 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15794 if test "${ac_cv_sys_large_files+set}" = set; then :
15795 $as_echo_n "(cached) " >&6
15798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15799 /* end confdefs.h. */
15800 #include <sys/types.h>
15801 /* Check that off_t can represent 2**63 - 1 correctly.
15802 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15803 since some C++ compilers masquerading as C compilers
15804 incorrectly reject 9223372036854775807. */
15805 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15806 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15807 && LARGE_OFF_T % 2147483647 == 1)
15817 if ac_fn_c_try_compile
"$LINENO"; then :
15818 ac_cv_sys_large_files
=no
; break
15820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15822 /* end confdefs.h. */
15823 #define _LARGE_FILES 1
15824 #include <sys/types.h>
15825 /* Check that off_t can represent 2**63 - 1 correctly.
15826 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15827 since some C++ compilers masquerading as C compilers
15828 incorrectly reject 9223372036854775807. */
15829 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15830 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15831 && LARGE_OFF_T % 2147483647 == 1)
15841 if ac_fn_c_try_compile
"$LINENO"; then :
15842 ac_cv_sys_large_files
=1; break
15844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15845 ac_cv_sys_large_files
=unknown
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15850 $as_echo "$ac_cv_sys_large_files" >&6; }
15851 case $ac_cv_sys_large_files in #(
15854 cat >>confdefs.h
<<_ACEOF
15855 #define _LARGE_FILES $ac_cv_sys_large_files
15865 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15866 if test "x$ac_cv_type_off_t" = x
""yes; then :
15870 cat >>confdefs.h
<<_ACEOF
15871 #define off_t long int
15877 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15878 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15880 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15883 for ac_type
in 'int' 'long int' 'long long int'; do
15884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15886 $ac_includes_default
15890 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15897 if ac_fn_c_try_compile
"$LINENO"; then :
15899 cat >>confdefs.h
<<_ACEOF
15900 #define intptr_t $ac_type
15905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15906 test -z "$ac_type" && break
15912 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15913 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15915 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15918 for ac_type
in 'unsigned int' 'unsigned long int' \
15919 'unsigned long long int'; do
15920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15921 /* end confdefs.h. */
15922 $ac_includes_default
15926 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15933 if ac_fn_c_try_compile
"$LINENO"; then :
15935 cat >>confdefs.h
<<_ACEOF
15936 #define uintptr_t $ac_type
15941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15942 test -z "$ac_type" && break
15947 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15948 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15950 cat >>confdefs.h
<<_ACEOF
15951 #define HAVE_PTRDIFF_T 1
15958 # check header files (we assume C89 is available, so don't check for that)
15962 for ac_header
in $ac_header_list
15964 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15965 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15967 eval as_val
=\$
$as_ac_Header
15968 if test "x$as_val" = x
""yes; then :
15969 cat >>confdefs.h
<<_ACEOF
15970 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16009 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16011 acx_cv_header_stdint
=stddef.h
16012 acx_cv_header_stdint_kind
="(already complete)"
16013 for i
in stdint.h
$inttype_headers; do
16014 unset ac_cv_type_uintptr_t
16015 unset ac_cv_type_uintmax_t
16016 unset ac_cv_type_int_least32_t
16017 unset ac_cv_type_int_fast32_t
16018 unset ac_cv_type_uint64_t
16019 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16020 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16023 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16024 acx_cv_header_stdint
=$i
16029 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16032 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16035 acx_cv_header_stdint_kind
="(mostly complete)"
16038 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16041 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16044 acx_cv_header_stdint_kind
="(mostly complete)"
16047 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16050 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16053 acx_cv_header_stdint_kind
="(mostly complete)"
16056 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16059 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16062 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16067 if test "$acx_cv_header_stdint" = stddef.h
; then
16068 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16069 for i
in stdint.h
$inttype_headers; do
16070 unset ac_cv_type_uintptr_t
16071 unset ac_cv_type_uint32_t
16072 unset ac_cv_type_uint64_t
16073 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16074 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16077 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16078 acx_cv_header_stdint
=$i
16083 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16086 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16090 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16093 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16100 if test "$acx_cv_header_stdint" = stddef.h
; then
16101 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16102 for i
in sys
/types.h
$inttype_headers; do
16103 unset ac_cv_type_u_int32_t
16104 unset ac_cv_type_u_int64_t
16105 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16106 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16109 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16110 acx_cv_header_stdint
=$i
16115 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16118 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16125 if test "$acx_cv_header_stdint" = stddef.h
; then
16126 acx_cv_header_stdint_kind
="(using manual detection)"
16129 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16130 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16131 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16132 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16133 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16135 # ----------------- Summarize what we found so far
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16138 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16140 case `$as_basename -- gstdint.h ||
16141 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16142 Xgstdint.h : 'X\(//\)$' \| \
16143 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16144 $as_echo X/gstdint.h |
16145 sed '/^.*\/\([^/][^/]*\)\/*$/{
16158 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16159 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16160 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16161 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16166 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16168 # ----------------- done included file, check C basic types --------
16170 # Lacking an uintptr_t? Test size of void *
16171 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16172 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16175 # This bug is HP SR number 8606223364.
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16177 $as_echo_n "checking size of void *... " >&6; }
16178 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16179 $as_echo_n "(cached) " >&6
16181 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16184 if test "$ac_cv_type_void_p" = yes; then
16185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16187 { as_fn_set_status
77
16188 as_fn_error
"cannot compute sizeof (void *)
16189 See \`config.log' for more details." "$LINENO" 5; }; }
16191 ac_cv_sizeof_void_p
=0
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16197 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16201 cat >>confdefs.h
<<_ACEOF
16202 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16208 # Lacking an uint64_t? Test size of long
16209 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16210 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16211 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16212 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16213 # This bug is HP SR number 8606223364.
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16215 $as_echo_n "checking size of long... " >&6; }
16216 if test "${ac_cv_sizeof_long+set}" = set; then :
16217 $as_echo_n "(cached) " >&6
16219 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16222 if test "$ac_cv_type_long" = yes; then
16223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16225 { as_fn_set_status
77
16226 as_fn_error
"cannot compute sizeof (long)
16227 See \`config.log' for more details." "$LINENO" 5; }; }
16229 ac_cv_sizeof_long
=0
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16235 $as_echo "$ac_cv_sizeof_long" >&6; }
16239 cat >>confdefs.h
<<_ACEOF
16240 #define SIZEOF_LONG $ac_cv_sizeof_long
16246 if test $acx_cv_header_stdint = stddef.h
; then
16247 # Lacking a good header? Test size of everything and deduce all types.
16248 # The cast to long int works around a bug in the HP C Compiler
16249 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16250 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16251 # This bug is HP SR number 8606223364.
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16253 $as_echo_n "checking size of int... " >&6; }
16254 if test "${ac_cv_sizeof_int+set}" = set; then :
16255 $as_echo_n "(cached) " >&6
16257 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16260 if test "$ac_cv_type_int" = yes; then
16261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16263 { as_fn_set_status
77
16264 as_fn_error
"cannot compute sizeof (int)
16265 See \`config.log' for more details." "$LINENO" 5; }; }
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16273 $as_echo "$ac_cv_sizeof_int" >&6; }
16277 cat >>confdefs.h
<<_ACEOF
16278 #define SIZEOF_INT $ac_cv_sizeof_int
16282 # The cast to long int works around a bug in the HP C Compiler
16283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16285 # This bug is HP SR number 8606223364.
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16287 $as_echo_n "checking size of short... " >&6; }
16288 if test "${ac_cv_sizeof_short+set}" = set; then :
16289 $as_echo_n "(cached) " >&6
16291 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16294 if test "$ac_cv_type_short" = yes; then
16295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16297 { as_fn_set_status
77
16298 as_fn_error
"cannot compute sizeof (short)
16299 See \`config.log' for more details." "$LINENO" 5; }; }
16301 ac_cv_sizeof_short
=0
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16307 $as_echo "$ac_cv_sizeof_short" >&6; }
16311 cat >>confdefs.h
<<_ACEOF
16312 #define SIZEOF_SHORT $ac_cv_sizeof_short
16316 # The cast to long int works around a bug in the HP C Compiler
16317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16319 # This bug is HP SR number 8606223364.
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16321 $as_echo_n "checking size of char... " >&6; }
16322 if test "${ac_cv_sizeof_char+set}" = set; then :
16323 $as_echo_n "(cached) " >&6
16325 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16328 if test "$ac_cv_type_char" = yes; then
16329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16331 { as_fn_set_status
77
16332 as_fn_error
"cannot compute sizeof (char)
16333 See \`config.log' for more details." "$LINENO" 5; }; }
16335 ac_cv_sizeof_char
=0
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16341 $as_echo "$ac_cv_sizeof_char" >&6; }
16345 cat >>confdefs.h
<<_ACEOF
16346 #define SIZEOF_CHAR $ac_cv_sizeof_char
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16352 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16353 case "$ac_cv_sizeof_char" in
16354 1) acx_cv_type_int8_t
=char
;;
16355 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16358 $as_echo "$acx_cv_type_int8_t" >&6; }
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16361 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16362 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16363 2:*) acx_cv_type_int16_t
=int
;;
16364 *:2) acx_cv_type_int16_t
=short
;;
16365 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16368 $as_echo "$acx_cv_type_int16_t" >&6; }
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16371 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16372 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16373 4:*) acx_cv_type_int32_t
=int
;;
16374 *:4) acx_cv_type_int32_t
=long
;;
16375 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16378 $as_echo "$acx_cv_type_int32_t" >&6; }
16381 # These tests are here to make the output prettier
16383 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16384 case "$ac_cv_sizeof_long" in
16385 8) acx_cv_type_int64_t
=long
;;
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16388 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16390 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16393 # Now we can use the above types
16395 if test "$ac_cv_type_uintptr_t" != yes; then
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16397 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16398 case $ac_cv_sizeof_void_p in
16399 2) acx_cv_type_intptr_t
=int16_t
;;
16400 4) acx_cv_type_intptr_t
=int32_t
;;
16401 8) acx_cv_type_intptr_t
=int64_t
;;
16402 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16405 $as_echo "$acx_cv_type_intptr_t" >&6; }
16408 # ----------------- done all checks, emit header -------------
16409 ac_config_commands
="$ac_config_commands gstdint.h"
16414 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16415 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16417 cat >>confdefs.h
<<_ACEOF
16418 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16423 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16424 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16426 cat >>confdefs.h
<<_ACEOF
16427 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16432 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16433 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16435 cat >>confdefs.h
<<_ACEOF
16436 #define HAVE_STRUCT_STAT_ST_RDEV 1
16443 # Check for library functions.
16444 if test "x${with_newlib}" = "xyes"; then
16445 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16446 # may not work correctly, because the compiler may not be able to
16447 # link executables.
16449 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16452 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16455 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16458 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16461 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16464 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16467 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16470 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16476 for ac_func
in $ac_func_list
16478 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16479 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16480 eval as_val
=\$
$as_ac_var
16481 if test "x$as_val" = x
""yes; then :
16482 cat >>confdefs.h
<<_ACEOF
16483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16594 # Check strerror_r, cannot be above as versions with two and three arguments exist
16596 ac_save_CFLAGS
="$CFLAGS"
16597 CFLAGS
="-Wimplicit-function-declaration -Werror"
16598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h. */
16600 #define _GNU_SOURCE 1
16601 #include <string.h>
16602 #include <locale.h>
16606 char s[128]; strerror_r(5, s, 128);
16611 if ac_fn_c_try_compile
"$LINENO"; then :
16613 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16617 CFLAGS
="$ac_save_CFLAGS"
16619 ac_save_CFLAGS
="$CFLAGS"
16620 CFLAGS
="-Wimplicit-function-declaration -Werror"
16621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16623 #define _GNU_SOURCE 1
16624 #include <string.h>
16625 #include <locale.h>
16629 char s[128]; strerror_r(5, s);
16634 if ac_fn_c_try_compile
"$LINENO"; then :
16636 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16640 CFLAGS
="$ac_save_CFLAGS"
16643 # Check for C99 (and other IEEE) math functions
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16645 $as_echo_n "checking for sin in -lm... " >&6; }
16646 if test "${ac_cv_lib_m_sin+set}" = set; then :
16647 $as_echo_n "(cached) " >&6
16649 ac_check_lib_save_LIBS
=$LIBS
16651 if test x
$gcc_no_link = xyes
; then
16652 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16657 /* Override any GCC internal prototype to avoid an error.
16658 Use char because int might match the return type of a GCC
16659 builtin and then its argument prototype would still apply. */
16672 if ac_fn_c_try_link
"$LINENO"; then :
16673 ac_cv_lib_m_sin
=yes
16677 rm -f core conftest.err conftest.
$ac_objext \
16678 conftest
$ac_exeext conftest.
$ac_ext
16679 LIBS
=$ac_check_lib_save_LIBS
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16682 $as_echo "$ac_cv_lib_m_sin" >&6; }
16683 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16684 cat >>confdefs.h
<<_ACEOF
16685 #define HAVE_LIBM 1
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16699 $as_echo_n "checking for acosf... " >&6; }
16700 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16701 $as_echo_n "(cached) " >&6
16703 if test x
$gcc_no_link = xyes
; then
16704 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16709 #ifdef HAVE_COMPLEX_H
16710 #include <complex.h>
16716 int (*ptr)() = (int (*)())acosf;
16725 if ac_fn_c_try_link
"$LINENO"; then :
16726 gcc_cv_math_func_acosf
=yes
16728 gcc_cv_math_func_acosf
=no
16730 rm -f core conftest.err conftest.
$ac_objext \
16731 conftest
$ac_exeext conftest.
$ac_ext
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16734 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16735 if test $gcc_cv_math_func_acosf = yes; then
16737 cat >>confdefs.h
<<_ACEOF
16738 #define HAVE_ACOSF 1
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16747 $as_echo_n "checking for acos... " >&6; }
16748 if test "${gcc_cv_math_func_acos+set}" = set; then :
16749 $as_echo_n "(cached) " >&6
16751 if test x
$gcc_no_link = xyes
; then
16752 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16755 /* end confdefs.h. */
16757 #ifdef HAVE_COMPLEX_H
16758 #include <complex.h>
16764 int (*ptr)() = (int (*)())acos;
16773 if ac_fn_c_try_link
"$LINENO"; then :
16774 gcc_cv_math_func_acos
=yes
16776 gcc_cv_math_func_acos
=no
16778 rm -f core conftest.err conftest.
$ac_objext \
16779 conftest
$ac_exeext conftest.
$ac_ext
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16782 $as_echo "$gcc_cv_math_func_acos" >&6; }
16783 if test $gcc_cv_math_func_acos = yes; then
16785 cat >>confdefs.h
<<_ACEOF
16786 #define HAVE_ACOS 1
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16795 $as_echo_n "checking for acosl... " >&6; }
16796 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16797 $as_echo_n "(cached) " >&6
16799 if test x
$gcc_no_link = xyes
; then
16800 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16803 /* end confdefs.h. */
16805 #ifdef HAVE_COMPLEX_H
16806 #include <complex.h>
16812 int (*ptr)() = (int (*)())acosl;
16821 if ac_fn_c_try_link
"$LINENO"; then :
16822 gcc_cv_math_func_acosl
=yes
16824 gcc_cv_math_func_acosl
=no
16826 rm -f core conftest.err conftest.
$ac_objext \
16827 conftest
$ac_exeext conftest.
$ac_ext
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16830 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16831 if test $gcc_cv_math_func_acosl = yes; then
16833 cat >>confdefs.h
<<_ACEOF
16834 #define HAVE_ACOSL 1
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16843 $as_echo_n "checking for acoshf... " >&6; }
16844 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16845 $as_echo_n "(cached) " >&6
16847 if test x
$gcc_no_link = xyes
; then
16848 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16853 #ifdef HAVE_COMPLEX_H
16854 #include <complex.h>
16860 int (*ptr)() = (int (*)())acoshf;
16869 if ac_fn_c_try_link
"$LINENO"; then :
16870 gcc_cv_math_func_acoshf
=yes
16872 gcc_cv_math_func_acoshf
=no
16874 rm -f core conftest.err conftest.
$ac_objext \
16875 conftest
$ac_exeext conftest.
$ac_ext
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16878 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16879 if test $gcc_cv_math_func_acoshf = yes; then
16881 cat >>confdefs.h
<<_ACEOF
16882 #define HAVE_ACOSHF 1
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16891 $as_echo_n "checking for acosh... " >&6; }
16892 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16893 $as_echo_n "(cached) " >&6
16895 if test x
$gcc_no_link = xyes
; then
16896 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16901 #ifdef HAVE_COMPLEX_H
16902 #include <complex.h>
16908 int (*ptr)() = (int (*)())acosh;
16917 if ac_fn_c_try_link
"$LINENO"; then :
16918 gcc_cv_math_func_acosh
=yes
16920 gcc_cv_math_func_acosh
=no
16922 rm -f core conftest.err conftest.
$ac_objext \
16923 conftest
$ac_exeext conftest.
$ac_ext
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16926 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16927 if test $gcc_cv_math_func_acosh = yes; then
16929 cat >>confdefs.h
<<_ACEOF
16930 #define HAVE_ACOSH 1
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16939 $as_echo_n "checking for acoshl... " >&6; }
16940 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16941 $as_echo_n "(cached) " >&6
16943 if test x
$gcc_no_link = xyes
; then
16944 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16949 #ifdef HAVE_COMPLEX_H
16950 #include <complex.h>
16956 int (*ptr)() = (int (*)())acoshl;
16965 if ac_fn_c_try_link
"$LINENO"; then :
16966 gcc_cv_math_func_acoshl
=yes
16968 gcc_cv_math_func_acoshl
=no
16970 rm -f core conftest.err conftest.
$ac_objext \
16971 conftest
$ac_exeext conftest.
$ac_ext
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16974 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16975 if test $gcc_cv_math_func_acoshl = yes; then
16977 cat >>confdefs.h
<<_ACEOF
16978 #define HAVE_ACOSHL 1
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
16987 $as_echo_n "checking for asinf... " >&6; }
16988 if test "${gcc_cv_math_func_asinf+set}" = set; then :
16989 $as_echo_n "(cached) " >&6
16991 if test x
$gcc_no_link = xyes
; then
16992 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
16997 #ifdef HAVE_COMPLEX_H
16998 #include <complex.h>
17004 int (*ptr)() = (int (*)())asinf;
17013 if ac_fn_c_try_link
"$LINENO"; then :
17014 gcc_cv_math_func_asinf
=yes
17016 gcc_cv_math_func_asinf
=no
17018 rm -f core conftest.err conftest.
$ac_objext \
17019 conftest
$ac_exeext conftest.
$ac_ext
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17022 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17023 if test $gcc_cv_math_func_asinf = yes; then
17025 cat >>confdefs.h
<<_ACEOF
17026 #define HAVE_ASINF 1
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17035 $as_echo_n "checking for asin... " >&6; }
17036 if test "${gcc_cv_math_func_asin+set}" = set; then :
17037 $as_echo_n "(cached) " >&6
17039 if test x
$gcc_no_link = xyes
; then
17040 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17045 #ifdef HAVE_COMPLEX_H
17046 #include <complex.h>
17052 int (*ptr)() = (int (*)())asin;
17061 if ac_fn_c_try_link
"$LINENO"; then :
17062 gcc_cv_math_func_asin
=yes
17064 gcc_cv_math_func_asin
=no
17066 rm -f core conftest.err conftest.
$ac_objext \
17067 conftest
$ac_exeext conftest.
$ac_ext
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17070 $as_echo "$gcc_cv_math_func_asin" >&6; }
17071 if test $gcc_cv_math_func_asin = yes; then
17073 cat >>confdefs.h
<<_ACEOF
17074 #define HAVE_ASIN 1
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17083 $as_echo_n "checking for asinl... " >&6; }
17084 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17085 $as_echo_n "(cached) " >&6
17087 if test x
$gcc_no_link = xyes
; then
17088 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17091 /* end confdefs.h. */
17093 #ifdef HAVE_COMPLEX_H
17094 #include <complex.h>
17100 int (*ptr)() = (int (*)())asinl;
17109 if ac_fn_c_try_link
"$LINENO"; then :
17110 gcc_cv_math_func_asinl
=yes
17112 gcc_cv_math_func_asinl
=no
17114 rm -f core conftest.err conftest.
$ac_objext \
17115 conftest
$ac_exeext conftest.
$ac_ext
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17118 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17119 if test $gcc_cv_math_func_asinl = yes; then
17121 cat >>confdefs.h
<<_ACEOF
17122 #define HAVE_ASINL 1
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17131 $as_echo_n "checking for asinhf... " >&6; }
17132 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17133 $as_echo_n "(cached) " >&6
17135 if test x
$gcc_no_link = xyes
; then
17136 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17141 #ifdef HAVE_COMPLEX_H
17142 #include <complex.h>
17148 int (*ptr)() = (int (*)())asinhf;
17157 if ac_fn_c_try_link
"$LINENO"; then :
17158 gcc_cv_math_func_asinhf
=yes
17160 gcc_cv_math_func_asinhf
=no
17162 rm -f core conftest.err conftest.
$ac_objext \
17163 conftest
$ac_exeext conftest.
$ac_ext
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17166 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17167 if test $gcc_cv_math_func_asinhf = yes; then
17169 cat >>confdefs.h
<<_ACEOF
17170 #define HAVE_ASINHF 1
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17179 $as_echo_n "checking for asinh... " >&6; }
17180 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17181 $as_echo_n "(cached) " >&6
17183 if test x
$gcc_no_link = xyes
; then
17184 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17189 #ifdef HAVE_COMPLEX_H
17190 #include <complex.h>
17196 int (*ptr)() = (int (*)())asinh;
17205 if ac_fn_c_try_link
"$LINENO"; then :
17206 gcc_cv_math_func_asinh
=yes
17208 gcc_cv_math_func_asinh
=no
17210 rm -f core conftest.err conftest.
$ac_objext \
17211 conftest
$ac_exeext conftest.
$ac_ext
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17214 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17215 if test $gcc_cv_math_func_asinh = yes; then
17217 cat >>confdefs.h
<<_ACEOF
17218 #define HAVE_ASINH 1
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17227 $as_echo_n "checking for asinhl... " >&6; }
17228 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17229 $as_echo_n "(cached) " >&6
17231 if test x
$gcc_no_link = xyes
; then
17232 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17237 #ifdef HAVE_COMPLEX_H
17238 #include <complex.h>
17244 int (*ptr)() = (int (*)())asinhl;
17253 if ac_fn_c_try_link
"$LINENO"; then :
17254 gcc_cv_math_func_asinhl
=yes
17256 gcc_cv_math_func_asinhl
=no
17258 rm -f core conftest.err conftest.
$ac_objext \
17259 conftest
$ac_exeext conftest.
$ac_ext
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17262 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17263 if test $gcc_cv_math_func_asinhl = yes; then
17265 cat >>confdefs.h
<<_ACEOF
17266 #define HAVE_ASINHL 1
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17275 $as_echo_n "checking for atan2f... " >&6; }
17276 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17277 $as_echo_n "(cached) " >&6
17279 if test x
$gcc_no_link = xyes
; then
17280 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17285 #ifdef HAVE_COMPLEX_H
17286 #include <complex.h>
17292 int (*ptr)() = (int (*)())atan2f;
17301 if ac_fn_c_try_link
"$LINENO"; then :
17302 gcc_cv_math_func_atan2f
=yes
17304 gcc_cv_math_func_atan2f
=no
17306 rm -f core conftest.err conftest.
$ac_objext \
17307 conftest
$ac_exeext conftest.
$ac_ext
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17310 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17311 if test $gcc_cv_math_func_atan2f = yes; then
17313 cat >>confdefs.h
<<_ACEOF
17314 #define HAVE_ATAN2F 1
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17323 $as_echo_n "checking for atan2... " >&6; }
17324 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17325 $as_echo_n "(cached) " >&6
17327 if test x
$gcc_no_link = xyes
; then
17328 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17333 #ifdef HAVE_COMPLEX_H
17334 #include <complex.h>
17340 int (*ptr)() = (int (*)())atan2;
17349 if ac_fn_c_try_link
"$LINENO"; then :
17350 gcc_cv_math_func_atan2
=yes
17352 gcc_cv_math_func_atan2
=no
17354 rm -f core conftest.err conftest.
$ac_objext \
17355 conftest
$ac_exeext conftest.
$ac_ext
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17358 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17359 if test $gcc_cv_math_func_atan2 = yes; then
17361 cat >>confdefs.h
<<_ACEOF
17362 #define HAVE_ATAN2 1
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17371 $as_echo_n "checking for atan2l... " >&6; }
17372 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17373 $as_echo_n "(cached) " >&6
17375 if test x
$gcc_no_link = xyes
; then
17376 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17379 /* end confdefs.h. */
17381 #ifdef HAVE_COMPLEX_H
17382 #include <complex.h>
17388 int (*ptr)() = (int (*)())atan2l;
17397 if ac_fn_c_try_link
"$LINENO"; then :
17398 gcc_cv_math_func_atan2l
=yes
17400 gcc_cv_math_func_atan2l
=no
17402 rm -f core conftest.err conftest.
$ac_objext \
17403 conftest
$ac_exeext conftest.
$ac_ext
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17406 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17407 if test $gcc_cv_math_func_atan2l = yes; then
17409 cat >>confdefs.h
<<_ACEOF
17410 #define HAVE_ATAN2L 1
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17419 $as_echo_n "checking for atanf... " >&6; }
17420 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17421 $as_echo_n "(cached) " >&6
17423 if test x
$gcc_no_link = xyes
; then
17424 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17429 #ifdef HAVE_COMPLEX_H
17430 #include <complex.h>
17436 int (*ptr)() = (int (*)())atanf;
17445 if ac_fn_c_try_link
"$LINENO"; then :
17446 gcc_cv_math_func_atanf
=yes
17448 gcc_cv_math_func_atanf
=no
17450 rm -f core conftest.err conftest.
$ac_objext \
17451 conftest
$ac_exeext conftest.
$ac_ext
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17454 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17455 if test $gcc_cv_math_func_atanf = yes; then
17457 cat >>confdefs.h
<<_ACEOF
17458 #define HAVE_ATANF 1
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17467 $as_echo_n "checking for atan... " >&6; }
17468 if test "${gcc_cv_math_func_atan+set}" = set; then :
17469 $as_echo_n "(cached) " >&6
17471 if test x
$gcc_no_link = xyes
; then
17472 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17477 #ifdef HAVE_COMPLEX_H
17478 #include <complex.h>
17484 int (*ptr)() = (int (*)())atan;
17493 if ac_fn_c_try_link
"$LINENO"; then :
17494 gcc_cv_math_func_atan
=yes
17496 gcc_cv_math_func_atan
=no
17498 rm -f core conftest.err conftest.
$ac_objext \
17499 conftest
$ac_exeext conftest.
$ac_ext
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17502 $as_echo "$gcc_cv_math_func_atan" >&6; }
17503 if test $gcc_cv_math_func_atan = yes; then
17505 cat >>confdefs.h
<<_ACEOF
17506 #define HAVE_ATAN 1
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17515 $as_echo_n "checking for atanl... " >&6; }
17516 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17517 $as_echo_n "(cached) " >&6
17519 if test x
$gcc_no_link = xyes
; then
17520 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h. */
17525 #ifdef HAVE_COMPLEX_H
17526 #include <complex.h>
17532 int (*ptr)() = (int (*)())atanl;
17541 if ac_fn_c_try_link
"$LINENO"; then :
17542 gcc_cv_math_func_atanl
=yes
17544 gcc_cv_math_func_atanl
=no
17546 rm -f core conftest.err conftest.
$ac_objext \
17547 conftest
$ac_exeext conftest.
$ac_ext
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17550 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17551 if test $gcc_cv_math_func_atanl = yes; then
17553 cat >>confdefs.h
<<_ACEOF
17554 #define HAVE_ATANL 1
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17563 $as_echo_n "checking for atanhf... " >&6; }
17564 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17565 $as_echo_n "(cached) " >&6
17567 if test x
$gcc_no_link = xyes
; then
17568 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17573 #ifdef HAVE_COMPLEX_H
17574 #include <complex.h>
17580 int (*ptr)() = (int (*)())atanhf;
17589 if ac_fn_c_try_link
"$LINENO"; then :
17590 gcc_cv_math_func_atanhf
=yes
17592 gcc_cv_math_func_atanhf
=no
17594 rm -f core conftest.err conftest.
$ac_objext \
17595 conftest
$ac_exeext conftest.
$ac_ext
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17598 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17599 if test $gcc_cv_math_func_atanhf = yes; then
17601 cat >>confdefs.h
<<_ACEOF
17602 #define HAVE_ATANHF 1
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17611 $as_echo_n "checking for atanh... " >&6; }
17612 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17613 $as_echo_n "(cached) " >&6
17615 if test x
$gcc_no_link = xyes
; then
17616 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17621 #ifdef HAVE_COMPLEX_H
17622 #include <complex.h>
17628 int (*ptr)() = (int (*)())atanh;
17637 if ac_fn_c_try_link
"$LINENO"; then :
17638 gcc_cv_math_func_atanh
=yes
17640 gcc_cv_math_func_atanh
=no
17642 rm -f core conftest.err conftest.
$ac_objext \
17643 conftest
$ac_exeext conftest.
$ac_ext
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17646 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17647 if test $gcc_cv_math_func_atanh = yes; then
17649 cat >>confdefs.h
<<_ACEOF
17650 #define HAVE_ATANH 1
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17659 $as_echo_n "checking for atanhl... " >&6; }
17660 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17661 $as_echo_n "(cached) " >&6
17663 if test x
$gcc_no_link = xyes
; then
17664 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17669 #ifdef HAVE_COMPLEX_H
17670 #include <complex.h>
17676 int (*ptr)() = (int (*)())atanhl;
17685 if ac_fn_c_try_link
"$LINENO"; then :
17686 gcc_cv_math_func_atanhl
=yes
17688 gcc_cv_math_func_atanhl
=no
17690 rm -f core conftest.err conftest.
$ac_objext \
17691 conftest
$ac_exeext conftest.
$ac_ext
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17694 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17695 if test $gcc_cv_math_func_atanhl = yes; then
17697 cat >>confdefs.h
<<_ACEOF
17698 #define HAVE_ATANHL 1
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17707 $as_echo_n "checking for cargf... " >&6; }
17708 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17709 $as_echo_n "(cached) " >&6
17711 if test x
$gcc_no_link = xyes
; then
17712 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17715 /* end confdefs.h. */
17717 #ifdef HAVE_COMPLEX_H
17718 #include <complex.h>
17724 int (*ptr)() = (int (*)())cargf;
17733 if ac_fn_c_try_link
"$LINENO"; then :
17734 gcc_cv_math_func_cargf
=yes
17736 gcc_cv_math_func_cargf
=no
17738 rm -f core conftest.err conftest.
$ac_objext \
17739 conftest
$ac_exeext conftest.
$ac_ext
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17742 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17743 if test $gcc_cv_math_func_cargf = yes; then
17745 cat >>confdefs.h
<<_ACEOF
17746 #define HAVE_CARGF 1
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17755 $as_echo_n "checking for carg... " >&6; }
17756 if test "${gcc_cv_math_func_carg+set}" = set; then :
17757 $as_echo_n "(cached) " >&6
17759 if test x
$gcc_no_link = xyes
; then
17760 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17765 #ifdef HAVE_COMPLEX_H
17766 #include <complex.h>
17772 int (*ptr)() = (int (*)())carg;
17781 if ac_fn_c_try_link
"$LINENO"; then :
17782 gcc_cv_math_func_carg
=yes
17784 gcc_cv_math_func_carg
=no
17786 rm -f core conftest.err conftest.
$ac_objext \
17787 conftest
$ac_exeext conftest.
$ac_ext
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17790 $as_echo "$gcc_cv_math_func_carg" >&6; }
17791 if test $gcc_cv_math_func_carg = yes; then
17793 cat >>confdefs.h
<<_ACEOF
17794 #define HAVE_CARG 1
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17803 $as_echo_n "checking for cargl... " >&6; }
17804 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17805 $as_echo_n "(cached) " >&6
17807 if test x
$gcc_no_link = xyes
; then
17808 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h. */
17813 #ifdef HAVE_COMPLEX_H
17814 #include <complex.h>
17820 int (*ptr)() = (int (*)())cargl;
17829 if ac_fn_c_try_link
"$LINENO"; then :
17830 gcc_cv_math_func_cargl
=yes
17832 gcc_cv_math_func_cargl
=no
17834 rm -f core conftest.err conftest.
$ac_objext \
17835 conftest
$ac_exeext conftest.
$ac_ext
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17838 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17839 if test $gcc_cv_math_func_cargl = yes; then
17841 cat >>confdefs.h
<<_ACEOF
17842 #define HAVE_CARGL 1
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17851 $as_echo_n "checking for ceilf... " >&6; }
17852 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17853 $as_echo_n "(cached) " >&6
17855 if test x
$gcc_no_link = xyes
; then
17856 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17861 #ifdef HAVE_COMPLEX_H
17862 #include <complex.h>
17868 int (*ptr)() = (int (*)())ceilf;
17877 if ac_fn_c_try_link
"$LINENO"; then :
17878 gcc_cv_math_func_ceilf
=yes
17880 gcc_cv_math_func_ceilf
=no
17882 rm -f core conftest.err conftest.
$ac_objext \
17883 conftest
$ac_exeext conftest.
$ac_ext
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17886 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17887 if test $gcc_cv_math_func_ceilf = yes; then
17889 cat >>confdefs.h
<<_ACEOF
17890 #define HAVE_CEILF 1
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17899 $as_echo_n "checking for ceil... " >&6; }
17900 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17901 $as_echo_n "(cached) " >&6
17903 if test x
$gcc_no_link = xyes
; then
17904 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17907 /* end confdefs.h. */
17909 #ifdef HAVE_COMPLEX_H
17910 #include <complex.h>
17916 int (*ptr)() = (int (*)())ceil;
17925 if ac_fn_c_try_link
"$LINENO"; then :
17926 gcc_cv_math_func_ceil
=yes
17928 gcc_cv_math_func_ceil
=no
17930 rm -f core conftest.err conftest.
$ac_objext \
17931 conftest
$ac_exeext conftest.
$ac_ext
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17934 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17935 if test $gcc_cv_math_func_ceil = yes; then
17937 cat >>confdefs.h
<<_ACEOF
17938 #define HAVE_CEIL 1
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17947 $as_echo_n "checking for ceill... " >&6; }
17948 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17949 $as_echo_n "(cached) " >&6
17951 if test x
$gcc_no_link = xyes
; then
17952 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17957 #ifdef HAVE_COMPLEX_H
17958 #include <complex.h>
17964 int (*ptr)() = (int (*)())ceill;
17973 if ac_fn_c_try_link
"$LINENO"; then :
17974 gcc_cv_math_func_ceill
=yes
17976 gcc_cv_math_func_ceill
=no
17978 rm -f core conftest.err conftest.
$ac_objext \
17979 conftest
$ac_exeext conftest.
$ac_ext
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17982 $as_echo "$gcc_cv_math_func_ceill" >&6; }
17983 if test $gcc_cv_math_func_ceill = yes; then
17985 cat >>confdefs.h
<<_ACEOF
17986 #define HAVE_CEILL 1
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
17995 $as_echo_n "checking for copysignf... " >&6; }
17996 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
17997 $as_echo_n "(cached) " >&6
17999 if test x
$gcc_no_link = xyes
; then
18000 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18005 #ifdef HAVE_COMPLEX_H
18006 #include <complex.h>
18012 int (*ptr)() = (int (*)())copysignf;
18021 if ac_fn_c_try_link
"$LINENO"; then :
18022 gcc_cv_math_func_copysignf
=yes
18024 gcc_cv_math_func_copysignf
=no
18026 rm -f core conftest.err conftest.
$ac_objext \
18027 conftest
$ac_exeext conftest.
$ac_ext
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18030 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18031 if test $gcc_cv_math_func_copysignf = yes; then
18033 cat >>confdefs.h
<<_ACEOF
18034 #define HAVE_COPYSIGNF 1
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18043 $as_echo_n "checking for copysign... " >&6; }
18044 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18045 $as_echo_n "(cached) " >&6
18047 if test x
$gcc_no_link = xyes
; then
18048 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18051 /* end confdefs.h. */
18053 #ifdef HAVE_COMPLEX_H
18054 #include <complex.h>
18060 int (*ptr)() = (int (*)())copysign;
18069 if ac_fn_c_try_link
"$LINENO"; then :
18070 gcc_cv_math_func_copysign
=yes
18072 gcc_cv_math_func_copysign
=no
18074 rm -f core conftest.err conftest.
$ac_objext \
18075 conftest
$ac_exeext conftest.
$ac_ext
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18078 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18079 if test $gcc_cv_math_func_copysign = yes; then
18081 cat >>confdefs.h
<<_ACEOF
18082 #define HAVE_COPYSIGN 1
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18091 $as_echo_n "checking for copysignl... " >&6; }
18092 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18093 $as_echo_n "(cached) " >&6
18095 if test x
$gcc_no_link = xyes
; then
18096 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18101 #ifdef HAVE_COMPLEX_H
18102 #include <complex.h>
18108 int (*ptr)() = (int (*)())copysignl;
18117 if ac_fn_c_try_link
"$LINENO"; then :
18118 gcc_cv_math_func_copysignl
=yes
18120 gcc_cv_math_func_copysignl
=no
18122 rm -f core conftest.err conftest.
$ac_objext \
18123 conftest
$ac_exeext conftest.
$ac_ext
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18126 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18127 if test $gcc_cv_math_func_copysignl = yes; then
18129 cat >>confdefs.h
<<_ACEOF
18130 #define HAVE_COPYSIGNL 1
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18139 $as_echo_n "checking for cosf... " >&6; }
18140 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18141 $as_echo_n "(cached) " >&6
18143 if test x
$gcc_no_link = xyes
; then
18144 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18147 /* end confdefs.h. */
18149 #ifdef HAVE_COMPLEX_H
18150 #include <complex.h>
18156 int (*ptr)() = (int (*)())cosf;
18165 if ac_fn_c_try_link
"$LINENO"; then :
18166 gcc_cv_math_func_cosf
=yes
18168 gcc_cv_math_func_cosf
=no
18170 rm -f core conftest.err conftest.
$ac_objext \
18171 conftest
$ac_exeext conftest.
$ac_ext
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18174 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18175 if test $gcc_cv_math_func_cosf = yes; then
18177 cat >>confdefs.h
<<_ACEOF
18178 #define HAVE_COSF 1
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18187 $as_echo_n "checking for cos... " >&6; }
18188 if test "${gcc_cv_math_func_cos+set}" = set; then :
18189 $as_echo_n "(cached) " >&6
18191 if test x
$gcc_no_link = xyes
; then
18192 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18195 /* end confdefs.h. */
18197 #ifdef HAVE_COMPLEX_H
18198 #include <complex.h>
18204 int (*ptr)() = (int (*)())cos;
18213 if ac_fn_c_try_link
"$LINENO"; then :
18214 gcc_cv_math_func_cos
=yes
18216 gcc_cv_math_func_cos
=no
18218 rm -f core conftest.err conftest.
$ac_objext \
18219 conftest
$ac_exeext conftest.
$ac_ext
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18222 $as_echo "$gcc_cv_math_func_cos" >&6; }
18223 if test $gcc_cv_math_func_cos = yes; then
18225 cat >>confdefs.h
<<_ACEOF
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18235 $as_echo_n "checking for cosl... " >&6; }
18236 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18237 $as_echo_n "(cached) " >&6
18239 if test x
$gcc_no_link = xyes
; then
18240 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18245 #ifdef HAVE_COMPLEX_H
18246 #include <complex.h>
18252 int (*ptr)() = (int (*)())cosl;
18261 if ac_fn_c_try_link
"$LINENO"; then :
18262 gcc_cv_math_func_cosl
=yes
18264 gcc_cv_math_func_cosl
=no
18266 rm -f core conftest.err conftest.
$ac_objext \
18267 conftest
$ac_exeext conftest.
$ac_ext
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18270 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18271 if test $gcc_cv_math_func_cosl = yes; then
18273 cat >>confdefs.h
<<_ACEOF
18274 #define HAVE_COSL 1
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18283 $as_echo_n "checking for ccosf... " >&6; }
18284 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18285 $as_echo_n "(cached) " >&6
18287 if test x
$gcc_no_link = xyes
; then
18288 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18291 /* end confdefs.h. */
18293 #ifdef HAVE_COMPLEX_H
18294 #include <complex.h>
18300 int (*ptr)() = (int (*)())ccosf;
18309 if ac_fn_c_try_link
"$LINENO"; then :
18310 gcc_cv_math_func_ccosf
=yes
18312 gcc_cv_math_func_ccosf
=no
18314 rm -f core conftest.err conftest.
$ac_objext \
18315 conftest
$ac_exeext conftest.
$ac_ext
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18318 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18319 if test $gcc_cv_math_func_ccosf = yes; then
18321 cat >>confdefs.h
<<_ACEOF
18322 #define HAVE_CCOSF 1
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18331 $as_echo_n "checking for ccos... " >&6; }
18332 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18333 $as_echo_n "(cached) " >&6
18335 if test x
$gcc_no_link = xyes
; then
18336 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18339 /* end confdefs.h. */
18341 #ifdef HAVE_COMPLEX_H
18342 #include <complex.h>
18348 int (*ptr)() = (int (*)())ccos;
18357 if ac_fn_c_try_link
"$LINENO"; then :
18358 gcc_cv_math_func_ccos
=yes
18360 gcc_cv_math_func_ccos
=no
18362 rm -f core conftest.err conftest.
$ac_objext \
18363 conftest
$ac_exeext conftest.
$ac_ext
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18366 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18367 if test $gcc_cv_math_func_ccos = yes; then
18369 cat >>confdefs.h
<<_ACEOF
18370 #define HAVE_CCOS 1
18378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18379 $as_echo_n "checking for ccosl... " >&6; }
18380 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18381 $as_echo_n "(cached) " >&6
18383 if test x
$gcc_no_link = xyes
; then
18384 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18387 /* end confdefs.h. */
18389 #ifdef HAVE_COMPLEX_H
18390 #include <complex.h>
18396 int (*ptr)() = (int (*)())ccosl;
18405 if ac_fn_c_try_link
"$LINENO"; then :
18406 gcc_cv_math_func_ccosl
=yes
18408 gcc_cv_math_func_ccosl
=no
18410 rm -f core conftest.err conftest.
$ac_objext \
18411 conftest
$ac_exeext conftest.
$ac_ext
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18414 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18415 if test $gcc_cv_math_func_ccosl = yes; then
18417 cat >>confdefs.h
<<_ACEOF
18418 #define HAVE_CCOSL 1
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18427 $as_echo_n "checking for coshf... " >&6; }
18428 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18429 $as_echo_n "(cached) " >&6
18431 if test x
$gcc_no_link = xyes
; then
18432 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18435 /* end confdefs.h. */
18437 #ifdef HAVE_COMPLEX_H
18438 #include <complex.h>
18444 int (*ptr)() = (int (*)())coshf;
18453 if ac_fn_c_try_link
"$LINENO"; then :
18454 gcc_cv_math_func_coshf
=yes
18456 gcc_cv_math_func_coshf
=no
18458 rm -f core conftest.err conftest.
$ac_objext \
18459 conftest
$ac_exeext conftest.
$ac_ext
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18462 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18463 if test $gcc_cv_math_func_coshf = yes; then
18465 cat >>confdefs.h
<<_ACEOF
18466 #define HAVE_COSHF 1
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18475 $as_echo_n "checking for cosh... " >&6; }
18476 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18477 $as_echo_n "(cached) " >&6
18479 if test x
$gcc_no_link = xyes
; then
18480 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18483 /* end confdefs.h. */
18485 #ifdef HAVE_COMPLEX_H
18486 #include <complex.h>
18492 int (*ptr)() = (int (*)())cosh;
18501 if ac_fn_c_try_link
"$LINENO"; then :
18502 gcc_cv_math_func_cosh
=yes
18504 gcc_cv_math_func_cosh
=no
18506 rm -f core conftest.err conftest.
$ac_objext \
18507 conftest
$ac_exeext conftest.
$ac_ext
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18510 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18511 if test $gcc_cv_math_func_cosh = yes; then
18513 cat >>confdefs.h
<<_ACEOF
18514 #define HAVE_COSH 1
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18523 $as_echo_n "checking for coshl... " >&6; }
18524 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18525 $as_echo_n "(cached) " >&6
18527 if test x
$gcc_no_link = xyes
; then
18528 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18533 #ifdef HAVE_COMPLEX_H
18534 #include <complex.h>
18540 int (*ptr)() = (int (*)())coshl;
18549 if ac_fn_c_try_link
"$LINENO"; then :
18550 gcc_cv_math_func_coshl
=yes
18552 gcc_cv_math_func_coshl
=no
18554 rm -f core conftest.err conftest.
$ac_objext \
18555 conftest
$ac_exeext conftest.
$ac_ext
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18558 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18559 if test $gcc_cv_math_func_coshl = yes; then
18561 cat >>confdefs.h
<<_ACEOF
18562 #define HAVE_COSHL 1
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18571 $as_echo_n "checking for ccoshf... " >&6; }
18572 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18573 $as_echo_n "(cached) " >&6
18575 if test x
$gcc_no_link = xyes
; then
18576 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18581 #ifdef HAVE_COMPLEX_H
18582 #include <complex.h>
18588 int (*ptr)() = (int (*)())ccoshf;
18597 if ac_fn_c_try_link
"$LINENO"; then :
18598 gcc_cv_math_func_ccoshf
=yes
18600 gcc_cv_math_func_ccoshf
=no
18602 rm -f core conftest.err conftest.
$ac_objext \
18603 conftest
$ac_exeext conftest.
$ac_ext
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18606 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18607 if test $gcc_cv_math_func_ccoshf = yes; then
18609 cat >>confdefs.h
<<_ACEOF
18610 #define HAVE_CCOSHF 1
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18619 $as_echo_n "checking for ccosh... " >&6; }
18620 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18621 $as_echo_n "(cached) " >&6
18623 if test x
$gcc_no_link = xyes
; then
18624 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18627 /* end confdefs.h. */
18629 #ifdef HAVE_COMPLEX_H
18630 #include <complex.h>
18636 int (*ptr)() = (int (*)())ccosh;
18645 if ac_fn_c_try_link
"$LINENO"; then :
18646 gcc_cv_math_func_ccosh
=yes
18648 gcc_cv_math_func_ccosh
=no
18650 rm -f core conftest.err conftest.
$ac_objext \
18651 conftest
$ac_exeext conftest.
$ac_ext
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18654 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18655 if test $gcc_cv_math_func_ccosh = yes; then
18657 cat >>confdefs.h
<<_ACEOF
18658 #define HAVE_CCOSH 1
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18667 $as_echo_n "checking for ccoshl... " >&6; }
18668 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18669 $as_echo_n "(cached) " >&6
18671 if test x
$gcc_no_link = xyes
; then
18672 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18677 #ifdef HAVE_COMPLEX_H
18678 #include <complex.h>
18684 int (*ptr)() = (int (*)())ccoshl;
18693 if ac_fn_c_try_link
"$LINENO"; then :
18694 gcc_cv_math_func_ccoshl
=yes
18696 gcc_cv_math_func_ccoshl
=no
18698 rm -f core conftest.err conftest.
$ac_objext \
18699 conftest
$ac_exeext conftest.
$ac_ext
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18702 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18703 if test $gcc_cv_math_func_ccoshl = yes; then
18705 cat >>confdefs.h
<<_ACEOF
18706 #define HAVE_CCOSHL 1
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18715 $as_echo_n "checking for expf... " >&6; }
18716 if test "${gcc_cv_math_func_expf+set}" = set; then :
18717 $as_echo_n "(cached) " >&6
18719 if test x
$gcc_no_link = xyes
; then
18720 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18723 /* end confdefs.h. */
18725 #ifdef HAVE_COMPLEX_H
18726 #include <complex.h>
18732 int (*ptr)() = (int (*)())expf;
18741 if ac_fn_c_try_link
"$LINENO"; then :
18742 gcc_cv_math_func_expf
=yes
18744 gcc_cv_math_func_expf
=no
18746 rm -f core conftest.err conftest.
$ac_objext \
18747 conftest
$ac_exeext conftest.
$ac_ext
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18750 $as_echo "$gcc_cv_math_func_expf" >&6; }
18751 if test $gcc_cv_math_func_expf = yes; then
18753 cat >>confdefs.h
<<_ACEOF
18754 #define HAVE_EXPF 1
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18763 $as_echo_n "checking for exp... " >&6; }
18764 if test "${gcc_cv_math_func_exp+set}" = set; then :
18765 $as_echo_n "(cached) " >&6
18767 if test x
$gcc_no_link = xyes
; then
18768 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h. */
18773 #ifdef HAVE_COMPLEX_H
18774 #include <complex.h>
18780 int (*ptr)() = (int (*)())exp;
18789 if ac_fn_c_try_link
"$LINENO"; then :
18790 gcc_cv_math_func_exp
=yes
18792 gcc_cv_math_func_exp
=no
18794 rm -f core conftest.err conftest.
$ac_objext \
18795 conftest
$ac_exeext conftest.
$ac_ext
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18798 $as_echo "$gcc_cv_math_func_exp" >&6; }
18799 if test $gcc_cv_math_func_exp = yes; then
18801 cat >>confdefs.h
<<_ACEOF
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18811 $as_echo_n "checking for expl... " >&6; }
18812 if test "${gcc_cv_math_func_expl+set}" = set; then :
18813 $as_echo_n "(cached) " >&6
18815 if test x
$gcc_no_link = xyes
; then
18816 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18819 /* end confdefs.h. */
18821 #ifdef HAVE_COMPLEX_H
18822 #include <complex.h>
18828 int (*ptr)() = (int (*)())expl;
18837 if ac_fn_c_try_link
"$LINENO"; then :
18838 gcc_cv_math_func_expl
=yes
18840 gcc_cv_math_func_expl
=no
18842 rm -f core conftest.err conftest.
$ac_objext \
18843 conftest
$ac_exeext conftest.
$ac_ext
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18846 $as_echo "$gcc_cv_math_func_expl" >&6; }
18847 if test $gcc_cv_math_func_expl = yes; then
18849 cat >>confdefs.h
<<_ACEOF
18850 #define HAVE_EXPL 1
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18859 $as_echo_n "checking for cexpf... " >&6; }
18860 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18861 $as_echo_n "(cached) " >&6
18863 if test x
$gcc_no_link = xyes
; then
18864 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18867 /* end confdefs.h. */
18869 #ifdef HAVE_COMPLEX_H
18870 #include <complex.h>
18876 int (*ptr)() = (int (*)())cexpf;
18885 if ac_fn_c_try_link
"$LINENO"; then :
18886 gcc_cv_math_func_cexpf
=yes
18888 gcc_cv_math_func_cexpf
=no
18890 rm -f core conftest.err conftest.
$ac_objext \
18891 conftest
$ac_exeext conftest.
$ac_ext
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18894 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18895 if test $gcc_cv_math_func_cexpf = yes; then
18897 cat >>confdefs.h
<<_ACEOF
18898 #define HAVE_CEXPF 1
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18907 $as_echo_n "checking for cexp... " >&6; }
18908 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18909 $as_echo_n "(cached) " >&6
18911 if test x
$gcc_no_link = xyes
; then
18912 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18915 /* end confdefs.h. */
18917 #ifdef HAVE_COMPLEX_H
18918 #include <complex.h>
18924 int (*ptr)() = (int (*)())cexp;
18933 if ac_fn_c_try_link
"$LINENO"; then :
18934 gcc_cv_math_func_cexp
=yes
18936 gcc_cv_math_func_cexp
=no
18938 rm -f core conftest.err conftest.
$ac_objext \
18939 conftest
$ac_exeext conftest.
$ac_ext
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18942 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18943 if test $gcc_cv_math_func_cexp = yes; then
18945 cat >>confdefs.h
<<_ACEOF
18946 #define HAVE_CEXP 1
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18955 $as_echo_n "checking for cexpl... " >&6; }
18956 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18957 $as_echo_n "(cached) " >&6
18959 if test x
$gcc_no_link = xyes
; then
18960 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18963 /* end confdefs.h. */
18965 #ifdef HAVE_COMPLEX_H
18966 #include <complex.h>
18972 int (*ptr)() = (int (*)())cexpl;
18981 if ac_fn_c_try_link
"$LINENO"; then :
18982 gcc_cv_math_func_cexpl
=yes
18984 gcc_cv_math_func_cexpl
=no
18986 rm -f core conftest.err conftest.
$ac_objext \
18987 conftest
$ac_exeext conftest.
$ac_ext
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
18990 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
18991 if test $gcc_cv_math_func_cexpl = yes; then
18993 cat >>confdefs.h
<<_ACEOF
18994 #define HAVE_CEXPL 1
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19003 $as_echo_n "checking for fabsf... " >&6; }
19004 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19005 $as_echo_n "(cached) " >&6
19007 if test x
$gcc_no_link = xyes
; then
19008 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19013 #ifdef HAVE_COMPLEX_H
19014 #include <complex.h>
19020 int (*ptr)() = (int (*)())fabsf;
19029 if ac_fn_c_try_link
"$LINENO"; then :
19030 gcc_cv_math_func_fabsf
=yes
19032 gcc_cv_math_func_fabsf
=no
19034 rm -f core conftest.err conftest.
$ac_objext \
19035 conftest
$ac_exeext conftest.
$ac_ext
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19038 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19039 if test $gcc_cv_math_func_fabsf = yes; then
19041 cat >>confdefs.h
<<_ACEOF
19042 #define HAVE_FABSF 1
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19051 $as_echo_n "checking for fabs... " >&6; }
19052 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19053 $as_echo_n "(cached) " >&6
19055 if test x
$gcc_no_link = xyes
; then
19056 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19059 /* end confdefs.h. */
19061 #ifdef HAVE_COMPLEX_H
19062 #include <complex.h>
19068 int (*ptr)() = (int (*)())fabs;
19077 if ac_fn_c_try_link
"$LINENO"; then :
19078 gcc_cv_math_func_fabs
=yes
19080 gcc_cv_math_func_fabs
=no
19082 rm -f core conftest.err conftest.
$ac_objext \
19083 conftest
$ac_exeext conftest.
$ac_ext
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19086 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19087 if test $gcc_cv_math_func_fabs = yes; then
19089 cat >>confdefs.h
<<_ACEOF
19090 #define HAVE_FABS 1
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19099 $as_echo_n "checking for fabsl... " >&6; }
19100 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19101 $as_echo_n "(cached) " >&6
19103 if test x
$gcc_no_link = xyes
; then
19104 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h. */
19109 #ifdef HAVE_COMPLEX_H
19110 #include <complex.h>
19116 int (*ptr)() = (int (*)())fabsl;
19125 if ac_fn_c_try_link
"$LINENO"; then :
19126 gcc_cv_math_func_fabsl
=yes
19128 gcc_cv_math_func_fabsl
=no
19130 rm -f core conftest.err conftest.
$ac_objext \
19131 conftest
$ac_exeext conftest.
$ac_ext
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19134 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19135 if test $gcc_cv_math_func_fabsl = yes; then
19137 cat >>confdefs.h
<<_ACEOF
19138 #define HAVE_FABSL 1
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19147 $as_echo_n "checking for cabsf... " >&6; }
19148 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19149 $as_echo_n "(cached) " >&6
19151 if test x
$gcc_no_link = xyes
; then
19152 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19155 /* end confdefs.h. */
19157 #ifdef HAVE_COMPLEX_H
19158 #include <complex.h>
19164 int (*ptr)() = (int (*)())cabsf;
19173 if ac_fn_c_try_link
"$LINENO"; then :
19174 gcc_cv_math_func_cabsf
=yes
19176 gcc_cv_math_func_cabsf
=no
19178 rm -f core conftest.err conftest.
$ac_objext \
19179 conftest
$ac_exeext conftest.
$ac_ext
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19182 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19183 if test $gcc_cv_math_func_cabsf = yes; then
19185 cat >>confdefs.h
<<_ACEOF
19186 #define HAVE_CABSF 1
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19195 $as_echo_n "checking for cabs... " >&6; }
19196 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19197 $as_echo_n "(cached) " >&6
19199 if test x
$gcc_no_link = xyes
; then
19200 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19205 #ifdef HAVE_COMPLEX_H
19206 #include <complex.h>
19212 int (*ptr)() = (int (*)())cabs;
19221 if ac_fn_c_try_link
"$LINENO"; then :
19222 gcc_cv_math_func_cabs
=yes
19224 gcc_cv_math_func_cabs
=no
19226 rm -f core conftest.err conftest.
$ac_objext \
19227 conftest
$ac_exeext conftest.
$ac_ext
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19230 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19231 if test $gcc_cv_math_func_cabs = yes; then
19233 cat >>confdefs.h
<<_ACEOF
19234 #define HAVE_CABS 1
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19243 $as_echo_n "checking for cabsl... " >&6; }
19244 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19245 $as_echo_n "(cached) " >&6
19247 if test x
$gcc_no_link = xyes
; then
19248 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19251 /* end confdefs.h. */
19253 #ifdef HAVE_COMPLEX_H
19254 #include <complex.h>
19260 int (*ptr)() = (int (*)())cabsl;
19269 if ac_fn_c_try_link
"$LINENO"; then :
19270 gcc_cv_math_func_cabsl
=yes
19272 gcc_cv_math_func_cabsl
=no
19274 rm -f core conftest.err conftest.
$ac_objext \
19275 conftest
$ac_exeext conftest.
$ac_ext
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19278 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19279 if test $gcc_cv_math_func_cabsl = yes; then
19281 cat >>confdefs.h
<<_ACEOF
19282 #define HAVE_CABSL 1
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19291 $as_echo_n "checking for floorf... " >&6; }
19292 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19293 $as_echo_n "(cached) " >&6
19295 if test x
$gcc_no_link = xyes
; then
19296 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h. */
19301 #ifdef HAVE_COMPLEX_H
19302 #include <complex.h>
19308 int (*ptr)() = (int (*)())floorf;
19317 if ac_fn_c_try_link
"$LINENO"; then :
19318 gcc_cv_math_func_floorf
=yes
19320 gcc_cv_math_func_floorf
=no
19322 rm -f core conftest.err conftest.
$ac_objext \
19323 conftest
$ac_exeext conftest.
$ac_ext
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19326 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19327 if test $gcc_cv_math_func_floorf = yes; then
19329 cat >>confdefs.h
<<_ACEOF
19330 #define HAVE_FLOORF 1
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19339 $as_echo_n "checking for floor... " >&6; }
19340 if test "${gcc_cv_math_func_floor+set}" = set; then :
19341 $as_echo_n "(cached) " >&6
19343 if test x
$gcc_no_link = xyes
; then
19344 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19347 /* end confdefs.h. */
19349 #ifdef HAVE_COMPLEX_H
19350 #include <complex.h>
19356 int (*ptr)() = (int (*)())floor;
19365 if ac_fn_c_try_link
"$LINENO"; then :
19366 gcc_cv_math_func_floor
=yes
19368 gcc_cv_math_func_floor
=no
19370 rm -f core conftest.err conftest.
$ac_objext \
19371 conftest
$ac_exeext conftest.
$ac_ext
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19374 $as_echo "$gcc_cv_math_func_floor" >&6; }
19375 if test $gcc_cv_math_func_floor = yes; then
19377 cat >>confdefs.h
<<_ACEOF
19378 #define HAVE_FLOOR 1
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19387 $as_echo_n "checking for floorl... " >&6; }
19388 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19389 $as_echo_n "(cached) " >&6
19391 if test x
$gcc_no_link = xyes
; then
19392 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19395 /* end confdefs.h. */
19397 #ifdef HAVE_COMPLEX_H
19398 #include <complex.h>
19404 int (*ptr)() = (int (*)())floorl;
19413 if ac_fn_c_try_link
"$LINENO"; then :
19414 gcc_cv_math_func_floorl
=yes
19416 gcc_cv_math_func_floorl
=no
19418 rm -f core conftest.err conftest.
$ac_objext \
19419 conftest
$ac_exeext conftest.
$ac_ext
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19422 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19423 if test $gcc_cv_math_func_floorl = yes; then
19425 cat >>confdefs.h
<<_ACEOF
19426 #define HAVE_FLOORL 1
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19435 $as_echo_n "checking for fmodf... " >&6; }
19436 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19437 $as_echo_n "(cached) " >&6
19439 if test x
$gcc_no_link = xyes
; then
19440 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19443 /* end confdefs.h. */
19445 #ifdef HAVE_COMPLEX_H
19446 #include <complex.h>
19452 int (*ptr)() = (int (*)())fmodf;
19461 if ac_fn_c_try_link
"$LINENO"; then :
19462 gcc_cv_math_func_fmodf
=yes
19464 gcc_cv_math_func_fmodf
=no
19466 rm -f core conftest.err conftest.
$ac_objext \
19467 conftest
$ac_exeext conftest.
$ac_ext
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19470 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19471 if test $gcc_cv_math_func_fmodf = yes; then
19473 cat >>confdefs.h
<<_ACEOF
19474 #define HAVE_FMODF 1
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19483 $as_echo_n "checking for fmod... " >&6; }
19484 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19485 $as_echo_n "(cached) " >&6
19487 if test x
$gcc_no_link = xyes
; then
19488 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19493 #ifdef HAVE_COMPLEX_H
19494 #include <complex.h>
19500 int (*ptr)() = (int (*)())fmod;
19509 if ac_fn_c_try_link
"$LINENO"; then :
19510 gcc_cv_math_func_fmod
=yes
19512 gcc_cv_math_func_fmod
=no
19514 rm -f core conftest.err conftest.
$ac_objext \
19515 conftest
$ac_exeext conftest.
$ac_ext
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19518 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19519 if test $gcc_cv_math_func_fmod = yes; then
19521 cat >>confdefs.h
<<_ACEOF
19522 #define HAVE_FMOD 1
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19531 $as_echo_n "checking for fmodl... " >&6; }
19532 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19533 $as_echo_n "(cached) " >&6
19535 if test x
$gcc_no_link = xyes
; then
19536 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19539 /* end confdefs.h. */
19541 #ifdef HAVE_COMPLEX_H
19542 #include <complex.h>
19548 int (*ptr)() = (int (*)())fmodl;
19557 if ac_fn_c_try_link
"$LINENO"; then :
19558 gcc_cv_math_func_fmodl
=yes
19560 gcc_cv_math_func_fmodl
=no
19562 rm -f core conftest.err conftest.
$ac_objext \
19563 conftest
$ac_exeext conftest.
$ac_ext
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19566 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19567 if test $gcc_cv_math_func_fmodl = yes; then
19569 cat >>confdefs.h
<<_ACEOF
19570 #define HAVE_FMODL 1
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19579 $as_echo_n "checking for frexpf... " >&6; }
19580 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19581 $as_echo_n "(cached) " >&6
19583 if test x
$gcc_no_link = xyes
; then
19584 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h. */
19589 #ifdef HAVE_COMPLEX_H
19590 #include <complex.h>
19596 int (*ptr)() = (int (*)())frexpf;
19605 if ac_fn_c_try_link
"$LINENO"; then :
19606 gcc_cv_math_func_frexpf
=yes
19608 gcc_cv_math_func_frexpf
=no
19610 rm -f core conftest.err conftest.
$ac_objext \
19611 conftest
$ac_exeext conftest.
$ac_ext
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19614 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19615 if test $gcc_cv_math_func_frexpf = yes; then
19617 cat >>confdefs.h
<<_ACEOF
19618 #define HAVE_FREXPF 1
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19627 $as_echo_n "checking for frexp... " >&6; }
19628 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19629 $as_echo_n "(cached) " >&6
19631 if test x
$gcc_no_link = xyes
; then
19632 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19635 /* end confdefs.h. */
19637 #ifdef HAVE_COMPLEX_H
19638 #include <complex.h>
19644 int (*ptr)() = (int (*)())frexp;
19653 if ac_fn_c_try_link
"$LINENO"; then :
19654 gcc_cv_math_func_frexp
=yes
19656 gcc_cv_math_func_frexp
=no
19658 rm -f core conftest.err conftest.
$ac_objext \
19659 conftest
$ac_exeext conftest.
$ac_ext
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19662 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19663 if test $gcc_cv_math_func_frexp = yes; then
19665 cat >>confdefs.h
<<_ACEOF
19666 #define HAVE_FREXP 1
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19675 $as_echo_n "checking for frexpl... " >&6; }
19676 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19677 $as_echo_n "(cached) " >&6
19679 if test x
$gcc_no_link = xyes
; then
19680 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h. */
19685 #ifdef HAVE_COMPLEX_H
19686 #include <complex.h>
19692 int (*ptr)() = (int (*)())frexpl;
19701 if ac_fn_c_try_link
"$LINENO"; then :
19702 gcc_cv_math_func_frexpl
=yes
19704 gcc_cv_math_func_frexpl
=no
19706 rm -f core conftest.err conftest.
$ac_objext \
19707 conftest
$ac_exeext conftest.
$ac_ext
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19710 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19711 if test $gcc_cv_math_func_frexpl = yes; then
19713 cat >>confdefs.h
<<_ACEOF
19714 #define HAVE_FREXPL 1
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19723 $as_echo_n "checking for hypotf... " >&6; }
19724 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19725 $as_echo_n "(cached) " >&6
19727 if test x
$gcc_no_link = xyes
; then
19728 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19731 /* end confdefs.h. */
19733 #ifdef HAVE_COMPLEX_H
19734 #include <complex.h>
19740 int (*ptr)() = (int (*)())hypotf;
19749 if ac_fn_c_try_link
"$LINENO"; then :
19750 gcc_cv_math_func_hypotf
=yes
19752 gcc_cv_math_func_hypotf
=no
19754 rm -f core conftest.err conftest.
$ac_objext \
19755 conftest
$ac_exeext conftest.
$ac_ext
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19758 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19759 if test $gcc_cv_math_func_hypotf = yes; then
19761 cat >>confdefs.h
<<_ACEOF
19762 #define HAVE_HYPOTF 1
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19771 $as_echo_n "checking for hypot... " >&6; }
19772 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19773 $as_echo_n "(cached) " >&6
19775 if test x
$gcc_no_link = xyes
; then
19776 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19779 /* end confdefs.h. */
19781 #ifdef HAVE_COMPLEX_H
19782 #include <complex.h>
19788 int (*ptr)() = (int (*)())hypot;
19797 if ac_fn_c_try_link
"$LINENO"; then :
19798 gcc_cv_math_func_hypot
=yes
19800 gcc_cv_math_func_hypot
=no
19802 rm -f core conftest.err conftest.
$ac_objext \
19803 conftest
$ac_exeext conftest.
$ac_ext
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19806 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19807 if test $gcc_cv_math_func_hypot = yes; then
19809 cat >>confdefs.h
<<_ACEOF
19810 #define HAVE_HYPOT 1
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19819 $as_echo_n "checking for hypotl... " >&6; }
19820 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19821 $as_echo_n "(cached) " >&6
19823 if test x
$gcc_no_link = xyes
; then
19824 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19827 /* end confdefs.h. */
19829 #ifdef HAVE_COMPLEX_H
19830 #include <complex.h>
19836 int (*ptr)() = (int (*)())hypotl;
19845 if ac_fn_c_try_link
"$LINENO"; then :
19846 gcc_cv_math_func_hypotl
=yes
19848 gcc_cv_math_func_hypotl
=no
19850 rm -f core conftest.err conftest.
$ac_objext \
19851 conftest
$ac_exeext conftest.
$ac_ext
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19854 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19855 if test $gcc_cv_math_func_hypotl = yes; then
19857 cat >>confdefs.h
<<_ACEOF
19858 #define HAVE_HYPOTL 1
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19867 $as_echo_n "checking for ldexpf... " >&6; }
19868 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19869 $as_echo_n "(cached) " >&6
19871 if test x
$gcc_no_link = xyes
; then
19872 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19875 /* end confdefs.h. */
19877 #ifdef HAVE_COMPLEX_H
19878 #include <complex.h>
19884 int (*ptr)() = (int (*)())ldexpf;
19893 if ac_fn_c_try_link
"$LINENO"; then :
19894 gcc_cv_math_func_ldexpf
=yes
19896 gcc_cv_math_func_ldexpf
=no
19898 rm -f core conftest.err conftest.
$ac_objext \
19899 conftest
$ac_exeext conftest.
$ac_ext
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19902 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19903 if test $gcc_cv_math_func_ldexpf = yes; then
19905 cat >>confdefs.h
<<_ACEOF
19906 #define HAVE_LDEXPF 1
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19915 $as_echo_n "checking for ldexp... " >&6; }
19916 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19917 $as_echo_n "(cached) " >&6
19919 if test x
$gcc_no_link = xyes
; then
19920 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19925 #ifdef HAVE_COMPLEX_H
19926 #include <complex.h>
19932 int (*ptr)() = (int (*)())ldexp;
19941 if ac_fn_c_try_link
"$LINENO"; then :
19942 gcc_cv_math_func_ldexp
=yes
19944 gcc_cv_math_func_ldexp
=no
19946 rm -f core conftest.err conftest.
$ac_objext \
19947 conftest
$ac_exeext conftest.
$ac_ext
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19950 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19951 if test $gcc_cv_math_func_ldexp = yes; then
19953 cat >>confdefs.h
<<_ACEOF
19954 #define HAVE_LDEXP 1
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19963 $as_echo_n "checking for ldexpl... " >&6; }
19964 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19965 $as_echo_n "(cached) " >&6
19967 if test x
$gcc_no_link = xyes
; then
19968 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19971 /* end confdefs.h. */
19973 #ifdef HAVE_COMPLEX_H
19974 #include <complex.h>
19980 int (*ptr)() = (int (*)())ldexpl;
19989 if ac_fn_c_try_link
"$LINENO"; then :
19990 gcc_cv_math_func_ldexpl
=yes
19992 gcc_cv_math_func_ldexpl
=no
19994 rm -f core conftest.err conftest.
$ac_objext \
19995 conftest
$ac_exeext conftest.
$ac_ext
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
19998 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
19999 if test $gcc_cv_math_func_ldexpl = yes; then
20001 cat >>confdefs.h
<<_ACEOF
20002 #define HAVE_LDEXPL 1
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20011 $as_echo_n "checking for logf... " >&6; }
20012 if test "${gcc_cv_math_func_logf+set}" = set; then :
20013 $as_echo_n "(cached) " >&6
20015 if test x
$gcc_no_link = xyes
; then
20016 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20019 /* end confdefs.h. */
20021 #ifdef HAVE_COMPLEX_H
20022 #include <complex.h>
20028 int (*ptr)() = (int (*)())logf;
20037 if ac_fn_c_try_link
"$LINENO"; then :
20038 gcc_cv_math_func_logf
=yes
20040 gcc_cv_math_func_logf
=no
20042 rm -f core conftest.err conftest.
$ac_objext \
20043 conftest
$ac_exeext conftest.
$ac_ext
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20046 $as_echo "$gcc_cv_math_func_logf" >&6; }
20047 if test $gcc_cv_math_func_logf = yes; then
20049 cat >>confdefs.h
<<_ACEOF
20050 #define HAVE_LOGF 1
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20059 $as_echo_n "checking for log... " >&6; }
20060 if test "${gcc_cv_math_func_log+set}" = set; then :
20061 $as_echo_n "(cached) " >&6
20063 if test x
$gcc_no_link = xyes
; then
20064 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20067 /* end confdefs.h. */
20069 #ifdef HAVE_COMPLEX_H
20070 #include <complex.h>
20076 int (*ptr)() = (int (*)())log;
20085 if ac_fn_c_try_link
"$LINENO"; then :
20086 gcc_cv_math_func_log
=yes
20088 gcc_cv_math_func_log
=no
20090 rm -f core conftest.err conftest.
$ac_objext \
20091 conftest
$ac_exeext conftest.
$ac_ext
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20094 $as_echo "$gcc_cv_math_func_log" >&6; }
20095 if test $gcc_cv_math_func_log = yes; then
20097 cat >>confdefs.h
<<_ACEOF
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20107 $as_echo_n "checking for logl... " >&6; }
20108 if test "${gcc_cv_math_func_logl+set}" = set; then :
20109 $as_echo_n "(cached) " >&6
20111 if test x
$gcc_no_link = xyes
; then
20112 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20115 /* end confdefs.h. */
20117 #ifdef HAVE_COMPLEX_H
20118 #include <complex.h>
20124 int (*ptr)() = (int (*)())logl;
20133 if ac_fn_c_try_link
"$LINENO"; then :
20134 gcc_cv_math_func_logl
=yes
20136 gcc_cv_math_func_logl
=no
20138 rm -f core conftest.err conftest.
$ac_objext \
20139 conftest
$ac_exeext conftest.
$ac_ext
20141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20142 $as_echo "$gcc_cv_math_func_logl" >&6; }
20143 if test $gcc_cv_math_func_logl = yes; then
20145 cat >>confdefs.h
<<_ACEOF
20146 #define HAVE_LOGL 1
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20155 $as_echo_n "checking for clogf... " >&6; }
20156 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20157 $as_echo_n "(cached) " >&6
20159 if test x
$gcc_no_link = xyes
; then
20160 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20163 /* end confdefs.h. */
20165 #ifdef HAVE_COMPLEX_H
20166 #include <complex.h>
20172 int (*ptr)() = (int (*)())clogf;
20181 if ac_fn_c_try_link
"$LINENO"; then :
20182 gcc_cv_math_func_clogf
=yes
20184 gcc_cv_math_func_clogf
=no
20186 rm -f core conftest.err conftest.
$ac_objext \
20187 conftest
$ac_exeext conftest.
$ac_ext
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20190 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20191 if test $gcc_cv_math_func_clogf = yes; then
20193 cat >>confdefs.h
<<_ACEOF
20194 #define HAVE_CLOGF 1
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20203 $as_echo_n "checking for clog... " >&6; }
20204 if test "${gcc_cv_math_func_clog+set}" = set; then :
20205 $as_echo_n "(cached) " >&6
20207 if test x
$gcc_no_link = xyes
; then
20208 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20211 /* end confdefs.h. */
20213 #ifdef HAVE_COMPLEX_H
20214 #include <complex.h>
20220 int (*ptr)() = (int (*)())clog;
20229 if ac_fn_c_try_link
"$LINENO"; then :
20230 gcc_cv_math_func_clog
=yes
20232 gcc_cv_math_func_clog
=no
20234 rm -f core conftest.err conftest.
$ac_objext \
20235 conftest
$ac_exeext conftest.
$ac_ext
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20238 $as_echo "$gcc_cv_math_func_clog" >&6; }
20239 if test $gcc_cv_math_func_clog = yes; then
20241 cat >>confdefs.h
<<_ACEOF
20242 #define HAVE_CLOG 1
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20251 $as_echo_n "checking for clogl... " >&6; }
20252 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20253 $as_echo_n "(cached) " >&6
20255 if test x
$gcc_no_link = xyes
; then
20256 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20259 /* end confdefs.h. */
20261 #ifdef HAVE_COMPLEX_H
20262 #include <complex.h>
20268 int (*ptr)() = (int (*)())clogl;
20277 if ac_fn_c_try_link
"$LINENO"; then :
20278 gcc_cv_math_func_clogl
=yes
20280 gcc_cv_math_func_clogl
=no
20282 rm -f core conftest.err conftest.
$ac_objext \
20283 conftest
$ac_exeext conftest.
$ac_ext
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20286 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20287 if test $gcc_cv_math_func_clogl = yes; then
20289 cat >>confdefs.h
<<_ACEOF
20290 #define HAVE_CLOGL 1
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20299 $as_echo_n "checking for log10f... " >&6; }
20300 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20301 $as_echo_n "(cached) " >&6
20303 if test x
$gcc_no_link = xyes
; then
20304 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20307 /* end confdefs.h. */
20309 #ifdef HAVE_COMPLEX_H
20310 #include <complex.h>
20316 int (*ptr)() = (int (*)())log10f;
20325 if ac_fn_c_try_link
"$LINENO"; then :
20326 gcc_cv_math_func_log10f
=yes
20328 gcc_cv_math_func_log10f
=no
20330 rm -f core conftest.err conftest.
$ac_objext \
20331 conftest
$ac_exeext conftest.
$ac_ext
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20334 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20335 if test $gcc_cv_math_func_log10f = yes; then
20337 cat >>confdefs.h
<<_ACEOF
20338 #define HAVE_LOG10F 1
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20347 $as_echo_n "checking for log10... " >&6; }
20348 if test "${gcc_cv_math_func_log10+set}" = set; then :
20349 $as_echo_n "(cached) " >&6
20351 if test x
$gcc_no_link = xyes
; then
20352 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20355 /* end confdefs.h. */
20357 #ifdef HAVE_COMPLEX_H
20358 #include <complex.h>
20364 int (*ptr)() = (int (*)())log10;
20373 if ac_fn_c_try_link
"$LINENO"; then :
20374 gcc_cv_math_func_log10
=yes
20376 gcc_cv_math_func_log10
=no
20378 rm -f core conftest.err conftest.
$ac_objext \
20379 conftest
$ac_exeext conftest.
$ac_ext
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20382 $as_echo "$gcc_cv_math_func_log10" >&6; }
20383 if test $gcc_cv_math_func_log10 = yes; then
20385 cat >>confdefs.h
<<_ACEOF
20386 #define HAVE_LOG10 1
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20395 $as_echo_n "checking for log10l... " >&6; }
20396 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20397 $as_echo_n "(cached) " >&6
20399 if test x
$gcc_no_link = xyes
; then
20400 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20403 /* end confdefs.h. */
20405 #ifdef HAVE_COMPLEX_H
20406 #include <complex.h>
20412 int (*ptr)() = (int (*)())log10l;
20421 if ac_fn_c_try_link
"$LINENO"; then :
20422 gcc_cv_math_func_log10l
=yes
20424 gcc_cv_math_func_log10l
=no
20426 rm -f core conftest.err conftest.
$ac_objext \
20427 conftest
$ac_exeext conftest.
$ac_ext
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20430 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20431 if test $gcc_cv_math_func_log10l = yes; then
20433 cat >>confdefs.h
<<_ACEOF
20434 #define HAVE_LOG10L 1
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20443 $as_echo_n "checking for clog10f... " >&6; }
20444 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20445 $as_echo_n "(cached) " >&6
20447 if test x
$gcc_no_link = xyes
; then
20448 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20451 /* end confdefs.h. */
20453 #ifdef HAVE_COMPLEX_H
20454 #include <complex.h>
20460 int (*ptr)() = (int (*)())clog10f;
20469 if ac_fn_c_try_link
"$LINENO"; then :
20470 gcc_cv_math_func_clog10f
=yes
20472 gcc_cv_math_func_clog10f
=no
20474 rm -f core conftest.err conftest.
$ac_objext \
20475 conftest
$ac_exeext conftest.
$ac_ext
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20478 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20479 if test $gcc_cv_math_func_clog10f = yes; then
20481 cat >>confdefs.h
<<_ACEOF
20482 #define HAVE_CLOG10F 1
20490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20491 $as_echo_n "checking for clog10... " >&6; }
20492 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20493 $as_echo_n "(cached) " >&6
20495 if test x
$gcc_no_link = xyes
; then
20496 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20499 /* end confdefs.h. */
20501 #ifdef HAVE_COMPLEX_H
20502 #include <complex.h>
20508 int (*ptr)() = (int (*)())clog10;
20517 if ac_fn_c_try_link
"$LINENO"; then :
20518 gcc_cv_math_func_clog10
=yes
20520 gcc_cv_math_func_clog10
=no
20522 rm -f core conftest.err conftest.
$ac_objext \
20523 conftest
$ac_exeext conftest.
$ac_ext
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20526 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20527 if test $gcc_cv_math_func_clog10 = yes; then
20529 cat >>confdefs.h
<<_ACEOF
20530 #define HAVE_CLOG10 1
20538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20539 $as_echo_n "checking for clog10l... " >&6; }
20540 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20541 $as_echo_n "(cached) " >&6
20543 if test x
$gcc_no_link = xyes
; then
20544 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20547 /* end confdefs.h. */
20549 #ifdef HAVE_COMPLEX_H
20550 #include <complex.h>
20556 int (*ptr)() = (int (*)())clog10l;
20565 if ac_fn_c_try_link
"$LINENO"; then :
20566 gcc_cv_math_func_clog10l
=yes
20568 gcc_cv_math_func_clog10l
=no
20570 rm -f core conftest.err conftest.
$ac_objext \
20571 conftest
$ac_exeext conftest.
$ac_ext
20573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20574 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20575 if test $gcc_cv_math_func_clog10l = yes; then
20577 cat >>confdefs.h
<<_ACEOF
20578 #define HAVE_CLOG10L 1
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20587 $as_echo_n "checking for nextafterf... " >&6; }
20588 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20589 $as_echo_n "(cached) " >&6
20591 if test x
$gcc_no_link = xyes
; then
20592 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20597 #ifdef HAVE_COMPLEX_H
20598 #include <complex.h>
20604 int (*ptr)() = (int (*)())nextafterf;
20613 if ac_fn_c_try_link
"$LINENO"; then :
20614 gcc_cv_math_func_nextafterf
=yes
20616 gcc_cv_math_func_nextafterf
=no
20618 rm -f core conftest.err conftest.
$ac_objext \
20619 conftest
$ac_exeext conftest.
$ac_ext
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20622 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20623 if test $gcc_cv_math_func_nextafterf = yes; then
20625 cat >>confdefs.h
<<_ACEOF
20626 #define HAVE_NEXTAFTERF 1
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20635 $as_echo_n "checking for nextafter... " >&6; }
20636 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20637 $as_echo_n "(cached) " >&6
20639 if test x
$gcc_no_link = xyes
; then
20640 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20643 /* end confdefs.h. */
20645 #ifdef HAVE_COMPLEX_H
20646 #include <complex.h>
20652 int (*ptr)() = (int (*)())nextafter;
20661 if ac_fn_c_try_link
"$LINENO"; then :
20662 gcc_cv_math_func_nextafter
=yes
20664 gcc_cv_math_func_nextafter
=no
20666 rm -f core conftest.err conftest.
$ac_objext \
20667 conftest
$ac_exeext conftest.
$ac_ext
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20670 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20671 if test $gcc_cv_math_func_nextafter = yes; then
20673 cat >>confdefs.h
<<_ACEOF
20674 #define HAVE_NEXTAFTER 1
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20683 $as_echo_n "checking for nextafterl... " >&6; }
20684 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20685 $as_echo_n "(cached) " >&6
20687 if test x
$gcc_no_link = xyes
; then
20688 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20691 /* end confdefs.h. */
20693 #ifdef HAVE_COMPLEX_H
20694 #include <complex.h>
20700 int (*ptr)() = (int (*)())nextafterl;
20709 if ac_fn_c_try_link
"$LINENO"; then :
20710 gcc_cv_math_func_nextafterl
=yes
20712 gcc_cv_math_func_nextafterl
=no
20714 rm -f core conftest.err conftest.
$ac_objext \
20715 conftest
$ac_exeext conftest.
$ac_ext
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20718 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20719 if test $gcc_cv_math_func_nextafterl = yes; then
20721 cat >>confdefs.h
<<_ACEOF
20722 #define HAVE_NEXTAFTERL 1
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20731 $as_echo_n "checking for powf... " >&6; }
20732 if test "${gcc_cv_math_func_powf+set}" = set; then :
20733 $as_echo_n "(cached) " >&6
20735 if test x
$gcc_no_link = xyes
; then
20736 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20739 /* end confdefs.h. */
20741 #ifdef HAVE_COMPLEX_H
20742 #include <complex.h>
20748 int (*ptr)() = (int (*)())powf;
20757 if ac_fn_c_try_link
"$LINENO"; then :
20758 gcc_cv_math_func_powf
=yes
20760 gcc_cv_math_func_powf
=no
20762 rm -f core conftest.err conftest.
$ac_objext \
20763 conftest
$ac_exeext conftest.
$ac_ext
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20766 $as_echo "$gcc_cv_math_func_powf" >&6; }
20767 if test $gcc_cv_math_func_powf = yes; then
20769 cat >>confdefs.h
<<_ACEOF
20770 #define HAVE_POWF 1
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20779 $as_echo_n "checking for pow... " >&6; }
20780 if test "${gcc_cv_math_func_pow+set}" = set; then :
20781 $as_echo_n "(cached) " >&6
20783 if test x
$gcc_no_link = xyes
; then
20784 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20787 /* end confdefs.h. */
20789 #ifdef HAVE_COMPLEX_H
20790 #include <complex.h>
20796 int (*ptr)() = (int (*)())pow;
20805 if ac_fn_c_try_link
"$LINENO"; then :
20806 gcc_cv_math_func_pow
=yes
20808 gcc_cv_math_func_pow
=no
20810 rm -f core conftest.err conftest.
$ac_objext \
20811 conftest
$ac_exeext conftest.
$ac_ext
20813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20814 $as_echo "$gcc_cv_math_func_pow" >&6; }
20815 if test $gcc_cv_math_func_pow = yes; then
20817 cat >>confdefs.h
<<_ACEOF
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20827 $as_echo_n "checking for powl... " >&6; }
20828 if test "${gcc_cv_math_func_powl+set}" = set; then :
20829 $as_echo_n "(cached) " >&6
20831 if test x
$gcc_no_link = xyes
; then
20832 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20835 /* end confdefs.h. */
20837 #ifdef HAVE_COMPLEX_H
20838 #include <complex.h>
20844 int (*ptr)() = (int (*)())powl;
20853 if ac_fn_c_try_link
"$LINENO"; then :
20854 gcc_cv_math_func_powl
=yes
20856 gcc_cv_math_func_powl
=no
20858 rm -f core conftest.err conftest.
$ac_objext \
20859 conftest
$ac_exeext conftest.
$ac_ext
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20862 $as_echo "$gcc_cv_math_func_powl" >&6; }
20863 if test $gcc_cv_math_func_powl = yes; then
20865 cat >>confdefs.h
<<_ACEOF
20866 #define HAVE_POWL 1
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20875 $as_echo_n "checking for cpowf... " >&6; }
20876 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20877 $as_echo_n "(cached) " >&6
20879 if test x
$gcc_no_link = xyes
; then
20880 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h. */
20885 #ifdef HAVE_COMPLEX_H
20886 #include <complex.h>
20892 int (*ptr)() = (int (*)())cpowf;
20901 if ac_fn_c_try_link
"$LINENO"; then :
20902 gcc_cv_math_func_cpowf
=yes
20904 gcc_cv_math_func_cpowf
=no
20906 rm -f core conftest.err conftest.
$ac_objext \
20907 conftest
$ac_exeext conftest.
$ac_ext
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20910 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20911 if test $gcc_cv_math_func_cpowf = yes; then
20913 cat >>confdefs.h
<<_ACEOF
20914 #define HAVE_CPOWF 1
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20923 $as_echo_n "checking for cpow... " >&6; }
20924 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20925 $as_echo_n "(cached) " >&6
20927 if test x
$gcc_no_link = xyes
; then
20928 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20931 /* end confdefs.h. */
20933 #ifdef HAVE_COMPLEX_H
20934 #include <complex.h>
20940 int (*ptr)() = (int (*)())cpow;
20949 if ac_fn_c_try_link
"$LINENO"; then :
20950 gcc_cv_math_func_cpow
=yes
20952 gcc_cv_math_func_cpow
=no
20954 rm -f core conftest.err conftest.
$ac_objext \
20955 conftest
$ac_exeext conftest.
$ac_ext
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20958 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20959 if test $gcc_cv_math_func_cpow = yes; then
20961 cat >>confdefs.h
<<_ACEOF
20962 #define HAVE_CPOW 1
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20971 $as_echo_n "checking for cpowl... " >&6; }
20972 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20973 $as_echo_n "(cached) " >&6
20975 if test x
$gcc_no_link = xyes
; then
20976 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20979 /* end confdefs.h. */
20981 #ifdef HAVE_COMPLEX_H
20982 #include <complex.h>
20988 int (*ptr)() = (int (*)())cpowl;
20997 if ac_fn_c_try_link
"$LINENO"; then :
20998 gcc_cv_math_func_cpowl
=yes
21000 gcc_cv_math_func_cpowl
=no
21002 rm -f core conftest.err conftest.
$ac_objext \
21003 conftest
$ac_exeext conftest.
$ac_ext
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21006 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21007 if test $gcc_cv_math_func_cpowl = yes; then
21009 cat >>confdefs.h
<<_ACEOF
21010 #define HAVE_CPOWL 1
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21019 $as_echo_n "checking for roundf... " >&6; }
21020 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21021 $as_echo_n "(cached) " >&6
21023 if test x
$gcc_no_link = xyes
; then
21024 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21027 /* end confdefs.h. */
21029 #ifdef HAVE_COMPLEX_H
21030 #include <complex.h>
21036 int (*ptr)() = (int (*)())roundf;
21045 if ac_fn_c_try_link
"$LINENO"; then :
21046 gcc_cv_math_func_roundf
=yes
21048 gcc_cv_math_func_roundf
=no
21050 rm -f core conftest.err conftest.
$ac_objext \
21051 conftest
$ac_exeext conftest.
$ac_ext
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21054 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21055 if test $gcc_cv_math_func_roundf = yes; then
21057 cat >>confdefs.h
<<_ACEOF
21058 #define HAVE_ROUNDF 1
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21067 $as_echo_n "checking for round... " >&6; }
21068 if test "${gcc_cv_math_func_round+set}" = set; then :
21069 $as_echo_n "(cached) " >&6
21071 if test x
$gcc_no_link = xyes
; then
21072 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21075 /* end confdefs.h. */
21077 #ifdef HAVE_COMPLEX_H
21078 #include <complex.h>
21084 int (*ptr)() = (int (*)())round;
21093 if ac_fn_c_try_link
"$LINENO"; then :
21094 gcc_cv_math_func_round
=yes
21096 gcc_cv_math_func_round
=no
21098 rm -f core conftest.err conftest.
$ac_objext \
21099 conftest
$ac_exeext conftest.
$ac_ext
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21102 $as_echo "$gcc_cv_math_func_round" >&6; }
21103 if test $gcc_cv_math_func_round = yes; then
21105 cat >>confdefs.h
<<_ACEOF
21106 #define HAVE_ROUND 1
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21115 $as_echo_n "checking for roundl... " >&6; }
21116 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21117 $as_echo_n "(cached) " >&6
21119 if test x
$gcc_no_link = xyes
; then
21120 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21123 /* end confdefs.h. */
21125 #ifdef HAVE_COMPLEX_H
21126 #include <complex.h>
21132 int (*ptr)() = (int (*)())roundl;
21141 if ac_fn_c_try_link
"$LINENO"; then :
21142 gcc_cv_math_func_roundl
=yes
21144 gcc_cv_math_func_roundl
=no
21146 rm -f core conftest.err conftest.
$ac_objext \
21147 conftest
$ac_exeext conftest.
$ac_ext
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21150 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21151 if test $gcc_cv_math_func_roundl = yes; then
21153 cat >>confdefs.h
<<_ACEOF
21154 #define HAVE_ROUNDL 1
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21163 $as_echo_n "checking for lroundf... " >&6; }
21164 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21165 $as_echo_n "(cached) " >&6
21167 if test x
$gcc_no_link = xyes
; then
21168 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21171 /* end confdefs.h. */
21173 #ifdef HAVE_COMPLEX_H
21174 #include <complex.h>
21180 int (*ptr)() = (int (*)())lroundf;
21189 if ac_fn_c_try_link
"$LINENO"; then :
21190 gcc_cv_math_func_lroundf
=yes
21192 gcc_cv_math_func_lroundf
=no
21194 rm -f core conftest.err conftest.
$ac_objext \
21195 conftest
$ac_exeext conftest.
$ac_ext
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21198 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21199 if test $gcc_cv_math_func_lroundf = yes; then
21201 cat >>confdefs.h
<<_ACEOF
21202 #define HAVE_LROUNDF 1
21210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21211 $as_echo_n "checking for lround... " >&6; }
21212 if test "${gcc_cv_math_func_lround+set}" = set; then :
21213 $as_echo_n "(cached) " >&6
21215 if test x
$gcc_no_link = xyes
; then
21216 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h. */
21221 #ifdef HAVE_COMPLEX_H
21222 #include <complex.h>
21228 int (*ptr)() = (int (*)())lround;
21237 if ac_fn_c_try_link
"$LINENO"; then :
21238 gcc_cv_math_func_lround
=yes
21240 gcc_cv_math_func_lround
=no
21242 rm -f core conftest.err conftest.
$ac_objext \
21243 conftest
$ac_exeext conftest.
$ac_ext
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21246 $as_echo "$gcc_cv_math_func_lround" >&6; }
21247 if test $gcc_cv_math_func_lround = yes; then
21249 cat >>confdefs.h
<<_ACEOF
21250 #define HAVE_LROUND 1
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21259 $as_echo_n "checking for lroundl... " >&6; }
21260 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21261 $as_echo_n "(cached) " >&6
21263 if test x
$gcc_no_link = xyes
; then
21264 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21267 /* end confdefs.h. */
21269 #ifdef HAVE_COMPLEX_H
21270 #include <complex.h>
21276 int (*ptr)() = (int (*)())lroundl;
21285 if ac_fn_c_try_link
"$LINENO"; then :
21286 gcc_cv_math_func_lroundl
=yes
21288 gcc_cv_math_func_lroundl
=no
21290 rm -f core conftest.err conftest.
$ac_objext \
21291 conftest
$ac_exeext conftest.
$ac_ext
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21294 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21295 if test $gcc_cv_math_func_lroundl = yes; then
21297 cat >>confdefs.h
<<_ACEOF
21298 #define HAVE_LROUNDL 1
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21307 $as_echo_n "checking for llroundf... " >&6; }
21308 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21309 $as_echo_n "(cached) " >&6
21311 if test x
$gcc_no_link = xyes
; then
21312 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21315 /* end confdefs.h. */
21317 #ifdef HAVE_COMPLEX_H
21318 #include <complex.h>
21324 int (*ptr)() = (int (*)())llroundf;
21333 if ac_fn_c_try_link
"$LINENO"; then :
21334 gcc_cv_math_func_llroundf
=yes
21336 gcc_cv_math_func_llroundf
=no
21338 rm -f core conftest.err conftest.
$ac_objext \
21339 conftest
$ac_exeext conftest.
$ac_ext
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21342 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21343 if test $gcc_cv_math_func_llroundf = yes; then
21345 cat >>confdefs.h
<<_ACEOF
21346 #define HAVE_LLROUNDF 1
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21355 $as_echo_n "checking for llround... " >&6; }
21356 if test "${gcc_cv_math_func_llround+set}" = set; then :
21357 $as_echo_n "(cached) " >&6
21359 if test x
$gcc_no_link = xyes
; then
21360 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21363 /* end confdefs.h. */
21365 #ifdef HAVE_COMPLEX_H
21366 #include <complex.h>
21372 int (*ptr)() = (int (*)())llround;
21381 if ac_fn_c_try_link
"$LINENO"; then :
21382 gcc_cv_math_func_llround
=yes
21384 gcc_cv_math_func_llround
=no
21386 rm -f core conftest.err conftest.
$ac_objext \
21387 conftest
$ac_exeext conftest.
$ac_ext
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21390 $as_echo "$gcc_cv_math_func_llround" >&6; }
21391 if test $gcc_cv_math_func_llround = yes; then
21393 cat >>confdefs.h
<<_ACEOF
21394 #define HAVE_LLROUND 1
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21403 $as_echo_n "checking for llroundl... " >&6; }
21404 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21405 $as_echo_n "(cached) " >&6
21407 if test x
$gcc_no_link = xyes
; then
21408 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21411 /* end confdefs.h. */
21413 #ifdef HAVE_COMPLEX_H
21414 #include <complex.h>
21420 int (*ptr)() = (int (*)())llroundl;
21429 if ac_fn_c_try_link
"$LINENO"; then :
21430 gcc_cv_math_func_llroundl
=yes
21432 gcc_cv_math_func_llroundl
=no
21434 rm -f core conftest.err conftest.
$ac_objext \
21435 conftest
$ac_exeext conftest.
$ac_ext
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21438 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21439 if test $gcc_cv_math_func_llroundl = yes; then
21441 cat >>confdefs.h
<<_ACEOF
21442 #define HAVE_LLROUNDL 1
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21451 $as_echo_n "checking for scalbnf... " >&6; }
21452 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21453 $as_echo_n "(cached) " >&6
21455 if test x
$gcc_no_link = xyes
; then
21456 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21459 /* end confdefs.h. */
21461 #ifdef HAVE_COMPLEX_H
21462 #include <complex.h>
21468 int (*ptr)() = (int (*)())scalbnf;
21477 if ac_fn_c_try_link
"$LINENO"; then :
21478 gcc_cv_math_func_scalbnf
=yes
21480 gcc_cv_math_func_scalbnf
=no
21482 rm -f core conftest.err conftest.
$ac_objext \
21483 conftest
$ac_exeext conftest.
$ac_ext
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21486 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21487 if test $gcc_cv_math_func_scalbnf = yes; then
21489 cat >>confdefs.h
<<_ACEOF
21490 #define HAVE_SCALBNF 1
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21499 $as_echo_n "checking for scalbn... " >&6; }
21500 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21501 $as_echo_n "(cached) " >&6
21503 if test x
$gcc_no_link = xyes
; then
21504 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21507 /* end confdefs.h. */
21509 #ifdef HAVE_COMPLEX_H
21510 #include <complex.h>
21516 int (*ptr)() = (int (*)())scalbn;
21525 if ac_fn_c_try_link
"$LINENO"; then :
21526 gcc_cv_math_func_scalbn
=yes
21528 gcc_cv_math_func_scalbn
=no
21530 rm -f core conftest.err conftest.
$ac_objext \
21531 conftest
$ac_exeext conftest.
$ac_ext
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21534 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21535 if test $gcc_cv_math_func_scalbn = yes; then
21537 cat >>confdefs.h
<<_ACEOF
21538 #define HAVE_SCALBN 1
21546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21547 $as_echo_n "checking for scalbnl... " >&6; }
21548 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21549 $as_echo_n "(cached) " >&6
21551 if test x
$gcc_no_link = xyes
; then
21552 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21555 /* end confdefs.h. */
21557 #ifdef HAVE_COMPLEX_H
21558 #include <complex.h>
21564 int (*ptr)() = (int (*)())scalbnl;
21573 if ac_fn_c_try_link
"$LINENO"; then :
21574 gcc_cv_math_func_scalbnl
=yes
21576 gcc_cv_math_func_scalbnl
=no
21578 rm -f core conftest.err conftest.
$ac_objext \
21579 conftest
$ac_exeext conftest.
$ac_ext
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21582 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21583 if test $gcc_cv_math_func_scalbnl = yes; then
21585 cat >>confdefs.h
<<_ACEOF
21586 #define HAVE_SCALBNL 1
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21595 $as_echo_n "checking for sinf... " >&6; }
21596 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21597 $as_echo_n "(cached) " >&6
21599 if test x
$gcc_no_link = xyes
; then
21600 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21603 /* end confdefs.h. */
21605 #ifdef HAVE_COMPLEX_H
21606 #include <complex.h>
21612 int (*ptr)() = (int (*)())sinf;
21621 if ac_fn_c_try_link
"$LINENO"; then :
21622 gcc_cv_math_func_sinf
=yes
21624 gcc_cv_math_func_sinf
=no
21626 rm -f core conftest.err conftest.
$ac_objext \
21627 conftest
$ac_exeext conftest.
$ac_ext
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21630 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21631 if test $gcc_cv_math_func_sinf = yes; then
21633 cat >>confdefs.h
<<_ACEOF
21634 #define HAVE_SINF 1
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21643 $as_echo_n "checking for sin... " >&6; }
21644 if test "${gcc_cv_math_func_sin+set}" = set; then :
21645 $as_echo_n "(cached) " >&6
21647 if test x
$gcc_no_link = xyes
; then
21648 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21651 /* end confdefs.h. */
21653 #ifdef HAVE_COMPLEX_H
21654 #include <complex.h>
21660 int (*ptr)() = (int (*)())sin;
21669 if ac_fn_c_try_link
"$LINENO"; then :
21670 gcc_cv_math_func_sin
=yes
21672 gcc_cv_math_func_sin
=no
21674 rm -f core conftest.err conftest.
$ac_objext \
21675 conftest
$ac_exeext conftest.
$ac_ext
21677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21678 $as_echo "$gcc_cv_math_func_sin" >&6; }
21679 if test $gcc_cv_math_func_sin = yes; then
21681 cat >>confdefs.h
<<_ACEOF
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21691 $as_echo_n "checking for sinl... " >&6; }
21692 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21693 $as_echo_n "(cached) " >&6
21695 if test x
$gcc_no_link = xyes
; then
21696 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21699 /* end confdefs.h. */
21701 #ifdef HAVE_COMPLEX_H
21702 #include <complex.h>
21708 int (*ptr)() = (int (*)())sinl;
21717 if ac_fn_c_try_link
"$LINENO"; then :
21718 gcc_cv_math_func_sinl
=yes
21720 gcc_cv_math_func_sinl
=no
21722 rm -f core conftest.err conftest.
$ac_objext \
21723 conftest
$ac_exeext conftest.
$ac_ext
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21726 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21727 if test $gcc_cv_math_func_sinl = yes; then
21729 cat >>confdefs.h
<<_ACEOF
21730 #define HAVE_SINL 1
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21739 $as_echo_n "checking for csinf... " >&6; }
21740 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21741 $as_echo_n "(cached) " >&6
21743 if test x
$gcc_no_link = xyes
; then
21744 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21747 /* end confdefs.h. */
21749 #ifdef HAVE_COMPLEX_H
21750 #include <complex.h>
21756 int (*ptr)() = (int (*)())csinf;
21765 if ac_fn_c_try_link
"$LINENO"; then :
21766 gcc_cv_math_func_csinf
=yes
21768 gcc_cv_math_func_csinf
=no
21770 rm -f core conftest.err conftest.
$ac_objext \
21771 conftest
$ac_exeext conftest.
$ac_ext
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21774 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21775 if test $gcc_cv_math_func_csinf = yes; then
21777 cat >>confdefs.h
<<_ACEOF
21778 #define HAVE_CSINF 1
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21787 $as_echo_n "checking for csin... " >&6; }
21788 if test "${gcc_cv_math_func_csin+set}" = set; then :
21789 $as_echo_n "(cached) " >&6
21791 if test x
$gcc_no_link = xyes
; then
21792 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21795 /* end confdefs.h. */
21797 #ifdef HAVE_COMPLEX_H
21798 #include <complex.h>
21804 int (*ptr)() = (int (*)())csin;
21813 if ac_fn_c_try_link
"$LINENO"; then :
21814 gcc_cv_math_func_csin
=yes
21816 gcc_cv_math_func_csin
=no
21818 rm -f core conftest.err conftest.
$ac_objext \
21819 conftest
$ac_exeext conftest.
$ac_ext
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21822 $as_echo "$gcc_cv_math_func_csin" >&6; }
21823 if test $gcc_cv_math_func_csin = yes; then
21825 cat >>confdefs.h
<<_ACEOF
21826 #define HAVE_CSIN 1
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21835 $as_echo_n "checking for csinl... " >&6; }
21836 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21837 $as_echo_n "(cached) " >&6
21839 if test x
$gcc_no_link = xyes
; then
21840 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21843 /* end confdefs.h. */
21845 #ifdef HAVE_COMPLEX_H
21846 #include <complex.h>
21852 int (*ptr)() = (int (*)())csinl;
21861 if ac_fn_c_try_link
"$LINENO"; then :
21862 gcc_cv_math_func_csinl
=yes
21864 gcc_cv_math_func_csinl
=no
21866 rm -f core conftest.err conftest.
$ac_objext \
21867 conftest
$ac_exeext conftest.
$ac_ext
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21870 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21871 if test $gcc_cv_math_func_csinl = yes; then
21873 cat >>confdefs.h
<<_ACEOF
21874 #define HAVE_CSINL 1
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21883 $as_echo_n "checking for sinhf... " >&6; }
21884 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21885 $as_echo_n "(cached) " >&6
21887 if test x
$gcc_no_link = xyes
; then
21888 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h. */
21893 #ifdef HAVE_COMPLEX_H
21894 #include <complex.h>
21900 int (*ptr)() = (int (*)())sinhf;
21909 if ac_fn_c_try_link
"$LINENO"; then :
21910 gcc_cv_math_func_sinhf
=yes
21912 gcc_cv_math_func_sinhf
=no
21914 rm -f core conftest.err conftest.
$ac_objext \
21915 conftest
$ac_exeext conftest.
$ac_ext
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21918 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21919 if test $gcc_cv_math_func_sinhf = yes; then
21921 cat >>confdefs.h
<<_ACEOF
21922 #define HAVE_SINHF 1
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21931 $as_echo_n "checking for sinh... " >&6; }
21932 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21933 $as_echo_n "(cached) " >&6
21935 if test x
$gcc_no_link = xyes
; then
21936 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21939 /* end confdefs.h. */
21941 #ifdef HAVE_COMPLEX_H
21942 #include <complex.h>
21948 int (*ptr)() = (int (*)())sinh;
21957 if ac_fn_c_try_link
"$LINENO"; then :
21958 gcc_cv_math_func_sinh
=yes
21960 gcc_cv_math_func_sinh
=no
21962 rm -f core conftest.err conftest.
$ac_objext \
21963 conftest
$ac_exeext conftest.
$ac_ext
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21966 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21967 if test $gcc_cv_math_func_sinh = yes; then
21969 cat >>confdefs.h
<<_ACEOF
21970 #define HAVE_SINH 1
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21979 $as_echo_n "checking for sinhl... " >&6; }
21980 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21981 $as_echo_n "(cached) " >&6
21983 if test x
$gcc_no_link = xyes
; then
21984 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21987 /* end confdefs.h. */
21989 #ifdef HAVE_COMPLEX_H
21990 #include <complex.h>
21996 int (*ptr)() = (int (*)())sinhl;
22005 if ac_fn_c_try_link
"$LINENO"; then :
22006 gcc_cv_math_func_sinhl
=yes
22008 gcc_cv_math_func_sinhl
=no
22010 rm -f core conftest.err conftest.
$ac_objext \
22011 conftest
$ac_exeext conftest.
$ac_ext
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22014 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22015 if test $gcc_cv_math_func_sinhl = yes; then
22017 cat >>confdefs.h
<<_ACEOF
22018 #define HAVE_SINHL 1
22026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22027 $as_echo_n "checking for csinhf... " >&6; }
22028 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22029 $as_echo_n "(cached) " >&6
22031 if test x
$gcc_no_link = xyes
; then
22032 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22035 /* end confdefs.h. */
22037 #ifdef HAVE_COMPLEX_H
22038 #include <complex.h>
22044 int (*ptr)() = (int (*)())csinhf;
22053 if ac_fn_c_try_link
"$LINENO"; then :
22054 gcc_cv_math_func_csinhf
=yes
22056 gcc_cv_math_func_csinhf
=no
22058 rm -f core conftest.err conftest.
$ac_objext \
22059 conftest
$ac_exeext conftest.
$ac_ext
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22062 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22063 if test $gcc_cv_math_func_csinhf = yes; then
22065 cat >>confdefs.h
<<_ACEOF
22066 #define HAVE_CSINHF 1
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22075 $as_echo_n "checking for csinh... " >&6; }
22076 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22077 $as_echo_n "(cached) " >&6
22079 if test x
$gcc_no_link = xyes
; then
22080 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22083 /* end confdefs.h. */
22085 #ifdef HAVE_COMPLEX_H
22086 #include <complex.h>
22092 int (*ptr)() = (int (*)())csinh;
22101 if ac_fn_c_try_link
"$LINENO"; then :
22102 gcc_cv_math_func_csinh
=yes
22104 gcc_cv_math_func_csinh
=no
22106 rm -f core conftest.err conftest.
$ac_objext \
22107 conftest
$ac_exeext conftest.
$ac_ext
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22110 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22111 if test $gcc_cv_math_func_csinh = yes; then
22113 cat >>confdefs.h
<<_ACEOF
22114 #define HAVE_CSINH 1
22122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22123 $as_echo_n "checking for csinhl... " >&6; }
22124 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22125 $as_echo_n "(cached) " >&6
22127 if test x
$gcc_no_link = xyes
; then
22128 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22131 /* end confdefs.h. */
22133 #ifdef HAVE_COMPLEX_H
22134 #include <complex.h>
22140 int (*ptr)() = (int (*)())csinhl;
22149 if ac_fn_c_try_link
"$LINENO"; then :
22150 gcc_cv_math_func_csinhl
=yes
22152 gcc_cv_math_func_csinhl
=no
22154 rm -f core conftest.err conftest.
$ac_objext \
22155 conftest
$ac_exeext conftest.
$ac_ext
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22158 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22159 if test $gcc_cv_math_func_csinhl = yes; then
22161 cat >>confdefs.h
<<_ACEOF
22162 #define HAVE_CSINHL 1
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22171 $as_echo_n "checking for sqrtf... " >&6; }
22172 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22173 $as_echo_n "(cached) " >&6
22175 if test x
$gcc_no_link = xyes
; then
22176 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22179 /* end confdefs.h. */
22181 #ifdef HAVE_COMPLEX_H
22182 #include <complex.h>
22188 int (*ptr)() = (int (*)())sqrtf;
22197 if ac_fn_c_try_link
"$LINENO"; then :
22198 gcc_cv_math_func_sqrtf
=yes
22200 gcc_cv_math_func_sqrtf
=no
22202 rm -f core conftest.err conftest.
$ac_objext \
22203 conftest
$ac_exeext conftest.
$ac_ext
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22206 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22207 if test $gcc_cv_math_func_sqrtf = yes; then
22209 cat >>confdefs.h
<<_ACEOF
22210 #define HAVE_SQRTF 1
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22219 $as_echo_n "checking for sqrt... " >&6; }
22220 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22221 $as_echo_n "(cached) " >&6
22223 if test x
$gcc_no_link = xyes
; then
22224 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22227 /* end confdefs.h. */
22229 #ifdef HAVE_COMPLEX_H
22230 #include <complex.h>
22236 int (*ptr)() = (int (*)())sqrt;
22245 if ac_fn_c_try_link
"$LINENO"; then :
22246 gcc_cv_math_func_sqrt
=yes
22248 gcc_cv_math_func_sqrt
=no
22250 rm -f core conftest.err conftest.
$ac_objext \
22251 conftest
$ac_exeext conftest.
$ac_ext
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22254 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22255 if test $gcc_cv_math_func_sqrt = yes; then
22257 cat >>confdefs.h
<<_ACEOF
22258 #define HAVE_SQRT 1
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22267 $as_echo_n "checking for sqrtl... " >&6; }
22268 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22269 $as_echo_n "(cached) " >&6
22271 if test x
$gcc_no_link = xyes
; then
22272 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22275 /* end confdefs.h. */
22277 #ifdef HAVE_COMPLEX_H
22278 #include <complex.h>
22284 int (*ptr)() = (int (*)())sqrtl;
22293 if ac_fn_c_try_link
"$LINENO"; then :
22294 gcc_cv_math_func_sqrtl
=yes
22296 gcc_cv_math_func_sqrtl
=no
22298 rm -f core conftest.err conftest.
$ac_objext \
22299 conftest
$ac_exeext conftest.
$ac_ext
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22302 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22303 if test $gcc_cv_math_func_sqrtl = yes; then
22305 cat >>confdefs.h
<<_ACEOF
22306 #define HAVE_SQRTL 1
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22315 $as_echo_n "checking for csqrtf... " >&6; }
22316 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22317 $as_echo_n "(cached) " >&6
22319 if test x
$gcc_no_link = xyes
; then
22320 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22323 /* end confdefs.h. */
22325 #ifdef HAVE_COMPLEX_H
22326 #include <complex.h>
22332 int (*ptr)() = (int (*)())csqrtf;
22341 if ac_fn_c_try_link
"$LINENO"; then :
22342 gcc_cv_math_func_csqrtf
=yes
22344 gcc_cv_math_func_csqrtf
=no
22346 rm -f core conftest.err conftest.
$ac_objext \
22347 conftest
$ac_exeext conftest.
$ac_ext
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22350 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22351 if test $gcc_cv_math_func_csqrtf = yes; then
22353 cat >>confdefs.h
<<_ACEOF
22354 #define HAVE_CSQRTF 1
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22363 $as_echo_n "checking for csqrt... " >&6; }
22364 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22365 $as_echo_n "(cached) " >&6
22367 if test x
$gcc_no_link = xyes
; then
22368 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22371 /* end confdefs.h. */
22373 #ifdef HAVE_COMPLEX_H
22374 #include <complex.h>
22380 int (*ptr)() = (int (*)())csqrt;
22389 if ac_fn_c_try_link
"$LINENO"; then :
22390 gcc_cv_math_func_csqrt
=yes
22392 gcc_cv_math_func_csqrt
=no
22394 rm -f core conftest.err conftest.
$ac_objext \
22395 conftest
$ac_exeext conftest.
$ac_ext
22397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22398 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22399 if test $gcc_cv_math_func_csqrt = yes; then
22401 cat >>confdefs.h
<<_ACEOF
22402 #define HAVE_CSQRT 1
22410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22411 $as_echo_n "checking for csqrtl... " >&6; }
22412 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22413 $as_echo_n "(cached) " >&6
22415 if test x
$gcc_no_link = xyes
; then
22416 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22419 /* end confdefs.h. */
22421 #ifdef HAVE_COMPLEX_H
22422 #include <complex.h>
22428 int (*ptr)() = (int (*)())csqrtl;
22437 if ac_fn_c_try_link
"$LINENO"; then :
22438 gcc_cv_math_func_csqrtl
=yes
22440 gcc_cv_math_func_csqrtl
=no
22442 rm -f core conftest.err conftest.
$ac_objext \
22443 conftest
$ac_exeext conftest.
$ac_ext
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22446 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22447 if test $gcc_cv_math_func_csqrtl = yes; then
22449 cat >>confdefs.h
<<_ACEOF
22450 #define HAVE_CSQRTL 1
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22459 $as_echo_n "checking for tanf... " >&6; }
22460 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22461 $as_echo_n "(cached) " >&6
22463 if test x
$gcc_no_link = xyes
; then
22464 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22467 /* end confdefs.h. */
22469 #ifdef HAVE_COMPLEX_H
22470 #include <complex.h>
22476 int (*ptr)() = (int (*)())tanf;
22485 if ac_fn_c_try_link
"$LINENO"; then :
22486 gcc_cv_math_func_tanf
=yes
22488 gcc_cv_math_func_tanf
=no
22490 rm -f core conftest.err conftest.
$ac_objext \
22491 conftest
$ac_exeext conftest.
$ac_ext
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22494 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22495 if test $gcc_cv_math_func_tanf = yes; then
22497 cat >>confdefs.h
<<_ACEOF
22498 #define HAVE_TANF 1
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22507 $as_echo_n "checking for tan... " >&6; }
22508 if test "${gcc_cv_math_func_tan+set}" = set; then :
22509 $as_echo_n "(cached) " >&6
22511 if test x
$gcc_no_link = xyes
; then
22512 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22515 /* end confdefs.h. */
22517 #ifdef HAVE_COMPLEX_H
22518 #include <complex.h>
22524 int (*ptr)() = (int (*)())tan;
22533 if ac_fn_c_try_link
"$LINENO"; then :
22534 gcc_cv_math_func_tan
=yes
22536 gcc_cv_math_func_tan
=no
22538 rm -f core conftest.err conftest.
$ac_objext \
22539 conftest
$ac_exeext conftest.
$ac_ext
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22542 $as_echo "$gcc_cv_math_func_tan" >&6; }
22543 if test $gcc_cv_math_func_tan = yes; then
22545 cat >>confdefs.h
<<_ACEOF
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22555 $as_echo_n "checking for tanl... " >&6; }
22556 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22557 $as_echo_n "(cached) " >&6
22559 if test x
$gcc_no_link = xyes
; then
22560 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22563 /* end confdefs.h. */
22565 #ifdef HAVE_COMPLEX_H
22566 #include <complex.h>
22572 int (*ptr)() = (int (*)())tanl;
22581 if ac_fn_c_try_link
"$LINENO"; then :
22582 gcc_cv_math_func_tanl
=yes
22584 gcc_cv_math_func_tanl
=no
22586 rm -f core conftest.err conftest.
$ac_objext \
22587 conftest
$ac_exeext conftest.
$ac_ext
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22590 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22591 if test $gcc_cv_math_func_tanl = yes; then
22593 cat >>confdefs.h
<<_ACEOF
22594 #define HAVE_TANL 1
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22603 $as_echo_n "checking for ctanf... " >&6; }
22604 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22605 $as_echo_n "(cached) " >&6
22607 if test x
$gcc_no_link = xyes
; then
22608 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22611 /* end confdefs.h. */
22613 #ifdef HAVE_COMPLEX_H
22614 #include <complex.h>
22620 int (*ptr)() = (int (*)())ctanf;
22629 if ac_fn_c_try_link
"$LINENO"; then :
22630 gcc_cv_math_func_ctanf
=yes
22632 gcc_cv_math_func_ctanf
=no
22634 rm -f core conftest.err conftest.
$ac_objext \
22635 conftest
$ac_exeext conftest.
$ac_ext
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22638 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22639 if test $gcc_cv_math_func_ctanf = yes; then
22641 cat >>confdefs.h
<<_ACEOF
22642 #define HAVE_CTANF 1
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22651 $as_echo_n "checking for ctan... " >&6; }
22652 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22653 $as_echo_n "(cached) " >&6
22655 if test x
$gcc_no_link = xyes
; then
22656 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22659 /* end confdefs.h. */
22661 #ifdef HAVE_COMPLEX_H
22662 #include <complex.h>
22668 int (*ptr)() = (int (*)())ctan;
22677 if ac_fn_c_try_link
"$LINENO"; then :
22678 gcc_cv_math_func_ctan
=yes
22680 gcc_cv_math_func_ctan
=no
22682 rm -f core conftest.err conftest.
$ac_objext \
22683 conftest
$ac_exeext conftest.
$ac_ext
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22686 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22687 if test $gcc_cv_math_func_ctan = yes; then
22689 cat >>confdefs.h
<<_ACEOF
22690 #define HAVE_CTAN 1
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22699 $as_echo_n "checking for ctanl... " >&6; }
22700 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22701 $as_echo_n "(cached) " >&6
22703 if test x
$gcc_no_link = xyes
; then
22704 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22707 /* end confdefs.h. */
22709 #ifdef HAVE_COMPLEX_H
22710 #include <complex.h>
22716 int (*ptr)() = (int (*)())ctanl;
22725 if ac_fn_c_try_link
"$LINENO"; then :
22726 gcc_cv_math_func_ctanl
=yes
22728 gcc_cv_math_func_ctanl
=no
22730 rm -f core conftest.err conftest.
$ac_objext \
22731 conftest
$ac_exeext conftest.
$ac_ext
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22734 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22735 if test $gcc_cv_math_func_ctanl = yes; then
22737 cat >>confdefs.h
<<_ACEOF
22738 #define HAVE_CTANL 1
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22747 $as_echo_n "checking for tanhf... " >&6; }
22748 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22749 $as_echo_n "(cached) " >&6
22751 if test x
$gcc_no_link = xyes
; then
22752 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22755 /* end confdefs.h. */
22757 #ifdef HAVE_COMPLEX_H
22758 #include <complex.h>
22764 int (*ptr)() = (int (*)())tanhf;
22773 if ac_fn_c_try_link
"$LINENO"; then :
22774 gcc_cv_math_func_tanhf
=yes
22776 gcc_cv_math_func_tanhf
=no
22778 rm -f core conftest.err conftest.
$ac_objext \
22779 conftest
$ac_exeext conftest.
$ac_ext
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22782 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22783 if test $gcc_cv_math_func_tanhf = yes; then
22785 cat >>confdefs.h
<<_ACEOF
22786 #define HAVE_TANHF 1
22794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22795 $as_echo_n "checking for tanh... " >&6; }
22796 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22797 $as_echo_n "(cached) " >&6
22799 if test x
$gcc_no_link = xyes
; then
22800 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22803 /* end confdefs.h. */
22805 #ifdef HAVE_COMPLEX_H
22806 #include <complex.h>
22812 int (*ptr)() = (int (*)())tanh;
22821 if ac_fn_c_try_link
"$LINENO"; then :
22822 gcc_cv_math_func_tanh
=yes
22824 gcc_cv_math_func_tanh
=no
22826 rm -f core conftest.err conftest.
$ac_objext \
22827 conftest
$ac_exeext conftest.
$ac_ext
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22830 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22831 if test $gcc_cv_math_func_tanh = yes; then
22833 cat >>confdefs.h
<<_ACEOF
22834 #define HAVE_TANH 1
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22843 $as_echo_n "checking for tanhl... " >&6; }
22844 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22845 $as_echo_n "(cached) " >&6
22847 if test x
$gcc_no_link = xyes
; then
22848 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22851 /* end confdefs.h. */
22853 #ifdef HAVE_COMPLEX_H
22854 #include <complex.h>
22860 int (*ptr)() = (int (*)())tanhl;
22869 if ac_fn_c_try_link
"$LINENO"; then :
22870 gcc_cv_math_func_tanhl
=yes
22872 gcc_cv_math_func_tanhl
=no
22874 rm -f core conftest.err conftest.
$ac_objext \
22875 conftest
$ac_exeext conftest.
$ac_ext
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22878 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22879 if test $gcc_cv_math_func_tanhl = yes; then
22881 cat >>confdefs.h
<<_ACEOF
22882 #define HAVE_TANHL 1
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22891 $as_echo_n "checking for ctanhf... " >&6; }
22892 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22893 $as_echo_n "(cached) " >&6
22895 if test x
$gcc_no_link = xyes
; then
22896 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22899 /* end confdefs.h. */
22901 #ifdef HAVE_COMPLEX_H
22902 #include <complex.h>
22908 int (*ptr)() = (int (*)())ctanhf;
22917 if ac_fn_c_try_link
"$LINENO"; then :
22918 gcc_cv_math_func_ctanhf
=yes
22920 gcc_cv_math_func_ctanhf
=no
22922 rm -f core conftest.err conftest.
$ac_objext \
22923 conftest
$ac_exeext conftest.
$ac_ext
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22926 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22927 if test $gcc_cv_math_func_ctanhf = yes; then
22929 cat >>confdefs.h
<<_ACEOF
22930 #define HAVE_CTANHF 1
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22939 $as_echo_n "checking for ctanh... " >&6; }
22940 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22941 $as_echo_n "(cached) " >&6
22943 if test x
$gcc_no_link = xyes
; then
22944 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22947 /* end confdefs.h. */
22949 #ifdef HAVE_COMPLEX_H
22950 #include <complex.h>
22956 int (*ptr)() = (int (*)())ctanh;
22965 if ac_fn_c_try_link
"$LINENO"; then :
22966 gcc_cv_math_func_ctanh
=yes
22968 gcc_cv_math_func_ctanh
=no
22970 rm -f core conftest.err conftest.
$ac_objext \
22971 conftest
$ac_exeext conftest.
$ac_ext
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22974 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22975 if test $gcc_cv_math_func_ctanh = yes; then
22977 cat >>confdefs.h
<<_ACEOF
22978 #define HAVE_CTANH 1
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
22987 $as_echo_n "checking for ctanhl... " >&6; }
22988 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
22989 $as_echo_n "(cached) " >&6
22991 if test x
$gcc_no_link = xyes
; then
22992 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22995 /* end confdefs.h. */
22997 #ifdef HAVE_COMPLEX_H
22998 #include <complex.h>
23004 int (*ptr)() = (int (*)())ctanhl;
23013 if ac_fn_c_try_link
"$LINENO"; then :
23014 gcc_cv_math_func_ctanhl
=yes
23016 gcc_cv_math_func_ctanhl
=no
23018 rm -f core conftest.err conftest.
$ac_objext \
23019 conftest
$ac_exeext conftest.
$ac_ext
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23022 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23023 if test $gcc_cv_math_func_ctanhl = yes; then
23025 cat >>confdefs.h
<<_ACEOF
23026 #define HAVE_CTANHL 1
23034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23035 $as_echo_n "checking for truncf... " >&6; }
23036 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23037 $as_echo_n "(cached) " >&6
23039 if test x
$gcc_no_link = xyes
; then
23040 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23043 /* end confdefs.h. */
23045 #ifdef HAVE_COMPLEX_H
23046 #include <complex.h>
23052 int (*ptr)() = (int (*)())truncf;
23061 if ac_fn_c_try_link
"$LINENO"; then :
23062 gcc_cv_math_func_truncf
=yes
23064 gcc_cv_math_func_truncf
=no
23066 rm -f core conftest.err conftest.
$ac_objext \
23067 conftest
$ac_exeext conftest.
$ac_ext
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23070 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23071 if test $gcc_cv_math_func_truncf = yes; then
23073 cat >>confdefs.h
<<_ACEOF
23074 #define HAVE_TRUNCF 1
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23083 $as_echo_n "checking for trunc... " >&6; }
23084 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23085 $as_echo_n "(cached) " >&6
23087 if test x
$gcc_no_link = xyes
; then
23088 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23091 /* end confdefs.h. */
23093 #ifdef HAVE_COMPLEX_H
23094 #include <complex.h>
23100 int (*ptr)() = (int (*)())trunc;
23109 if ac_fn_c_try_link
"$LINENO"; then :
23110 gcc_cv_math_func_trunc
=yes
23112 gcc_cv_math_func_trunc
=no
23114 rm -f core conftest.err conftest.
$ac_objext \
23115 conftest
$ac_exeext conftest.
$ac_ext
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23118 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23119 if test $gcc_cv_math_func_trunc = yes; then
23121 cat >>confdefs.h
<<_ACEOF
23122 #define HAVE_TRUNC 1
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23131 $as_echo_n "checking for truncl... " >&6; }
23132 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23133 $as_echo_n "(cached) " >&6
23135 if test x
$gcc_no_link = xyes
; then
23136 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23139 /* end confdefs.h. */
23141 #ifdef HAVE_COMPLEX_H
23142 #include <complex.h>
23148 int (*ptr)() = (int (*)())truncl;
23157 if ac_fn_c_try_link
"$LINENO"; then :
23158 gcc_cv_math_func_truncl
=yes
23160 gcc_cv_math_func_truncl
=no
23162 rm -f core conftest.err conftest.
$ac_objext \
23163 conftest
$ac_exeext conftest.
$ac_ext
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23166 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23167 if test $gcc_cv_math_func_truncl = yes; then
23169 cat >>confdefs.h
<<_ACEOF
23170 #define HAVE_TRUNCL 1
23178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23179 $as_echo_n "checking for erff... " >&6; }
23180 if test "${gcc_cv_math_func_erff+set}" = set; then :
23181 $as_echo_n "(cached) " >&6
23183 if test x
$gcc_no_link = xyes
; then
23184 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23187 /* end confdefs.h. */
23189 #ifdef HAVE_COMPLEX_H
23190 #include <complex.h>
23196 int (*ptr)() = (int (*)())erff;
23205 if ac_fn_c_try_link
"$LINENO"; then :
23206 gcc_cv_math_func_erff
=yes
23208 gcc_cv_math_func_erff
=no
23210 rm -f core conftest.err conftest.
$ac_objext \
23211 conftest
$ac_exeext conftest.
$ac_ext
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23214 $as_echo "$gcc_cv_math_func_erff" >&6; }
23215 if test $gcc_cv_math_func_erff = yes; then
23217 cat >>confdefs.h
<<_ACEOF
23218 #define HAVE_ERFF 1
23226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23227 $as_echo_n "checking for erf... " >&6; }
23228 if test "${gcc_cv_math_func_erf+set}" = set; then :
23229 $as_echo_n "(cached) " >&6
23231 if test x
$gcc_no_link = xyes
; then
23232 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23235 /* end confdefs.h. */
23237 #ifdef HAVE_COMPLEX_H
23238 #include <complex.h>
23244 int (*ptr)() = (int (*)())erf;
23253 if ac_fn_c_try_link
"$LINENO"; then :
23254 gcc_cv_math_func_erf
=yes
23256 gcc_cv_math_func_erf
=no
23258 rm -f core conftest.err conftest.
$ac_objext \
23259 conftest
$ac_exeext conftest.
$ac_ext
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23262 $as_echo "$gcc_cv_math_func_erf" >&6; }
23263 if test $gcc_cv_math_func_erf = yes; then
23265 cat >>confdefs.h
<<_ACEOF
23274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23275 $as_echo_n "checking for erfl... " >&6; }
23276 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23277 $as_echo_n "(cached) " >&6
23279 if test x
$gcc_no_link = xyes
; then
23280 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23283 /* end confdefs.h. */
23285 #ifdef HAVE_COMPLEX_H
23286 #include <complex.h>
23292 int (*ptr)() = (int (*)())erfl;
23301 if ac_fn_c_try_link
"$LINENO"; then :
23302 gcc_cv_math_func_erfl
=yes
23304 gcc_cv_math_func_erfl
=no
23306 rm -f core conftest.err conftest.
$ac_objext \
23307 conftest
$ac_exeext conftest.
$ac_ext
23309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23310 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23311 if test $gcc_cv_math_func_erfl = yes; then
23313 cat >>confdefs.h
<<_ACEOF
23314 #define HAVE_ERFL 1
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23323 $as_echo_n "checking for erfcf... " >&6; }
23324 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23325 $as_echo_n "(cached) " >&6
23327 if test x
$gcc_no_link = xyes
; then
23328 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23331 /* end confdefs.h. */
23333 #ifdef HAVE_COMPLEX_H
23334 #include <complex.h>
23340 int (*ptr)() = (int (*)())erfcf;
23349 if ac_fn_c_try_link
"$LINENO"; then :
23350 gcc_cv_math_func_erfcf
=yes
23352 gcc_cv_math_func_erfcf
=no
23354 rm -f core conftest.err conftest.
$ac_objext \
23355 conftest
$ac_exeext conftest.
$ac_ext
23357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23358 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23359 if test $gcc_cv_math_func_erfcf = yes; then
23361 cat >>confdefs.h
<<_ACEOF
23362 #define HAVE_ERFCF 1
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23371 $as_echo_n "checking for erfc... " >&6; }
23372 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23373 $as_echo_n "(cached) " >&6
23375 if test x
$gcc_no_link = xyes
; then
23376 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23379 /* end confdefs.h. */
23381 #ifdef HAVE_COMPLEX_H
23382 #include <complex.h>
23388 int (*ptr)() = (int (*)())erfc;
23397 if ac_fn_c_try_link
"$LINENO"; then :
23398 gcc_cv_math_func_erfc
=yes
23400 gcc_cv_math_func_erfc
=no
23402 rm -f core conftest.err conftest.
$ac_objext \
23403 conftest
$ac_exeext conftest.
$ac_ext
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23406 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23407 if test $gcc_cv_math_func_erfc = yes; then
23409 cat >>confdefs.h
<<_ACEOF
23410 #define HAVE_ERFC 1
23418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23419 $as_echo_n "checking for erfcl... " >&6; }
23420 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23421 $as_echo_n "(cached) " >&6
23423 if test x
$gcc_no_link = xyes
; then
23424 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23427 /* end confdefs.h. */
23429 #ifdef HAVE_COMPLEX_H
23430 #include <complex.h>
23436 int (*ptr)() = (int (*)())erfcl;
23445 if ac_fn_c_try_link
"$LINENO"; then :
23446 gcc_cv_math_func_erfcl
=yes
23448 gcc_cv_math_func_erfcl
=no
23450 rm -f core conftest.err conftest.
$ac_objext \
23451 conftest
$ac_exeext conftest.
$ac_ext
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23454 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23455 if test $gcc_cv_math_func_erfcl = yes; then
23457 cat >>confdefs.h
<<_ACEOF
23458 #define HAVE_ERFCL 1
23466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23467 $as_echo_n "checking for j0f... " >&6; }
23468 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23469 $as_echo_n "(cached) " >&6
23471 if test x
$gcc_no_link = xyes
; then
23472 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23475 /* end confdefs.h. */
23477 #ifdef HAVE_COMPLEX_H
23478 #include <complex.h>
23484 int (*ptr)() = (int (*)())j0f;
23493 if ac_fn_c_try_link
"$LINENO"; then :
23494 gcc_cv_math_func_j0f
=yes
23496 gcc_cv_math_func_j0f
=no
23498 rm -f core conftest.err conftest.
$ac_objext \
23499 conftest
$ac_exeext conftest.
$ac_ext
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23502 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23503 if test $gcc_cv_math_func_j0f = yes; then
23505 cat >>confdefs.h
<<_ACEOF
23514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23515 $as_echo_n "checking for j0... " >&6; }
23516 if test "${gcc_cv_math_func_j0+set}" = set; then :
23517 $as_echo_n "(cached) " >&6
23519 if test x
$gcc_no_link = xyes
; then
23520 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23523 /* end confdefs.h. */
23525 #ifdef HAVE_COMPLEX_H
23526 #include <complex.h>
23532 int (*ptr)() = (int (*)())j0;
23541 if ac_fn_c_try_link
"$LINENO"; then :
23542 gcc_cv_math_func_j0
=yes
23544 gcc_cv_math_func_j0
=no
23546 rm -f core conftest.err conftest.
$ac_objext \
23547 conftest
$ac_exeext conftest.
$ac_ext
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23550 $as_echo "$gcc_cv_math_func_j0" >&6; }
23551 if test $gcc_cv_math_func_j0 = yes; then
23553 cat >>confdefs.h
<<_ACEOF
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23563 $as_echo_n "checking for j0l... " >&6; }
23564 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23565 $as_echo_n "(cached) " >&6
23567 if test x
$gcc_no_link = xyes
; then
23568 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23571 /* end confdefs.h. */
23573 #ifdef HAVE_COMPLEX_H
23574 #include <complex.h>
23580 int (*ptr)() = (int (*)())j0l;
23589 if ac_fn_c_try_link
"$LINENO"; then :
23590 gcc_cv_math_func_j0l
=yes
23592 gcc_cv_math_func_j0l
=no
23594 rm -f core conftest.err conftest.
$ac_objext \
23595 conftest
$ac_exeext conftest.
$ac_ext
23597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23598 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23599 if test $gcc_cv_math_func_j0l = yes; then
23601 cat >>confdefs.h
<<_ACEOF
23610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23611 $as_echo_n "checking for j1f... " >&6; }
23612 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23613 $as_echo_n "(cached) " >&6
23615 if test x
$gcc_no_link = xyes
; then
23616 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23619 /* end confdefs.h. */
23621 #ifdef HAVE_COMPLEX_H
23622 #include <complex.h>
23628 int (*ptr)() = (int (*)())j1f;
23637 if ac_fn_c_try_link
"$LINENO"; then :
23638 gcc_cv_math_func_j1f
=yes
23640 gcc_cv_math_func_j1f
=no
23642 rm -f core conftest.err conftest.
$ac_objext \
23643 conftest
$ac_exeext conftest.
$ac_ext
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23646 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23647 if test $gcc_cv_math_func_j1f = yes; then
23649 cat >>confdefs.h
<<_ACEOF
23658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23659 $as_echo_n "checking for j1... " >&6; }
23660 if test "${gcc_cv_math_func_j1+set}" = set; then :
23661 $as_echo_n "(cached) " >&6
23663 if test x
$gcc_no_link = xyes
; then
23664 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23667 /* end confdefs.h. */
23669 #ifdef HAVE_COMPLEX_H
23670 #include <complex.h>
23676 int (*ptr)() = (int (*)())j1;
23685 if ac_fn_c_try_link
"$LINENO"; then :
23686 gcc_cv_math_func_j1
=yes
23688 gcc_cv_math_func_j1
=no
23690 rm -f core conftest.err conftest.
$ac_objext \
23691 conftest
$ac_exeext conftest.
$ac_ext
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23694 $as_echo "$gcc_cv_math_func_j1" >&6; }
23695 if test $gcc_cv_math_func_j1 = yes; then
23697 cat >>confdefs.h
<<_ACEOF
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23707 $as_echo_n "checking for j1l... " >&6; }
23708 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23709 $as_echo_n "(cached) " >&6
23711 if test x
$gcc_no_link = xyes
; then
23712 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23715 /* end confdefs.h. */
23717 #ifdef HAVE_COMPLEX_H
23718 #include <complex.h>
23724 int (*ptr)() = (int (*)())j1l;
23733 if ac_fn_c_try_link
"$LINENO"; then :
23734 gcc_cv_math_func_j1l
=yes
23736 gcc_cv_math_func_j1l
=no
23738 rm -f core conftest.err conftest.
$ac_objext \
23739 conftest
$ac_exeext conftest.
$ac_ext
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23742 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23743 if test $gcc_cv_math_func_j1l = yes; then
23745 cat >>confdefs.h
<<_ACEOF
23754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23755 $as_echo_n "checking for jnf... " >&6; }
23756 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23757 $as_echo_n "(cached) " >&6
23759 if test x
$gcc_no_link = xyes
; then
23760 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23763 /* end confdefs.h. */
23765 #ifdef HAVE_COMPLEX_H
23766 #include <complex.h>
23772 int (*ptr)() = (int (*)())jnf;
23781 if ac_fn_c_try_link
"$LINENO"; then :
23782 gcc_cv_math_func_jnf
=yes
23784 gcc_cv_math_func_jnf
=no
23786 rm -f core conftest.err conftest.
$ac_objext \
23787 conftest
$ac_exeext conftest.
$ac_ext
23789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23790 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23791 if test $gcc_cv_math_func_jnf = yes; then
23793 cat >>confdefs.h
<<_ACEOF
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23803 $as_echo_n "checking for jn... " >&6; }
23804 if test "${gcc_cv_math_func_jn+set}" = set; then :
23805 $as_echo_n "(cached) " >&6
23807 if test x
$gcc_no_link = xyes
; then
23808 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23811 /* end confdefs.h. */
23813 #ifdef HAVE_COMPLEX_H
23814 #include <complex.h>
23820 int (*ptr)() = (int (*)())jn;
23829 if ac_fn_c_try_link
"$LINENO"; then :
23830 gcc_cv_math_func_jn
=yes
23832 gcc_cv_math_func_jn
=no
23834 rm -f core conftest.err conftest.
$ac_objext \
23835 conftest
$ac_exeext conftest.
$ac_ext
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23838 $as_echo "$gcc_cv_math_func_jn" >&6; }
23839 if test $gcc_cv_math_func_jn = yes; then
23841 cat >>confdefs.h
<<_ACEOF
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23851 $as_echo_n "checking for jnl... " >&6; }
23852 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23853 $as_echo_n "(cached) " >&6
23855 if test x
$gcc_no_link = xyes
; then
23856 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23859 /* end confdefs.h. */
23861 #ifdef HAVE_COMPLEX_H
23862 #include <complex.h>
23868 int (*ptr)() = (int (*)())jnl;
23877 if ac_fn_c_try_link
"$LINENO"; then :
23878 gcc_cv_math_func_jnl
=yes
23880 gcc_cv_math_func_jnl
=no
23882 rm -f core conftest.err conftest.
$ac_objext \
23883 conftest
$ac_exeext conftest.
$ac_ext
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23886 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23887 if test $gcc_cv_math_func_jnl = yes; then
23889 cat >>confdefs.h
<<_ACEOF
23898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23899 $as_echo_n "checking for y0f... " >&6; }
23900 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23901 $as_echo_n "(cached) " >&6
23903 if test x
$gcc_no_link = xyes
; then
23904 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23907 /* end confdefs.h. */
23909 #ifdef HAVE_COMPLEX_H
23910 #include <complex.h>
23916 int (*ptr)() = (int (*)())y0f;
23925 if ac_fn_c_try_link
"$LINENO"; then :
23926 gcc_cv_math_func_y0f
=yes
23928 gcc_cv_math_func_y0f
=no
23930 rm -f core conftest.err conftest.
$ac_objext \
23931 conftest
$ac_exeext conftest.
$ac_ext
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23934 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23935 if test $gcc_cv_math_func_y0f = yes; then
23937 cat >>confdefs.h
<<_ACEOF
23946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23947 $as_echo_n "checking for y0... " >&6; }
23948 if test "${gcc_cv_math_func_y0+set}" = set; then :
23949 $as_echo_n "(cached) " >&6
23951 if test x
$gcc_no_link = xyes
; then
23952 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23955 /* end confdefs.h. */
23957 #ifdef HAVE_COMPLEX_H
23958 #include <complex.h>
23964 int (*ptr)() = (int (*)())y0;
23973 if ac_fn_c_try_link
"$LINENO"; then :
23974 gcc_cv_math_func_y0
=yes
23976 gcc_cv_math_func_y0
=no
23978 rm -f core conftest.err conftest.
$ac_objext \
23979 conftest
$ac_exeext conftest.
$ac_ext
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23982 $as_echo "$gcc_cv_math_func_y0" >&6; }
23983 if test $gcc_cv_math_func_y0 = yes; then
23985 cat >>confdefs.h
<<_ACEOF
23994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
23995 $as_echo_n "checking for y0l... " >&6; }
23996 if test "${gcc_cv_math_func_y0l+set}" = set; then :
23997 $as_echo_n "(cached) " >&6
23999 if test x
$gcc_no_link = xyes
; then
24000 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24003 /* end confdefs.h. */
24005 #ifdef HAVE_COMPLEX_H
24006 #include <complex.h>
24012 int (*ptr)() = (int (*)())y0l;
24021 if ac_fn_c_try_link
"$LINENO"; then :
24022 gcc_cv_math_func_y0l
=yes
24024 gcc_cv_math_func_y0l
=no
24026 rm -f core conftest.err conftest.
$ac_objext \
24027 conftest
$ac_exeext conftest.
$ac_ext
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24030 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24031 if test $gcc_cv_math_func_y0l = yes; then
24033 cat >>confdefs.h
<<_ACEOF
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24043 $as_echo_n "checking for y1f... " >&6; }
24044 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24045 $as_echo_n "(cached) " >&6
24047 if test x
$gcc_no_link = xyes
; then
24048 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24051 /* end confdefs.h. */
24053 #ifdef HAVE_COMPLEX_H
24054 #include <complex.h>
24060 int (*ptr)() = (int (*)())y1f;
24069 if ac_fn_c_try_link
"$LINENO"; then :
24070 gcc_cv_math_func_y1f
=yes
24072 gcc_cv_math_func_y1f
=no
24074 rm -f core conftest.err conftest.
$ac_objext \
24075 conftest
$ac_exeext conftest.
$ac_ext
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24078 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24079 if test $gcc_cv_math_func_y1f = yes; then
24081 cat >>confdefs.h
<<_ACEOF
24090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24091 $as_echo_n "checking for y1... " >&6; }
24092 if test "${gcc_cv_math_func_y1+set}" = set; then :
24093 $as_echo_n "(cached) " >&6
24095 if test x
$gcc_no_link = xyes
; then
24096 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24099 /* end confdefs.h. */
24101 #ifdef HAVE_COMPLEX_H
24102 #include <complex.h>
24108 int (*ptr)() = (int (*)())y1;
24117 if ac_fn_c_try_link
"$LINENO"; then :
24118 gcc_cv_math_func_y1
=yes
24120 gcc_cv_math_func_y1
=no
24122 rm -f core conftest.err conftest.
$ac_objext \
24123 conftest
$ac_exeext conftest.
$ac_ext
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24126 $as_echo "$gcc_cv_math_func_y1" >&6; }
24127 if test $gcc_cv_math_func_y1 = yes; then
24129 cat >>confdefs.h
<<_ACEOF
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24139 $as_echo_n "checking for y1l... " >&6; }
24140 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24141 $as_echo_n "(cached) " >&6
24143 if test x
$gcc_no_link = xyes
; then
24144 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24147 /* end confdefs.h. */
24149 #ifdef HAVE_COMPLEX_H
24150 #include <complex.h>
24156 int (*ptr)() = (int (*)())y1l;
24165 if ac_fn_c_try_link
"$LINENO"; then :
24166 gcc_cv_math_func_y1l
=yes
24168 gcc_cv_math_func_y1l
=no
24170 rm -f core conftest.err conftest.
$ac_objext \
24171 conftest
$ac_exeext conftest.
$ac_ext
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24174 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24175 if test $gcc_cv_math_func_y1l = yes; then
24177 cat >>confdefs.h
<<_ACEOF
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24187 $as_echo_n "checking for ynf... " >&6; }
24188 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24189 $as_echo_n "(cached) " >&6
24191 if test x
$gcc_no_link = xyes
; then
24192 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24195 /* end confdefs.h. */
24197 #ifdef HAVE_COMPLEX_H
24198 #include <complex.h>
24204 int (*ptr)() = (int (*)())ynf;
24213 if ac_fn_c_try_link
"$LINENO"; then :
24214 gcc_cv_math_func_ynf
=yes
24216 gcc_cv_math_func_ynf
=no
24218 rm -f core conftest.err conftest.
$ac_objext \
24219 conftest
$ac_exeext conftest.
$ac_ext
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24222 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24223 if test $gcc_cv_math_func_ynf = yes; then
24225 cat >>confdefs.h
<<_ACEOF
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24235 $as_echo_n "checking for yn... " >&6; }
24236 if test "${gcc_cv_math_func_yn+set}" = set; then :
24237 $as_echo_n "(cached) " >&6
24239 if test x
$gcc_no_link = xyes
; then
24240 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24243 /* end confdefs.h. */
24245 #ifdef HAVE_COMPLEX_H
24246 #include <complex.h>
24252 int (*ptr)() = (int (*)())yn;
24261 if ac_fn_c_try_link
"$LINENO"; then :
24262 gcc_cv_math_func_yn
=yes
24264 gcc_cv_math_func_yn
=no
24266 rm -f core conftest.err conftest.
$ac_objext \
24267 conftest
$ac_exeext conftest.
$ac_ext
24269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24270 $as_echo "$gcc_cv_math_func_yn" >&6; }
24271 if test $gcc_cv_math_func_yn = yes; then
24273 cat >>confdefs.h
<<_ACEOF
24282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24283 $as_echo_n "checking for ynl... " >&6; }
24284 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24285 $as_echo_n "(cached) " >&6
24287 if test x
$gcc_no_link = xyes
; then
24288 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24291 /* end confdefs.h. */
24293 #ifdef HAVE_COMPLEX_H
24294 #include <complex.h>
24300 int (*ptr)() = (int (*)())ynl;
24309 if ac_fn_c_try_link
"$LINENO"; then :
24310 gcc_cv_math_func_ynl
=yes
24312 gcc_cv_math_func_ynl
=no
24314 rm -f core conftest.err conftest.
$ac_objext \
24315 conftest
$ac_exeext conftest.
$ac_ext
24317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24318 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24319 if test $gcc_cv_math_func_ynl = yes; then
24321 cat >>confdefs.h
<<_ACEOF
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24331 $as_echo_n "checking for tgamma... " >&6; }
24332 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24333 $as_echo_n "(cached) " >&6
24335 if test x
$gcc_no_link = xyes
; then
24336 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24339 /* end confdefs.h. */
24341 #ifdef HAVE_COMPLEX_H
24342 #include <complex.h>
24348 int (*ptr)() = (int (*)())tgamma;
24357 if ac_fn_c_try_link
"$LINENO"; then :
24358 gcc_cv_math_func_tgamma
=yes
24360 gcc_cv_math_func_tgamma
=no
24362 rm -f core conftest.err conftest.
$ac_objext \
24363 conftest
$ac_exeext conftest.
$ac_ext
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24366 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24367 if test $gcc_cv_math_func_tgamma = yes; then
24369 cat >>confdefs.h
<<_ACEOF
24370 #define HAVE_TGAMMA 1
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24379 $as_echo_n "checking for tgammaf... " >&6; }
24380 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24381 $as_echo_n "(cached) " >&6
24383 if test x
$gcc_no_link = xyes
; then
24384 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24387 /* end confdefs.h. */
24389 #ifdef HAVE_COMPLEX_H
24390 #include <complex.h>
24396 int (*ptr)() = (int (*)())tgammaf;
24405 if ac_fn_c_try_link
"$LINENO"; then :
24406 gcc_cv_math_func_tgammaf
=yes
24408 gcc_cv_math_func_tgammaf
=no
24410 rm -f core conftest.err conftest.
$ac_objext \
24411 conftest
$ac_exeext conftest.
$ac_ext
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24414 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24415 if test $gcc_cv_math_func_tgammaf = yes; then
24417 cat >>confdefs.h
<<_ACEOF
24418 #define HAVE_TGAMMAF 1
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24427 $as_echo_n "checking for tgammal... " >&6; }
24428 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24429 $as_echo_n "(cached) " >&6
24431 if test x
$gcc_no_link = xyes
; then
24432 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24435 /* end confdefs.h. */
24437 #ifdef HAVE_COMPLEX_H
24438 #include <complex.h>
24444 int (*ptr)() = (int (*)())tgammal;
24453 if ac_fn_c_try_link
"$LINENO"; then :
24454 gcc_cv_math_func_tgammal
=yes
24456 gcc_cv_math_func_tgammal
=no
24458 rm -f core conftest.err conftest.
$ac_objext \
24459 conftest
$ac_exeext conftest.
$ac_ext
24461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24462 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24463 if test $gcc_cv_math_func_tgammal = yes; then
24465 cat >>confdefs.h
<<_ACEOF
24466 #define HAVE_TGAMMAL 1
24474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24475 $as_echo_n "checking for lgamma... " >&6; }
24476 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24477 $as_echo_n "(cached) " >&6
24479 if test x
$gcc_no_link = xyes
; then
24480 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24483 /* end confdefs.h. */
24485 #ifdef HAVE_COMPLEX_H
24486 #include <complex.h>
24492 int (*ptr)() = (int (*)())lgamma;
24501 if ac_fn_c_try_link
"$LINENO"; then :
24502 gcc_cv_math_func_lgamma
=yes
24504 gcc_cv_math_func_lgamma
=no
24506 rm -f core conftest.err conftest.
$ac_objext \
24507 conftest
$ac_exeext conftest.
$ac_ext
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24510 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24511 if test $gcc_cv_math_func_lgamma = yes; then
24513 cat >>confdefs.h
<<_ACEOF
24514 #define HAVE_LGAMMA 1
24522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24523 $as_echo_n "checking for lgammaf... " >&6; }
24524 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24525 $as_echo_n "(cached) " >&6
24527 if test x
$gcc_no_link = xyes
; then
24528 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24531 /* end confdefs.h. */
24533 #ifdef HAVE_COMPLEX_H
24534 #include <complex.h>
24540 int (*ptr)() = (int (*)())lgammaf;
24549 if ac_fn_c_try_link
"$LINENO"; then :
24550 gcc_cv_math_func_lgammaf
=yes
24552 gcc_cv_math_func_lgammaf
=no
24554 rm -f core conftest.err conftest.
$ac_objext \
24555 conftest
$ac_exeext conftest.
$ac_ext
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24558 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24559 if test $gcc_cv_math_func_lgammaf = yes; then
24561 cat >>confdefs.h
<<_ACEOF
24562 #define HAVE_LGAMMAF 1
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24571 $as_echo_n "checking for lgammal... " >&6; }
24572 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24573 $as_echo_n "(cached) " >&6
24575 if test x
$gcc_no_link = xyes
; then
24576 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24579 /* end confdefs.h. */
24581 #ifdef HAVE_COMPLEX_H
24582 #include <complex.h>
24588 int (*ptr)() = (int (*)())lgammal;
24597 if ac_fn_c_try_link
"$LINENO"; then :
24598 gcc_cv_math_func_lgammal
=yes
24600 gcc_cv_math_func_lgammal
=no
24602 rm -f core conftest.err conftest.
$ac_objext \
24603 conftest
$ac_exeext conftest.
$ac_ext
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24606 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24607 if test $gcc_cv_math_func_lgammal = yes; then
24609 cat >>confdefs.h
<<_ACEOF
24610 #define HAVE_LGAMMAL 1
24616 # Check for GFORTRAN_C99_1.1 funcs
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24621 $as_echo_n "checking for cacos... " >&6; }
24622 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24623 $as_echo_n "(cached) " >&6
24625 if test x
$gcc_no_link = xyes
; then
24626 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24629 /* end confdefs.h. */
24631 #ifdef HAVE_COMPLEX_H
24632 #include <complex.h>
24638 int (*ptr)() = (int (*)())cacos;
24647 if ac_fn_c_try_link
"$LINENO"; then :
24648 gcc_cv_math_func_cacos
=yes
24650 gcc_cv_math_func_cacos
=no
24652 rm -f core conftest.err conftest.
$ac_objext \
24653 conftest
$ac_exeext conftest.
$ac_ext
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24656 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24657 if test $gcc_cv_math_func_cacos = yes; then
24659 cat >>confdefs.h
<<_ACEOF
24660 #define HAVE_CACOS 1
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24669 $as_echo_n "checking for cacosf... " >&6; }
24670 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24671 $as_echo_n "(cached) " >&6
24673 if test x
$gcc_no_link = xyes
; then
24674 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24677 /* end confdefs.h. */
24679 #ifdef HAVE_COMPLEX_H
24680 #include <complex.h>
24686 int (*ptr)() = (int (*)())cacosf;
24695 if ac_fn_c_try_link
"$LINENO"; then :
24696 gcc_cv_math_func_cacosf
=yes
24698 gcc_cv_math_func_cacosf
=no
24700 rm -f core conftest.err conftest.
$ac_objext \
24701 conftest
$ac_exeext conftest.
$ac_ext
24703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24704 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24705 if test $gcc_cv_math_func_cacosf = yes; then
24707 cat >>confdefs.h
<<_ACEOF
24708 #define HAVE_CACOSF 1
24716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24717 $as_echo_n "checking for cacosh... " >&6; }
24718 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24719 $as_echo_n "(cached) " >&6
24721 if test x
$gcc_no_link = xyes
; then
24722 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24725 /* end confdefs.h. */
24727 #ifdef HAVE_COMPLEX_H
24728 #include <complex.h>
24734 int (*ptr)() = (int (*)())cacosh;
24743 if ac_fn_c_try_link
"$LINENO"; then :
24744 gcc_cv_math_func_cacosh
=yes
24746 gcc_cv_math_func_cacosh
=no
24748 rm -f core conftest.err conftest.
$ac_objext \
24749 conftest
$ac_exeext conftest.
$ac_ext
24751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24752 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24753 if test $gcc_cv_math_func_cacosh = yes; then
24755 cat >>confdefs.h
<<_ACEOF
24756 #define HAVE_CACOSH 1
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24765 $as_echo_n "checking for cacoshf... " >&6; }
24766 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24767 $as_echo_n "(cached) " >&6
24769 if test x
$gcc_no_link = xyes
; then
24770 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24773 /* end confdefs.h. */
24775 #ifdef HAVE_COMPLEX_H
24776 #include <complex.h>
24782 int (*ptr)() = (int (*)())cacoshf;
24791 if ac_fn_c_try_link
"$LINENO"; then :
24792 gcc_cv_math_func_cacoshf
=yes
24794 gcc_cv_math_func_cacoshf
=no
24796 rm -f core conftest.err conftest.
$ac_objext \
24797 conftest
$ac_exeext conftest.
$ac_ext
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24800 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24801 if test $gcc_cv_math_func_cacoshf = yes; then
24803 cat >>confdefs.h
<<_ACEOF
24804 #define HAVE_CACOSHF 1
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24813 $as_echo_n "checking for cacoshl... " >&6; }
24814 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24815 $as_echo_n "(cached) " >&6
24817 if test x
$gcc_no_link = xyes
; then
24818 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24821 /* end confdefs.h. */
24823 #ifdef HAVE_COMPLEX_H
24824 #include <complex.h>
24830 int (*ptr)() = (int (*)())cacoshl;
24839 if ac_fn_c_try_link
"$LINENO"; then :
24840 gcc_cv_math_func_cacoshl
=yes
24842 gcc_cv_math_func_cacoshl
=no
24844 rm -f core conftest.err conftest.
$ac_objext \
24845 conftest
$ac_exeext conftest.
$ac_ext
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24848 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24849 if test $gcc_cv_math_func_cacoshl = yes; then
24851 cat >>confdefs.h
<<_ACEOF
24852 #define HAVE_CACOSHL 1
24860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24861 $as_echo_n "checking for cacosl... " >&6; }
24862 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24863 $as_echo_n "(cached) " >&6
24865 if test x
$gcc_no_link = xyes
; then
24866 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24869 /* end confdefs.h. */
24871 #ifdef HAVE_COMPLEX_H
24872 #include <complex.h>
24878 int (*ptr)() = (int (*)())cacosl;
24887 if ac_fn_c_try_link
"$LINENO"; then :
24888 gcc_cv_math_func_cacosl
=yes
24890 gcc_cv_math_func_cacosl
=no
24892 rm -f core conftest.err conftest.
$ac_objext \
24893 conftest
$ac_exeext conftest.
$ac_ext
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24896 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24897 if test $gcc_cv_math_func_cacosl = yes; then
24899 cat >>confdefs.h
<<_ACEOF
24900 #define HAVE_CACOSL 1
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24909 $as_echo_n "checking for casin... " >&6; }
24910 if test "${gcc_cv_math_func_casin+set}" = set; then :
24911 $as_echo_n "(cached) " >&6
24913 if test x
$gcc_no_link = xyes
; then
24914 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24917 /* end confdefs.h. */
24919 #ifdef HAVE_COMPLEX_H
24920 #include <complex.h>
24926 int (*ptr)() = (int (*)())casin;
24935 if ac_fn_c_try_link
"$LINENO"; then :
24936 gcc_cv_math_func_casin
=yes
24938 gcc_cv_math_func_casin
=no
24940 rm -f core conftest.err conftest.
$ac_objext \
24941 conftest
$ac_exeext conftest.
$ac_ext
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24944 $as_echo "$gcc_cv_math_func_casin" >&6; }
24945 if test $gcc_cv_math_func_casin = yes; then
24947 cat >>confdefs.h
<<_ACEOF
24948 #define HAVE_CASIN 1
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24957 $as_echo_n "checking for casinf... " >&6; }
24958 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24959 $as_echo_n "(cached) " >&6
24961 if test x
$gcc_no_link = xyes
; then
24962 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24965 /* end confdefs.h. */
24967 #ifdef HAVE_COMPLEX_H
24968 #include <complex.h>
24974 int (*ptr)() = (int (*)())casinf;
24983 if ac_fn_c_try_link
"$LINENO"; then :
24984 gcc_cv_math_func_casinf
=yes
24986 gcc_cv_math_func_casinf
=no
24988 rm -f core conftest.err conftest.
$ac_objext \
24989 conftest
$ac_exeext conftest.
$ac_ext
24991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24992 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24993 if test $gcc_cv_math_func_casinf = yes; then
24995 cat >>confdefs.h
<<_ACEOF
24996 #define HAVE_CASINF 1
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25005 $as_echo_n "checking for casinh... " >&6; }
25006 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25007 $as_echo_n "(cached) " >&6
25009 if test x
$gcc_no_link = xyes
; then
25010 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25013 /* end confdefs.h. */
25015 #ifdef HAVE_COMPLEX_H
25016 #include <complex.h>
25022 int (*ptr)() = (int (*)())casinh;
25031 if ac_fn_c_try_link
"$LINENO"; then :
25032 gcc_cv_math_func_casinh
=yes
25034 gcc_cv_math_func_casinh
=no
25036 rm -f core conftest.err conftest.
$ac_objext \
25037 conftest
$ac_exeext conftest.
$ac_ext
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25040 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25041 if test $gcc_cv_math_func_casinh = yes; then
25043 cat >>confdefs.h
<<_ACEOF
25044 #define HAVE_CASINH 1
25052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25053 $as_echo_n "checking for casinhf... " >&6; }
25054 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25055 $as_echo_n "(cached) " >&6
25057 if test x
$gcc_no_link = xyes
; then
25058 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25061 /* end confdefs.h. */
25063 #ifdef HAVE_COMPLEX_H
25064 #include <complex.h>
25070 int (*ptr)() = (int (*)())casinhf;
25079 if ac_fn_c_try_link
"$LINENO"; then :
25080 gcc_cv_math_func_casinhf
=yes
25082 gcc_cv_math_func_casinhf
=no
25084 rm -f core conftest.err conftest.
$ac_objext \
25085 conftest
$ac_exeext conftest.
$ac_ext
25087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25088 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25089 if test $gcc_cv_math_func_casinhf = yes; then
25091 cat >>confdefs.h
<<_ACEOF
25092 #define HAVE_CASINHF 1
25100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25101 $as_echo_n "checking for casinhl... " >&6; }
25102 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25103 $as_echo_n "(cached) " >&6
25105 if test x
$gcc_no_link = xyes
; then
25106 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25109 /* end confdefs.h. */
25111 #ifdef HAVE_COMPLEX_H
25112 #include <complex.h>
25118 int (*ptr)() = (int (*)())casinhl;
25127 if ac_fn_c_try_link
"$LINENO"; then :
25128 gcc_cv_math_func_casinhl
=yes
25130 gcc_cv_math_func_casinhl
=no
25132 rm -f core conftest.err conftest.
$ac_objext \
25133 conftest
$ac_exeext conftest.
$ac_ext
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25136 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25137 if test $gcc_cv_math_func_casinhl = yes; then
25139 cat >>confdefs.h
<<_ACEOF
25140 #define HAVE_CASINHL 1
25148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25149 $as_echo_n "checking for casinl... " >&6; }
25150 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25151 $as_echo_n "(cached) " >&6
25153 if test x
$gcc_no_link = xyes
; then
25154 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25157 /* end confdefs.h. */
25159 #ifdef HAVE_COMPLEX_H
25160 #include <complex.h>
25166 int (*ptr)() = (int (*)())casinl;
25175 if ac_fn_c_try_link
"$LINENO"; then :
25176 gcc_cv_math_func_casinl
=yes
25178 gcc_cv_math_func_casinl
=no
25180 rm -f core conftest.err conftest.
$ac_objext \
25181 conftest
$ac_exeext conftest.
$ac_ext
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25184 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25185 if test $gcc_cv_math_func_casinl = yes; then
25187 cat >>confdefs.h
<<_ACEOF
25188 #define HAVE_CASINL 1
25196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25197 $as_echo_n "checking for catan... " >&6; }
25198 if test "${gcc_cv_math_func_catan+set}" = set; then :
25199 $as_echo_n "(cached) " >&6
25201 if test x
$gcc_no_link = xyes
; then
25202 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25205 /* end confdefs.h. */
25207 #ifdef HAVE_COMPLEX_H
25208 #include <complex.h>
25214 int (*ptr)() = (int (*)())catan;
25223 if ac_fn_c_try_link
"$LINENO"; then :
25224 gcc_cv_math_func_catan
=yes
25226 gcc_cv_math_func_catan
=no
25228 rm -f core conftest.err conftest.
$ac_objext \
25229 conftest
$ac_exeext conftest.
$ac_ext
25231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25232 $as_echo "$gcc_cv_math_func_catan" >&6; }
25233 if test $gcc_cv_math_func_catan = yes; then
25235 cat >>confdefs.h
<<_ACEOF
25236 #define HAVE_CATAN 1
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25245 $as_echo_n "checking for catanf... " >&6; }
25246 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25247 $as_echo_n "(cached) " >&6
25249 if test x
$gcc_no_link = xyes
; then
25250 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25253 /* end confdefs.h. */
25255 #ifdef HAVE_COMPLEX_H
25256 #include <complex.h>
25262 int (*ptr)() = (int (*)())catanf;
25271 if ac_fn_c_try_link
"$LINENO"; then :
25272 gcc_cv_math_func_catanf
=yes
25274 gcc_cv_math_func_catanf
=no
25276 rm -f core conftest.err conftest.
$ac_objext \
25277 conftest
$ac_exeext conftest.
$ac_ext
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25280 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25281 if test $gcc_cv_math_func_catanf = yes; then
25283 cat >>confdefs.h
<<_ACEOF
25284 #define HAVE_CATANF 1
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25293 $as_echo_n "checking for catanh... " >&6; }
25294 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25295 $as_echo_n "(cached) " >&6
25297 if test x
$gcc_no_link = xyes
; then
25298 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25301 /* end confdefs.h. */
25303 #ifdef HAVE_COMPLEX_H
25304 #include <complex.h>
25310 int (*ptr)() = (int (*)())catanh;
25319 if ac_fn_c_try_link
"$LINENO"; then :
25320 gcc_cv_math_func_catanh
=yes
25322 gcc_cv_math_func_catanh
=no
25324 rm -f core conftest.err conftest.
$ac_objext \
25325 conftest
$ac_exeext conftest.
$ac_ext
25327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25328 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25329 if test $gcc_cv_math_func_catanh = yes; then
25331 cat >>confdefs.h
<<_ACEOF
25332 #define HAVE_CATANH 1
25340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25341 $as_echo_n "checking for catanhf... " >&6; }
25342 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25343 $as_echo_n "(cached) " >&6
25345 if test x
$gcc_no_link = xyes
; then
25346 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25349 /* end confdefs.h. */
25351 #ifdef HAVE_COMPLEX_H
25352 #include <complex.h>
25358 int (*ptr)() = (int (*)())catanhf;
25367 if ac_fn_c_try_link
"$LINENO"; then :
25368 gcc_cv_math_func_catanhf
=yes
25370 gcc_cv_math_func_catanhf
=no
25372 rm -f core conftest.err conftest.
$ac_objext \
25373 conftest
$ac_exeext conftest.
$ac_ext
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25376 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25377 if test $gcc_cv_math_func_catanhf = yes; then
25379 cat >>confdefs.h
<<_ACEOF
25380 #define HAVE_CATANHF 1
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25389 $as_echo_n "checking for catanhl... " >&6; }
25390 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25391 $as_echo_n "(cached) " >&6
25393 if test x
$gcc_no_link = xyes
; then
25394 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25397 /* end confdefs.h. */
25399 #ifdef HAVE_COMPLEX_H
25400 #include <complex.h>
25406 int (*ptr)() = (int (*)())catanhl;
25415 if ac_fn_c_try_link
"$LINENO"; then :
25416 gcc_cv_math_func_catanhl
=yes
25418 gcc_cv_math_func_catanhl
=no
25420 rm -f core conftest.err conftest.
$ac_objext \
25421 conftest
$ac_exeext conftest.
$ac_ext
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25424 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25425 if test $gcc_cv_math_func_catanhl = yes; then
25427 cat >>confdefs.h
<<_ACEOF
25428 #define HAVE_CATANHL 1
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25437 $as_echo_n "checking for catanl... " >&6; }
25438 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25439 $as_echo_n "(cached) " >&6
25441 if test x
$gcc_no_link = xyes
; then
25442 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25445 /* end confdefs.h. */
25447 #ifdef HAVE_COMPLEX_H
25448 #include <complex.h>
25454 int (*ptr)() = (int (*)())catanl;
25463 if ac_fn_c_try_link
"$LINENO"; then :
25464 gcc_cv_math_func_catanl
=yes
25466 gcc_cv_math_func_catanl
=no
25468 rm -f core conftest.err conftest.
$ac_objext \
25469 conftest
$ac_exeext conftest.
$ac_ext
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25472 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25473 if test $gcc_cv_math_func_catanl = yes; then
25475 cat >>confdefs.h
<<_ACEOF
25476 #define HAVE_CATANL 1
25482 # On AIX, clog is present in libm as __clog
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25484 $as_echo_n "checking for __clog in -lm... " >&6; }
25485 if test "${ac_cv_lib_m___clog+set}" = set; then :
25486 $as_echo_n "(cached) " >&6
25488 ac_check_lib_save_LIBS
=$LIBS
25490 if test x
$gcc_no_link = xyes
; then
25491 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25494 /* end confdefs.h. */
25496 /* Override any GCC internal prototype to avoid an error.
25497 Use char because int might match the return type of a GCC
25498 builtin and then its argument prototype would still apply. */
25511 if ac_fn_c_try_link
"$LINENO"; then :
25512 ac_cv_lib_m___clog
=yes
25514 ac_cv_lib_m___clog
=no
25516 rm -f core conftest.err conftest.
$ac_objext \
25517 conftest
$ac_exeext conftest.
$ac_ext
25518 LIBS
=$ac_check_lib_save_LIBS
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25521 $as_echo "$ac_cv_lib_m___clog" >&6; }
25522 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25524 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25529 # Check whether the system has a working stat()
25531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25532 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25533 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25534 $as_echo_n "(cached) " >&6
25537 if test "$cross_compiling" = yes; then :
25539 case "${target}" in
25540 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25541 *) libgfor_cv_have_working_stat
=yes;;
25544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25545 /* end confdefs.h. */
25548 #include <sys/types.h>
25549 #include <sys/stat.h>
25550 #include <unistd.h>
25555 struct stat st1, st2;
25557 f = fopen ("foo", "w");
25558 g = fopen ("bar", "w");
25559 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25561 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25568 if ac_fn_c_try_run
"$LINENO"; then :
25569 libgfor_cv_have_working_stat
=yes
25571 libgfor_cv_have_working_stat
=no
25573 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25574 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25579 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25580 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25582 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25586 # Check whether __mingw_snprintf() is present
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25589 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25590 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25591 $as_echo_n "(cached) " >&6
25594 if test x
$gcc_no_link = xyes
; then
25595 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25598 /* end confdefs.h. */
25601 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25607 __mingw_snprintf (NULL, 0, "%d\n", 1);
25613 if ac_fn_c_try_link
"$LINENO"; then :
25614 eval "libgfor_cv_have_mingw_snprintf=yes"
25616 eval "libgfor_cv_have_mingw_snprintf=no"
25618 rm -f core conftest.err conftest.
$ac_objext \
25619 conftest
$ac_exeext conftest.
$ac_ext
25622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25623 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25624 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25626 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25631 # Check whether libquadmath should be used
25632 # Check whether --enable-libquadmath-support was given.
25633 if test "${enable_libquadmath_support+set}" = set; then :
25634 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25636 ENABLE_LIBQUADMATH_SUPPORT
=yes
25639 enable_libquadmath_support
=
25640 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25641 enable_libquadmath_support
=no
25644 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25648 if test "x$enable_libquadmath_support" != xno
; then
25650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25651 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25652 if test "${libgfor_cv_have_float128+set}" = set; then :
25653 $as_echo_n "(cached) " >&6
25656 if test x
$gcc_no_link = xyes
; then
25657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25658 /* end confdefs.h. */
25660 typedef _Complex float __attribute__((mode(TC))) __complex128;
25662 __float128 foo (__float128 x)
25665 __complex128 z1, z2;
25671 return (__float128) z2;
25674 __float128 bar (__float128 x)
25676 return x * __builtin_huge_valq ();
25690 if ac_fn_c_try_compile
"$LINENO"; then :
25692 libgfor_cv_have_float128
=yes
25696 libgfor_cv_have_float128
=no
25699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25701 if test x
$gcc_no_link = xyes
; then
25702 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25705 /* end confdefs.h. */
25707 typedef _Complex float __attribute__((mode(TC))) __complex128;
25709 __float128 foo (__float128 x)
25712 __complex128 z1, z2;
25718 return (__float128) z2;
25721 __float128 bar (__float128 x)
25723 return x * __builtin_huge_valq ();
25737 if ac_fn_c_try_link
"$LINENO"; then :
25739 libgfor_cv_have_float128
=yes
25743 libgfor_cv_have_float128
=no
25746 rm -f core conftest.err conftest.
$ac_objext \
25747 conftest
$ac_exeext conftest.
$ac_ext
25750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25751 $as_echo "$libgfor_cv_have_float128" >&6; }
25753 if test "x$libgfor_cv_have_float128" = xyes
; then
25755 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25758 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25760 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25761 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25762 $as_echo_n "(cached) " >&6
25765 # Test for native Solaris options first.
25766 # No whitespace after -z to pass it through -Wl.
25767 libgfor_cv_as_needed_option
="-zignore"
25768 libgfor_cv_no_as_needed_option
="-zrecord"
25769 save_LDFLAGS
="$LDFLAGS"
25770 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25771 libgfor_cv_have_as_needed
=no
25773 ac_c_werror_flag
=yes
25774 if test x
$gcc_no_link = xyes
; then
25775 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25778 /* end confdefs.h. */
25788 if ac_fn_c_try_link
"$LINENO"; then :
25789 libgfor_cv_have_as_needed
=yes
25791 libgfor_cv_have_as_needed
=no
25793 rm -f core conftest.err conftest.
$ac_objext \
25794 conftest
$ac_exeext conftest.
$ac_ext
25795 LDFLAGS
="$save_LDFLAGS"
25796 if test "x$libgfor_cv_have_as_needed" = xno
; then
25797 libgfor_cv_as_needed_option
="--as-needed"
25798 libgfor_cv_no_as_needed_option
="--no-as-needed"
25799 save_LDFLAGS
="$LDFLAGS"
25800 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25801 libgfor_cv_have_as_needed
=no
25803 ac_c_werror_flag
=yes
25804 if test x
$gcc_no_link = xyes
; then
25805 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25808 /* end confdefs.h. */
25818 if ac_fn_c_try_link
"$LINENO"; then :
25819 libgfor_cv_have_as_needed
=yes
25821 libgfor_cv_have_as_needed
=no
25823 rm -f core conftest.err conftest.
$ac_objext \
25824 conftest
$ac_exeext conftest.
$ac_ext
25825 LDFLAGS
="$save_LDFLAGS"
25827 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25831 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25833 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25834 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25836 LIBQUADSPEC
="-lquadmath"
25838 if test -f ..
/libquadmath
/libquadmath.la
; then
25839 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25840 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25841 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25843 LIBQUADLIB
="-lquadmath"
25849 # for --disable-quadmath
25860 if test "x$libgfor_cv_have_float128" = xyes
; then
25861 LIBGFOR_BUILD_QUAD_TRUE
=
25862 LIBGFOR_BUILD_QUAD_FALSE
='#'
25864 LIBGFOR_BUILD_QUAD_TRUE
='#'
25865 LIBGFOR_BUILD_QUAD_FALSE
=
25870 # Check for GNU libc feenableexcept
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25872 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25873 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25874 $as_echo_n "(cached) " >&6
25876 ac_check_lib_save_LIBS
=$LIBS
25878 if test x
$gcc_no_link = xyes
; then
25879 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25882 /* end confdefs.h. */
25884 /* Override any GCC internal prototype to avoid an error.
25885 Use char because int might match the return type of a GCC
25886 builtin and then its argument prototype would still apply. */
25890 char feenableexcept ();
25894 return feenableexcept ();
25899 if ac_fn_c_try_link
"$LINENO"; then :
25900 ac_cv_lib_m_feenableexcept
=yes
25902 ac_cv_lib_m_feenableexcept
=no
25904 rm -f core conftest.err conftest.
$ac_objext \
25905 conftest
$ac_exeext conftest.
$ac_ext
25906 LIBS
=$ac_check_lib_save_LIBS
25908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25909 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25910 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25911 have_feenableexcept
=yes
25912 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25917 # At least for glibc, clock_gettime is in librt. But don't
25918 # pull that in if it still doesn't give us the function we want. This
25919 # test is copied from libgomp, and modified to not link in -lrt as
25920 # libgfortran calls clock_gettime via a weak reference if it's found
25922 if test $ac_cv_func_clock_gettime = no
; then
25923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25924 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25925 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25926 $as_echo_n "(cached) " >&6
25928 ac_check_lib_save_LIBS
=$LIBS
25930 if test x
$gcc_no_link = xyes
; then
25931 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25934 /* end confdefs.h. */
25936 /* Override any GCC internal prototype to avoid an error.
25937 Use char because int might match the return type of a GCC
25938 builtin and then its argument prototype would still apply. */
25942 char clock_gettime ();
25946 return clock_gettime ();
25951 if ac_fn_c_try_link
"$LINENO"; then :
25952 ac_cv_lib_rt_clock_gettime
=yes
25954 ac_cv_lib_rt_clock_gettime
=no
25956 rm -f core conftest.err conftest.
$ac_objext \
25957 conftest
$ac_exeext conftest.
$ac_ext
25958 LIBS
=$ac_check_lib_save_LIBS
25960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25961 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25962 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25964 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25970 # Check for SysV fpsetmask
25972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25973 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25974 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25975 $as_echo_n "(cached) " >&6
25978 if test x
$gcc_no_link = xyes
; then
25979 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25982 /* end confdefs.h. */
25984 #if HAVE_FLOATINGPOINT_H
25985 # include <floatingpoint.h>
25986 #endif /* HAVE_FLOATINGPOINT_H */
25988 # include <ieeefp.h>
25989 #endif /* HAVE_IEEEFP_H */
25998 if ac_fn_c_try_link
"$LINENO"; then :
25999 eval "libgfor_cv_have_fpsetmask=yes"
26001 eval "libgfor_cv_have_fpsetmask=no"
26003 rm -f core conftest.err conftest.
$ac_objext \
26004 conftest
$ac_exeext conftest.
$ac_ext
26007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26008 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26009 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26012 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26016 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "#include <ieeefp.h>
26018 if test "x$ac_cv_type_fp_except" = x
""yes; then :
26020 cat >>confdefs.h
<<_ACEOF
26021 #define HAVE_FP_EXCEPT 1
26026 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "#include <ieeefp.h>
26028 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
26030 cat >>confdefs.h
<<_ACEOF
26031 #define HAVE_FP_EXCEPT_T 1
26037 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "#include <ieeefp.h>
26039 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
26041 cat >>confdefs.h
<<_ACEOF
26042 #define HAVE_FP_RND 1
26047 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "#include <ieeefp.h>
26049 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
26051 cat >>confdefs.h
<<_ACEOF
26052 #define HAVE_FP_RND_T 1
26059 # Check for AIX fp_trap and fp_enable
26060 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26061 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
26063 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26067 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26068 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
26070 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26075 # Runs configure.host to set up necessary host-dependent shell variables.
26076 # We then display a message about it, and propagate them through the
26078 .
${srcdir}/configure.
host
26079 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26080 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26081 FPU_HOST_HEADER
=config
/${fpu_host}.h
26084 # Some targets require additional compiler options for IEEE compatibility.
26085 IEEE_FLAGS
="${ieee_flags}"
26089 # Check for POSIX getpwuid_r
26091 # There are two versions of getpwuid_r, the POSIX one with 5
26092 # arguments, and another one with 4 arguments used by at least HP-UX
26094 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26096 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26097 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26098 $as_echo_n "(cached) " >&6
26101 if test x
$gcc_no_link = xyes
; then
26102 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26105 /* end confdefs.h. */
26108 #include <sys/types.h>
26114 getpwuid_r(0, NULL, NULL, 0, NULL);
26120 if ac_fn_c_try_link
"$LINENO"; then :
26121 libgfor_cv_posix_getpwuid_r
="yes"
26123 libgfor_cv_posix_getpwuid_r
="no"
26125 rm -f core conftest.err conftest.
$ac_objext \
26126 conftest
$ac_exeext conftest.
$ac_ext
26128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26129 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26131 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26133 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26138 # Check out attribute support.
26140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26141 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26142 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26143 $as_echo_n "(cached) " >&6
26146 save_CFLAGS
="$CFLAGS"
26147 CFLAGS
="$CFLAGS -Werror"
26148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26149 /* end confdefs.h. */
26150 void __attribute__((visibility("hidden"))) foo(void) { }
26159 if ac_fn_c_try_compile
"$LINENO"; then :
26160 libgfor_cv_have_attribute_visibility
=yes
26162 libgfor_cv_have_attribute_visibility
=no
26164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26165 CFLAGS
="$save_CFLAGS"
26167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26168 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26169 if test $libgfor_cv_have_attribute_visibility = yes; then
26171 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26176 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26177 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26178 $as_echo_n "(cached) " >&6
26181 save_CFLAGS
="$CFLAGS"
26182 CFLAGS
="$CFLAGS -Werror"
26183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26184 /* end confdefs.h. */
26185 void __attribute__((dllexport)) foo(void) { }
26194 if ac_fn_c_try_compile
"$LINENO"; then :
26195 libgfor_cv_have_attribute_dllexport
=yes
26197 libgfor_cv_have_attribute_dllexport
=no
26199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26200 CFLAGS
="$save_CFLAGS"
26202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26203 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26204 if test $libgfor_cv_have_attribute_dllexport = yes; then
26206 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26211 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26212 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26213 $as_echo_n "(cached) " >&6
26216 if test x
$gcc_no_link = xyes
; then
26217 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26220 /* end confdefs.h. */
26223 extern void bar(void) __attribute__((alias("foo")));
26232 if ac_fn_c_try_link
"$LINENO"; then :
26233 libgfor_cv_have_attribute_alias
=yes
26235 libgfor_cv_have_attribute_alias
=no
26237 rm -f core conftest.err conftest.
$ac_objext \
26238 conftest
$ac_exeext conftest.
$ac_ext
26240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26241 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26242 if test $libgfor_cv_have_attribute_alias = yes; then
26244 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26248 # Check out sync builtins support.
26250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26251 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26252 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26253 $as_echo_n "(cached) " >&6
26256 if test x
$gcc_no_link = xyes
; then
26257 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26260 /* end confdefs.h. */
26266 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26267 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26272 if ac_fn_c_try_link
"$LINENO"; then :
26273 libgfor_cv_have_sync_fetch_and_add
=yes
26275 libgfor_cv_have_sync_fetch_and_add
=no
26277 rm -f core conftest.err conftest.
$ac_objext \
26278 conftest
$ac_exeext conftest.
$ac_ext
26280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26281 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26282 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26284 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26288 # Check out #pragma weak.
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26291 $as_echo_n "checking whether pragma weak works... " >&6; }
26292 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26293 $as_echo_n "(cached) " >&6
26296 gfor_save_CFLAGS
="$CFLAGS"
26297 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h. */
26312 if ac_fn_c_try_compile
"$LINENO"; then :
26313 libgfor_cv_have_pragma_weak
=yes
26315 libgfor_cv_have_pragma_weak
=no
26317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26320 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26321 if test $libgfor_cv_have_pragma_weak = yes; then
26323 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26327 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
26329 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26334 # Various other checks on target
26336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26337 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26338 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26339 $as_echo_n "(cached) " >&6
26342 if test "$cross_compiling" = yes; then :
26344 case "${target}" in
26345 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26346 *) libgfor_cv_have_unlink_open_file
=yes;;
26349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26350 /* end confdefs.h. */
26354 #include <unistd.h>
26355 #include <sys/stat.h>
26361 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26364 if (unlink ("testfile") == -1)
26366 write (fd, "This is a test\n", 15);
26369 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26375 if ac_fn_c_try_run
"$LINENO"; then :
26376 libgfor_cv_have_unlink_open_file
=yes
26378 libgfor_cv_have_unlink_open_file
=no
26380 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26381 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26386 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26387 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26389 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26393 # Check whether line terminator is LF or CRLF
26395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26396 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26397 if test "${libgfor_cv_have_crlf+set}" = set; then :
26398 $as_echo_n "(cached) " >&6
26401 if test "$cross_compiling" = yes; then :
26403 case "${target}" in
26404 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26405 *) libgfor_cv_have_crlf
=no
;;
26408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26409 /* end confdefs.h. */
26411 /* This test program should exit with status 0 if system uses a CRLF as
26412 line terminator, and status 1 otherwise.
26413 Since it is used to check for mingw systems, and should return 0 in any
26414 other case, in case of a failure we will not use CRLF. */
26415 #include <sys/stat.h>
26416 #include <stdlib.h>
26428 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26431 if (write (fd, "\n", 1) < 0)
26436 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26438 bytes = read (fd, buff, 5);
26439 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26446 if ac_fn_c_try_run
"$LINENO"; then :
26447 libgfor_cv_have_crlf
=yes
26449 libgfor_cv_have_crlf
=no
26451 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26452 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26457 $as_echo "$libgfor_cv_have_crlf" >&6; }
26458 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26460 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26464 # Check whether we have _Unwind_GetIPInfo for backtrace
26467 # Check whether --with-system-libunwind was given.
26468 if test "${with_system_libunwind+set}" = set; then :
26469 withval
=$with_system_libunwind;
26472 # If system-libunwind was not specifically set, pick a default setting.
26473 if test x
$with_system_libunwind = x
; then
26475 ia64-
*-hpux*) with_system_libunwind
=yes ;;
26476 *) with_system_libunwind
=no
;;
26479 # Based on system-libunwind and target, do we have ipinfo?
26480 if test x
$with_system_libunwind = xyes
; then
26482 ia64-
*-*) have_unwind_getipinfo
=no
;;
26483 *) have_unwind_getipinfo
=yes ;;
26486 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26489 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
26490 *) have_unwind_getipinfo
=yes ;;
26495 if test x
$have_unwind_getipinfo = xyes
; then
26497 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26502 cat >confcache
<<\_ACEOF
26503 # This file is a shell script that caches the results of configure
26504 # tests run on this system so they can be shared between configure
26505 # scripts and configure runs, see configure's option --config-cache.
26506 # It is not useful on other systems. If it contains results you don't
26507 # want to keep, you may remove or edit it.
26509 # config.status only pays attention to the cache file if you give it
26510 # the --recheck option to rerun configure.
26512 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26513 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26514 # following values.
26518 # The following way of writing the cache mishandles newlines in values,
26519 # but we know of no workaround that is simple, portable, and efficient.
26520 # So, we kill variables containing newlines.
26521 # Ultrix sh set writes to stderr and can't be redirected directly,
26522 # and sets the high bit in the cache file unless we assign to the vars.
26524 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26525 eval ac_val
=\$
$ac_var
26529 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26530 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26533 _ | IFS | as_nl
) ;; #(
26534 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26535 *) { eval $ac_var=; unset $ac_var;} ;;
26541 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26542 *${as_nl}ac_space
=\
*)
26543 # `set' does not quote correctly, so add quotes: double-quote
26544 # substitution turns \\\\ into \\, and sed turns \\ into \.
26547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26550 # `set' quotes correctly as required by POSIX, so do not add quotes.
26551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26560 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26562 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26564 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26565 if test -w "$cache_file"; then
26566 test "x$cache_file" != "x/dev/null" &&
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26568 $as_echo "$as_me: updating cache $cache_file" >&6;}
26569 cat confcache
>$cache_file
26571 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26572 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26577 if test ${multilib} = yes; then
26578 multilib_arg
="--enable-multilib"
26583 # Write our Makefile and spec file.
26584 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26586 cat >confcache
<<\_ACEOF
26587 # This file is a shell script that caches the results of configure
26588 # tests run on this system so they can be shared between configure
26589 # scripts and configure runs, see configure's option --config-cache.
26590 # It is not useful on other systems. If it contains results you don't
26591 # want to keep, you may remove or edit it.
26593 # config.status only pays attention to the cache file if you give it
26594 # the --recheck option to rerun configure.
26596 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26597 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26598 # following values.
26602 # The following way of writing the cache mishandles newlines in values,
26603 # but we know of no workaround that is simple, portable, and efficient.
26604 # So, we kill variables containing newlines.
26605 # Ultrix sh set writes to stderr and can't be redirected directly,
26606 # and sets the high bit in the cache file unless we assign to the vars.
26608 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26609 eval ac_val
=\$
$ac_var
26613 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26614 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26617 _ | IFS | as_nl
) ;; #(
26618 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26619 *) { eval $ac_var=; unset $ac_var;} ;;
26625 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26626 *${as_nl}ac_space
=\
*)
26627 # `set' does not quote correctly, so add quotes: double-quote
26628 # substitution turns \\\\ into \\, and sed turns \\ into \.
26631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26634 # `set' quotes correctly as required by POSIX, so do not add quotes.
26635 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26644 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26646 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26648 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26649 if test -w "$cache_file"; then
26650 test "x$cache_file" != "x/dev/null" &&
26651 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26652 $as_echo "$as_me: updating cache $cache_file" >&6;}
26653 cat confcache
>$cache_file
26655 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26656 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26661 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26662 # Let make expand exec_prefix.
26663 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26665 DEFS
=-DHAVE_CONFIG_H
26669 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26670 # 1. Remove the extension, and $U if already installed.
26671 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26672 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26673 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26674 # will be set to the directory where LIBOBJS objects are built.
26675 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26676 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26678 LIBOBJS
=$ac_libobjs
26680 LTLIBOBJS
=$ac_ltlibobjs
26683 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26684 as_fn_error
"conditional \"onestep\" was never defined.
26685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26687 if test -n "$EXEEXT"; then
26689 am__EXEEXT_FALSE
='#'
26691 am__EXEEXT_TRUE
='#'
26695 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26696 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26699 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26700 as_fn_error
"conditional \"AMDEP\" was never defined.
26701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26703 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26704 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26707 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26708 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26711 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26712 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26715 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26716 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26719 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26720 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26723 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26724 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26728 : ${CONFIG_STATUS=./config.status}
26730 ac_clean_files_save
=$ac_clean_files
26731 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26733 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26735 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26737 # Generated by $as_me.
26738 # Run this file to recreate the current configuration.
26739 # Compiler output produced by configure, useful for debugging
26740 # configure, is in config.log if it exists.
26743 ac_cs_recheck=false
26746 SHELL=\${CONFIG_SHELL-$SHELL}
26749 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26750 ## -------------------- ##
26751 ## M4sh Initialization. ##
26752 ## -------------------- ##
26754 # Be more Bourne compatible
26755 DUALCASE
=1; export DUALCASE
# for MKS sh
26756 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26759 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26760 # is contrary to our usage. Disable this feature.
26761 alias -g '${1+"$@"}'='"$@"'
26762 setopt NO_GLOB_SUBST
26764 case `(set -o) 2>/dev/null` in #(
26776 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26777 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26778 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26779 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26780 # Prefer a ksh shell builtin over an external printf program on Solaris,
26781 # but without wasting forks for bash or zsh.
26782 if test -z "$BASH_VERSION$ZSH_VERSION" \
26783 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26784 as_echo='print
-r --'
26785 as_echo_n='print
-rn --'
26786 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26787 as_echo='printf %s
\n'
26788 as_echo_n='printf %s
'
26790 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26791 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26792 as_echo_n='/usr
/ucb
/echo -n'
26794 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26795 as_echo_n_body='eval
26799 expr "X$arg" : "X\\(.*\\)$as_nl";
26800 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26802 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26804 export as_echo_n_body
26805 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26807 export as_echo_body
26808 as_echo='sh
-c $as_echo_body as_echo
'
26811 # The user is always right.
26812 if test "${PATH_SEPARATOR+set}" != set; then
26814 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26815 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26822 # We need space, tab and new line, in precisely that order. Quoting is
26823 # there to prevent editors from complaining about space-tab.
26824 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26825 # splitting by setting IFS to empty value.)
26828 # Find who we are. Look in the path if we contain no directory separator.
26830 *[\\/]* ) as_myself=$0 ;;
26831 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26832 for as_dir in $PATH
26835 test -z "$as_dir" && as_dir=.
26836 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26842 # We did not find ourselves, most probably we were run as `sh COMMAND'
26843 # in which case we are not to be found in the path.
26844 if test "x$as_myself" = x
; then
26847 if test ! -f "$as_myself"; then
26848 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26852 # Unset variables that we do not need and which cause bugs (e.g. in
26853 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26854 # suppresses any "Segmentation fault" message there. '((' could
26855 # trigger a bug in pdksh 5.2.14.
26856 for as_var
in BASH_ENV ENV MAIL MAILPATH
26857 do eval test x\
${$as_var+set} = xset \
26858 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26871 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26874 # as_fn_error ERROR [LINENO LOG_FD]
26875 # ---------------------------------
26876 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26877 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26878 # script with status $?, using 1 if that was 0.
26881 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26883 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26884 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26886 $as_echo "$as_me: error: $1" >&2
26887 as_fn_exit
$as_status
26891 # as_fn_set_status STATUS
26892 # -----------------------
26893 # Set $? to STATUS, without forking.
26894 as_fn_set_status
()
26897 } # as_fn_set_status
26899 # as_fn_exit STATUS
26900 # -----------------
26901 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26905 as_fn_set_status
$1
26911 # Portably unset VAR.
26914 { eval $1=; unset $1;}
26916 as_unset
=as_fn_unset
26917 # as_fn_append VAR VALUE
26918 # ----------------------
26919 # Append the text in VALUE to the end of the definition contained in VAR. Take
26920 # advantage of any shell optimizations that allow amortized linear growth over
26921 # repeated appends, instead of the typical quadratic growth present in naive
26923 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26924 eval 'as_fn_append ()
26935 # as_fn_arith ARG...
26936 # ------------------
26937 # Perform arithmetic evaluation on the ARGs, and store the result in the
26938 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26939 # must be portable across $(()) and expr.
26940 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26941 eval 'as_fn_arith ()
26948 as_val
=`expr "$@" || test $? -eq 1`
26953 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26954 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26960 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26961 as_basename
=basename
26966 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26972 as_me
=`$as_basename -- "$0" ||
26973 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26974 X"$0" : 'X\(//\)$' \| \
26975 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26977 sed '/^.*\/\([^/][^/]*\)\/*$/{
26991 # Avoid depending upon Character Ranges.
26992 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26993 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26994 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26995 as_cr_digits
='0123456789'
26996 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26998 ECHO_C
= ECHO_N
= ECHO_T
=
26999 case `echo -n x` in #(((((
27001 case `echo 'xy\c'` in
27002 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27004 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27011 rm -f conf$$ conf$$.exe conf$$.
file
27012 if test -d conf$$.dir
; then
27013 rm -f conf$$.dir
/conf$$.
file
27016 mkdir conf$$.dir
2>/dev
/null
27018 if (echo >conf$$.
file) 2>/dev
/null
; then
27019 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27021 # ... but there are two gotchas:
27022 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27023 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27024 # In both cases, we have to default to `cp -p'.
27025 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27027 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27035 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27036 rmdir conf$$.dir
2>/dev
/null
27041 # Create "$as_dir" as a directory, including parents if necessary.
27046 -*) as_dir
=.
/$as_dir;;
27048 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27052 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27053 *) as_qdir
=$as_dir;;
27055 as_dirs
="'$as_qdir' $as_dirs"
27056 as_dir
=`$as_dirname -- "$as_dir" ||
27057 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27058 X"$as_dir" : 'X\(//\)[^/]' \| \
27059 X"$as_dir" : 'X\(//\)$' \| \
27060 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27061 $as_echo X"$as_dir" |
27062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27066 /^X\(\/\/\)[^/].*/{
27079 test -d "$as_dir" && break
27081 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27082 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27086 if mkdir
-p .
2>/dev
/null
; then
27087 as_mkdir_p
='mkdir -p "$as_dir"'
27089 test -d .
/-p && rmdir .
/-p
27093 if test -x / >/dev
/null
2>&1; then
27094 as_test_x
='test -x'
27096 if ls -dL / >/dev
/null
2>&1; then
27103 if test -d "$1"; then
27109 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27110 ???[sx]*):;;*)false;;esac;fi
27114 as_executable_p
=$as_test_x
27116 # Sed expression to map a string onto a valid CPP name.
27117 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27119 # Sed expression to map a string onto a valid variable name.
27120 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27124 ## ----------------------------------- ##
27125 ## Main body of $CONFIG_STATUS script. ##
27126 ## ----------------------------------- ##
27128 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27131 # Save the log message, to keep $0 and so on meaningful, and to
27132 # report actual input values of CONFIG_FILES etc. instead of their
27133 # values after options handling.
27135 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27136 generated by GNU Autoconf 2.64. Invocation command line was
27138 CONFIG_FILES = $CONFIG_FILES
27139 CONFIG_HEADERS = $CONFIG_HEADERS
27140 CONFIG_LINKS = $CONFIG_LINKS
27141 CONFIG_COMMANDS = $CONFIG_COMMANDS
27144 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27149 case $ac_config_files in *"
27150 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27153 case $ac_config_headers in *"
27154 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27159 # Files that config.status was made for.
27160 config_files="$ac_config_files"
27161 config_headers="$ac_config_headers"
27162 config_commands="$ac_config_commands"
27166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27168 \`$as_me' instantiates files and other configuration actions
27169 from templates according to the current configuration. Unless the files
27170 and actions are specified as TAGs, all are instantiated by default.
27172 Usage: $0 [OPTION]... [TAG]...
27174 -h, --help print this help, then exit
27175 -V, --version print version number and configuration settings, then exit
27176 -q, --quiet, --silent
27177 do not print progress messages
27178 -d, --debug don't remove temporary files
27179 --recheck update $as_me by reconfiguring in the same conditions
27180 --file=FILE[:TEMPLATE]
27181 instantiate the configuration file FILE
27182 --header=FILE[:TEMPLATE]
27183 instantiate the configuration header FILE
27185 Configuration files:
27188 Configuration headers:
27191 Configuration commands:
27194 Report bugs to the package provider.
27195 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27196 General help using GNU software: <http://www.gnu.org/gethelp/>."
27199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27201 GNU Fortran Runtime Library config.status 0.3
27202 configured by $0, generated by GNU Autoconf 2.64,
27203 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27205 Copyright (C) 2009 Free Software Foundation, Inc.
27206 This config.status script is free software; the Free Software Foundation
27207 gives unlimited permission to copy, distribute and modify it."
27214 test -n "\$AWK" || AWK=awk
27217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27218 # The default lists apply if the user does not specify any file.
27224 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27225 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27236 # Handling of the options.
27237 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27239 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27240 $as_echo "$ac_cs_version"; exit ;;
27241 --debug |
--debu |
--deb |
--de |
--d |
-d )
27243 --file |
--fil |
--fi |
--f )
27246 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27248 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27249 ac_need_defaults
=false
;;
27250 --header |
--heade |
--head |
--hea )
27253 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27255 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27256 ac_need_defaults
=false
;;
27258 # Conflict between --help and --header
27259 as_fn_error
"ambiguous option: \`$1'
27260 Try \`$0 --help' for more information.";;
27261 --help |
--hel |
-h )
27262 $as_echo "$ac_cs_usage"; exit ;;
27263 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27264 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27267 # This is an error.
27268 -*) as_fn_error
"unrecognized option: \`$1'
27269 Try \`$0 --help' for more information." ;;
27271 *) as_fn_append ac_config_targets
" $1"
27272 ac_need_defaults
=false
;;
27278 ac_configure_extra_args
=
27280 if $ac_cs_silent; then
27282 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27287 if \$ac_cs_recheck; then
27288 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27290 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27291 CONFIG_SHELL='$SHELL'
27292 export CONFIG_SHELL
27297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27301 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27302 ## Running $as_me. ##
27308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27316 with_multisubdir="$with_multisubdir"
27317 with_multisrctop="$with_multisrctop"
27318 with_target_subdir="$with_target_subdir"
27319 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27320 multi_basedir="$multi_basedir"
27321 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27324 GFORTRAN="$GFORTRAN"
27326 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27329 # The HP-UX ksh and POSIX shell print the target directory to stdout
27330 # if CDPATH is set.
27331 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27333 sed_quote_subst='$sed_quote_subst'
27334 double_quote_subst='$double_quote_subst'
27335 delay_variable_subst='$delay_variable_subst'
27336 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27337 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27338 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27339 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27340 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27341 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27342 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27343 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27344 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27345 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27346 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27347 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27348 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27349 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27350 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27351 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27352 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27353 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27354 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27355 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27356 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27357 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27358 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27359 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27360 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27361 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27362 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27363 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27364 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27365 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27366 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27367 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27368 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27369 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27370 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27371 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27372 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27373 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27374 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27375 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27376 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27377 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27378 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27379 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27380 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27381 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27382 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27383 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27384 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"`'
27385 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27386 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27387 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27388 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27389 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27390 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27391 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27392 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27393 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27394 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27395 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27396 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27397 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27398 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27399 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27400 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27401 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27402 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27403 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27404 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27405 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27406 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27407 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27408 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27409 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27410 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27411 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27412 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27413 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27414 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27415 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27416 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27417 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27418 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27419 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27420 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27421 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27422 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27423 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27424 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27425 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27426 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27427 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27428 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27429 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27430 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27431 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27432 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27433 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27434 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27435 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27436 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27437 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27438 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27439 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27440 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27441 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27442 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27443 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27444 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27445 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27446 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27447 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27448 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27449 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27450 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27451 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27452 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27453 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27454 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27455 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27456 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27457 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27458 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27459 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27460 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27461 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27462 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27463 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27464 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27465 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27466 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27467 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27468 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27469 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27470 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27471 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27472 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27473 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27474 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27475 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27476 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27477 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27478 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27479 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27480 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27481 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27482 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27483 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27484 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27485 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27486 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27487 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27488 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27489 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27490 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27491 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27492 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27493 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27494 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27495 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27496 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27497 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27498 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27499 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27500 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27501 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27502 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27503 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27504 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27505 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27506 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27507 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27508 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27509 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27510 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27513 LTCFLAGS='$LTCFLAGS'
27514 compiler='$compiler_DEFAULT'
27516 # A function that is used when there is no print builtin or printf.
27517 func_fallback_echo ()
27519 eval 'cat <<_LTECHO_EOF
27524 # Quote evaled strings.
27538 deplibs_check_method \
27547 lt_cv_sys_global_symbol_pipe \
27548 lt_cv_sys_global_symbol_to_cdecl \
27549 lt_cv_sys_global_symbol_to_c_name_address \
27550 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27551 lt_prog_compiler_no_builtin_flag \
27552 lt_prog_compiler_wl \
27553 lt_prog_compiler_pic \
27554 lt_prog_compiler_static \
27555 lt_cv_prog_compiler_c_o \
27563 export_dynamic_flag_spec \
27564 whole_archive_flag_spec \
27565 compiler_needs_object \
27567 allow_undefined_flag \
27568 no_undefined_flag \
27569 hardcode_libdir_flag_spec \
27570 hardcode_libdir_flag_spec_ld \
27571 hardcode_libdir_separator \
27576 variables_saved_for_relink \
27578 library_names_spec \
27580 install_override_mode \
27584 compiler_lib_search_dirs \
27589 compiler_lib_search_path \
27593 lt_prog_compiler_no_builtin_flag_FC \
27594 lt_prog_compiler_wl_FC \
27595 lt_prog_compiler_pic_FC \
27596 lt_prog_compiler_static_FC \
27597 lt_cv_prog_compiler_c_o_FC \
27598 export_dynamic_flag_spec_FC \
27599 whole_archive_flag_spec_FC \
27600 compiler_needs_object_FC \
27602 allow_undefined_flag_FC \
27603 no_undefined_flag_FC \
27604 hardcode_libdir_flag_spec_FC \
27605 hardcode_libdir_flag_spec_ld_FC \
27606 hardcode_libdir_separator_FC \
27607 fix_srcfile_path_FC \
27608 exclude_expsyms_FC \
27609 include_expsyms_FC \
27610 file_list_spec_FC \
27611 compiler_lib_search_dirs_FC \
27612 predep_objects_FC \
27613 postdep_objects_FC \
27616 compiler_lib_search_path_FC; do
27617 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27618 *[\\\\\\\`\\"\\\$]*)
27619 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27622 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27627 # Double-quote double-evaled strings.
27628 for var in reload_cmds \
27629 old_postinstall_cmds \
27630 old_postuninstall_cmds \
27632 extract_expsyms_cmds \
27633 old_archive_from_new_cmds \
27634 old_archive_from_expsyms_cmds \
27636 archive_expsym_cmds \
27638 module_expsym_cmds \
27639 export_symbols_cmds \
27642 postuninstall_cmds \
27644 sys_lib_search_path_spec \
27645 sys_lib_dlsearch_path_spec \
27647 old_archive_cmds_FC \
27648 old_archive_from_new_cmds_FC \
27649 old_archive_from_expsyms_cmds_FC \
27651 archive_expsym_cmds_FC \
27653 module_expsym_cmds_FC \
27654 export_symbols_cmds_FC \
27655 prelink_cmds_FC; do
27656 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27657 *[\\\\\\\`\\"\\\$]*)
27658 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27661 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27666 ac_aux_dir='$ac_aux_dir'
27667 xsi_shell='$xsi_shell'
27668 lt_shell_append='$lt_shell_append'
27670 # See if we are running on zsh, and set the options which allow our
27671 # commands through without removal of \ escapes INIT.
27672 if test -n "\${ZSH_VERSION+set}" ; then
27673 setopt NO_GLOB_SUBST
27679 TIMESTAMP='$TIMESTAMP'
27690 acx_cv_header_stdint="$acx_cv_header_stdint"
27691 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27692 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27693 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27694 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27695 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27696 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27697 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27698 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27699 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27700 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27701 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27702 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27703 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27710 # Handling of arguments.
27711 for ac_config_target
in $ac_config_targets
27713 case $ac_config_target in
27714 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27715 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27716 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27717 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27718 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27719 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27720 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27722 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27727 # If the user did not use the arguments to specify the items to instantiate,
27728 # then the envvar interface is used. Set only those that are not.
27729 # We use the long form for the default assignment because of an extremely
27730 # bizarre bug on SunOS 4.1.3.
27731 if $ac_need_defaults; then
27732 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27733 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27734 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27737 # Have a temporary directory for convenience. Make it in the build tree
27738 # simply because there is no reason against having it here, and in addition,
27739 # creating and moving files from /tmp can sometimes cause problems.
27740 # Hook for its removal unless debugging.
27741 # Note that there is a small window in which the directory will not be cleaned:
27742 # after its creation but before its name has been assigned to `$tmp'.
27746 trap 'exit_status=$?
27747 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27749 trap 'as_fn_exit 1' 1 2 13 15
27751 # Create a (secure) tmp directory for tmp files.
27754 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27755 test -n "$tmp" && test -d "$tmp"
27758 tmp
=.
/conf$$
-$RANDOM
27759 (umask 077 && mkdir
"$tmp")
27760 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27762 # Set up the scripts for CONFIG_FILES section.
27763 # No need to generate them if there are no CONFIG_FILES.
27764 # This happens for instance with `./config.status config.h'.
27765 if test -n "$CONFIG_FILES"; then
27768 ac_cr
=`echo X | tr X '\015'`
27769 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27770 # But we know of no other shell where ac_cr would be empty at this
27771 # point, so we can use a bashism as a fallback.
27772 if test "x$ac_cr" = x
; then
27773 eval ac_cr
=\$
\'\\r
\'
27775 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27776 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27779 ac_cs_awk_cr
=$ac_cr
27782 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27787 echo "cat >conf$$subs.awk <<_ACEOF" &&
27788 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27790 } >conf$$subs.sh ||
27791 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27792 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27794 for ac_last_try in false false false false false :; do
27795 . ./conf$$subs.sh ||
27796 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27798 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27799 if test $ac_delim_n = $ac_delim_num; then
27801 elif $ac_last_try; then
27802 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27804 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27807 rm -f conf$$subs.sh
27809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27810 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27814 s/^/S["/; s
/!.
*/"]=/
27824 s/\(.\{148\}\).*/\1/
27826 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27831 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27838 s/\(.\{148\}\).*/\1/
27840 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27844 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27849 ' <conf$$subs.awk | sed '
27854 ' >>$CONFIG_STATUS || ac_write_fail=1
27855 rm -f conf$$subs.awk
27856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27858 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27859 for (key in S) S_is_set[key] = 1
27865 nfields = split(line, field, "@
")
27867 len = length(field[1])
27868 for (i = 2; i < nfields; i++) {
27870 keylen = length(key)
27871 if (S_is_set[key]) {
27873 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27874 len += length(value) + length(field[++i])
27885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27886 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27887 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27890 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27891 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27894 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27895 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27896 # trailing colons and then remove the whole line if VPATH becomes empty
27897 # (actually we leave an empty line to preserve line numbers).
27898 if test "x
$srcdir" = x.; then
27899 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27900 s/:*\$(srcdir):*/:/
27901 s/:*\${srcdir}:*/:/
27903 s/^\([^=]*=[ ]*\):*/\1/
27909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27910 fi # test -n "$CONFIG_FILES"
27912 # Set up the scripts for CONFIG_HEADERS section.
27913 # No need to generate them if there are no CONFIG_HEADERS.
27914 # This happens for instance with `./config.status Makefile'.
27915 if test -n "$CONFIG_HEADERS"; then
27916 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27920 # Transform confdefs.h into an awk script `defines.awk', embedded as
27921 # here-document in config.status, that substitutes the proper values into
27922 # config.h.in to produce config.h.
27924 # Create a delimiter string that does not exist in confdefs.h, to ease
27925 # handling of long lines.
27927 for ac_last_try in false false :; do
27928 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27929 if test -z "$ac_t"; then
27931 elif $ac_last_try; then
27932 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27934 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27938 # For the awk script, D is an array of macro values keyed by name,
27939 # likewise P contains macro parameters if any. Preserve backslash
27940 # newline sequences.
27942 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27944 s/.\{148\}/&'"$ac_delim"'/g
27947 s/^[ ]*#[ ]*define[ ][ ]*/ /
27954 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27956 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27960 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27961 D["\
1"]=" \
3\\\\\\n
"\\/p
27963 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27968 s/.\{148\}/&'"$ac_delim"'/g
27973 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27976 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27978 ' <confdefs.h | sed '
27979 s/'"$ac_delim"'/"\\\
27980 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27983 for (key in D) D_is_set[key] = 1
27986 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27988 split(line, arg, " ")
27989 if (arg[1] == "#") {
27993 defundef
= substr
(arg
[1], 2)
27996 split(mac1
, mac2
, "(") #)
27998 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
27999 if (D_is_set
[macro
]) {
28000 # Preserve the white space surrounding the "#".
28001 print prefix
"define", macro P
[macro
] D
[macro
]
28004 # Replace #undef with comments. This is necessary, for example,
28005 # in the case of _POSIX_SOURCE, which is predefined and required
28006 # on some systems where configure will not decide to define it.
28007 if (defundef
== "undef") {
28008 print
"/*", prefix defundef
, macro
, "*/"
28016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28017 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
28018 fi # test -n "$CONFIG_HEADERS"
28021 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28026 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28028 case $ac_mode$ac_tag in
28030 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28031 :[FH
]-) ac_tag
=-:-;;
28032 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28049 -) ac_f
="$tmp/stdin";;
28050 *) # Look for the file first in the build tree, then in the source tree
28051 # (if the path is not absolute). The absolute path cannot be DOS-style,
28052 # because $ac_f cannot contain `:'.
28056 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28058 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
28060 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28061 as_fn_append ac_file_inputs
" '$ac_f'"
28064 # Let's still pretend it is `configure' which instantiates (i.e., don't
28065 # use $as_me), people would be surprised to read:
28066 # /* config.h. Generated by config.status. */
28067 configure_input
='Generated from '`
28068 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28070 if test x
"$ac_file" != x-
; then
28071 configure_input
="$ac_file. $configure_input"
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28073 $as_echo "$as_me: creating $ac_file" >&6;}
28075 # Neutralize special characters interpreted by sed in replacement strings.
28076 case $configure_input in #(
28077 *\
&* |
*\|
* |
*\\* )
28078 ac_sed_conf_input
=`$as_echo "$configure_input" |
28079 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28080 *) ac_sed_conf_input
=$configure_input;;
28084 *:-:* |
*:-) cat >"$tmp/stdin" \
28085 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28090 ac_dir
=`$as_dirname -- "$ac_file" ||
28091 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28092 X"$ac_file" : 'X\(//\)[^/]' \| \
28093 X"$ac_file" : 'X\(//\)$' \| \
28094 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28095 $as_echo X"$ac_file" |
28096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28100 /^X\(\/\/\)[^/].*/{
28113 as_dir
="$ac_dir"; as_fn_mkdir_p
28117 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28119 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28120 # A ".." for each directory in $ac_dir_suffix.
28121 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28122 case $ac_top_builddir_sub in
28123 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28124 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28127 ac_abs_top_builddir
=$ac_pwd
28128 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28129 # for backward compatibility:
28130 ac_top_builddir
=$ac_top_build_prefix
28133 .
) # We are building in place.
28135 ac_top_srcdir
=$ac_top_builddir_sub
28136 ac_abs_top_srcdir
=$ac_pwd ;;
28137 [\\/]* | ?
:[\\/]* ) # Absolute name.
28138 ac_srcdir
=$srcdir$ac_dir_suffix;
28139 ac_top_srcdir
=$srcdir
28140 ac_abs_top_srcdir
=$srcdir ;;
28141 *) # Relative name.
28142 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28143 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28144 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28146 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28156 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28157 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28159 ac_MKDIR_P
=$MKDIR_P
28161 [\\/$
]* | ?
:[\\/]* ) ;;
28162 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28167 # If the template does not know about datarootdir, expand it.
28168 # FIXME: This hack should be removed a few years after 2.60.
28169 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28180 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28181 *datarootdir
*) ac_datarootdir_seen
=yes;;
28182 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28184 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28187 ac_datarootdir_hack='
28188 s&@datadir@&$datadir&g
28189 s&@docdir@&$docdir&g
28190 s&@infodir@&$infodir&g
28191 s&@localedir@&$localedir&g
28192 s&@mandir@&$mandir&g
28193 s&\\\${datarootdir}&$datarootdir&g' ;;
28197 # Neutralize VPATH when `$srcdir' = `.'.
28198 # Shell code in configure.ac might set extrasub.
28199 # FIXME: do we really want to maintain this feature?
28200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28201 ac_sed_extra="$ac_vpsub
28204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28206 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28207 s|@configure_input@|
$ac_sed_conf_input|
;t t
28208 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28209 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28210 s
&@srcdir@
&$ac_srcdir&;t t
28211 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28212 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28213 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28214 s
&@builddir@
&$ac_builddir&;t t
28215 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28216 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28217 s
&@INSTALL@
&$ac_INSTALL&;t t
28218 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28219 $ac_datarootdir_hack
28221 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28222 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28224 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28225 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28226 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28228 which seems to be undefined. Please make sure it is defined." >&5
28229 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28230 which seems to be undefined. Please make sure it is defined." >&2;}
28234 -) cat "$tmp/out" && rm -f "$tmp/out";;
28235 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28237 || as_fn_error "could not create $ac_file" "$LINENO" 5
28243 if test x"$ac_file" != x-; then
28245 $as_echo "/* $configure_input */" \
28246 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28247 } >"$tmp/config.h" \
28248 || as_fn_error "could not create $ac_file" "$LINENO" 5
28249 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28250 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28251 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28254 mv "$tmp/config.h" "$ac_file" \
28255 || as_fn_error "could not create $ac_file" "$LINENO" 5
28258 $as_echo "/* $configure_input */" \
28259 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28260 || as_fn_error "could not create -" "$LINENO" 5
28262 # Compute "$ac_file"'s index
in $config_headers.
28265 for _am_header
in $config_headers :; do
28266 case $_am_header in
28267 $_am_arg |
$_am_arg:* )
28270 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28273 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28274 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28275 X"$_am_arg" : 'X\(//\)[^/]' \| \
28276 X"$_am_arg" : 'X\(//\)$' \| \
28277 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28278 $as_echo X"$_am_arg" |
28279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28283 /^X\(\/\/\)[^/].*/{
28295 s/.*/./; q'`/stamp-h
$_am_stamp_count
28298 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28299 $as_echo "$as_me: executing $ac_file commands" >&6;}
28304 case $ac_file$ac_mode in
28306 # Only add multilib support code if we just rebuilt the top-level
28308 case " $CONFIG_FILES " in
28310 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28313 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28314 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28315 # are listed without --file. Let's play safe and only enable the eval
28316 # if we detect the quoting.
28317 case $CONFIG_FILES in
28318 *\'*) eval set x
"$CONFIG_FILES" ;;
28319 *) set x
$CONFIG_FILES ;;
28324 # Strip MF so we end up with the name of the file.
28325 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28326 # Check whether this is an Automake generated Makefile or not.
28327 # We used to match only the files named `Makefile.in', but
28328 # some people rename them; so instead we look at the file content.
28329 # Grep'ing the first line is not enough: some people post-process
28330 # each Makefile.in and add a new line on top of each file to say so.
28331 # Grep'ing the whole file is not good either: AIX grep has a line
28332 # limit of 2048, but all sed's we know have understand at least 4000.
28333 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28334 dirpart
=`$as_dirname -- "$mf" ||
28335 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28336 X"$mf" : 'X\(//\)[^/]' \| \
28337 X"$mf" : 'X\(//\)$' \| \
28338 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28344 /^X\(\/\/\)[^/].*/{
28360 # Extract the definition of DEPDIR, am__include, and am__quote
28361 # from the Makefile without running `make'.
28362 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28363 test -z "$DEPDIR" && continue
28364 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28365 test -z "am__include" && continue
28366 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28367 # When using ansi2knr, U may be empty or an underscore; expand it
28368 U
=`sed -n 's/^U = //p' < "$mf"`
28369 # Find all dependency output files, they are included files with
28370 # $(DEPDIR) in their names. We invoke sed twice because it is the
28371 # simplest approach to changing $(DEPDIR) to its actual value in the
28373 for file in `sed -n "
28374 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28375 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28376 # Make sure the directory exists.
28377 test -f "$dirpart/$file" && continue
28378 fdir
=`$as_dirname -- "$file" ||
28379 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28380 X"$file" : 'X\(//\)[^/]' \| \
28381 X"$file" : 'X\(//\)$' \| \
28382 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28383 $as_echo X"$file" |
28384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28388 /^X\(\/\/\)[^/].*/{
28401 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28402 # echo "creating $dirpart/$file"
28403 echo '# dummy' > "$dirpart/$file"
28410 # See if we are running on zsh, and set the options which allow our
28411 # commands through without removal of \ escapes.
28412 if test -n "${ZSH_VERSION+set}" ; then
28413 setopt NO_GLOB_SUBST
28416 cfgfile
="${ofile}T"
28417 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28420 cat <<_LT_EOF >> "$cfgfile"
28423 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28424 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28425 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28426 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28428 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28429 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28430 # Written by Gordon Matzigkeit, 1996
28432 # This file is part of GNU Libtool.
28434 # GNU Libtool is free software; you can redistribute it and/or
28435 # modify it under the terms of the GNU General Public License as
28436 # published by the Free Software Foundation; either version 2 of
28437 # the License, or (at your option) any later version.
28439 # As a special exception to the GNU General Public License,
28440 # if you distribute this file as part of a program or library that
28441 # is built using GNU Libtool, you may include this file under the
28442 # same distribution terms that you use for the rest of that program.
28444 # GNU Libtool is distributed in the hope that it will be useful,
28445 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28446 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28447 # GNU General Public License for more details.
28449 # You should have received a copy of the GNU General Public License
28450 # along with GNU Libtool; see the file COPYING. If not, a copy
28451 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28452 # obtained by writing to the Free Software Foundation, Inc.,
28453 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28456 # The names of the tagged configurations supported by this script.
28457 available_tags="FC "
28459 # ### BEGIN LIBTOOL CONFIG
28461 # Which release of libtool.m4 was used?
28462 macro_version=$macro_version
28463 macro_revision=$macro_revision
28465 # Whether or not to build shared libraries.
28466 build_libtool_libs=$enable_shared
28468 # Whether or not to build static libraries.
28469 build_old_libs=$enable_static
28471 # What type of objects to build.
28474 # Whether or not to optimize for fast installation.
28475 fast_install=$enable_fast_install
28477 # Shell to use when invoking shell scripts.
28480 # An echo program that protects backslashes.
28484 host_alias=$host_alias
28488 # The build system.
28489 build_alias=$build_alias
28493 # A sed program that does not truncate output.
28496 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28497 Xsed="\$SED -e 1s/^X//"
28499 # A grep program that handles long lines.
28505 # A literal string matcher.
28508 # A BSD- or MS-compatible name lister.
28511 # Whether we need soft or hard links.
28514 # What is the maximum length of a command?
28515 max_cmd_len=$max_cmd_len
28517 # Object file suffix (normally "o").
28520 # Executable file suffix (normally "").
28523 # whether the shell understands "unset".
28526 # turn spaces into newlines.
28529 # turn newlines into spaces.
28532 # An object symbol dumper.
28533 OBJDUMP=$lt_OBJDUMP
28535 # Method to check whether dependent libraries are shared objects.
28536 deplibs_check_method=$lt_deplibs_check_method
28538 # Command to use when deplibs_check_method == "file_magic".
28539 file_magic_cmd=$lt_file_magic_cmd
28543 AR_FLAGS=$lt_AR_FLAGS
28545 # A symbol stripping program.
28548 # Commands used to install an old-style archive.
28550 old_postinstall_cmds=$lt_old_postinstall_cmds
28551 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28553 # Whether to use a lock for old archive extraction.
28554 lock_old_archive_extraction=$lock_old_archive_extraction
28559 # LTCC compiler flags.
28560 LTCFLAGS=$lt_CFLAGS
28562 # Take the output of nm and produce a listing of raw symbols and C names.
28563 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28565 # Transform the output of nm in a proper C declaration.
28566 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28568 # Transform the output of nm in a C name address pair.
28569 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28571 # Transform the output of nm in a C name address pair when lib prefix is needed.
28572 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28574 # The name of the directory that contains temporary libtool files.
28577 # Used to examine libraries when file_magic_cmd begins with "file".
28578 MAGIC_CMD=$MAGIC_CMD
28580 # Must we lock files when doing compilation?
28581 need_locks=$lt_need_locks
28583 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28584 DSYMUTIL=$lt_DSYMUTIL
28586 # Tool to change global to local symbols on Mac OS X.
28589 # Tool to manipulate fat objects and archives on Mac OS X.
28592 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28595 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28596 OTOOL64=$lt_OTOOL64
28598 # Old archive suffix (normally "a").
28601 # Shared library suffix (normally ".so").
28602 shrext_cmds=$lt_shrext_cmds
28604 # The commands to extract the exported symbol list from a shared archive.
28605 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28607 # Variables whose values should be saved in libtool wrapper scripts and
28608 # restored at link time.
28609 variables_saved_for_relink=$lt_variables_saved_for_relink
28611 # Do we need the "lib" prefix for modules?
28612 need_lib_prefix=$need_lib_prefix
28614 # Do we need a version for libraries?
28615 need_version=$need_version
28617 # Library versioning type.
28618 version_type=$version_type
28620 # Shared library runtime path variable.
28621 runpath_var=$runpath_var
28623 # Shared library path variable.
28624 shlibpath_var=$shlibpath_var
28626 # Is shlibpath searched before the hard-coded library search path?
28627 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28629 # Format of library name prefix.
28630 libname_spec=$lt_libname_spec
28632 # List of archive names. First name is the real one, the rest are links.
28633 # The last name is the one that the linker finds with -lNAME
28634 library_names_spec=$lt_library_names_spec
28636 # The coded name of the library, if different from the real name.
28637 soname_spec=$lt_soname_spec
28639 # Permission mode override for installation of shared libraries.
28640 install_override_mode=$lt_install_override_mode
28642 # Command to use after installation of a shared archive.
28643 postinstall_cmds=$lt_postinstall_cmds
28645 # Command to use after uninstallation of a shared archive.
28646 postuninstall_cmds=$lt_postuninstall_cmds
28648 # Commands used to finish a libtool library installation in a directory.
28649 finish_cmds=$lt_finish_cmds
28651 # As "finish_cmds", except a single script fragment to be evaled but
28653 finish_eval=$lt_finish_eval
28655 # Whether we should hardcode library paths into libraries.
28656 hardcode_into_libs=$hardcode_into_libs
28658 # Compile-time system search path for libraries.
28659 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28661 # Run-time system search path for libraries.
28662 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28664 # Whether dlopen is supported.
28665 dlopen_support=$enable_dlopen
28667 # Whether dlopen of programs is supported.
28668 dlopen_self=$enable_dlopen_self
28670 # Whether dlopen of statically linked programs is supported.
28671 dlopen_self_static=$enable_dlopen_self_static
28673 # Commands to strip libraries.
28674 old_striplib=$lt_old_striplib
28675 striplib=$lt_striplib
28678 # The linker used to build libraries.
28681 # How to create reloadable object files.
28682 reload_flag=$lt_reload_flag
28683 reload_cmds=$lt_reload_cmds
28685 # Commands used to build an old-style archive.
28686 old_archive_cmds=$lt_old_archive_cmds
28688 # A language specific compiler.
28691 # Is the compiler the GNU compiler?
28694 # Compiler flag to turn off builtin functions.
28695 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28697 # How to pass a linker flag through the compiler.
28698 wl=$lt_lt_prog_compiler_wl
28700 # Additional compiler flags for building library objects.
28701 pic_flag=$lt_lt_prog_compiler_pic
28703 # Compiler flag to prevent dynamic linking.
28704 link_static_flag=$lt_lt_prog_compiler_static
28706 # Does compiler simultaneously support -c and -o options?
28707 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28709 # Whether or not to add -lc for building shared libraries.
28710 build_libtool_need_lc=$archive_cmds_need_lc
28712 # Whether or not to disallow shared libs when runtime libs are static.
28713 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28715 # Compiler flag to allow reflexive dlopens.
28716 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28718 # Compiler flag to generate shared objects directly from archives.
28719 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28721 # Whether the compiler copes with passing no objects directly.
28722 compiler_needs_object=$lt_compiler_needs_object
28724 # Create an old-style archive from a shared archive.
28725 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28727 # Create a temporary old-style archive to link instead of a shared archive.
28728 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28730 # Commands used to build a shared archive.
28731 archive_cmds=$lt_archive_cmds
28732 archive_expsym_cmds=$lt_archive_expsym_cmds
28734 # Commands used to build a loadable module if different from building
28735 # a shared archive.
28736 module_cmds=$lt_module_cmds
28737 module_expsym_cmds=$lt_module_expsym_cmds
28739 # Whether we are building with GNU ld or not.
28740 with_gnu_ld=$lt_with_gnu_ld
28742 # Flag that allows shared libraries with undefined symbols to be built.
28743 allow_undefined_flag=$lt_allow_undefined_flag
28745 # Flag that enforces no undefined symbols.
28746 no_undefined_flag=$lt_no_undefined_flag
28748 # Flag to hardcode \$libdir into a binary during linking.
28749 # This must work even if \$libdir does not exist
28750 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28752 # If ld is used when linking, flag to hardcode \$libdir into a binary
28753 # during linking. This must work even if \$libdir does not exist.
28754 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28756 # Whether we need a single "-rpath" flag with a separated argument.
28757 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28759 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28760 # DIR into the resulting binary.
28761 hardcode_direct=$hardcode_direct
28763 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28764 # DIR into the resulting binary and the resulting library dependency is
28765 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28766 # library is relocated.
28767 hardcode_direct_absolute=$hardcode_direct_absolute
28769 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28770 # into the resulting binary.
28771 hardcode_minus_L=$hardcode_minus_L
28773 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28774 # into the resulting binary.
28775 hardcode_shlibpath_var=$hardcode_shlibpath_var
28777 # Set to "yes" if building a shared library automatically hardcodes DIR
28778 # into the library and all subsequent libraries and executables linked
28780 hardcode_automatic=$hardcode_automatic
28782 # Set to yes if linker adds runtime paths of dependent libraries
28783 # to runtime path list.
28784 inherit_rpath=$inherit_rpath
28786 # Whether libtool must link a program against all its dependency libraries.
28787 link_all_deplibs=$link_all_deplibs
28789 # Fix the shell variable \$srcfile for the compiler.
28790 fix_srcfile_path=$lt_fix_srcfile_path
28792 # Set to "yes" if exported symbols are required.
28793 always_export_symbols=$always_export_symbols
28795 # The commands to list exported symbols.
28796 export_symbols_cmds=$lt_export_symbols_cmds
28798 # Symbols that should not be listed in the preloaded symbols.
28799 exclude_expsyms=$lt_exclude_expsyms
28801 # Symbols that must always be exported.
28802 include_expsyms=$lt_include_expsyms
28804 # Commands necessary for linking programs (against libraries) with templates.
28805 prelink_cmds=$lt_prelink_cmds
28807 # Specify filename containing input files.
28808 file_list_spec=$lt_file_list_spec
28810 # How to hardcode a shared library path into an executable.
28811 hardcode_action=$hardcode_action
28813 # The directories searched by this compiler when creating a shared library.
28814 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28816 # Dependencies to place before and after the objects being linked to
28817 # create a shared library.
28818 predep_objects=$lt_predep_objects
28819 postdep_objects=$lt_postdep_objects
28820 predeps=$lt_predeps
28821 postdeps=$lt_postdeps
28823 # The library search path used internally by the compiler when linking
28824 # a shared library.
28825 compiler_lib_search_path=$lt_compiler_lib_search_path
28827 # ### END LIBTOOL CONFIG
28833 cat <<\_LT_EOF
>> "$cfgfile"
28834 # AIX sometimes has problems with the GCC collect2 program. For some
28835 # reason, if we set the COLLECT_NAMES environment variable, the problems
28836 # vanish in a puff of smoke.
28837 if test "X${COLLECT_NAMES+set}" != Xset
; then
28839 export COLLECT_NAMES
28846 ltmain
="$ac_aux_dir/ltmain.sh"
28849 # We use sed instead of cat because bash on DJGPP gets confused if
28850 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28851 # text mode, it properly converts lines to CR/LF. This bash problem
28852 # is reportedly fixed, but why not run on old versions too?
28853 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28854 ||
(rm -f "$cfgfile"; exit 1)
28858 cat << \_LT_EOF
>> "$cfgfile"
28860 # func_dirname file append nondir_replacement
28861 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28862 # otherwise set result to NONDIR_REPLACEMENT.
28866 */*) func_dirname_result
="${1%/*}${2}" ;;
28867 * ) func_dirname_result
="${3}" ;;
28871 # func_basename file
28874 func_basename_result
="${1##*/}"
28877 # func_dirname_and_basename file append nondir_replacement
28878 # perform func_basename and func_dirname in a single function
28880 # dirname: Compute the dirname of FILE. If nonempty,
28881 # add APPEND to the result, otherwise set result
28882 # to NONDIR_REPLACEMENT.
28883 # value returned in "$func_dirname_result"
28884 # basename: Compute filename of FILE.
28885 # value retuned in "$func_basename_result"
28886 # Implementation must be kept synchronized with func_dirname
28887 # and func_basename. For efficiency, we do not delegate to
28888 # those functions but instead duplicate the functionality here.
28889 func_dirname_and_basename
()
28892 */*) func_dirname_result
="${1%/*}${2}" ;;
28893 * ) func_dirname_result
="${3}" ;;
28895 func_basename_result
="${1##*/}"
28898 # func_stripname prefix suffix name
28899 # strip PREFIX and SUFFIX off of NAME.
28900 # PREFIX and SUFFIX must not contain globbing or regex special
28901 # characters, hashes, percent signs, but SUFFIX may contain a leading
28902 # dot (in which case that matches only a dot).
28905 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28906 # positional parameters, so assign one to ordinary parameter first.
28907 func_stripname_result
=${3}
28908 func_stripname_result
=${func_stripname_result#"${1}"}
28909 func_stripname_result
=${func_stripname_result%"${2}"}
28915 func_opt_split_opt
=${1%%=*}
28916 func_opt_split_arg
=${1#*=}
28923 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28924 *) func_lo2o_result
=${1} ;;
28928 # func_xform libobj-or-source
28931 func_xform_result
=${1%.*}.lo
28934 # func_arith arithmetic-term...
28937 func_arith_result
=$
(( $
* ))
28941 # STRING may not start with a hyphen.
28944 func_len_result
=${#1}
28949 *) # Bourne compatible functions.
28950 cat << \_LT_EOF
>> "$cfgfile"
28952 # func_dirname file append nondir_replacement
28953 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28954 # otherwise set result to NONDIR_REPLACEMENT.
28957 # Extract subdirectory from the argument.
28958 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28959 if test "X$func_dirname_result" = "X${1}"; then
28960 func_dirname_result
="${3}"
28962 func_dirname_result
="$func_dirname_result${2}"
28966 # func_basename file
28969 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28973 # func_stripname prefix suffix name
28974 # strip PREFIX and SUFFIX off of NAME.
28975 # PREFIX and SUFFIX must not contain globbing or regex special
28976 # characters, hashes, percent signs, but SUFFIX may contain a leading
28977 # dot (in which case that matches only a dot).
28978 # func_strip_suffix prefix name
28982 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28983 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28988 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
28989 my_sed_long_arg
='1s/^-[^=]*=//'
28994 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28995 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29001 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29004 # func_xform libobj-or-source
29007 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29010 # func_arith arithmetic-term...
29013 func_arith_result
=`expr "$@"`
29017 # STRING may not start with a hyphen.
29020 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29026 case $lt_shell_append in
29028 cat << \_LT_EOF
>> "$cfgfile"
29030 # func_append var value
29031 # Append VALUE to the end of shell variable VAR.
29039 cat << \_LT_EOF
>> "$cfgfile"
29041 # func_append var value
29042 # Append VALUE to the end of shell variable VAR.
29053 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29054 ||
(rm -f "$cfgfile"; exit 1)
29056 mv -f "$cfgfile" "$ofile" ||
29057 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29061 cat <<_LT_EOF >> "$ofile"
29063 # ### BEGIN LIBTOOL TAG CONFIG: FC
29065 # The linker used to build libraries.
29068 # How to create reloadable object files.
29069 reload_flag=$lt_reload_flag_FC
29070 reload_cmds=$lt_reload_cmds_FC
29072 # Commands used to build an old-style archive.
29073 old_archive_cmds=$lt_old_archive_cmds_FC
29075 # A language specific compiler.
29078 # Is the compiler the GNU compiler?
29081 # Compiler flag to turn off builtin functions.
29082 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29084 # How to pass a linker flag through the compiler.
29085 wl=$lt_lt_prog_compiler_wl_FC
29087 # Additional compiler flags for building library objects.
29088 pic_flag=$lt_lt_prog_compiler_pic_FC
29090 # Compiler flag to prevent dynamic linking.
29091 link_static_flag=$lt_lt_prog_compiler_static_FC
29093 # Does compiler simultaneously support -c and -o options?
29094 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29096 # Whether or not to add -lc for building shared libraries.
29097 build_libtool_need_lc=$archive_cmds_need_lc_FC
29099 # Whether or not to disallow shared libs when runtime libs are static.
29100 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29102 # Compiler flag to allow reflexive dlopens.
29103 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29105 # Compiler flag to generate shared objects directly from archives.
29106 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29108 # Whether the compiler copes with passing no objects directly.
29109 compiler_needs_object=$lt_compiler_needs_object_FC
29111 # Create an old-style archive from a shared archive.
29112 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29114 # Create a temporary old-style archive to link instead of a shared archive.
29115 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29117 # Commands used to build a shared archive.
29118 archive_cmds=$lt_archive_cmds_FC
29119 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29121 # Commands used to build a loadable module if different from building
29122 # a shared archive.
29123 module_cmds=$lt_module_cmds_FC
29124 module_expsym_cmds=$lt_module_expsym_cmds_FC
29126 # Whether we are building with GNU ld or not.
29127 with_gnu_ld=$lt_with_gnu_ld_FC
29129 # Flag that allows shared libraries with undefined symbols to be built.
29130 allow_undefined_flag=$lt_allow_undefined_flag_FC
29132 # Flag that enforces no undefined symbols.
29133 no_undefined_flag=$lt_no_undefined_flag_FC
29135 # Flag to hardcode \$libdir into a binary during linking.
29136 # This must work even if \$libdir does not exist
29137 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29139 # If ld is used when linking, flag to hardcode \$libdir into a binary
29140 # during linking. This must work even if \$libdir does not exist.
29141 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29143 # Whether we need a single "-rpath" flag with a separated argument.
29144 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29146 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29147 # DIR into the resulting binary.
29148 hardcode_direct=$hardcode_direct_FC
29150 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29151 # DIR into the resulting binary and the resulting library dependency is
29152 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29153 # library is relocated.
29154 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29156 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29157 # into the resulting binary.
29158 hardcode_minus_L=$hardcode_minus_L_FC
29160 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29161 # into the resulting binary.
29162 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29164 # Set to "yes" if building a shared library automatically hardcodes DIR
29165 # into the library and all subsequent libraries and executables linked
29167 hardcode_automatic=$hardcode_automatic_FC
29169 # Set to yes if linker adds runtime paths of dependent libraries
29170 # to runtime path list.
29171 inherit_rpath=$inherit_rpath_FC
29173 # Whether libtool must link a program against all its dependency libraries.
29174 link_all_deplibs=$link_all_deplibs_FC
29176 # Fix the shell variable \$srcfile for the compiler.
29177 fix_srcfile_path=$lt_fix_srcfile_path_FC
29179 # Set to "yes" if exported symbols are required.
29180 always_export_symbols=$always_export_symbols_FC
29182 # The commands to list exported symbols.
29183 export_symbols_cmds=$lt_export_symbols_cmds_FC
29185 # Symbols that should not be listed in the preloaded symbols.
29186 exclude_expsyms=$lt_exclude_expsyms_FC
29188 # Symbols that must always be exported.
29189 include_expsyms=$lt_include_expsyms_FC
29191 # Commands necessary for linking programs (against libraries) with templates.
29192 prelink_cmds=$lt_prelink_cmds_FC
29194 # Specify filename containing input files.
29195 file_list_spec=$lt_file_list_spec_FC
29197 # How to hardcode a shared library path into an executable.
29198 hardcode_action=$hardcode_action_FC
29200 # The directories searched by this compiler when creating a shared library.
29201 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29203 # Dependencies to place before and after the objects being linked to
29204 # create a shared library.
29205 predep_objects=$lt_predep_objects_FC
29206 postdep_objects=$lt_postdep_objects_FC
29207 predeps=$lt_predeps_FC
29208 postdeps=$lt_postdeps_FC
29210 # The library search path used internally by the compiler when linking
29211 # a shared library.
29212 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29214 # ### END LIBTOOL TAG CONFIG: FC
29219 if test "$GCC" = yes; then
29220 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29222 echo "/* generated for $CC */" > tmp-stdint.h
29225 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29227 #ifndef GCC_GENERATED_STDINT_H
29228 #define GCC_GENERATED_STDINT_H 1
29230 #include <sys/types.h>
29233 if test "$acx_cv_header_stdint" != stdint.h
; then
29234 echo "#include <stddef.h>" >> tmp-stdint.h
29236 if test "$acx_cv_header_stdint" != stddef.h
; then
29237 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29240 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29241 /* glibc uses these symbols as guards to prevent redefinitions. */
29242 #ifdef __int8_t_defined
29247 #ifdef __uint32_t_defined
29253 # ----------------- done header, emit basic int types -------------
29254 if test "$acx_cv_header_stdint" = stddef.h
; then
29255 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29259 #ifndef __uint8_t_defined
29260 #define __uint8_t_defined
29262 typedef unsigned $acx_cv_type_int8_t uint8_t;
29269 #ifndef __uint16_t_defined
29270 #define __uint16_t_defined
29272 typedef unsigned $acx_cv_type_int16_t uint16_t;
29279 #ifndef __uint32_t_defined
29280 #define __uint32_t_defined
29282 typedef unsigned $acx_cv_type_int32_t uint32_t;
29289 #ifndef __int8_t_defined
29290 #define __int8_t_defined
29292 typedef $acx_cv_type_int8_t int8_t;
29299 #ifndef __int16_t_defined
29300 #define __int16_t_defined
29302 typedef $acx_cv_type_int16_t int16_t;
29309 #ifndef __int32_t_defined
29310 #define __int32_t_defined
29312 typedef $acx_cv_type_int32_t int32_t;
29317 elif test "$ac_cv_type_u_int32_t" = yes; then
29318 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29320 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29333 #ifndef __uint8_t_defined
29334 #define __uint8_t_defined
29336 typedef u_int8_t uint8_t;
29343 #ifndef __uint16_t_defined
29344 #define __uint16_t_defined
29346 typedef u_int16_t uint16_t;
29353 #ifndef __uint32_t_defined
29354 #define __uint32_t_defined
29356 typedef u_int32_t uint32_t;
29362 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29364 /* Some systems have guard macros to prevent redefinitions, define them. */
29386 # ------------- done basic int types, emit int64_t types ------------
29387 if test "$ac_cv_type_uint64_t" = yes; then
29388 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29390 /* system headers have good uint64_t and int64_t */
29398 elif test "$ac_cv_type_u_int64_t" = yes; then
29399 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29401 /* system headers have an u_int64_t (and int64_t) */
29407 #ifndef __uint64_t_defined
29408 #define __uint64_t_defined
29410 typedef u_int64_t uint64_t;
29415 elif test -n "$acx_cv_type_int64_t"; then
29416 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29418 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29422 typedef $acx_cv_type_int64_t int64_t;
29427 #ifndef __uint64_t_defined
29428 #define __uint64_t_defined
29430 typedef unsigned $acx_cv_type_int64_t uint64_t;
29436 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29438 /* some common heuristics for int64_t, using compiler-specific tests */
29439 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29442 #ifndef __int64_t_defined
29444 typedef long long int64_t;
29451 typedef unsigned long long uint64_t;
29455 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29456 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29457 does not implement __extension__. But that compiler doesn't define
29459 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29460 # define __extension__
29466 __extension__ typedef long long int64_t;
29472 __extension__ typedef unsigned long long uint64_t;
29476 #elif !defined __STRICT_ANSI__
29477 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29482 typedef __int64 int64_t;
29488 typedef unsigned __int64 uint64_t;
29491 # endif /* compiler */
29493 #endif /* ANSI version */
29497 # ------------- done int64_t types, emit intptr types ------------
29498 if test "$ac_cv_type_uintptr_t" != yes; then
29499 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29501 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29502 #ifndef __uintptr_t_defined
29504 typedef u$acx_cv_type_intptr_t uintptr_t;
29507 #ifndef __intptr_t_defined
29509 typedef $acx_cv_type_intptr_t intptr_t;
29515 # ------------- done intptr types, emit int_least types ------------
29516 if test "$ac_cv_type_int_least32_t" != yes; then
29517 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29519 /* Define int_least types */
29520 typedef int8_t int_least8_t;
29521 typedef int16_t int_least16_t;
29522 typedef int32_t int_least32_t;
29524 typedef int64_t int_least64_t;
29527 typedef uint8_t uint_least8_t;
29528 typedef uint16_t uint_least16_t;
29529 typedef uint32_t uint_least32_t;
29531 typedef uint64_t uint_least64_t;
29536 # ------------- done intptr types, emit int_fast types ------------
29537 if test "$ac_cv_type_int_fast32_t" != yes; then
29538 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29540 /* Define int_fast types. short is often slow */
29541 typedef int8_t int_fast8_t;
29542 typedef int int_fast16_t;
29543 typedef int32_t int_fast32_t;
29545 typedef int64_t int_fast64_t;
29548 typedef uint8_t uint_fast8_t;
29549 typedef unsigned int uint_fast16_t;
29550 typedef uint32_t uint_fast32_t;
29552 typedef uint64_t uint_fast64_t;
29557 if test "$ac_cv_type_uintmax_t" != yes; then
29558 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29560 /* Define intmax based on what we found */
29563 typedef int64_t intmax_t;
29565 typedef long intmax_t;
29570 typedef uint64_t uintmax_t;
29572 typedef unsigned long uintmax_t;
29578 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29580 #endif /* GCC_GENERATED_STDINT_H */
29583 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29586 mv -f tmp-stdint.h gstdint.h
29597 ac_clean_files
=$ac_clean_files_save
29599 test $ac_write_fail = 0 ||
29600 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29603 # configure is writing to config.log, and then calls config.status.
29604 # config.status does its own redirection, appending to config.log.
29605 # Unfortunately, on DOS this fails, as config.log is still kept open
29606 # by configure, so config.status won't be able to write to it; its
29607 # output is simply discarded. So we exec the FD to /dev/null,
29608 # effectively closing config.log, so it can be properly (re)opened and
29609 # appended to by config.status. When coming back to configure, we
29610 # need to make the FD available again.
29611 if test "$no_create" != yes; then
29613 ac_config_status_args
=
29614 test "$silent" = yes &&
29615 ac_config_status_args
="$ac_config_status_args --quiet"
29617 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29619 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29620 # would make configure fail if this is the last instruction.
29621 $ac_cs_success || as_fn_exit $?
29623 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29625 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}