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>
603 ac_subst_vars
='am__EXEEXT_FALSE
609 LIBGFOR_BUILD_QUAD_FALSE
610 LIBGFOR_BUILD_QUAD_TRUE
615 extra_ldflags_libgfortran
640 LIBGFOR_USE_SYMVER_SUN_FALSE
641 LIBGFOR_USE_SYMVER_SUN_TRUE
642 LIBGFOR_USE_SYMVER_GNU_FALSE
643 LIBGFOR_USE_SYMVER_GNU_TRUE
644 LIBGFOR_USE_SYMVER_FALSE
645 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
" pwd.h"
2546 as_fn_append ac_header_list
" complex.h"
2547 as_fn_append ac_func_list
" getrusage"
2548 as_fn_append ac_func_list
" times"
2549 as_fn_append ac_func_list
" mkstemp"
2550 as_fn_append ac_func_list
" strtof"
2551 as_fn_append ac_func_list
" strtold"
2552 as_fn_append ac_func_list
" snprintf"
2553 as_fn_append ac_func_list
" ftruncate"
2554 as_fn_append ac_func_list
" chsize"
2555 as_fn_append ac_func_list
" chdir"
2556 as_fn_append ac_func_list
" getlogin"
2557 as_fn_append ac_func_list
" gethostname"
2558 as_fn_append ac_func_list
" kill"
2559 as_fn_append ac_func_list
" link"
2560 as_fn_append ac_func_list
" symlink"
2561 as_fn_append ac_func_list
" sleep"
2562 as_fn_append ac_func_list
" ttyname"
2563 as_fn_append ac_func_list
" alarm"
2564 as_fn_append ac_func_list
" access"
2565 as_fn_append ac_func_list
" fork"
2566 as_fn_append ac_func_list
" execl"
2567 as_fn_append ac_func_list
" wait"
2568 as_fn_append ac_func_list
" setmode"
2569 as_fn_append ac_func_list
" execve"
2570 as_fn_append ac_func_list
" pipe"
2571 as_fn_append ac_func_list
" dup2"
2572 as_fn_append ac_func_list
" close"
2573 as_fn_append ac_func_list
" strcasestr"
2574 as_fn_append ac_func_list
" getrlimit"
2575 as_fn_append ac_func_list
" gettimeofday"
2576 as_fn_append ac_func_list
" stat"
2577 as_fn_append ac_func_list
" fstat"
2578 as_fn_append ac_func_list
" lstat"
2579 as_fn_append ac_func_list
" getpwuid"
2580 as_fn_append ac_func_list
" vsnprintf"
2581 as_fn_append ac_func_list
" dup"
2582 as_fn_append ac_func_list
" getcwd"
2583 as_fn_append ac_func_list
" localtime_r"
2584 as_fn_append ac_func_list
" gmtime_r"
2585 as_fn_append ac_func_list
" getpwuid_r"
2586 as_fn_append ac_func_list
" ttyname_r"
2587 as_fn_append ac_func_list
" clock_gettime"
2588 as_fn_append ac_func_list
" readlink"
2589 as_fn_append ac_func_list
" getgid"
2590 as_fn_append ac_func_list
" getpid"
2591 as_fn_append ac_func_list
" getppid"
2592 as_fn_append ac_func_list
" getuid"
2593 as_fn_append ac_func_list
" geteuid"
2594 as_fn_append ac_func_list
" umask"
2595 as_fn_append ac_func_list
" getegid"
2596 as_fn_append ac_func_list
" secure_getenv"
2597 as_fn_append ac_func_list
" __secure_getenv"
2598 as_fn_append ac_func_list
" strtok_r"
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. Yes, it's still used
3390 # in the wild :-( We should find a proper way to deprecate it ...
3393 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} 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"
3528 if test "x$enable_dependency_tracking" != xno; then
3538 ac_cpp
='$CPP $CPPFLAGS'
3539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3542 if test -n "$ac_tool_prefix"; then
3543 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3544 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if test "${ac_cv_prog_CC+set}" = set; then :
3548 $as_echo_n "(cached) " >&6
3550 if test -n "$CC"; then
3551 ac_cv_prog_CC
="$CC" # Let the user override the test.
3553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir
=.
3558 for ac_exec_ext
in '' $ac_executable_extensions; do
3559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3560 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571 if test -n "$CC"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3573 $as_echo "$CC" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3581 if test -z "$ac_cv_prog_CC"; then
3583 # Extract the first word of "gcc", so it can be a program name with args.
3584 set dummy gcc
; ac_word
=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3588 $as_echo_n "(cached) " >&6
3590 if test -n "$ac_ct_CC"; then
3591 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3597 test -z "$as_dir" && as_dir
=.
3598 for ac_exec_ext
in '' $ac_executable_extensions; do
3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600 ac_cv_prog_ac_ct_CC
="gcc"
3601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3611 if test -n "$ac_ct_CC"; then
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3613 $as_echo "$ac_ct_CC" >&6; }
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3619 if test "x$ac_ct_CC" = x
; then
3622 case $cross_compiling:$ac_tool_warned in
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3626 ac_tool_warned
=yes ;;
3634 if test -z "$CC"; then
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3637 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if test "${ac_cv_prog_CC+set}" = set; then :
3641 $as_echo_n "(cached) " >&6
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC
="$CC" # Let the user override the test.
3646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir
=.
3651 for ac_exec_ext
in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 if test -n "$CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3675 if test -z "$CC"; then
3676 # Extract the first word of "cc", so it can be a program name with args.
3677 set dummy cc
; ac_word
=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_CC+set}" = set; then :
3681 $as_echo_n "(cached) " >&6
3683 if test -n "$CC"; then
3684 ac_cv_prog_CC
="$CC" # Let the user override the test.
3687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir
=.
3692 for ac_exec_ext
in '' $ac_executable_extensions; do
3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3695 ac_prog_rejected
=yes
3699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 if test $ac_prog_rejected = yes; then
3707 # We found a bogon in the path, so make sure we never use it.
3708 set dummy
$ac_cv_prog_CC
3710 if test $# != 0; then
3711 # We chose a different compiler from the bogus one.
3712 # However, it has the same basename, so the bogon will be chosen
3713 # first if we set CC to just the basename; use the full file name.
3715 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3721 if test -n "$CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3731 if test -z "$CC"; then
3732 if test -n "$ac_tool_prefix"; then
3733 for ac_prog
in cl.exe
3735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3736 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if test "${ac_cv_prog_CC+set}" = set; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC
="$CC" # Let the user override the test.
3745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir
=.
3750 for ac_exec_ext
in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 if test -n "$CC"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3765 $as_echo "$CC" >&6; }
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3772 test -n "$CC" && break
3775 if test -z "$CC"; then
3777 for ac_prog
in cl.exe
3779 # Extract the first word of "$ac_prog", so it can be a program name with args.
3780 set dummy
$ac_prog; ac_word
=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$ac_ct_CC"; then
3787 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir
=.
3794 for ac_exec_ext
in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 ac_cv_prog_ac_ct_CC
="$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3807 if test -n "$ac_ct_CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3809 $as_echo "$ac_ct_CC" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$ac_ct_CC" && break
3819 if test "x$ac_ct_CC" = x
; then
3822 case $cross_compiling:$ac_tool_warned in
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned
=yes ;;
3835 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3837 as_fn_error
"no acceptable C compiler found in \$PATH
3838 See \`config.log' for more details." "$LINENO" 5; }
3840 # Provide some information about the compiler.
3841 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3844 for ac_option
in --version -v -V -qversion; do
3845 { { ac_try
="$ac_compiler $ac_option >&5"
3847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3854 if test -s conftest.err; then
3856 ... rest of stderr output deleted ...
3857 10q' conftest.err >conftest.er1
3858 cat conftest.er1 >&5
3859 rm -f conftest.er1 conftest.err
3861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862 test $ac_status = 0; }
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3878 (eval $ac_link) 2>&5
3880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3881 test $ac_status = 0; }; then :
3886 if test x$gcc_no_link = xyes; then
3887 # Setting cross_compile will disable run tests; it will
3888 # also disable AC_CHECK_FILE but that's generally
3889 # correct if we can't link.
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3904 ac_clean_files_save=$ac_clean_files
3905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3906 # Try to create an executable without -o first, disregard a.out.
3907 # It will help us diagnose broken compilers, and finding out an intuition
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3910 $as_echo_n "checking for C compiler default output file name... " >&6; }
3911 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3913 # The possible output files:
3914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3917 for ac_file in $ac_files
3920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3921 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3926 if { { ac_try="$ac_link_default"
3928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3929 *) ac_try_echo
=$ac_try;;
3931 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 $as_echo "$ac_try_echo"; } >&5
3933 (eval "$ac_link_default") 2>&5
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }; then :
3937 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3938 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3939 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3940 # so that the user can short-circuit this test for compilers unknown to
3942 for ac_file
in $ac_files ''
3944 test -f "$ac_file" ||
continue
3946 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3949 # We found the default executable, but exeext='' is most
3953 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3955 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3957 # We set ac_cv_exeext here because the later test for it is not
3958 # safe: cross compilers may not add the suffix if given an `-o'
3959 # argument, so we may need to know it at that point already.
3960 # Even if this section looks crufty: it has the advantage of
3967 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3973 $as_echo "$ac_file" >&6; }
3974 if test -z "$ac_file"; then :
3975 $as_echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.
$ac_ext >&5
3978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3980 { as_fn_set_status
77
3981 as_fn_error
"C compiler cannot create executables
3982 See \`config.log' for more details." "$LINENO" 5; }; }
3984 ac_exeext
=$ac_cv_exeext
3986 # Check that the compiler produces executables we can run. If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3989 $as_echo_n "checking whether the C compiler works... " >&6; }
3990 # If not cross compiling, check that we can run a simple program.
3991 if test "$cross_compiling" != yes; then
3992 if { ac_try
='./$ac_file'
3993 { { case "(($ac_try" in
3994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_try") 2>&5
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }; }; then
4005 if test "$cross_compiling" = maybe; then
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error "cannot run C compiled programs.
4011 If you meant to cross compile
, use \
`--host'.
4012 See \`config.log
' for more details." "$LINENO" 5; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4019 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4020 ac_clean_files=$ac_clean_files_save
4021 # Check that the compiler produces executables we can run. If not, either
4022 # the compiler is broken, or we cross compile.
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4024 $as_echo_n "checking whether we are cross compiling... " >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4026 $as_echo "$cross_compiling" >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4029 $as_echo_n "checking for suffix of executables... " >&6; }
4030 if { { ac_try="$ac_link"
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_link") 2>&5
4039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040 test $ac_status = 0; }; then :
4041 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4042 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4043 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4045 for ac_file
in conftest.exe conftest conftest.
*; do
4046 test -f "$ac_file" ||
continue
4048 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4049 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4057 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4058 See \`config.log' for more details." "$LINENO" 5; }
4060 rm -f conftest
$ac_cv_exeext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4062 $as_echo "$ac_cv_exeext" >&6; }
4064 rm -f conftest.
$ac_ext
4065 EXEEXT
=$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4069 $as_echo_n "checking for suffix of object files... " >&6; }
4070 if test "${ac_cv_objext+set}" = set; then :
4071 $as_echo_n "(cached) " >&6
4073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 rm -f conftest.o conftest.obj
4085 if { { ac_try
="$ac_compile"
4087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_compile") 2>&5
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }; then :
4096 for ac_file in conftest.o conftest.obj conftest.*; do
4097 test -f "$ac_file" || continue;
4099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4100 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4105 $as_echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error "cannot compute suffix of object files
: cannot compile
4111 See \
`config.log' for more details." "$LINENO" 5; }
4113 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4116 $as_echo "$ac_cv_objext" >&6; }
4117 OBJEXT=$ac_cv_objext
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4120 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4121 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4122 $as_echo_n "(cached) " >&6
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4138 if ac_fn_c_try_compile "$LINENO"; then :
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4148 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4149 if test $ac_compiler_gnu = yes; then
4154 ac_test_CFLAGS=${CFLAGS+set}
4155 ac_save_CFLAGS=$CFLAGS
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4157 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4158 if test "${ac_cv_prog_cc_g+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4161 ac_save_c_werror_flag=$ac_c_werror_flag
4162 ac_c_werror_flag=yes
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4176 if ac_fn_c_try_compile "$LINENO"; then :
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4191 if ac_fn_c_try_compile "$LINENO"; then :
4194 ac_c_werror_flag=$ac_save_c_werror_flag
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4207 if ac_fn_c_try_compile "$LINENO"; then :
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4218 $as_echo "$ac_cv_prog_cc_g" >&6; }
4219 if test "$ac_test_CFLAGS" = set; then
4220 CFLAGS=$ac_save_CFLAGS
4221 elif test $ac_cv_prog_cc_g = yes; then
4222 if test "$GCC" = yes; then
4228 if test "$GCC" = yes; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4235 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4236 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4237 $as_echo_n "(cached) " >&6
4239 ac_cv_prog_cc_c89=no
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4245 #include <sys/types.h>
4246 #include <sys/stat.h>
4247 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4248 struct buf { int x; };
4249 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4250 static char *e (p, i)
4256 static char *f (char * (*g) (char **, int), char **p, ...)
4261 s = g (p, va_arg (v,int));
4266 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4267 function prototypes and stuff, but not '\xHH' hex character constants.
4268 These don't provoke an error unfortunately, instead are silently treated
4269 as 'x'. The following induces an error, until -std is added to get
4270 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4271 array size at least. It's necessary to write '\x00'==0 to get something
4272 that's true only with -std. */
4273 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4275 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4276 inside strings and character constants. */
4278 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4280 int test (int i, double x);
4281 struct s1 {int (*f) (int a);};
4282 struct s2 {int (*f) (double a);};
4283 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4289 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4294 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4295 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4297 CC="$ac_save_CC $ac_arg"
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_c89=$ac_arg
4301 rm -f core conftest.err conftest.$ac_objext
4302 test "x$ac_cv_prog_cc_c89" != "xno" && break
4304 rm -f conftest.$ac_ext
4309 case "x$ac_cv_prog_cc_c89" in
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4312 $as_echo "none needed" >&6; } ;;
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4315 $as_echo "unsupported" >&6; } ;;
4317 CC="$CC $ac_cv_prog_cc_c89"
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4319 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4321 if test "x$ac_cv_prog_cc_c89" != xno; then :
4326 ac_cpp='$CPP $CPPFLAGS'
4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331 depcc="$CC" am_compiler_list=
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4334 $as_echo_n "checking dependency style of $depcc... " >&6; }
4335 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4336 $as_echo_n "(cached) " >&6
4338 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4339 # We make a subdir and do the tests there. Otherwise we can end up
4340 # making bogus files that we don't know about and never remove. For
4341 # instance it was reported that on HP-UX the gcc test will end up
4342 # making a dummy file named `D
' -- because `-MD' means
`put the output
4346 # Copy depcomp to subdir because otherwise we won't find it if we're
4347 # using a relative directory.
4348 cp "$am_depcomp" conftest.dir
4350 # We will build objects and dependencies in a subdirectory because
4351 # it helps to detect inapplicable dependency modes. For instance
4352 # both Tru64's cc and ICC support -MD to output dependencies as a
4353 # side effect of compilation, but ICC will put the dependencies in
4354 # the current directory while Tru64 will put them in the object
4358 am_cv_CC_dependencies_compiler_type=none
4359 if test "$am_compiler_list" = ""; then
4360 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4363 case " $depcc " in #(
4364 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4367 for depmode in $am_compiler_list; do
4368 # Setup a source with many dependencies, because some compilers
4369 # like to wrap large dependency lists on column 80 (with \), and
4370 # we should not choose a depcomp mode which is confused by this.
4372 # We need to recreate these files for each test, as the compiler may
4373 # overwrite some of them when testing with obscure command lines.
4374 # This happens at least with the AIX C compiler.
4376 for i in 1 2 3 4 5 6; do
4377 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4378 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4379 # Solaris 8's
{/usr
,}/bin
/sh.
4380 touch sub
/conftst
$i.h
4382 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4384 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4385 # mode. It turns out that the SunPro C++ compiler does not properly
4386 # handle `-M -o', and we need to detect this. Also, some Intel
4387 # versions had trouble with output in subdirs
4388 am__obj
=sub
/conftest.
${OBJEXT-o}
4389 am__minus_obj
="-o $am__obj"
4392 # This depmode causes a compiler race in universal mode.
4393 test "$am__universal" = false ||
continue
4396 # after this tag, mechanisms are not by side-effect, so they'll
4397 # only be used when explicitly requested
4398 if test "x$enable_dependency_tracking" = xyes
; then
4404 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4405 # This compiler won't grok `-c -o', but also, the minuso test has
4406 # not run yet. These depmodes are late enough in the game, and
4407 # so weak that their functioning should not be impacted.
4408 am__obj
=conftest.
${OBJEXT-o}
4413 if depmode
=$depmode \
4414 source=sub
/conftest.c object
=$am__obj \
4415 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4416 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4417 >/dev
/null
2>conftest.err
&&
4418 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4419 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4420 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4421 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4422 # icc doesn't choke on unknown options, it will just issue warnings
4423 # or remarks (even with -Werror). So we grep stderr for any message
4424 # that says an option was ignored or not supported.
4425 # When given -MP, icc 7.0 and 7.1 complain thusly:
4426 # icc: Command line warning: ignoring option '-M'; no argument required
4427 # The diagnosis changed in icc 8.0:
4428 # icc: Command line remark: option '-MP' not supported
4429 if (grep 'ignoring option' conftest.err ||
4430 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4431 am_cv_CC_dependencies_compiler_type
=$depmode
4440 am_cv_CC_dependencies_compiler_type
=none
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4445 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4446 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4449 test "x$enable_dependency_tracking" != xno \
4450 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4452 am__fastdepCC_FALSE
='#'
4454 am__fastdepCC_TRUE
='#'
4455 am__fastdepCC_FALSE
=
4461 ac_cpp
='$CPP $CPPFLAGS'
4462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4466 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4467 # On Suns, sometimes $CPP names a directory.
4468 if test -n "$CPP" && test -d "$CPP"; then
4471 if test -z "$CPP"; then
4472 if test "${ac_cv_prog_CPP+set}" = set; then :
4473 $as_echo_n "(cached) " >&6
4475 # Double quotes because CPP needs to be expanded
4476 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4479 for ac_c_preproc_warn_flag
in '' yes
4481 # Use a header file that comes with gcc, so configuring glibc
4482 # with a fresh cross-compiler works.
4483 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4484 # <limits.h> exists even on freestanding compilers.
4485 # On the NeXT, cc -E runs the code through the compiler's parser,
4486 # not just through cpp. "Syntax error" is here to catch this case.
4487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4490 # include <limits.h>
4492 # include <assert.h>
4496 if ac_fn_c_try_cpp
"$LINENO"; then :
4499 # Broken: fails on valid input.
4502 rm -f conftest.err conftest.
$ac_ext
4504 # OK, works on sane cases. Now check whether nonexistent headers
4505 # can be detected and how.
4506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4508 #include <ac_nonexistent.h>
4510 if ac_fn_c_try_cpp
"$LINENO"; then :
4511 # Broken: success on invalid input.
4514 # Passes both tests.
4518 rm -f conftest.err conftest.
$ac_ext
4521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4522 rm -f conftest.err conftest.
$ac_ext
4523 if $ac_preproc_ok; then :
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4536 $as_echo "$CPP" >&6; }
4538 for ac_c_preproc_warn_flag
in '' yes
4540 # Use a header file that comes with gcc, so configuring glibc
4541 # with a fresh cross-compiler works.
4542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4543 # <limits.h> exists even on freestanding compilers.
4544 # On the NeXT, cc -E runs the code through the compiler's parser,
4545 # not just through cpp. "Syntax error" is here to catch this case.
4546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4549 # include <limits.h>
4551 # include <assert.h>
4555 if ac_fn_c_try_cpp
"$LINENO"; then :
4558 # Broken: fails on valid input.
4561 rm -f conftest.err conftest.
$ac_ext
4563 # OK, works on sane cases. Now check whether nonexistent headers
4564 # can be detected and how.
4565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4567 #include <ac_nonexistent.h>
4569 if ac_fn_c_try_cpp
"$LINENO"; then :
4570 # Broken: success on invalid input.
4573 # Passes both tests.
4577 rm -f conftest.err conftest.
$ac_ext
4580 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4581 rm -f conftest.err conftest.
$ac_ext
4582 if $ac_preproc_ok; then :
4585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4587 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4588 See \`config.log' for more details." "$LINENO" 5; }
4592 ac_cpp
='$CPP $CPPFLAGS'
4593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4599 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4600 if test "${ac_cv_path_GREP+set}" = set; then :
4601 $as_echo_n "(cached) " >&6
4603 if test -z "$GREP"; then
4604 ac_path_GREP_found
=false
4605 # Loop through the user's path and test for each of PROGNAME-LIST
4606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4607 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4610 test -z "$as_dir" && as_dir
=.
4611 for ac_prog
in grep ggrep
; do
4612 for ac_exec_ext
in '' $ac_executable_extensions; do
4613 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4614 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4615 # Check for GNU ac_path_GREP and select it if it is found.
4616 # Check for GNU $ac_path_GREP
4617 case `"$ac_path_GREP" --version 2>&1` in
4619 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4622 $as_echo_n 0123456789 >"conftest.in"
4625 cat "conftest.in" "conftest.in" >"conftest.tmp"
4626 mv "conftest.tmp" "conftest.in"
4627 cp "conftest.in" "conftest.nl"
4628 $as_echo 'GREP' >> "conftest.nl"
4629 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4630 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4631 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4632 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4633 # Best one so far, save it but keep looking for a better one
4634 ac_cv_path_GREP
="$ac_path_GREP"
4635 ac_path_GREP_max
=$ac_count
4637 # 10*(2^10) chars as input seems more than enough
4638 test $ac_count -gt 10 && break
4640 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4643 $ac_path_GREP_found && break 3
4648 if test -z "$ac_cv_path_GREP"; then
4649 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4652 ac_cv_path_GREP
=$GREP
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4657 $as_echo "$ac_cv_path_GREP" >&6; }
4658 GREP
="$ac_cv_path_GREP"
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4662 $as_echo_n "checking for egrep... " >&6; }
4663 if test "${ac_cv_path_EGREP+set}" = set; then :
4664 $as_echo_n "(cached) " >&6
4666 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4667 then ac_cv_path_EGREP
="$GREP -E"
4669 if test -z "$EGREP"; then
4670 ac_path_EGREP_found
=false
4671 # Loop through the user's path and test for each of PROGNAME-LIST
4672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4673 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4676 test -z "$as_dir" && as_dir
=.
4677 for ac_prog
in egrep; do
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4680 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4681 # Check for GNU ac_path_EGREP and select it if it is found.
4682 # Check for GNU $ac_path_EGREP
4683 case `"$ac_path_EGREP" --version 2>&1` in
4685 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4688 $as_echo_n 0123456789 >"conftest.in"
4691 cat "conftest.in" "conftest.in" >"conftest.tmp"
4692 mv "conftest.tmp" "conftest.in"
4693 cp "conftest.in" "conftest.nl"
4694 $as_echo 'EGREP' >> "conftest.nl"
4695 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4696 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4697 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4698 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4699 # Best one so far, save it but keep looking for a better one
4700 ac_cv_path_EGREP
="$ac_path_EGREP"
4701 ac_path_EGREP_max
=$ac_count
4703 # 10*(2^10) chars as input seems more than enough
4704 test $ac_count -gt 10 && break
4706 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4709 $ac_path_EGREP_found && break 3
4714 if test -z "$ac_cv_path_EGREP"; then
4715 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4718 ac_cv_path_EGREP
=$EGREP
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4724 $as_echo "$ac_cv_path_EGREP" >&6; }
4725 EGREP
="$ac_cv_path_EGREP"
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4729 $as_echo_n "checking for ANSI C header files... " >&6; }
4730 if test "${ac_cv_header_stdc+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4748 if ac_fn_c_try_compile
"$LINENO"; then :
4749 ac_cv_header_stdc
=yes
4751 ac_cv_header_stdc
=no
4753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4755 if test $ac_cv_header_stdc = yes; then
4756 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4763 $EGREP "memchr" >/dev
/null
2>&1; then :
4766 ac_cv_header_stdc
=no
4772 if test $ac_cv_header_stdc = yes; then
4773 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4780 $EGREP "free" >/dev
/null
2>&1; then :
4783 ac_cv_header_stdc
=no
4789 if test $ac_cv_header_stdc = yes; then
4790 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4791 if test "$cross_compiling" = yes; then :
4794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4798 #if ((' ' & 0x0FF) == 0x020)
4799 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4800 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4802 # define ISLOWER(c) \
4803 (('a' <= (c) && (c) <= 'i') \
4804 || ('j' <= (c) && (c) <= 'r') \
4805 || ('s' <= (c) && (c) <= 'z'))
4806 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4809 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4814 for (i = 0; i < 256; i++)
4815 if (XOR (islower (i), ISLOWER (i))
4816 || toupper (i) != TOUPPER (i))
4821 if ac_fn_c_try_run
"$LINENO"; then :
4824 ac_cv_header_stdc
=no
4826 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4827 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4833 $as_echo "$ac_cv_header_stdc" >&6; }
4834 if test $ac_cv_header_stdc = yes; then
4836 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4840 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4841 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4842 inttypes.h stdint.h unistd.h
4844 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4845 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4847 eval as_val
=\$
$as_ac_Header
4848 if test "x$as_val" = x
""yes; then :
4849 cat >>confdefs.h
<<_ACEOF
4850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4859 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4860 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4867 if test "$MINIX" = yes; then
4869 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4872 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4875 $as_echo "#define _MINIX 1" >>confdefs.h
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4881 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4882 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4883 $as_echo_n "(cached) " >&6
4885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4888 # define __EXTENSIONS__ 1
4889 $ac_includes_default
4898 if ac_fn_c_try_compile
"$LINENO"; then :
4899 ac_cv_safe_to_define___extensions__
=yes
4901 ac_cv_safe_to_define___extensions__
=no
4903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4906 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4907 test $ac_cv_safe_to_define___extensions__ = yes &&
4908 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4910 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4912 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4914 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4916 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4920 # Calculate toolexeclibdir
4921 # Also toolexecdir, though it's only used in toolexeclibdir
4922 case ${version_specific_libs} in
4924 # Need the gcc compiler version to know where to install libraries
4925 # and header files if --enable-version-specific-runtime-libs option
4927 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4928 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4931 if test -n "$with_cross_host" &&
4932 test x
"$with_cross_host" != x
"no"; then
4933 # Install a library built with a cross compiler in tooldir, not libdir.
4934 toolexecdir
='$(exec_prefix)/$(target_alias)'
4935 toolexeclibdir
='$(toolexecdir)/lib'
4937 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4938 toolexeclibdir
='$(libdir)'
4940 multi_os_directory
=`$CC -print-multi-os-directory`
4941 case $multi_os_directory in
4942 .
) ;; # Avoid trailing /.
4943 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4950 # Create a spec file, so that compile/link tests don't fail
4951 test -f libgfortran.spec ||
touch libgfortran.spec
4954 ac_cpp
='$CPP $CPPFLAGS'
4955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4959 # Check the compiler.
4960 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4961 # We must force CC to /not/ be precious variables; otherwise
4962 # the wrong, non-multilib-adjusted value will be used in multilibs.
4963 # As a side effect, we have to subst CFLAGS ourselves.
4968 ac_cpp
='$CPP $CPPFLAGS'
4969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4972 if test -n "$ac_tool_prefix"; then
4973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4974 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if test "${ac_cv_prog_CC+set}" = set; then :
4978 $as_echo_n "(cached) " >&6
4980 if test -n "$CC"; then
4981 ac_cv_prog_CC
="$CC" # Let the user override the test.
4983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir
=.
4988 for ac_exec_ext
in '' $ac_executable_extensions; do
4989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4990 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 if test -n "$CC"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5003 $as_echo "$CC" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5011 if test -z "$ac_cv_prog_CC"; then
5013 # Extract the first word of "gcc", so it can be a program name with args.
5014 set dummy gcc
; ac_word
=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5020 if test -n "$ac_ct_CC"; then
5021 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5027 test -z "$as_dir" && as_dir
=.
5028 for ac_exec_ext
in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_ac_ct_CC
="gcc"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5041 if test -n "$ac_ct_CC"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5043 $as_echo "$ac_ct_CC" >&6; }
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5049 if test "x$ac_ct_CC" = x
; then
5052 case $cross_compiling:$ac_tool_warned in
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5056 ac_tool_warned
=yes ;;
5064 if test -z "$CC"; then
5065 if test -n "$ac_tool_prefix"; then
5066 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5067 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if test "${ac_cv_prog_CC+set}" = set; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -n "$CC"; then
5074 ac_cv_prog_CC
="$CC" # Let the user override the test.
5076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir
=.
5081 for ac_exec_ext
in '' $ac_executable_extensions; do
5082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5083 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 if test -n "$CC"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5096 $as_echo "$CC" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5105 if test -z "$CC"; then
5106 # Extract the first word of "cc", so it can be a program name with args.
5107 set dummy cc
; ac_word
=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if test "${ac_cv_prog_CC+set}" = set; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$CC"; then
5114 ac_cv_prog_CC
="$CC" # Let the user override the test.
5117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5121 test -z "$as_dir" && as_dir
=.
5122 for ac_exec_ext
in '' $ac_executable_extensions; do
5123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5124 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5125 ac_prog_rejected
=yes
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 if test $ac_prog_rejected = yes; then
5137 # We found a bogon in the path, so make sure we never use it.
5138 set dummy
$ac_cv_prog_CC
5140 if test $# != 0; then
5141 # We chose a different compiler from the bogus one.
5142 # However, it has the same basename, so the bogon will be chosen
5143 # first if we set CC to just the basename; use the full file name.
5145 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5151 if test -n "$CC"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5153 $as_echo "$CC" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5161 if test -z "$CC"; then
5162 if test -n "$ac_tool_prefix"; then
5163 for ac_prog
in cl.exe
5165 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5166 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if test "${ac_cv_prog_CC+set}" = set; then :
5170 $as_echo_n "(cached) " >&6
5172 if test -n "$CC"; then
5173 ac_cv_prog_CC
="$CC" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 if test -n "$CC"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5195 $as_echo "$CC" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5202 test -n "$CC" && break
5205 if test -z "$CC"; then
5207 for ac_prog
in cl.exe
5209 # Extract the first word of "$ac_prog", so it can be a program name with args.
5210 set dummy
$ac_prog; ac_word
=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5214 $as_echo_n "(cached) " >&6
5216 if test -n "$ac_ct_CC"; then
5217 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5223 test -z "$as_dir" && as_dir
=.
5224 for ac_exec_ext
in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_prog_ac_ct_CC
="$ac_prog"
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5237 if test -n "$ac_ct_CC"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5239 $as_echo "$ac_ct_CC" >&6; }
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5246 test -n "$ac_ct_CC" && break
5249 if test "x$ac_ct_CC" = x
; then
5252 case $cross_compiling:$ac_tool_warned in
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5256 ac_tool_warned
=yes ;;
5265 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5267 as_fn_error
"no acceptable C compiler found in \$PATH
5268 See \`config.log' for more details." "$LINENO" 5; }
5270 # Provide some information about the compiler.
5271 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5274 for ac_option
in --version -v -V -qversion; do
5275 { { ac_try
="$ac_compiler $ac_option >&5"
5277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5281 $as_echo "$ac_try_echo"; } >&5
5282 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5284 if test -s conftest.err; then
5286 ... rest of stderr output deleted ...
5287 10q' conftest.err >conftest.er1
5288 cat conftest.er1 >&5
5289 rm -f conftest.er1 conftest.err
5291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5292 test $ac_status = 0; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5296 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5297 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5298 $as_echo_n "(cached) " >&6
5300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5301 /* end confdefs.h. */
5314 if ac_fn_c_try_compile "$LINENO"; then :
5319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5324 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5325 if test $ac_compiler_gnu = yes; then
5330 ac_test_CFLAGS=${CFLAGS+set}
5331 ac_save_CFLAGS=$CFLAGS
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5333 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5334 if test "${ac_cv_prog_cc_g+set}" = set; then :
5335 $as_echo_n "(cached) " >&6
5337 ac_save_c_werror_flag=$ac_c_werror_flag
5338 ac_c_werror_flag=yes
5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5352 if ac_fn_c_try_compile "$LINENO"; then :
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5367 if ac_fn_c_try_compile "$LINENO"; then :
5370 ac_c_werror_flag=$ac_save_c_werror_flag
5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h. */
5383 if ac_fn_c_try_compile "$LINENO"; then :
5386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391 ac_c_werror_flag=$ac_save_c_werror_flag
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5394 $as_echo "$ac_cv_prog_cc_g" >&6; }
5395 if test "$ac_test_CFLAGS" = set; then
5396 CFLAGS=$ac_save_CFLAGS
5397 elif test $ac_cv_prog_cc_g = yes; then
5398 if test "$GCC" = yes; then
5404 if test "$GCC" = yes; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5411 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5412 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5413 $as_echo_n "(cached) " >&6
5415 ac_cv_prog_cc_c89=no
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5421 #include <sys/types.h>
5422 #include <sys/stat.h>
5423 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5424 struct buf { int x; };
5425 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5426 static char *e (p, i)
5432 static char *f (char * (*g) (char **, int), char **p, ...)
5437 s = g (p, va_arg (v,int));
5442 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5443 function prototypes and stuff, but not '\xHH' hex character constants.
5444 These don't provoke an error unfortunately, instead are silently treated
5445 as 'x'. The following induces an error, until -std is added to get
5446 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5447 array size at least. It's necessary to write '\x00'==0 to get something
5448 that's true only with -std. */
5449 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5451 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5452 inside strings and character constants. */
5454 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5456 int test (int i, double x);
5457 struct s1 {int (*f) (int a);};
5458 struct s2 {int (*f) (double a);};
5459 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5465 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5470 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5471 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5473 CC="$ac_save_CC $ac_arg"
5474 if ac_fn_c_try_compile "$LINENO"; then :
5475 ac_cv_prog_cc_c89=$ac_arg
5477 rm -f core conftest.err conftest.$ac_objext
5478 test "x$ac_cv_prog_cc_c89" != "xno" && break
5480 rm -f conftest.$ac_ext
5485 case "x$ac_cv_prog_cc_c89" in
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5488 $as_echo "none needed" >&6; } ;;
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5491 $as_echo "unsupported" >&6; } ;;
5493 CC="$CC $ac_cv_prog_cc_c89"
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5495 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5497 if test "x$ac_cv_prog_cc_c89" != xno; then :
5502 ac_cpp='$CPP $CPPFLAGS'
5503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5507 depcc="$CC" am_compiler_list=
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5510 $as_echo_n "checking dependency style of $depcc... " >&6; }
5511 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5512 $as_echo_n "(cached) " >&6
5514 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5515 # We make a subdir and do the tests there. Otherwise we can end up
5516 # making bogus files that we don't know about and never remove. For
5517 # instance it was reported that on HP-UX the gcc test will end up
5518 # making a dummy file named `D
' -- because `-MD' means
`put the output
5522 # Copy depcomp to subdir because otherwise we won't find it if we're
5523 # using a relative directory.
5524 cp "$am_depcomp" conftest.dir
5526 # We will build objects and dependencies in a subdirectory because
5527 # it helps to detect inapplicable dependency modes. For instance
5528 # both Tru64's cc and ICC support -MD to output dependencies as a
5529 # side effect of compilation, but ICC will put the dependencies in
5530 # the current directory while Tru64 will put them in the object
5534 am_cv_CC_dependencies_compiler_type=none
5535 if test "$am_compiler_list" = ""; then
5536 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5539 case " $depcc " in #(
5540 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5543 for depmode in $am_compiler_list; do
5544 # Setup a source with many dependencies, because some compilers
5545 # like to wrap large dependency lists on column 80 (with \), and
5546 # we should not choose a depcomp mode which is confused by this.
5548 # We need to recreate these files for each test, as the compiler may
5549 # overwrite some of them when testing with obscure command lines.
5550 # This happens at least with the AIX C compiler.
5552 for i in 1 2 3 4 5 6; do
5553 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5554 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5555 # Solaris 8's
{/usr
,}/bin
/sh.
5556 touch sub
/conftst
$i.h
5558 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5560 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5561 # mode. It turns out that the SunPro C++ compiler does not properly
5562 # handle `-M -o', and we need to detect this. Also, some Intel
5563 # versions had trouble with output in subdirs
5564 am__obj
=sub
/conftest.
${OBJEXT-o}
5565 am__minus_obj
="-o $am__obj"
5568 # This depmode causes a compiler race in universal mode.
5569 test "$am__universal" = false ||
continue
5572 # after this tag, mechanisms are not by side-effect, so they'll
5573 # only be used when explicitly requested
5574 if test "x$enable_dependency_tracking" = xyes
; then
5580 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5581 # This compiler won't grok `-c -o', but also, the minuso test has
5582 # not run yet. These depmodes are late enough in the game, and
5583 # so weak that their functioning should not be impacted.
5584 am__obj
=conftest.
${OBJEXT-o}
5589 if depmode
=$depmode \
5590 source=sub
/conftest.c object
=$am__obj \
5591 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5592 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5593 >/dev
/null
2>conftest.err
&&
5594 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5595 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5596 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5597 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5598 # icc doesn't choke on unknown options, it will just issue warnings
5599 # or remarks (even with -Werror). So we grep stderr for any message
5600 # that says an option was ignored or not supported.
5601 # When given -MP, icc 7.0 and 7.1 complain thusly:
5602 # icc: Command line warning: ignoring option '-M'; no argument required
5603 # The diagnosis changed in icc 8.0:
5604 # icc: Command line remark: option '-MP' not supported
5605 if (grep 'ignoring option' conftest.err ||
5606 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5607 am_cv_CC_dependencies_compiler_type
=$depmode
5616 am_cv_CC_dependencies_compiler_type
=none
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5621 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5622 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5625 test "x$enable_dependency_tracking" != xno \
5626 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5628 am__fastdepCC_FALSE
='#'
5630 am__fastdepCC_TRUE
='#'
5631 am__fastdepCC_FALSE
=
5639 if test "x$CC" != xcc
; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5641 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5644 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5646 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5647 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5648 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5649 $as_echo_n "(cached) " >&6
5651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5662 # Make sure it works both with $CC and with simple cc.
5663 # We do the test twice because some compilers refuse to overwrite an
5664 # existing .o file with -o, though they will create one.
5665 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5667 if { { case "(($ac_try" in
5668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5669 *) ac_try_echo=$ac_try;;
5671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5672 $as_echo "$ac_try_echo"; } >&5
5673 (eval "$ac_try") 2>&5
5675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5676 test $ac_status = 0; } &&
5677 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5679 *) ac_try_echo
=$ac_try;;
5681 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5682 $as_echo "$ac_try_echo"; } >&5
5683 (eval "$ac_try") 2>&5
5685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5686 test $ac_status = 0; };
5688 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5689 if test "x$CC" != xcc
; then
5690 # Test first that cc exists at all.
5691 if { ac_try
='cc -c conftest.$ac_ext >&5'
5692 { { case "(($ac_try" in
5693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5694 *) ac_try_echo=$ac_try;;
5696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5697 $as_echo "$ac_try_echo"; } >&5
5698 (eval "$ac_try") 2>&5
5700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5701 test $ac_status = 0; }; }; then
5702 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5704 if { { case "(($ac_try" in
5705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5706 *) ac_try_echo
=$ac_try;;
5708 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5709 $as_echo "$ac_try_echo"; } >&5
5710 (eval "$ac_try") 2>&5
5712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5713 test $ac_status = 0; } &&
5714 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5716 *) ac_try_echo=$ac_try;;
5718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5719 $as_echo "$ac_try_echo"; } >&5
5720 (eval "$ac_try") 2>&5
5722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5723 test $ac_status = 0; };
5728 # cc exists but doesn't like -o.
5729 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5734 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5736 rm -f core conftest*
5739 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5741 $as_echo "yes" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5746 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5750 # FIXME: we rely on the cache variable name because
5751 # there is no other way.
5753 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5754 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5755 if test "$am_t" != yes; then
5756 # Losing compiler, so override with the script.
5757 # FIXME: It is wrong to rewrite CC.
5758 # But if we don't then we get into trouble of one sort or another.
5759 # A longer-term fix would be to have automake use am__CC in this case,
5760 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5761 CC="$am_aux_dir/compile $CC"
5766 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5767 if test "x$GCC" = "xyes"; then
5768 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5769 ## We like to use C99 routines when available. This makes sure that
5770 ## __STDC_VERSION__ is set such that libc includes make them available.
5771 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5772 ## Compile the following tests with the same system header contents
5773 ## that we'll encounter when compiling our own source files.
5774 CFLAGS="-std=gnu99 $CFLAGS"
5780 # Check for symbol versioning (copied from libssp).
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5782 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5783 # Check whether --enable-symvers was given.
5784 if test "${enable_symvers+set}" = set; then :
5785 enableval=$enable_symvers; gfortran_use_symver=$enableval
5787 gfortran_use_symver=yes
5790 if test "x$gfortran_use_symver" != xno; then
5791 save_LDFLAGS="$LDFLAGS"
5792 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5793 cat > conftest.map <<EOF
5795 global: *foo*; bar; local: *;
5798 if test x$gcc_no_link = xyes; then
5799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5812 if ac_fn_c_try_link "$LINENO"; then :
5813 gfortran_use_symver=gnu
5815 gfortran_use_symver=no
5817 rm -f core conftest.err conftest.$ac_objext \
5818 conftest$ac_exeext conftest.$ac_ext
5819 if test x$gfortran_use_symver = xno; then
5820 case "$target_os" in
5822 LDFLAGS="$save_LDFLAGS"
5823 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5824 # Sun ld cannot handle wildcards and treats all entries as undefined.
5825 cat > conftest.map <<EOF
5827 global: foo; local: *;
5830 if test x$gcc_no_link = xyes; then
5831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5834 /* end confdefs.h. */
5844 if ac_fn_c_try_link "$LINENO"; then :
5845 gfortran_use_symver=sun
5847 gfortran_use_symver=no
5849 rm -f core conftest.err conftest.$ac_objext \
5850 conftest$ac_exeext conftest.$ac_ext
5854 LDFLAGS="$save_LDFLAGS"
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5857 $as_echo "$gfortran_use_symver" >&6; }
5858 if test "x$gfortran_use_symver" != xno; then
5859 LIBGFOR_USE_SYMVER_TRUE=
5860 LIBGFOR_USE_SYMVER_FALSE='#'
5862 LIBGFOR_USE_SYMVER_TRUE='#'
5863 LIBGFOR_USE_SYMVER_FALSE=
5866 if test "x$gfortran_use_symver" = xgnu; then
5867 LIBGFOR_USE_SYMVER_GNU_TRUE=
5868 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5870 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5871 LIBGFOR_USE_SYMVER_GNU_FALSE=
5874 if test "x$gfortran_use_symver" = xsun; then
5875 LIBGFOR_USE_SYMVER_SUN_TRUE=
5876 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5878 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5879 LIBGFOR_USE_SYMVER_SUN_FALSE=
5883 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5884 # similarly to how libstdc++ does it
5885 ac_test_CFLAGS="${CFLAGS+set}"
5886 ac_save_CFLAGS="$CFLAGS"
5888 # Check for -ffunction-sections -fdata-sections
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5890 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5891 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5893 /* end confdefs.h. */
5903 if ac_fn_c_try_compile "$LINENO"; then :
5908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5909 if test "$ac_test_CFLAGS" = set; then
5910 CFLAGS="$ac_save_CFLAGS"
5912 # this is the suspicious part
5915 if test x"$ac_fdsections" = x"yes"; then
5916 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5919 $as_echo "$ac_fdsections" >&6; }
5922 # Find other programs we need.
5923 if test -n "$ac_tool_prefix"; then
5924 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5925 set dummy ${ac_tool_prefix}as; ac_word=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if test "${ac_cv_prog_AS+set}" = set; then :
5929 $as_echo_n "(cached) " >&6
5931 if test -n "$AS"; then
5932 ac_cv_prog_AS="$AS" # Let the user override the test.
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 test -z "$as_dir" && as_dir=.
5939 for ac_exec_ext in '' $ac_executable_extensions; do
5940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5941 ac_cv_prog_AS="${ac_tool_prefix}as"
5942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 if test -n "$AS"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5954 $as_echo "$AS" >&6; }
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5962 if test -z "$ac_cv_prog_AS"; then
5964 # Extract the first word of "as", so it can be a program name with args.
5965 set dummy as; ac_word=$2
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967 $as_echo_n "checking for $ac_word... " >&6; }
5968 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5969 $as_echo_n "(cached) " >&6
5971 if test -n "$ac_ct_AS"; then
5972 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5978 test -z "$as_dir" && as_dir=.
5979 for ac_exec_ext in '' $ac_executable_extensions; do
5980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5981 ac_cv_prog_ac_ct_AS="as"
5982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5991 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5992 if test -n "$ac_ct_AS"; then
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5994 $as_echo "$ac_ct_AS" >&6; }
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
6000 if test "x$ac_ct_AS" = x; then
6003 case $cross_compiling:$ac_tool_warned in
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6007 ac_tool_warned=yes ;;
6015 if test -n "$ac_tool_prefix"; then
6016 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6017 set dummy ${ac_tool_prefix}ar; ac_word=$2
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 $as_echo_n "checking for $ac_word... " >&6; }
6020 if test "${ac_cv_prog_AR+set}" = set; then :
6021 $as_echo_n "(cached) " >&6
6023 if test -n "$AR"; then
6024 ac_cv_prog_AR="$AR" # Let the user override the test.
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 test -z "$as_dir" && as_dir=.
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033 ac_cv_prog_AR="${ac_tool_prefix}ar"
6034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 if test -n "$AR"; then
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6046 $as_echo "$AR" >&6; }
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 $as_echo "no" >&6; }
6054 if test -z "$ac_cv_prog_AR"; then
6056 # Extract the first word of "ar", so it can be a program name with args.
6057 set dummy ar; ac_word=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6061 $as_echo_n "(cached) " >&6
6063 if test -n "$ac_ct_AR"; then
6064 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir=.
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6073 ac_cv_prog_ac_ct_AR="ar"
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6084 if test -n "$ac_ct_AR"; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6086 $as_echo "$ac_ct_AR" >&6; }
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6092 if test "x$ac_ct_AR" = x; then
6095 case $cross_compiling:$ac_tool_warned in
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6099 ac_tool_warned=yes ;;
6107 if test -n "$ac_tool_prefix"; then
6108 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6109 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111 $as_echo_n "checking for $ac_word... " >&6; }
6112 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6113 $as_echo_n "(cached) " >&6
6115 if test -n "$RANLIB"; then
6116 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6125 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 RANLIB=$ac_cv_prog_RANLIB
6136 if test -n "$RANLIB"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6138 $as_echo "$RANLIB" >&6; }
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141 $as_echo "no" >&6; }
6146 if test -z "$ac_cv_prog_RANLIB"; then
6147 ac_ct_RANLIB=$RANLIB
6148 # Extract the first word of "ranlib", so it can be a program name with args.
6149 set dummy ranlib; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6153 $as_echo_n "(cached) " >&6
6155 if test -n "$ac_ct_RANLIB"; then
6156 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6165 ac_cv_prog_ac_ct_RANLIB="ranlib"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6175 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6176 if test -n "$ac_ct_RANLIB"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6178 $as_echo "$ac_ct_RANLIB" >&6; }
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6184 if test "x$ac_ct_RANLIB" = x; then
6185 RANLIB="ranlib-not-found-in-path-error"
6187 case $cross_compiling:$ac_tool_warned in
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6191 ac_tool_warned=yes ;;
6193 RANLIB=$ac_ct_RANLIB
6196 RANLIB="$ac_cv_prog_RANLIB"
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6200 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6202 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6203 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6204 $as_echo_n "(cached) " >&6
6206 cat >conftest.make <<\_ACEOF
6209 @echo '@@@%%%=$(MAKE)=@@@%%%'
6211 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6212 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6214 eval ac_cv_prog_make_${ac_make}_set=yes;;
6216 eval ac_cv_prog_make_${ac_make}_set=no;;
6220 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6222 $as_echo "yes" >&6; }
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6227 SET_MAKE="MAKE=${MAKE-make}"
6233 #AC_MSG_NOTICE([====== Starting libtool configuration])
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6241 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6246 macro_version='2.2.7a'
6247 macro_revision='1.3134'
6261 ltmain="$ac_aux_dir/ltmain.sh"
6263 # Backslashify metacharacters that are still active within
6264 # double-quoted strings.
6265 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6267 # Same as above, but do not quote variable references.
6268 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6270 # Sed substitution to delay expansion of an escaped shell variable in a
6271 # double_quote_subst'ed string.
6272 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6274 # Sed substitution to delay expansion of an escaped single quote.
6275 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6277 # Sed substitution to avoid accidental globbing in evaled expressions
6278 no_glob_subst='s/\*/\\\*/g'
6280 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6281 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6282 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6285 $as_echo_n "checking how to print
strings...
" >&6; }
6286 # Test print first, because it will be a builtin if present.
6287 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6288 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6290 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6293 # Use this function as a fallback that always works.
6294 func_fallback_echo ()
6296 eval 'cat <<_LTECHO_EOF
6300 ECHO='func_fallback_echo'
6303 # func_echo_all arg...
6304 # Invoke $ECHO with all args, space-separated.
6311 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6312 $as_echo "printf" >&6; } ;;
6313 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6314 $as_echo "print
-r" >&6; } ;;
6315 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6316 $as_echo "cat" >&6; } ;;
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6333 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6334 if test "${ac_cv_path_SED+set}" = set; then :
6335 $as_echo_n "(cached
) " >&6
6337 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6338 for ac_i in 1 2 3 4 5 6 7; do
6339 ac_script="$ac_script$as_nl$ac_script"
6341 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6342 { ac_script=; unset ac_script;}
6343 if test -z "$SED"; then
6344 ac_path_SED_found=false
6345 # Loop through the user's path and test for each of PROGNAME-LIST
6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6350 test -z "$as_dir" && as_dir=.
6351 for ac_prog in sed gsed; do
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6354 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6355 # Check for GNU ac_path_SED and select it if it is found.
6356 # Check for GNU $ac_path_SED
6357 case `"$ac_path_SED" --version 2>&1` in
6359 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6362 $as_echo_n 0123456789 >"conftest.
in"
6365 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6366 mv "conftest.tmp
" "conftest.
in"
6367 cp "conftest.
in" "conftest.
nl"
6368 $as_echo '' >> "conftest.
nl"
6369 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6370 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6371 as_fn_arith $ac_count + 1 && ac_count=$as_val
6372 if test $ac_count -gt ${ac_path_SED_max-0}; then
6373 # Best one so far, save it but keep looking for a better one
6374 ac_cv_path_SED="$ac_path_SED"
6375 ac_path_SED_max=$ac_count
6377 # 10*(2^10) chars as input seems more than enough
6378 test $ac_count -gt 10 && break
6380 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6383 $ac_path_SED_found && break 3
6388 if test -z "$ac_cv_path_SED"; then
6389 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6397 $as_echo "$ac_cv_path_SED" >&6; }
6398 SED="$ac_cv_path_SED"
6401 test -z "$SED" && SED=sed
6402 Xsed="$SED -e 1s
/^X
//"
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6415 $as_echo_n "checking
for fgrep...
" >&6; }
6416 if test "${ac_cv_path_FGREP+set}" = set; then :
6417 $as_echo_n "(cached
) " >&6
6419 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6420 then ac_cv_path_FGREP="$GREP -F"
6422 if test -z "$FGREP"; then
6423 ac_path_FGREP_found=false
6424 # Loop through the user's path and test for each of PROGNAME-LIST
6425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6429 test -z "$as_dir" && as_dir=.
6430 for ac_prog in fgrep; do
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6433 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6434 # Check for GNU ac_path_FGREP and select it if it is found.
6435 # Check for GNU $ac_path_FGREP
6436 case `"$ac_path_FGREP" --version 2>&1` in
6438 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6441 $as_echo_n 0123456789 >"conftest.
in"
6444 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6445 mv "conftest.tmp
" "conftest.
in"
6446 cp "conftest.
in" "conftest.
nl"
6447 $as_echo 'FGREP' >> "conftest.
nl"
6448 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6449 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6450 as_fn_arith $ac_count + 1 && ac_count=$as_val
6451 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6452 # Best one so far, save it but keep looking for a better one
6453 ac_cv_path_FGREP="$ac_path_FGREP"
6454 ac_path_FGREP_max=$ac_count
6456 # 10*(2^10) chars as input seems more than enough
6457 test $ac_count -gt 10 && break
6459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6462 $ac_path_FGREP_found && break 3
6467 if test -z "$ac_cv_path_FGREP"; then
6468 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6471 ac_cv_path_FGREP=$FGREP
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6477 $as_echo "$ac_cv_path_FGREP" >&6; }
6478 FGREP="$ac_cv_path_FGREP"
6481 test -z "$GREP" && GREP=grep
6501 # Check whether --with-gnu-ld was given.
6502 if test "${with_gnu_ld+set}" = set; then :
6503 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6509 if test "$GCC" = yes; then
6510 # Check if gcc -print-prog-name=ld gives a path.
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6512 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6515 # gcc leaves a trailing carriage return which upsets mingw
6516 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6518 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6521 # Accept absolute paths.
6523 re_direlt='/[^/][^/]*/\.\./'
6524 # Canonicalize the pathname of ld
6525 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6526 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6527 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6529 test -z "$LD" && LD="$ac_prog"
6532 # If it fails, then pretend we aren't using GCC.
6536 # If it is relative, then search for the first ld in PATH.
6540 elif test "$with_gnu_ld" = yes; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6542 $as_echo_n "checking
for GNU ld...
" >&6; }
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6545 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6547 if test "${lt_cv_path_LD+set}" = set; then :
6548 $as_echo_n "(cached
) " >&6
6550 if test -z "$LD"; then
6551 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6552 for ac_dir in $PATH; do
6554 test -z "$ac_dir" && ac_dir=.
6555 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6556 lt_cv_path_LD="$ac_dir/$ac_prog"
6557 # Check to see if the program is GNU ld. I'd rather use --version,
6558 # but apparently some variants of GNU ld only accept -v.
6559 # Break only if it was the GNU/non-GNU ld that we prefer.
6560 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6561 *GNU* | *'with BFD'*)
6562 test "$with_gnu_ld" != no && break
6565 test "$with_gnu_ld" != yes && break
6572 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6577 if test -n "$LD"; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6579 $as_echo "$LD" >&6; }
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6582 $as_echo "no
" >&6; }
6584 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6586 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6587 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6588 $as_echo_n "(cached
) " >&6
6590 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6591 case `$LD -v 2>&1 </dev/null` in
6592 *GNU* | *'with BFD'*)
6593 lt_cv_prog_gnu_ld=yes
6596 lt_cv_prog_gnu_ld=no
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6601 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6602 with_gnu_ld=$lt_cv_prog_gnu_ld
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6613 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6614 if test "${lt_cv_path_NM+set}" = set; then :
6615 $as_echo_n "(cached
) " >&6
6617 if test -n "$NM"; then
6618 # Let the user override the test.
6621 lt_nm_to_check="${ac_tool_prefix}nm
"
6622 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6623 lt_nm_to_check="$lt_nm_to_check nm
"
6625 for lt_tmp_nm in $lt_nm_to_check; do
6626 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6627 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6629 test -z "$ac_dir" && ac_dir=.
6630 tmp_nm="$ac_dir/$lt_tmp_nm"
6631 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6632 # Check to see if the nm accepts a BSD-compat flag.
6633 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6634 # nm: unknown option "B
" ignored
6635 # Tru64's nm complains that /dev/null is an invalid object file
6636 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6637 */dev/null* | *'Invalid file or object type'*)
6638 lt_cv_path_NM="$tmp_nm -B"
6642 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6644 lt_cv_path_NM="$tmp_nm -p"
6648 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6649 continue # so that we can try to find one that supports BSD flags
6658 : ${lt_cv_path_NM=no}
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6662 $as_echo "$lt_cv_path_NM" >&6; }
6663 if test "$lt_cv_path_NM" != "no
"; then
6666 # Didn't find any BSD compatible name lister, look for dumpbin.
6667 if test -n "$DUMPBIN"; then :
6668 # Let the user override the test.
6670 if test -n "$ac_tool_prefix"; then
6671 for ac_prog in dumpbin "link
-dump"
6673 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6674 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6676 $as_echo_n "checking
for $ac_word...
" >&6; }
6677 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6678 $as_echo_n "(cached
) " >&6
6680 if test -n "$DUMPBIN"; then
6681 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 test -z "$as_dir" && as_dir=.
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6690 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6700 DUMPBIN=$ac_cv_prog_DUMPBIN
6701 if test -n "$DUMPBIN"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6703 $as_echo "$DUMPBIN" >&6; }
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6706 $as_echo "no
" >&6; }
6710 test -n "$DUMPBIN" && break
6713 if test -z "$DUMPBIN"; then
6714 ac_ct_DUMPBIN=$DUMPBIN
6715 for ac_prog in dumpbin "link
-dump"
6717 # Extract the first word of "$ac_prog", so it can be a program name with args.
6718 set dummy $ac_prog; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6720 $as_echo_n "checking
for $ac_word...
" >&6; }
6721 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6722 $as_echo_n "(cached
) " >&6
6724 if test -n "$ac_ct_DUMPBIN"; then
6725 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6744 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6745 if test -n "$ac_ct_DUMPBIN"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6747 $as_echo "$ac_ct_DUMPBIN" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6750 $as_echo "no
" >&6; }
6754 test -n "$ac_ct_DUMPBIN" && break
6757 if test "x
$ac_ct_DUMPBIN" = x; then
6760 case $cross_compiling:$ac_tool_warned in
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6763 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6764 ac_tool_warned=yes ;;
6766 DUMPBIN=$ac_ct_DUMPBIN
6770 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6772 DUMPBIN="$DUMPBIN -symbols"
6780 if test "$DUMPBIN" != ":"; then
6784 test -z "$NM" && NM=nm
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6792 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6793 if test "${lt_cv_nm_interface+set}" = set; then :
6794 $as_echo_n "(cached
) " >&6
6796 lt_cv_nm_interface="BSD nm
"
6797 echo "int some_variable
= 0;" > conftest.$ac_ext
6798 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6799 (eval "$ac_compile" 2>conftest.err)
6800 cat conftest.err >&5
6801 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6802 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6803 cat conftest.err >&5
6804 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6805 cat conftest.out >&5
6806 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6807 lt_cv_nm_interface="MS dumpbin
"
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6812 $as_echo "$lt_cv_nm_interface" >&6; }
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6815 $as_echo_n "checking whether
ln -s works...
" >&6; }
6817 if test "$LN_S" = "ln -s"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6819 $as_echo "yes" >&6; }
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6822 $as_echo "no
, using
$LN_S" >&6; }
6825 # find the maximum length of command line arguments
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6827 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6828 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6829 $as_echo_n "(cached
) " >&6
6836 # On DJGPP, this test can blow up pretty badly due to problems in libc
6837 # (any single argument exceeding 2000 bytes causes a buffer overrun
6838 # during glob expansion). Even if it were fixed, the result of this
6839 # check would be larger than it should be.
6840 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6844 # Under GNU Hurd, this test is not required because there is
6845 # no limit to the length of command line arguments.
6846 # Libtool will interpret -1 as no limit whatsoever
6847 lt_cv_sys_max_cmd_len=-1;
6850 cygwin* | mingw* | cegcc*)
6851 # On Win9x/ME, this test blows up -- it succeeds, but takes
6852 # about 5 minutes as the teststring grows exponentially.
6853 # Worse, since 9x/ME are not pre-emptively multitasking,
6854 # you end up with a "frozen
" computer, even though with patience
6855 # the test eventually succeeds (with a max line length of 256k).
6856 # Instead, let's just punt: use the minimum linelength reported by
6857 # all of the supported platforms: 8192 (on NT/2K/XP).
6858 lt_cv_sys_max_cmd_len=8192;
6862 # On MiNT this can take a long time and run out of memory.
6863 lt_cv_sys_max_cmd_len=8192;
6867 # On AmigaOS with pdksh, this test takes hours, literally.
6868 # So we just punt and use a minimum line length of 8192.
6869 lt_cv_sys_max_cmd_len=8192;
6872 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6873 # This has been around since 386BSD, at least. Likely further.
6874 if test -x /sbin/sysctl; then
6875 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6876 elif test -x /usr/sbin/sysctl; then
6877 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6879 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6881 # And add a safety zone
6882 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6883 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6887 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6888 lt_cv_sys_max_cmd_len=196608
6892 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6893 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6894 # nice to cause kernel panics so lets avoid the loop below.
6895 # First set a reasonable default.
6896 lt_cv_sys_max_cmd_len=16384
6898 if test -x /sbin/sysconfig; then
6899 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6900 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6905 lt_cv_sys_max_cmd_len=102400
6907 sysv5* | sco5v6* | sysv4.2uw2*)
6908 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6909 if test -n "$kargmax"; then
6910 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6912 lt_cv_sys_max_cmd_len=32768
6916 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6917 if test -n "$lt_cv_sys_max_cmd_len"; then
6918 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6919 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6921 # Make teststring a little bigger before we do anything with it.
6922 # a 1K string should be a reasonable start.
6923 for i in 1 2 3 4 5 6 7 8 ; do
6924 teststring=$teststring$teststring
6926 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6927 # If test is not a shell built-in, we'll probably end up computing a
6928 # maximum length that is only half of the actual maximum length, but
6930 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6931 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6932 test $i != 17 # 1/2 MB should be enough
6935 teststring=$teststring$teststring
6937 # Only check the string length outside the loop.
6938 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6940 # Add a significant safety factor because C++ compilers can tack on
6941 # massive amounts of additional arguments before passing them to the
6942 # linker. It appears as though 1/2 is a usable value.
6943 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6950 if test -n $lt_cv_sys_max_cmd_len ; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6952 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6955 $as_echo "none
" >&6; }
6957 max_cmd_len=$lt_cv_sys_max_cmd_len
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6969 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6970 # Try some XSI features
6973 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6975 && eval 'test $(( 1 + 1 )) -eq 2 \
6976 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6979 $as_echo "$xsi_shell" >&6; }
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6983 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6985 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6987 && lt_shell_append
=yes
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6989 $as_echo "$lt_shell_append" >&6; }
6992 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7002 # test EBCDIC or ASCII
7003 case `echo X|tr X '\101'` in
7004 A
) # ASCII based system
7005 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7006 lt_SP2NL
='tr \040 \012'
7007 lt_NL2SP
='tr \015\012 \040\040'
7009 *) # EBCDIC based system
7010 lt_SP2NL
='tr \100 \n'
7011 lt_NL2SP
='tr \r\n \100\100'
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7024 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7025 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7026 $as_echo_n "(cached) " >&6
7028 lt_cv_ld_reload_flag
='-r'
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7031 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7032 reload_flag
=$lt_cv_ld_reload_flag
7033 case $reload_flag in
7035 *) reload_flag
=" $reload_flag" ;;
7037 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7040 if test "$GCC" = yes; then
7041 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7043 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7056 if test -n "$ac_tool_prefix"; then
7057 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7058 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7060 $as_echo_n "checking for $ac_word... " >&6; }
7061 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7062 $as_echo_n "(cached) " >&6
7064 if test -n "$OBJDUMP"; then
7065 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7071 test -z "$as_dir" && as_dir
=.
7072 for ac_exec_ext
in '' $ac_executable_extensions; do
7073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7074 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7084 OBJDUMP
=$ac_cv_prog_OBJDUMP
7085 if test -n "$OBJDUMP"; then
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7087 $as_echo "$OBJDUMP" >&6; }
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7090 $as_echo "no" >&6; }
7095 if test -z "$ac_cv_prog_OBJDUMP"; then
7096 ac_ct_OBJDUMP
=$OBJDUMP
7097 # Extract the first word of "objdump", so it can be a program name with args.
7098 set dummy objdump
; ac_word
=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100 $as_echo_n "checking for $ac_word... " >&6; }
7101 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7102 $as_echo_n "(cached) " >&6
7104 if test -n "$ac_ct_OBJDUMP"; then
7105 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir
=.
7112 for ac_exec_ext
in '' $ac_executable_extensions; do
7113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7114 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7124 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7125 if test -n "$ac_ct_OBJDUMP"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7127 $as_echo "$ac_ct_OBJDUMP" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 $as_echo "no" >&6; }
7133 if test "x$ac_ct_OBJDUMP" = x
; then
7136 case $cross_compiling:$ac_tool_warned in
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7140 ac_tool_warned
=yes ;;
7142 OBJDUMP
=$ac_ct_OBJDUMP
7145 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7148 test -z "$OBJDUMP" && OBJDUMP
=objdump
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7159 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7160 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7161 $as_echo_n "(cached) " >&6
7163 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7164 lt_cv_file_magic_test_file
=
7165 lt_cv_deplibs_check_method
='unknown'
7166 # Need to set the preceding variable on all platforms that support
7167 # interlibrary dependencies.
7168 # 'none' -- dependencies not supported.
7169 # `unknown' -- same as none, but documents that we really don't know.
7170 # 'pass_all' -- all dependencies passed with no checks.
7171 # 'test_compile' -- check by making test program.
7172 # 'file_magic [[regex]]' -- check by looking for files in library path
7173 # which responds to the $file_magic_cmd with a given extended regex.
7174 # If you have `file' or equivalent on your system and you're not sure
7175 # whether `pass_all' will *always* work, you probably want this one.
7179 lt_cv_deplibs_check_method
=pass_all
7183 lt_cv_deplibs_check_method
=pass_all
7187 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7188 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7189 lt_cv_file_magic_test_file
=/shlib
/libc.so
7193 # func_win32_libid is a shell function defined in ltmain.sh
7194 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7195 lt_cv_file_magic_cmd
='func_win32_libid'
7199 # Base MSYS/MinGW do not provide the 'file' command needed by
7200 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7201 # unless we find 'file', for example because we are cross-compiling.
7202 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7203 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7204 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7205 lt_cv_file_magic_cmd
='func_win32_libid'
7207 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7208 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7213 # use the weaker test based on 'objdump'. See mingw*.
7214 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7215 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7218 darwin
* | rhapsody
*)
7219 lt_cv_deplibs_check_method
=pass_all
7222 freebsd
* | dragonfly
*)
7223 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7226 # Not sure whether the presence of OpenBSD here was a mistake.
7227 # Let's accept both of them until this is cleared up.
7228 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7229 lt_cv_file_magic_cmd
=/usr
/bin
/file
7230 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7234 lt_cv_deplibs_check_method
=pass_all
7239 lt_cv_deplibs_check_method
=pass_all
7243 lt_cv_deplibs_check_method
=pass_all
7246 hpux10.20
* | hpux11
*)
7247 lt_cv_file_magic_cmd
=/usr
/bin
/file
7250 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7251 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7254 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]'
7255 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7258 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7259 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7265 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7266 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7269 irix5
* | irix6
* | nonstopux
*)
7271 *-32|
*"-32 ") libmagic
=32-bit;;
7272 *-n32|
*"-n32 ") libmagic
=N32
;;
7273 *-64|
*"-64 ") libmagic
=64-bit;;
7274 *) libmagic
=never-match
;;
7276 lt_cv_deplibs_check_method
=pass_all
7279 # This must be Linux ELF.
7280 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7281 lt_cv_deplibs_check_method
=pass_all
7285 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7286 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7288 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7293 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7294 lt_cv_file_magic_cmd
=/usr
/bin
/file
7295 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7299 lt_cv_deplibs_check_method
=pass_all
7303 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7304 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7306 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7310 osf3
* | osf4
* | osf5
*)
7311 lt_cv_deplibs_check_method
=pass_all
7315 lt_cv_deplibs_check_method
=pass_all
7319 lt_cv_deplibs_check_method
=pass_all
7322 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7323 lt_cv_deplibs_check_method
=pass_all
7327 case $host_vendor in
7329 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]'
7330 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7333 lt_cv_deplibs_check_method
=pass_all
7336 lt_cv_file_magic_cmd
='/bin/file'
7337 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7340 lt_cv_file_magic_cmd
='/bin/file'
7341 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7342 lt_cv_file_magic_test_file
=/lib
/libc.so
7345 lt_cv_deplibs_check_method
=pass_all
7348 lt_cv_deplibs_check_method
=pass_all
7354 lt_cv_deplibs_check_method
=pass_all
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7360 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7361 file_magic_cmd
=$lt_cv_file_magic_cmd
7362 deplibs_check_method
=$lt_cv_deplibs_check_method
7363 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7376 if test -n "$ac_tool_prefix"; then
7377 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7378 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380 $as_echo_n "checking for $ac_word... " >&6; }
7381 if test "${ac_cv_prog_AR+set}" = set; then :
7382 $as_echo_n "(cached) " >&6
7384 if test -n "$AR"; then
7385 ac_cv_prog_AR
="$AR" # Let the user override the test.
7387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7391 test -z "$as_dir" && as_dir
=.
7392 for ac_exec_ext
in '' $ac_executable_extensions; do
7393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7394 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7405 if test -n "$AR"; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7407 $as_echo "$AR" >&6; }
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410 $as_echo "no" >&6; }
7415 if test -z "$ac_cv_prog_AR"; then
7417 # Extract the first word of "ar", so it can be a program name with args.
7418 set dummy
ar; ac_word
=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 $as_echo_n "checking for $ac_word... " >&6; }
7421 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7422 $as_echo_n "(cached) " >&6
7424 if test -n "$ac_ct_AR"; then
7425 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7431 test -z "$as_dir" && as_dir
=.
7432 for ac_exec_ext
in '' $ac_executable_extensions; do
7433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7434 ac_cv_prog_ac_ct_AR
="ar"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7445 if test -n "$ac_ct_AR"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7447 $as_echo "$ac_ct_AR" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }
7453 if test "x$ac_ct_AR" = x
; then
7456 case $cross_compiling:$ac_tool_warned in
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7460 ac_tool_warned
=yes ;;
7468 test -z "$AR" && AR
=ar
7469 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7481 if test -n "$ac_tool_prefix"; then
7482 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7483 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485 $as_echo_n "checking for $ac_word... " >&6; }
7486 if test "${ac_cv_prog_STRIP+set}" = set; then :
7487 $as_echo_n "(cached) " >&6
7489 if test -n "$STRIP"; then
7490 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7496 test -z "$as_dir" && as_dir
=.
7497 for ac_exec_ext
in '' $ac_executable_extensions; do
7498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7499 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7509 STRIP
=$ac_cv_prog_STRIP
7510 if test -n "$STRIP"; then
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7512 $as_echo "$STRIP" >&6; }
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7520 if test -z "$ac_cv_prog_STRIP"; then
7522 # Extract the first word of "strip", so it can be a program name with args.
7523 set dummy strip
; ac_word
=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7527 $as_echo_n "(cached) " >&6
7529 if test -n "$ac_ct_STRIP"; then
7530 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7536 test -z "$as_dir" && as_dir
=.
7537 for ac_exec_ext
in '' $ac_executable_extensions; do
7538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7539 ac_cv_prog_ac_ct_STRIP
="strip"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7549 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7550 if test -n "$ac_ct_STRIP"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7552 $as_echo "$ac_ct_STRIP" >&6; }
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7558 if test "x$ac_ct_STRIP" = x
; then
7561 case $cross_compiling:$ac_tool_warned in
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7565 ac_tool_warned
=yes ;;
7570 STRIP
="$ac_cv_prog_STRIP"
7573 test -z "$STRIP" && STRIP
=:
7580 if test -n "$ac_tool_prefix"; then
7581 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7582 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7586 $as_echo_n "(cached) " >&6
7588 if test -n "$RANLIB"; then
7589 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7595 test -z "$as_dir" && as_dir
=.
7596 for ac_exec_ext
in '' $ac_executable_extensions; do
7597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7598 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 RANLIB
=$ac_cv_prog_RANLIB
7609 if test -n "$RANLIB"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7611 $as_echo "$RANLIB" >&6; }
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7619 if test -z "$ac_cv_prog_RANLIB"; then
7620 ac_ct_RANLIB
=$RANLIB
7621 # Extract the first word of "ranlib", so it can be a program name with args.
7622 set dummy ranlib
; ac_word
=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7624 $as_echo_n "checking for $ac_word... " >&6; }
7625 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7626 $as_echo_n "(cached) " >&6
7628 if test -n "$ac_ct_RANLIB"; then
7629 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7635 test -z "$as_dir" && as_dir
=.
7636 for ac_exec_ext
in '' $ac_executable_extensions; do
7637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7638 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7648 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7649 if test -n "$ac_ct_RANLIB"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7651 $as_echo "$ac_ct_RANLIB" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7657 if test "x$ac_ct_RANLIB" = x
; then
7660 case $cross_compiling:$ac_tool_warned in
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7664 ac_tool_warned
=yes ;;
7666 RANLIB
=$ac_ct_RANLIB
7669 RANLIB
="$ac_cv_prog_RANLIB"
7672 test -z "$RANLIB" && RANLIB
=:
7679 # Determine commands to create old-style static archives.
7680 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7681 old_postinstall_cmds
='chmod 644 $oldlib'
7682 old_postuninstall_cmds
=
7684 if test -n "$RANLIB"; then
7687 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7690 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7693 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7698 lock_old_archive_extraction
=yes ;;
7700 lock_old_archive_extraction
=no
;;
7741 # If no C compiler was specified, use CC.
7744 # If no C compiler flags were specified, use CFLAGS.
7745 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7747 # Allow CC to be a program name with arguments.
7751 # Check for command to grab the raw symbol name followed by C symbol from nm.
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7753 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7754 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7755 $as_echo_n "(cached) " >&6
7758 # These are sane defaults that work on at least a few old systems.
7759 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7761 # Character class describing NM global symbol codes.
7762 symcode
='[BCDEGRST]'
7764 # Regexp to match symbols that can be accessed directly from C.
7765 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7767 # Define system-specific variables.
7772 cygwin
* | mingw
* | pw32
* | cegcc
*)
7773 symcode
='[ABCDGISTW]'
7776 if test "$host_cpu" = ia64
; then
7777 symcode
='[ABCDEGRST]'
7781 symcode
='[BCDEGRST]'
7784 symcode
='[BCDEGQRST]'
7795 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7803 # If we're using GNU nm, then use its standard symbol codes.
7804 case `$NM -V 2>&1` in
7805 *GNU
* |
*'with BFD'*)
7806 symcode
='[ABCDGIRSTW]' ;;
7809 # Transform an extracted symbol line into a proper C declaration.
7810 # Some systems (esp. on ia64) link data and code symbols differently,
7811 # so use this general approach.
7812 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7814 # Transform an extracted symbol line into symbol name and symbol address
7815 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7816 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'"
7818 # Handle CRLF in mingw tool chain
7822 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7826 # Try without a prefix underscore, then with it.
7827 for ac_symprfx
in "" "_"; do
7829 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7830 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7832 # Write the raw and C identifiers.
7833 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7834 # Fake it for dumpbin and say T for any non-static function
7835 # and D for any global variable.
7836 # Also find C++ and __fastcall symbols from MSVC++,
7837 # which start with @ or ?.
7838 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7839 " {last_section=section; section=\$ 3};"\
7840 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7841 " \$ 0!~/External *\|/{next};"\
7842 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7843 " {if(hide[section]) next};"\
7844 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7845 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7846 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7847 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7848 " ' prfx=^$ac_symprfx"
7850 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7853 # Check to see that the pipe works correctly.
7857 cat > conftest.
$ac_ext <<_LT_EOF
7862 void nm_test_func(void);
7863 void nm_test_func(void){}
7867 int main(){nm_test_var='a';nm_test_func();return(0);}
7870 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7871 (eval $ac_compile) 2>&5
7873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7874 test $ac_status = 0; }; then
7875 # Now try to grab the symbols.
7877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7878 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7881 test $ac_status = 0; } && test -s "$nlist"; then
7882 # Try sorting and uniquifying the output.
7883 if sort "$nlist" |
uniq > "$nlist"T
; then
7884 mv -f "$nlist"T
"$nlist"
7889 # Make sure that we snagged all the symbols we need.
7890 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7891 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7892 cat <<_LT_EOF > conftest.$ac_ext
7898 # Now generate the symbol file.
7899 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7901 cat <<_LT_EOF >> conftest.$ac_ext
7903 /* The mapping between symbol names and symbols. */
7908 lt__PROGRAM__LTX_preloaded_symbols[] =
7910 { "@PROGRAM@", (void *) 0 },
7912 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7913 cat <<\_LT_EOF
>> conftest.
$ac_ext
7917 /* This works around a problem
in FreeBSD linker
*/
7918 #ifdef FREEBSD_WORKAROUND
7919 static const void
*lt_preloaded_setup
() {
7920 return lt__PROGRAM__LTX_preloaded_symbols
;
7928 # Now try linking the two files.
7929 mv conftest.
$ac_objext conftstm.
$ac_objext
7930 lt_save_LIBS
="$LIBS"
7931 lt_save_CFLAGS
="$CFLAGS"
7932 LIBS
="conftstm.$ac_objext"
7933 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7934 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7935 (eval $ac_link) 2>&5
7937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7938 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7941 LIBS
="$lt_save_LIBS"
7942 CFLAGS
="$lt_save_CFLAGS"
7944 echo "cannot find nm_test_func in $nlist" >&5
7947 echo "cannot find nm_test_var in $nlist" >&5
7950 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7953 echo "$progname: failed program was:" >&5
7954 cat conftest.
$ac_ext >&5
7956 rm -rf conftest
* conftst
*
7958 # Do not use the global_symbol_pipe unless it works.
7959 if test "$pipe_works" = yes; then
7962 lt_cv_sys_global_symbol_pipe
=
7968 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7969 lt_cv_sys_global_symbol_to_cdecl
=
7971 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7973 $as_echo "failed" >&6; }
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7976 $as_echo "ok" >&6; }
8000 # Check whether --enable-libtool-lock was given.
8001 if test "${enable_libtool_lock+set}" = set; then :
8002 enableval
=$enable_libtool_lock;
8005 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8007 # Some flags need to be propagated to the compiler or linker for good
8011 # Find out which ABI we are using.
8012 echo 'int i;' > conftest.
$ac_ext
8013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8014 (eval $ac_compile) 2>&5
8016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8017 test $ac_status = 0; }; then
8018 case `/usr/bin/file conftest.$ac_objext` in
8030 # Find out which ABI we are using.
8031 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8033 (eval $ac_compile) 2>&5
8035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8036 test $ac_status = 0; }; then
8037 if test "$lt_cv_prog_gnu_ld" = yes; then
8038 case `/usr/bin/file conftest.$ac_objext` in
8040 LD
="${LD-ld} -melf32bsmip"
8043 LD
="${LD-ld} -melf32bmipn32"
8046 LD
="${LD-ld} -melf64bmip"
8050 case `/usr/bin/file conftest.$ac_objext` in
8066 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8067 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8068 # Find out which ABI we are using.
8069 echo 'int i;' > conftest.
$ac_ext
8070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8071 (eval $ac_compile) 2>&5
8073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8074 test $ac_status = 0; }; then
8075 case `/usr/bin/file conftest.o` in
8078 x86_64-
*kfreebsd
*-gnu)
8079 LD
="${LD-ld} -m elf_i386_fbsd"
8082 case `/usr/bin/file conftest.o` in
8084 LD
="${LD-ld} -m elf32_x86_64"
8087 LD
="${LD-ld} -m elf_i386"
8091 powerpc64le-
*linux
*)
8092 LD
="${LD-ld} -m elf32lppclinux"
8095 LD
="${LD-ld} -m elf32ppclinux"
8098 LD
="${LD-ld} -m elf_s390"
8101 LD
="${LD-ld} -m elf32_sparc"
8107 x86_64-
*kfreebsd
*-gnu)
8108 LD
="${LD-ld} -m elf_x86_64_fbsd"
8111 LD
="${LD-ld} -m elf_x86_64"
8114 LD
="${LD-ld} -m elf64lppc"
8117 LD
="${LD-ld} -m elf64ppc"
8119 s390
*-*linux
*|s390
*-*tpf
*)
8120 LD
="${LD-ld} -m elf64_s390"
8123 LD
="${LD-ld} -m elf64_sparc"
8133 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8134 SAVE_CFLAGS
="$CFLAGS"
8135 CFLAGS
="$CFLAGS -belf"
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8137 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8138 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8139 $as_echo_n "(cached) " >&6
8142 ac_cpp
='$CPP $CPPFLAGS'
8143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8147 if test x
$gcc_no_link = xyes
; then
8148 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8161 if ac_fn_c_try_link
"$LINENO"; then :
8162 lt_cv_cc_needs_belf
=yes
8164 lt_cv_cc_needs_belf
=no
8166 rm -f core conftest.err conftest.
$ac_objext \
8167 conftest
$ac_exeext conftest.
$ac_ext
8169 ac_cpp
='$CPP $CPPFLAGS'
8170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8176 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8177 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8178 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8179 CFLAGS
="$SAVE_CFLAGS"
8183 # Find out which ABI we are using.
8184 echo 'int i;' > conftest.
$ac_ext
8185 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8186 (eval $ac_compile) 2>&5
8188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8189 test $ac_status = 0; }; then
8190 case `/usr/bin/file conftest.o` in
8192 case $lt_cv_prog_gnu_ld in
8193 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8195 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8207 need_locks
="$enable_libtool_lock"
8211 rhapsody
* | darwin
*)
8212 if test -n "$ac_tool_prefix"; then
8213 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8214 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8218 $as_echo_n "(cached) " >&6
8220 if test -n "$DSYMUTIL"; then
8221 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8227 test -z "$as_dir" && as_dir
=.
8228 for ac_exec_ext
in '' $ac_executable_extensions; do
8229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8230 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8240 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8241 if test -n "$DSYMUTIL"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8243 $as_echo "$DSYMUTIL" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8251 if test -z "$ac_cv_prog_DSYMUTIL"; then
8252 ac_ct_DSYMUTIL
=$DSYMUTIL
8253 # Extract the first word of "dsymutil", so it can be a program name with args.
8254 set dummy dsymutil
; ac_word
=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8258 $as_echo_n "(cached) " >&6
8260 if test -n "$ac_ct_DSYMUTIL"; then
8261 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8267 test -z "$as_dir" && as_dir
=.
8268 for ac_exec_ext
in '' $ac_executable_extensions; do
8269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8270 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8280 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8281 if test -n "$ac_ct_DSYMUTIL"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8283 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8289 if test "x$ac_ct_DSYMUTIL" = x
; then
8292 case $cross_compiling:$ac_tool_warned in
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned
=yes ;;
8298 DSYMUTIL
=$ac_ct_DSYMUTIL
8301 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8304 if test -n "$ac_tool_prefix"; then
8305 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8306 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8310 $as_echo_n "(cached) " >&6
8312 if test -n "$NMEDIT"; then
8313 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8319 test -z "$as_dir" && as_dir
=.
8320 for ac_exec_ext
in '' $ac_executable_extensions; do
8321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8322 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8332 NMEDIT
=$ac_cv_prog_NMEDIT
8333 if test -n "$NMEDIT"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8335 $as_echo "$NMEDIT" >&6; }
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8343 if test -z "$ac_cv_prog_NMEDIT"; then
8344 ac_ct_NMEDIT
=$NMEDIT
8345 # Extract the first word of "nmedit", so it can be a program name with args.
8346 set dummy nmedit
; ac_word
=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8350 $as_echo_n "(cached) " >&6
8352 if test -n "$ac_ct_NMEDIT"; then
8353 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8359 test -z "$as_dir" && as_dir
=.
8360 for ac_exec_ext
in '' $ac_executable_extensions; do
8361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8362 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8372 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8373 if test -n "$ac_ct_NMEDIT"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8375 $as_echo "$ac_ct_NMEDIT" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8381 if test "x$ac_ct_NMEDIT" = x
; then
8384 case $cross_compiling:$ac_tool_warned in
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned
=yes ;;
8390 NMEDIT
=$ac_ct_NMEDIT
8393 NMEDIT
="$ac_cv_prog_NMEDIT"
8396 if test -n "$ac_tool_prefix"; then
8397 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8398 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8400 $as_echo_n "checking for $ac_word... " >&6; }
8401 if test "${ac_cv_prog_LIPO+set}" = set; then :
8402 $as_echo_n "(cached) " >&6
8404 if test -n "$LIPO"; then
8405 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir
=.
8412 for ac_exec_ext
in '' $ac_executable_extensions; do
8413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8414 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8424 LIPO
=$ac_cv_prog_LIPO
8425 if test -n "$LIPO"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8427 $as_echo "$LIPO" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8435 if test -z "$ac_cv_prog_LIPO"; then
8437 # Extract the first word of "lipo", so it can be a program name with args.
8438 set dummy lipo
; ac_word
=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8442 $as_echo_n "(cached) " >&6
8444 if test -n "$ac_ct_LIPO"; then
8445 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8451 test -z "$as_dir" && as_dir
=.
8452 for ac_exec_ext
in '' $ac_executable_extensions; do
8453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8454 ac_cv_prog_ac_ct_LIPO
="lipo"
8455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8464 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8465 if test -n "$ac_ct_LIPO"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8467 $as_echo "$ac_ct_LIPO" >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8473 if test "x$ac_ct_LIPO" = x
; then
8476 case $cross_compiling:$ac_tool_warned in
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8480 ac_tool_warned
=yes ;;
8485 LIPO
="$ac_cv_prog_LIPO"
8488 if test -n "$ac_tool_prefix"; then
8489 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8490 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8494 $as_echo_n "(cached) " >&6
8496 if test -n "$OTOOL"; then
8497 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir
=.
8504 for ac_exec_ext
in '' $ac_executable_extensions; do
8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8516 OTOOL
=$ac_cv_prog_OTOOL
8517 if test -n "$OTOOL"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8519 $as_echo "$OTOOL" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8527 if test -z "$ac_cv_prog_OTOOL"; then
8529 # Extract the first word of "otool", so it can be a program name with args.
8530 set dummy otool
; ac_word
=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8534 $as_echo_n "(cached) " >&6
8536 if test -n "$ac_ct_OTOOL"; then
8537 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir
=.
8544 for ac_exec_ext
in '' $ac_executable_extensions; do
8545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546 ac_cv_prog_ac_ct_OTOOL
="otool"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8556 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8557 if test -n "$ac_ct_OTOOL"; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8559 $as_echo "$ac_ct_OTOOL" >&6; }
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8565 if test "x$ac_ct_OTOOL" = x
; then
8568 case $cross_compiling:$ac_tool_warned in
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8572 ac_tool_warned
=yes ;;
8577 OTOOL
="$ac_cv_prog_OTOOL"
8580 if test -n "$ac_tool_prefix"; then
8581 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8582 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8584 $as_echo_n "checking for $ac_word... " >&6; }
8585 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8586 $as_echo_n "(cached) " >&6
8588 if test -n "$OTOOL64"; then
8589 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8595 test -z "$as_dir" && as_dir
=.
8596 for ac_exec_ext
in '' $ac_executable_extensions; do
8597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8598 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8608 OTOOL64
=$ac_cv_prog_OTOOL64
8609 if test -n "$OTOOL64"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8611 $as_echo "$OTOOL64" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8619 if test -z "$ac_cv_prog_OTOOL64"; then
8620 ac_ct_OTOOL64
=$OTOOL64
8621 # Extract the first word of "otool64", so it can be a program name with args.
8622 set dummy otool64
; ac_word
=$2
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624 $as_echo_n "checking for $ac_word... " >&6; }
8625 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8626 $as_echo_n "(cached) " >&6
8628 if test -n "$ac_ct_OTOOL64"; then
8629 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8635 test -z "$as_dir" && as_dir
=.
8636 for ac_exec_ext
in '' $ac_executable_extensions; do
8637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8638 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8648 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8649 if test -n "$ac_ct_OTOOL64"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8651 $as_echo "$ac_ct_OTOOL64" >&6; }
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654 $as_echo "no" >&6; }
8657 if test "x$ac_ct_OTOOL64" = x
; then
8660 case $cross_compiling:$ac_tool_warned in
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8664 ac_tool_warned
=yes ;;
8666 OTOOL64
=$ac_ct_OTOOL64
8669 OTOOL64
="$ac_cv_prog_OTOOL64"
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8699 $as_echo_n "checking for -single_module linker flag... " >&6; }
8700 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8701 $as_echo_n "(cached) " >&6
8703 lt_cv_apple_cc_single_mod
=no
8704 if test -z "${LT_MULTI_MODULE}"; then
8705 # By default we will add the -single_module flag. You can override
8706 # by either setting the environment variable LT_MULTI_MODULE
8707 # non-empty at configure time, or by adding -multi_module to the
8709 rm -rf libconftest.dylib
*
8710 echo "int foo(void){return 1;}" > conftest.c
8711 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8712 -dynamiclib -Wl,-single_module conftest.c" >&5
8713 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8714 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8716 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8717 lt_cv_apple_cc_single_mod
=yes
8719 cat conftest.err
>&5
8721 rm -rf libconftest.dylib
*
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8726 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8728 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8729 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8730 $as_echo_n "(cached) " >&6
8732 lt_cv_ld_exported_symbols_list
=no
8733 save_LDFLAGS
=$LDFLAGS
8734 echo "_main" > conftest.sym
8735 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8736 if test x
$gcc_no_link = xyes
; then
8737 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8750 if ac_fn_c_try_link
"$LINENO"; then :
8751 lt_cv_ld_exported_symbols_list
=yes
8753 lt_cv_ld_exported_symbols_list
=no
8755 rm -f core conftest.err conftest.
$ac_objext \
8756 conftest
$ac_exeext conftest.
$ac_ext
8757 LDFLAGS
="$save_LDFLAGS"
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8761 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8763 $as_echo_n "checking for -force_load linker flag... " >&6; }
8764 if test "${lt_cv_ld_force_load+set}" = set; then :
8765 $as_echo_n "(cached) " >&6
8767 lt_cv_ld_force_load
=no
8768 cat > conftest.c
<< _LT_EOF
8769 int forced_loaded() { return 2;}
8771 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8772 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8773 echo "$AR cru libconftest.a conftest.o" >&5
8774 $AR cru libconftest.a conftest.o
2>&5
8775 cat > conftest.c
<< _LT_EOF
8776 int main() { return 0;}
8778 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8779 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8781 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8782 lt_cv_ld_force_load
=yes
8784 cat conftest.err
>&5
8786 rm -f conftest.err libconftest.a conftest conftest.c
8787 rm -rf conftest.dSYM
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8791 $as_echo "$lt_cv_ld_force_load" >&6; }
8793 rhapsody
* | darwin1.
[012])
8794 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8796 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8797 darwin
*) # darwin 5.x on
8798 # if running on 10.5 or later, the deployment target defaults
8799 # to the OS version, if on x86, and 10.4, the deployment
8800 # target defaults to 10.4. Don't you love it?
8801 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8802 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8803 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8805 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8807 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8811 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8812 _lt_dar_single_mod
='$single_module'
8814 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8815 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8817 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8819 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8820 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8827 for ac_header
in dlfcn.h
8829 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8831 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8832 cat >>confdefs.h
<<_ACEOF
8833 #define HAVE_DLFCN_H 1
8852 # Check whether --enable-shared was given.
8853 if test "${enable_shared+set}" = set; then :
8854 enableval
=$enable_shared; p
=${PACKAGE-default}
8856 yes) enable_shared
=yes ;;
8857 no
) enable_shared
=no
;;
8860 # Look at the argument we got. We use all the common list separators.
8861 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8862 for pkg
in $enableval; do
8864 if test "X$pkg" = "X$p"; then
8883 # Check whether --enable-static was given.
8884 if test "${enable_static+set}" = set; then :
8885 enableval
=$enable_static; p
=${PACKAGE-default}
8887 yes) enable_static
=yes ;;
8888 no
) enable_static
=no
;;
8891 # Look at the argument we got. We use all the common list separators.
8892 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8893 for pkg
in $enableval; do
8895 if test "X$pkg" = "X$p"; then
8915 # Check whether --with-pic was given.
8916 if test "${with_pic+set}" = set; then :
8917 withval
=$with_pic; pic_mode
="$withval"
8923 test -z "$pic_mode" && pic_mode
=default
8931 # Check whether --enable-fast-install was given.
8932 if test "${enable_fast_install+set}" = set; then :
8933 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8935 yes) enable_fast_install
=yes ;;
8936 no
) enable_fast_install
=no
;;
8938 enable_fast_install
=no
8939 # Look at the argument we got. We use all the common list separators.
8940 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8941 for pkg
in $enableval; do
8943 if test "X$pkg" = "X$p"; then
8944 enable_fast_install
=yes
8951 enable_fast_install
=yes
8964 # This can be used to rebuild libtool when needed
8965 LIBTOOL_DEPS
="$ltmain"
8967 # Always use our own libtool.
8968 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8995 test -z "$LN_S" && LN_S
="ln -s"
9010 if test -n "${ZSH_VERSION+set}" ; then
9011 setopt NO_GLOB_SUBST
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9015 $as_echo_n "checking for objdir... " >&6; }
9016 if test "${lt_cv_objdir+set}" = set; then :
9017 $as_echo_n "(cached) " >&6
9019 rm -f .libs
2>/dev
/null
9020 mkdir .libs
2>/dev
/null
9021 if test -d .libs
; then
9024 # MS-DOS does not allow filenames that begin with a dot.
9027 rmdir .libs
2>/dev
/null
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9030 $as_echo "$lt_cv_objdir" >&6; }
9031 objdir
=$lt_cv_objdir
9037 cat >>confdefs.h
<<_ACEOF
9038 #define LT_OBJDIR "$lt_cv_objdir/"
9046 # AIX sometimes has problems with the GCC collect2 program. For some
9047 # reason, if we set the COLLECT_NAMES environment variable, the problems
9048 # vanish in a puff of smoke.
9049 if test "X${COLLECT_NAMES+set}" != Xset
; then
9051 export COLLECT_NAMES
9058 can_build_shared
=yes
9060 # All known linkers require a `.a' archive for static linking (except MSVC,
9061 # which needs '.lib').
9064 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9067 old_CFLAGS
="$CFLAGS"
9069 # Set sane defaults for various variables
9070 test -z "$CC" && CC
=cc
9071 test -z "$LTCC" && LTCC
=$CC
9072 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9073 test -z "$LD" && LD
=ld
9074 test -z "$ac_objext" && ac_objext
=o
9076 for cc_temp
in $compiler""; do
9078 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9079 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9084 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9087 # Only perform the check for file, if the check method requires it
9088 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9089 case $deplibs_check_method in
9091 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9093 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9094 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9095 $as_echo_n "(cached) " >&6
9099 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9102 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9103 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9104 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9105 for ac_dir
in $ac_dummy; do
9107 test -z "$ac_dir" && ac_dir
=.
9108 if test -f $ac_dir/${ac_tool_prefix}file; then
9109 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9110 if test -n "$file_magic_test_file"; then
9111 case $deplibs_check_method in
9113 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9114 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9115 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9116 $EGREP "$file_magic_regex" > /dev
/null
; then
9121 *** Warning: the command libtool uses to detect shared libraries,
9122 *** $file_magic_cmd, produces output that libtool cannot recognize.
9123 *** The result is that libtool may fail to recognize shared libraries
9124 *** as such. This will affect the creation of libtool libraries that
9125 *** depend on shared libraries, but programs linked with such libtool
9126 *** libraries will work regardless of this problem. Nevertheless, you
9127 *** may want to report the problem to your system manager and/or to
9128 *** bug-libtool@gnu.org
9138 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9143 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9144 if test -n "$MAGIC_CMD"; then
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9146 $as_echo "$MAGIC_CMD" >&6; }
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9149 $as_echo "no" >&6; }
9156 if test -z "$lt_cv_path_MAGIC_CMD"; then
9157 if test -n "$ac_tool_prefix"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9159 $as_echo_n "checking for file... " >&6; }
9160 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9161 $as_echo_n "(cached) " >&6
9165 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9168 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9169 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9170 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9171 for ac_dir
in $ac_dummy; do
9173 test -z "$ac_dir" && ac_dir
=.
9174 if test -f $ac_dir/file; then
9175 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9176 if test -n "$file_magic_test_file"; then
9177 case $deplibs_check_method in
9179 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9180 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9181 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9182 $EGREP "$file_magic_regex" > /dev
/null
; then
9187 *** Warning: the command libtool uses to detect shared libraries,
9188 *** $file_magic_cmd, produces output that libtool cannot recognize.
9189 *** The result is that libtool may fail to recognize shared libraries
9190 *** as such. This will affect the creation of libtool libraries that
9191 *** depend on shared libraries, but programs linked with such libtool
9192 *** libraries will work regardless of this problem. Nevertheless, you
9193 *** may want to report the problem to your system manager and/or to
9194 *** bug-libtool@gnu.org
9204 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9209 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9210 if test -n "$MAGIC_CMD"; then
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9212 $as_echo "$MAGIC_CMD" >&6; }
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9215 $as_echo "no" >&6; }
9228 # Use C for the default configuration in the libtool script
9232 ac_cpp
='$CPP $CPPFLAGS'
9233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9238 # Source file extension for C test sources.
9241 # Object file extension for compiled C test sources.
9245 # Code to be used in simple compile tests
9246 lt_simple_compile_test_code
="int some_variable = 0;"
9248 # Code to be used in simple link tests
9249 lt_simple_link_test_code
='int main(){return(0);}'
9257 # If no C compiler was specified, use CC.
9260 # If no C compiler flags were specified, use CFLAGS.
9261 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9263 # Allow CC to be a program name with arguments.
9266 # Save the default compiler, since it gets overwritten when the other
9267 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9268 compiler_DEFAULT
=$CC
9270 # save warnings/boilerplate of simple test code
9271 ac_outfile
=conftest.
$ac_objext
9272 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9273 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9274 _lt_compiler_boilerplate
=`cat conftest.err`
9277 ac_outfile
=conftest.
$ac_objext
9278 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9279 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9280 _lt_linker_boilerplate
=`cat conftest.err`
9285 ## There is no encapsulation within the following macros, do not change
9286 ## the running order or otherwise move them around unless you know exactly
9287 ## what you are doing...
9288 if test -n "$compiler"; then
9290 lt_prog_compiler_no_builtin_flag
=
9292 if test "$GCC" = yes; then
9293 case $cc_basename in
9295 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9297 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9301 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9302 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9303 $as_echo_n "(cached) " >&6
9305 lt_cv_prog_compiler_rtti_exceptions
=no
9306 ac_outfile
=conftest.
$ac_objext
9307 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9308 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9309 # Insert the option either (1) after the last *FLAGS variable, or
9310 # (2) before a word containing "conftest.", or (3) at the end.
9311 # Note that $ac_compile itself does not contain backslashes and begins
9312 # with a dollar sign (not a hyphen), so the echo should work correctly.
9313 # The option is referenced via a variable to avoid confusing sed.
9314 lt_compile
=`echo "$ac_compile" | $SED \
9315 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9316 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9317 -e 's:$: $lt_compiler_flag:'`
9318 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9319 (eval "$lt_compile" 2>conftest.err
)
9321 cat conftest.err
>&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 if (exit $ac_status) && test -s "$ac_outfile"; then
9324 # The compiler can only warn and ignore the option if not recognized
9325 # So say no if there are warnings other than the usual output.
9326 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9327 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9328 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9329 lt_cv_prog_compiler_rtti_exceptions
=yes
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9336 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9338 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9339 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9351 lt_prog_compiler_wl
=
9352 lt_prog_compiler_pic
=
9353 lt_prog_compiler_static
=
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9356 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9358 if test "$GCC" = yes; then
9359 lt_prog_compiler_wl
='-Wl,'
9360 lt_prog_compiler_static
='-static'
9364 # All AIX code is PIC.
9365 if test "$host_cpu" = ia64
; then
9366 # AIX 5 now supports IA64 processor
9367 lt_prog_compiler_static
='-Bstatic'
9369 lt_prog_compiler_pic
='-fPIC'
9375 # see comment about AmigaOS4 .so support
9376 lt_prog_compiler_pic
='-fPIC'
9379 # FIXME: we need at least 68020 code to build shared libraries, but
9380 # adding the `-m68020' flag to GCC prevents building anything better,
9382 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9387 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9388 # PIC is the default for these OSes.
9391 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9392 # This hack is so that the source file can tell whether it is being
9393 # built for inclusion in a dll (and should export symbols for example).
9394 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9395 # (--disable-auto-import) libraries
9396 lt_prog_compiler_pic
='-DDLL_EXPORT'
9399 darwin
* | rhapsody
*)
9400 # PIC is the default on this platform
9401 # Common symbols not allowed in MH_DYLIB files
9402 lt_prog_compiler_pic
='-fno-common'
9406 # PIC is the default for Haiku.
9407 # The "-static" flag exists, but is broken.
9408 lt_prog_compiler_static
=
9412 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9413 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9414 # sets the default TLS model and affects inlining.
9420 lt_prog_compiler_pic
='-fPIC'
9426 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9427 # Instead, we relocate shared libraries at runtime.
9431 # Just because we use GCC doesn't mean we suddenly get shared libraries
9432 # on systems that don't support them.
9433 lt_prog_compiler_can_build_shared
=no
9438 # QNX uses GNU C++, but need to define -shared option too, otherwise
9440 lt_prog_compiler_pic
='-fPIC -shared'
9444 if test -d /usr
/nec
; then
9445 lt_prog_compiler_pic
=-Kconform_pic
9450 lt_prog_compiler_pic
='-fPIC'
9454 case $cc_basename in
9455 nvcc
*) # Cuda Compiler Driver 2.2
9456 lt_prog_compiler_wl
='-Xlinker '
9457 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9461 # PORTME Check for flag to pass linker flags through the system compiler.
9464 lt_prog_compiler_wl
='-Wl,'
9465 if test "$host_cpu" = ia64
; then
9466 # AIX 5 now supports IA64 processor
9467 lt_prog_compiler_static
='-Bstatic'
9469 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9473 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9474 # This hack is so that the source file can tell whether it is being
9475 # built for inclusion in a dll (and should export symbols for example).
9476 lt_prog_compiler_pic
='-DDLL_EXPORT'
9479 hpux9
* | hpux10
* | hpux11
*)
9480 lt_prog_compiler_wl
='-Wl,'
9481 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9488 lt_prog_compiler_pic
='+Z'
9491 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9492 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9495 irix5
* | irix6
* | nonstopux
*)
9496 lt_prog_compiler_wl
='-Wl,'
9497 # PIC (with -KPIC) is the default.
9498 lt_prog_compiler_static
='-non_shared'
9501 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9502 case $cc_basename in
9503 # old Intel for x86_64 which still supported -KPIC.
9505 lt_prog_compiler_wl
='-Wl,'
9506 lt_prog_compiler_pic
='-KPIC'
9507 lt_prog_compiler_static
='-static'
9509 # icc used to be incompatible with GCC.
9510 # ICC 10 doesn't accept -KPIC any more.
9512 lt_prog_compiler_wl
='-Wl,'
9513 lt_prog_compiler_pic
='-fPIC'
9514 lt_prog_compiler_static
='-static'
9516 # Lahey Fortran 8.1.
9518 lt_prog_compiler_wl
='-Wl,'
9519 lt_prog_compiler_pic
='--shared'
9520 lt_prog_compiler_static
='--static'
9522 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9523 # Portland Group compilers (*not* the Pentium gcc compiler,
9524 # which looks to be a dead project)
9525 lt_prog_compiler_wl
='-Wl,'
9526 lt_prog_compiler_pic
='-fpic'
9527 lt_prog_compiler_static
='-Bstatic'
9530 lt_prog_compiler_wl
='-Wl,'
9531 # All Alpha code is PIC.
9532 lt_prog_compiler_static
='-non_shared'
9534 xl
* | bgxl
* | bgf
* | mpixl
*)
9535 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9536 lt_prog_compiler_wl
='-Wl,'
9537 lt_prog_compiler_pic
='-qpic'
9538 lt_prog_compiler_static
='-qstaticlink'
9541 case `$CC -V 2>&1 | sed 5q` in
9542 *Sun\ F
* |
*Sun
*Fortran
*)
9543 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9544 lt_prog_compiler_pic
='-KPIC'
9545 lt_prog_compiler_static
='-Bstatic'
9546 lt_prog_compiler_wl
=''
9550 lt_prog_compiler_pic
='-KPIC'
9551 lt_prog_compiler_static
='-Bstatic'
9552 lt_prog_compiler_wl
='-Wl,'
9560 lt_prog_compiler_pic
='-KPIC'
9561 lt_prog_compiler_static
='-Bstatic'
9565 # QNX uses GNU C++, but need to define -shared option too, otherwise
9567 lt_prog_compiler_pic
='-fPIC -shared'
9570 osf3
* | osf4
* | osf5
*)
9571 lt_prog_compiler_wl
='-Wl,'
9572 # All OSF/1 code is PIC.
9573 lt_prog_compiler_static
='-non_shared'
9577 lt_prog_compiler_static
='-non_shared'
9581 lt_prog_compiler_pic
='-KPIC'
9582 lt_prog_compiler_static
='-Bstatic'
9583 case $cc_basename in
9585 lt_prog_compiler_wl
='-Qoption ld ';;
9587 lt_prog_compiler_wl
='-Wl,';;
9592 lt_prog_compiler_wl
='-Qoption ld '
9593 lt_prog_compiler_pic
='-PIC'
9594 lt_prog_compiler_static
='-Bstatic'
9597 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9598 lt_prog_compiler_wl
='-Wl,'
9599 lt_prog_compiler_pic
='-KPIC'
9600 lt_prog_compiler_static
='-Bstatic'
9604 if test -d /usr
/nec
;then
9605 lt_prog_compiler_pic
='-Kconform_pic'
9606 lt_prog_compiler_static
='-Bstatic'
9610 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9611 lt_prog_compiler_wl
='-Wl,'
9612 lt_prog_compiler_pic
='-KPIC'
9613 lt_prog_compiler_static
='-Bstatic'
9617 lt_prog_compiler_wl
='-Wl,'
9618 lt_prog_compiler_can_build_shared
=no
9622 lt_prog_compiler_pic
='-pic'
9623 lt_prog_compiler_static
='-Bstatic'
9627 lt_prog_compiler_can_build_shared
=no
9633 # For platforms which do not support PIC, -DPIC is meaningless:
9635 lt_prog_compiler_pic
=
9638 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9642 $as_echo "$lt_prog_compiler_pic" >&6; }
9650 # Check to make sure the PIC flag actually works.
9652 if test -n "$lt_prog_compiler_pic"; then
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9654 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9655 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9656 $as_echo_n "(cached) " >&6
9658 lt_cv_prog_compiler_pic_works
=no
9659 ac_outfile
=conftest.
$ac_objext
9660 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9661 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9662 # Insert the option either (1) after the last *FLAGS variable, or
9663 # (2) before a word containing "conftest.", or (3) at the end.
9664 # Note that $ac_compile itself does not contain backslashes and begins
9665 # with a dollar sign (not a hyphen), so the echo should work correctly.
9666 # The option is referenced via a variable to avoid confusing sed.
9667 lt_compile
=`echo "$ac_compile" | $SED \
9668 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9669 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9670 -e 's:$: $lt_compiler_flag:'`
9671 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9672 (eval "$lt_compile" 2>conftest.err
)
9674 cat conftest.err
>&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 if (exit $ac_status) && test -s "$ac_outfile"; then
9677 # The compiler can only warn and ignore the option if not recognized
9678 # So say no if there are warnings other than the usual output.
9679 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9680 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9681 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9682 lt_cv_prog_compiler_pic_works
=yes
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9689 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9691 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9692 case $lt_prog_compiler_pic in
9694 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9697 lt_prog_compiler_pic
=
9698 lt_prog_compiler_can_build_shared
=no
9709 # Check to make sure the static flag actually works.
9711 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9713 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9714 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9715 $as_echo_n "(cached) " >&6
9717 lt_cv_prog_compiler_static_works
=no
9718 save_LDFLAGS
="$LDFLAGS"
9719 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9720 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9721 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9722 # The linker can only warn and ignore the option if not recognized
9723 # So say no if there are warnings
9724 if test -s conftest.err
; then
9725 # Append any errors to the config.log.
9726 cat conftest.err
1>&5
9727 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9728 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9729 if diff conftest.exp conftest.er2
>/dev
/null
; then
9730 lt_cv_prog_compiler_static_works
=yes
9733 lt_cv_prog_compiler_static_works
=yes
9737 LDFLAGS
="$save_LDFLAGS"
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9741 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9743 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9746 lt_prog_compiler_static
=
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9756 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9757 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9758 $as_echo_n "(cached) " >&6
9760 lt_cv_prog_compiler_c_o
=no
9761 $RM -r conftest
2>/dev
/null
9765 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9767 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9768 # Insert the option either (1) after the last *FLAGS variable, or
9769 # (2) before a word containing "conftest.", or (3) at the end.
9770 # Note that $ac_compile itself does not contain backslashes and begins
9771 # with a dollar sign (not a hyphen), so the echo should work correctly.
9772 lt_compile
=`echo "$ac_compile" | $SED \
9773 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9774 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9775 -e 's:$: $lt_compiler_flag:'`
9776 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9777 (eval "$lt_compile" 2>out
/conftest.err
)
9779 cat out
/conftest.err
>&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9783 # The compiler can only warn and ignore the option if not recognized
9784 # So say no if there are warnings
9785 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9786 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9787 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9788 lt_cv_prog_compiler_c_o
=yes
9793 # SGI C++ compiler will create directory out/ii_files/ for
9794 # template instantiation
9795 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9796 $RM out
/* && rmdir out
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9803 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9811 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9812 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9813 $as_echo_n "(cached) " >&6
9815 lt_cv_prog_compiler_c_o
=no
9816 $RM -r conftest
2>/dev
/null
9820 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9822 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9823 # Insert the option either (1) after the last *FLAGS variable, or
9824 # (2) before a word containing "conftest.", or (3) at the end.
9825 # Note that $ac_compile itself does not contain backslashes and begins
9826 # with a dollar sign (not a hyphen), so the echo should work correctly.
9827 lt_compile
=`echo "$ac_compile" | $SED \
9828 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9829 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9830 -e 's:$: $lt_compiler_flag:'`
9831 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9832 (eval "$lt_compile" 2>out
/conftest.err
)
9834 cat out
/conftest.err
>&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9838 # The compiler can only warn and ignore the option if not recognized
9839 # So say no if there are warnings
9840 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9841 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9842 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9843 lt_cv_prog_compiler_c_o
=yes
9848 # SGI C++ compiler will create directory out/ii_files/ for
9849 # template instantiation
9850 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9851 $RM out
/* && rmdir out
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9858 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9863 hard_links
="nottested"
9864 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9865 # do not overwrite the value of need_locks provided by the user
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9867 $as_echo_n "checking if we can lock with hard links... " >&6; }
9870 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9872 ln conftest.a conftest.b
2>&5 || hard_links
=no
9873 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9875 $as_echo "$hard_links" >&6; }
9876 if test "$hard_links" = no
; then
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9878 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9891 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9894 allow_undefined_flag
=
9895 always_export_symbols
=no
9897 archive_expsym_cmds
=
9898 compiler_needs_object
=no
9899 enable_shared_with_static_runtimes
=no
9900 export_dynamic_flag_spec
=
9901 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9902 hardcode_automatic
=no
9904 hardcode_direct_absolute
=no
9905 hardcode_libdir_flag_spec
=
9906 hardcode_libdir_flag_spec_ld
=
9907 hardcode_libdir_separator
=
9909 hardcode_shlibpath_var
=unsupported
9911 link_all_deplibs
=unknown
9914 old_archive_from_new_cmds
=
9915 old_archive_from_expsyms_cmds
=
9916 thread_safe_flag_spec
=
9917 whole_archive_flag_spec
=
9918 # include_expsyms should be a list of space-separated symbols to be *always*
9919 # included in the symbol list
9921 # exclude_expsyms can be an extended regexp of symbols to exclude
9922 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9923 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9924 # as well as any symbol that contains `d'.
9925 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9926 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9927 # platforms (ab)use it in PIC code, but their linkers get confused if
9928 # the symbol is explicitly referenced. Since portable code cannot
9929 # rely on this symbol name, it's probably fine to never include it in
9930 # preloaded symbol tables.
9931 # Exclude shared library initialization/finalization symbols.
9932 extract_expsyms_cmds
=
9935 cygwin
* | mingw
* | pw32
* | cegcc
*)
9936 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9937 # When not using gcc, we currently assume that we are using
9938 # Microsoft Visual C++.
9939 if test "$GCC" != yes; then
9944 # we just hope/assume this is gcc and not c89 (= MSVC++)
9954 # On some targets, GNU ld is compatible enough with the native linker
9955 # that we're better off using the native interface for both.
9956 lt_use_gnu_ld_interface
=no
9957 if test "$with_gnu_ld" = yes; then
9960 # The AIX port of GNU ld has always aspired to compatibility
9961 # with the native linker. However, as the warning in the GNU ld
9962 # block says, versions before 2.19.5* couldn't really create working
9963 # shared libraries, regardless of the interface used.
9964 case `$LD -v 2>&1` in
9965 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9966 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9967 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9969 lt_use_gnu_ld_interface
=yes
9974 lt_use_gnu_ld_interface
=yes
9979 if test "$lt_use_gnu_ld_interface" = yes; then
9980 # If archive_cmds runs LD, not CC, wlarc should be empty
9983 # Set some defaults for GNU ld with shared library support. These
9984 # are reset later if shared libraries are not supported. Putting them
9985 # here allows them to be overridden if necessary.
9986 runpath_var
=LD_RUN_PATH
9987 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9988 export_dynamic_flag_spec
='${wl}--export-dynamic'
9989 # ancient GNU ld didn't support --whole-archive et. al.
9990 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9991 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9993 whole_archive_flag_spec
=
9995 supports_anon_versioning
=no
9996 case `$LD -v 2>&1` in
9997 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9998 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9999 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10000 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10001 *\
2.11.
*) ;; # other 2.11 versions
10002 *) supports_anon_versioning
=yes ;;
10005 # See if GNU ld supports shared libraries.
10008 # On AIX/PPC, the GNU linker is very broken
10009 if test "$host_cpu" != ia64
; then
10013 *** Warning: the GNU linker, at least up to release 2.19, is reported
10014 *** to be unable to reliably create shared libraries on AIX.
10015 *** Therefore, libtool is disabling shared libraries support. If you
10016 *** really care for shared libraries, you may want to install binutils
10017 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10018 *** You will then need to restart the configuration process.
10027 # see comment about AmigaOS4 .so support
10028 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10029 archive_expsym_cmds
=''
10032 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)'
10033 hardcode_libdir_flag_spec
='-L$libdir'
10034 hardcode_minus_L
=yes
10040 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10041 allow_undefined_flag
=unsupported
10042 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10043 # support --undefined. This deserves some investigation. FIXME
10044 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10050 cygwin
* | mingw
* | pw32
* | cegcc
*)
10051 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10052 # as there is no search path for DLLs.
10053 hardcode_libdir_flag_spec
='-L$libdir'
10054 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10055 allow_undefined_flag
=unsupported
10056 always_export_symbols
=no
10057 enable_shared_with_static_runtimes
=yes
10058 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10060 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10061 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10062 # If the export-symbols file already is a .def file (1st line
10063 # is EXPORTS), use it as is; otherwise, prepend...
10064 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10065 cp $export_symbols $output_objdir/$soname.def;
10067 echo EXPORTS > $output_objdir/$soname.def;
10068 cat $export_symbols >> $output_objdir/$soname.def;
10070 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10077 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10078 link_all_deplibs
=yes
10083 hardcode_shlibpath_var
=no
10084 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10085 export_dynamic_flag_spec
='${wl}-E'
10086 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10087 # Instead, shared libraries are loaded at an image base (0x10000000 by
10088 # default) and relocated if they conflict, which is a slow very memory
10089 # consuming and fragmenting process. To avoid this, we pick a random,
10090 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10091 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10092 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10093 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'
10096 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10098 if test "$host_os" = linux-dietlibc
; then
10099 case $cc_basename in
10100 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10103 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10104 && test "$tmp_diet" = no
10107 tmp_sharedflag
='-shared'
10108 case $cc_basename,$host_cpu in
10109 pgcc
*) # Portland Group C compiler
10110 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'
10111 tmp_addflag
=' $pic_flag'
10113 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10114 # Portland Group f77 and f90 compilers
10115 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'
10116 tmp_addflag
=' $pic_flag -Mnomain' ;;
10117 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10118 tmp_addflag
=' -i_dynamic' ;;
10119 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10120 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10121 ifc
* | ifort
*) # Intel Fortran compiler
10122 tmp_addflag
=' -nofor_main' ;;
10123 lf95
*) # Lahey Fortran 8.1
10124 whole_archive_flag_spec
=
10125 tmp_sharedflag
='--shared' ;;
10126 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10127 tmp_sharedflag
='-qmkshrobj'
10129 nvcc
*) # Cuda Compiler Driver 2.2
10130 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'
10131 compiler_needs_object
=yes
10134 case `$CC -V 2>&1 | sed 5q` in
10135 *Sun\ C
*) # Sun C 5.9
10136 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'
10137 compiler_needs_object
=yes
10138 tmp_sharedflag
='-G' ;;
10139 *Sun\ F
*) # Sun Fortran 8.3
10140 tmp_sharedflag
='-G' ;;
10142 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10144 if test "x$supports_anon_versioning" = xyes
; then
10145 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10146 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10147 echo "local: *; };" >> $output_objdir/$libname.ver~
10148 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10151 case $cc_basename in
10152 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10153 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10154 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10155 hardcode_libdir_flag_spec
=
10156 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10157 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10158 if test "x$supports_anon_versioning" = xyes
; then
10159 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10160 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10161 echo "local: *; };" >> $output_objdir/$libname.ver~
10162 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10172 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10173 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10176 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10177 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10182 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10186 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10187 *** create shared libraries on Solaris systems. Therefore, libtool
10188 *** is disabling shared libraries support. We urge you to upgrade GNU
10189 *** binutils to release 2.9.1 or newer. Another option is to modify
10190 *** your PATH or compiler configuration so that the native linker is
10191 *** used, and then restart.
10194 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10195 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10196 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10202 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10203 case `$LD -v 2>&1` in
10204 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10208 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10209 *** reliably create shared libraries on SCO systems. Therefore, libtool
10210 *** is disabling shared libraries support. We urge you to upgrade GNU
10211 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10212 *** your PATH or compiler configuration so that the native linker is
10213 *** used, and then restart.
10218 # For security reasons, it is highly recommended that you always
10219 # use absolute paths for naming shared libraries, and exclude the
10220 # DT_RUNPATH tag from executables and libraries. But doing so
10221 # requires that you compile everything twice, which is a pain.
10222 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10223 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10224 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10225 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10234 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10236 hardcode_direct
=yes
10237 hardcode_shlibpath_var
=no
10241 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10242 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10243 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10250 if test "$ld_shlibs" = no
; then
10252 hardcode_libdir_flag_spec
=
10253 export_dynamic_flag_spec
=
10254 whole_archive_flag_spec
=
10257 # PORTME fill in a description of your system's linker (not GNU ld)
10260 allow_undefined_flag
=unsupported
10261 always_export_symbols
=yes
10262 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'
10263 # Note: this linker hardcodes the directories in LIBPATH if there
10264 # are no directories specified by -L.
10265 hardcode_minus_L
=yes
10266 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10267 # Neither direct hardcoding nor static linking is supported with a
10269 hardcode_direct
=unsupported
10274 if test "$host_cpu" = ia64
; then
10275 # On IA64, the linker does run time linking by default, so we don't
10276 # have to do anything special.
10277 aix_use_runtimelinking
=no
10278 exp_sym_flag
='-Bexport'
10281 # If we're using GNU nm, then we don't want the "-C" option.
10282 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10283 # Also, AIX nm treats weak defined symbols like other global
10284 # defined symbols, whereas GNU nm marks them as "W".
10285 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10286 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'
10288 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'
10290 aix_use_runtimelinking
=no
10292 # Test if we are trying to use run time linking or normal
10293 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10294 # need to do runtime linking.
10295 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10296 for ld_flag
in $LDFLAGS; do
10297 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10298 aix_use_runtimelinking
=yes
10305 exp_sym_flag
='-bexport'
10306 no_entry_flag
='-bnoentry'
10309 # When large executables or shared objects are built, AIX ld can
10310 # have problems creating the table of contents. If linking a library
10311 # or program results in "error TOC overflow" add -mminimal-toc to
10312 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10313 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10316 hardcode_direct
=yes
10317 hardcode_direct_absolute
=yes
10318 hardcode_libdir_separator
=':'
10319 link_all_deplibs
=yes
10320 file_list_spec
='${wl}-f,'
10322 if test "$GCC" = yes; then
10323 case $host_os in aix4.
[012]|aix4.
[012].
*)
10324 # We only want to do this on AIX 4.2 and lower, the check
10325 # below for broken collect2 doesn't work under 4.3+
10326 collect2name
=`${CC} -print-prog-name=collect2`
10327 if test -f "$collect2name" &&
10328 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10330 # We have reworked collect2
10333 # We have old collect2
10334 hardcode_direct
=unsupported
10335 # It fails to find uninstalled libraries when the uninstalled
10336 # path is not listed in the libpath. Setting hardcode_minus_L
10337 # to unsupported forces relinking
10338 hardcode_minus_L
=yes
10339 hardcode_libdir_flag_spec
='-L$libdir'
10340 hardcode_libdir_separator
=
10344 shared_flag
='-shared'
10345 if test "$aix_use_runtimelinking" = yes; then
10346 shared_flag
="$shared_flag "'${wl}-G'
10350 if test "$host_cpu" = ia64
; then
10351 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10352 # chokes on -Wl,-G. The following line is correct:
10355 if test "$aix_use_runtimelinking" = yes; then
10356 shared_flag
='${wl}-G'
10358 shared_flag
='${wl}-bM:SRE'
10363 export_dynamic_flag_spec
='${wl}-bexpall'
10364 # It seems that -bexpall does not export symbols beginning with
10365 # underscore (_), so it is better to generate a list of symbols to export.
10366 always_export_symbols
=yes
10367 if test "$aix_use_runtimelinking" = yes; then
10368 # Warning - without using the other runtime loading flags (-brtl),
10369 # -berok will link without error, but may produce a broken library.
10370 allow_undefined_flag
='-berok'
10371 # Determine the default libpath from the value encoded in an
10372 # empty executable.
10373 if test x
$gcc_no_link = xyes
; then
10374 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10387 if ac_fn_c_try_link
"$LINENO"; then :
10389 lt_aix_libpath_sed
='
10390 /Import File Strings/,/^$/ {
10396 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10397 # Check for a 64-bit object if we didn't find anything.
10398 if test -z "$aix_libpath"; then
10399 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10402 rm -f core conftest.err conftest.
$ac_objext \
10403 conftest
$ac_exeext conftest.
$ac_ext
10404 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10406 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10407 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"
10409 if test "$host_cpu" = ia64
; then
10410 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10411 allow_undefined_flag
="-z nodefs"
10412 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"
10414 # Determine the default libpath from the value encoded in an
10415 # empty executable.
10416 if test x
$gcc_no_link = xyes
; then
10417 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10430 if ac_fn_c_try_link
"$LINENO"; then :
10432 lt_aix_libpath_sed
='
10433 /Import File Strings/,/^$/ {
10439 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10440 # Check for a 64-bit object if we didn't find anything.
10441 if test -z "$aix_libpath"; then
10442 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10445 rm -f core conftest.err conftest.
$ac_objext \
10446 conftest
$ac_exeext conftest.
$ac_ext
10447 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10449 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10450 # Warning - without using the other run time loading flags,
10451 # -berok will link without error, but may produce a broken library.
10452 no_undefined_flag
=' ${wl}-bernotok'
10453 allow_undefined_flag
=' ${wl}-berok'
10454 if test "$with_gnu_ld" = yes; then
10455 # We only use this code for GNU lds that support --whole-archive.
10456 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10458 # Exported symbols can be pulled into shared objects from archives
10459 whole_archive_flag_spec
='$convenience'
10461 archive_cmds_need_lc
=yes
10462 # This is similar to how AIX traditionally builds its shared libraries.
10463 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'
10471 # see comment about AmigaOS4 .so support
10472 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10473 archive_expsym_cmds
=''
10476 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)'
10477 hardcode_libdir_flag_spec
='-L$libdir'
10478 hardcode_minus_L
=yes
10484 export_dynamic_flag_spec
=-rdynamic
10487 cygwin
* | mingw
* | pw32
* | cegcc
*)
10488 # When not using gcc, we currently assume that we are using
10489 # Microsoft Visual C++.
10490 # hardcode_libdir_flag_spec is actually meaningless, as there is
10491 # no search path for DLLs.
10492 hardcode_libdir_flag_spec
=' '
10493 allow_undefined_flag
=unsupported
10494 # Tell ltmain to make .lib files, not .a files.
10496 # Tell ltmain to make .dll files, not .so files.
10498 # FIXME: Setting linknames here is a bad hack.
10499 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10500 # The linker will automatically build a .lib file if we build a DLL.
10501 old_archive_from_new_cmds
='true'
10502 # FIXME: Should let the user specify the lib program.
10503 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10504 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10505 enable_shared_with_static_runtimes
=yes
10508 darwin
* | rhapsody
*)
10511 archive_cmds_need_lc
=no
10513 hardcode_automatic
=yes
10514 hardcode_shlibpath_var
=unsupported
10515 if test "$lt_cv_ld_force_load" = "yes"; then
10516 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\"`'
10518 whole_archive_flag_spec
=''
10520 link_all_deplibs
=yes
10521 allow_undefined_flag
="$_lt_dar_allow_undefined"
10522 case $cc_basename in
10523 ifort
*) _lt_dar_can_shared
=yes ;;
10524 *) _lt_dar_can_shared
=$GCC ;;
10526 if test "$_lt_dar_can_shared" = "yes"; then
10527 output_verbose_link_cmd
=func_echo_all
10528 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10529 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10530 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}"
10531 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}"
10540 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10541 hardcode_libdir_flag_spec
='-L$libdir'
10542 hardcode_shlibpath_var
=no
10545 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10546 # support. Future versions do this automatically, but an explicit c++rt0.o
10547 # does not break anything, and helps significantly (at the cost of a little
10550 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10551 hardcode_libdir_flag_spec
='-R$libdir'
10552 hardcode_direct
=yes
10553 hardcode_shlibpath_var
=no
10556 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10558 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10559 hardcode_direct
=yes
10560 hardcode_minus_L
=yes
10561 hardcode_shlibpath_var
=no
10564 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10565 freebsd
* | dragonfly
*)
10566 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10567 hardcode_libdir_flag_spec
='-R$libdir'
10568 hardcode_direct
=yes
10569 hardcode_shlibpath_var
=no
10573 if test "$GCC" = yes; then
10574 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'
10576 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'
10578 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10579 hardcode_libdir_separator
=:
10580 hardcode_direct
=yes
10582 # hardcode_minus_L: Not really in the search PATH,
10583 # but as the default location of the library.
10584 hardcode_minus_L
=yes
10585 export_dynamic_flag_spec
='${wl}-E'
10589 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10590 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10592 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10594 if test "$with_gnu_ld" = no
; then
10595 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10596 hardcode_libdir_flag_spec_ld
='+b $libdir'
10597 hardcode_libdir_separator
=:
10598 hardcode_direct
=yes
10599 hardcode_direct_absolute
=yes
10600 export_dynamic_flag_spec
='${wl}-E'
10601 # hardcode_minus_L: Not really in the search PATH,
10602 # but as the default location of the library.
10603 hardcode_minus_L
=yes
10608 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10611 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10614 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10617 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10623 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10626 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10630 # Older versions of the 11.00 compiler do not understand -b yet
10631 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10633 $as_echo_n "checking if $CC understands -b... " >&6; }
10634 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10635 $as_echo_n "(cached) " >&6
10637 lt_cv_prog_compiler__b
=no
10638 save_LDFLAGS
="$LDFLAGS"
10639 LDFLAGS
="$LDFLAGS -b"
10640 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10641 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10642 # The linker can only warn and ignore the option if not recognized
10643 # So say no if there are warnings
10644 if test -s conftest.err
; then
10645 # Append any errors to the config.log.
10646 cat conftest.err
1>&5
10647 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10648 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10649 if diff conftest.exp conftest.er2
>/dev
/null
; then
10650 lt_cv_prog_compiler__b
=yes
10653 lt_cv_prog_compiler__b
=yes
10657 LDFLAGS
="$save_LDFLAGS"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10661 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10663 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10664 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10666 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10672 if test "$with_gnu_ld" = no
; then
10673 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10674 hardcode_libdir_separator
=:
10679 hardcode_shlibpath_var
=no
10682 hardcode_direct
=yes
10683 hardcode_direct_absolute
=yes
10684 export_dynamic_flag_spec
='${wl}-E'
10686 # hardcode_minus_L: Not really in the search PATH,
10687 # but as the default location of the library.
10688 hardcode_minus_L
=yes
10694 irix5
* | irix6
* | nonstopux
*)
10695 if test "$GCC" = yes; then
10696 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'
10697 # Try to use the -exported_symbol ld option, if it does not
10698 # work, assume that -exports_file does not work either and
10699 # implicitly export all symbols.
10700 save_LDFLAGS
="$LDFLAGS"
10701 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10702 if test x
$gcc_no_link = xyes
; then
10703 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10709 if ac_fn_c_try_link
"$LINENO"; then :
10710 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'
10713 rm -f core conftest.err conftest.
$ac_objext \
10714 conftest
$ac_exeext conftest.
$ac_ext
10715 LDFLAGS
="$save_LDFLAGS"
10717 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'
10718 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'
10720 archive_cmds_need_lc
='no'
10721 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10722 hardcode_libdir_separator
=:
10724 link_all_deplibs
=yes
10728 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10729 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10731 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10733 hardcode_libdir_flag_spec
='-R$libdir'
10734 hardcode_direct
=yes
10735 hardcode_shlibpath_var
=no
10739 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10740 hardcode_direct
=yes
10741 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10742 hardcode_libdir_separator
=:
10743 hardcode_shlibpath_var
=no
10750 if test -f /usr
/libexec
/ld.so
; then
10751 hardcode_direct
=yes
10752 hardcode_shlibpath_var
=no
10753 hardcode_direct_absolute
=yes
10754 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10755 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10756 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10757 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10758 export_dynamic_flag_spec
='${wl}-E'
10761 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10762 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10763 hardcode_libdir_flag_spec
='-R$libdir'
10766 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10767 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10777 hardcode_libdir_flag_spec
='-L$libdir'
10778 hardcode_minus_L
=yes
10779 allow_undefined_flag
=unsupported
10780 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'
10781 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10785 if test "$GCC" = yes; then
10786 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10787 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'
10789 allow_undefined_flag
=' -expect_unresolved \*'
10790 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'
10792 archive_cmds_need_lc
='no'
10793 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10794 hardcode_libdir_separator
=:
10797 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10798 if test "$GCC" = yes; then
10799 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10800 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'
10801 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10803 allow_undefined_flag
=' -expect_unresolved \*'
10804 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'
10805 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~
10806 $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'
10808 # Both c and cxx compiler support -rpath directly
10809 hardcode_libdir_flag_spec
='-rpath $libdir'
10811 archive_cmds_need_lc
='no'
10812 hardcode_libdir_separator
=:
10816 no_undefined_flag
=' -z defs'
10817 if test "$GCC" = yes; then
10819 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10820 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10821 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10823 case `$CC -V 2>&1` in
10826 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10827 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10828 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10832 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10833 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10834 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10838 hardcode_libdir_flag_spec
='-R$libdir'
10839 hardcode_shlibpath_var
=no
10841 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10843 # The compiler driver will combine and reorder linker options,
10844 # but understands `-z linker_flag'. GCC discards it without `$wl',
10845 # but is careful enough not to reorder.
10846 # Supported since Solaris 2.6 (maybe 2.5.1?)
10847 if test "$GCC" = yes; then
10848 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10850 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10854 link_all_deplibs
=yes
10858 if test "x$host_vendor" = xsequent
; then
10859 # Use $CC to link under sequent, because it throws in some extra .o
10860 # files that make .init and .fini sections work.
10861 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10863 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10865 hardcode_libdir_flag_spec
='-L$libdir'
10866 hardcode_direct
=yes
10867 hardcode_minus_L
=yes
10868 hardcode_shlibpath_var
=no
10872 case $host_vendor in
10874 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10875 hardcode_direct
=yes # is this really true???
10878 ## LD is ld it makes a PLAMLIB
10879 ## CC just makes a GrossModule.
10880 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10881 reload_cmds
='$CC -r -o $output$reload_objs'
10885 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10886 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10889 runpath_var
='LD_RUN_PATH'
10890 hardcode_shlibpath_var
=no
10894 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10895 hardcode_shlibpath_var
=no
10896 export_dynamic_flag_spec
='-Bexport'
10900 if test -d /usr
/nec
; then
10901 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10902 hardcode_shlibpath_var
=no
10903 runpath_var
=LD_RUN_PATH
10904 hardcode_runpath_var
=yes
10909 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10910 no_undefined_flag
='${wl}-z,text'
10911 archive_cmds_need_lc
=no
10912 hardcode_shlibpath_var
=no
10913 runpath_var
='LD_RUN_PATH'
10915 if test "$GCC" = yes; then
10916 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10917 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10919 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10920 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924 sysv5
* | sco3.2v5
* | sco5v6
*)
10925 # Note: We can NOT use -z defs as we might desire, because we do not
10926 # link with -lc, and that would cause any symbols used from libc to
10927 # always be unresolved, which means just about no library would
10928 # ever link correctly. If we're not using GNU ld we use -z text
10929 # though, which does catch some bad symbols but isn't as heavy-handed
10931 no_undefined_flag
='${wl}-z,text'
10932 allow_undefined_flag
='${wl}-z,nodefs'
10933 archive_cmds_need_lc
=no
10934 hardcode_shlibpath_var
=no
10935 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10936 hardcode_libdir_separator
=':'
10937 link_all_deplibs
=yes
10938 export_dynamic_flag_spec
='${wl}-Bexport'
10939 runpath_var
='LD_RUN_PATH'
10941 if test "$GCC" = yes; then
10942 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10943 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10945 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10946 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10951 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10952 hardcode_libdir_flag_spec
='-L$libdir'
10953 hardcode_shlibpath_var
=no
10961 if test x
$host_vendor = xsni
; then
10963 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10964 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10971 $as_echo "$ld_shlibs" >&6; }
10972 test "$ld_shlibs" = no
&& can_build_shared
=no
10974 with_gnu_ld
=$with_gnu_ld
10991 # Do we need to explicitly link libc?
10993 case "x$archive_cmds_need_lc" in
10995 # Assume -lc should be added
10996 archive_cmds_need_lc
=yes
10998 if test "$enable_shared" = yes && test "$GCC" = yes; then
10999 case $archive_cmds in
11001 # FIXME: we may have to deal with multi-command sequences.
11004 # Test whether the compiler implicitly links with -lc since on some
11005 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11006 # to ld, don't add -lc before -lgcc.
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11008 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11009 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11010 $as_echo_n "(cached) " >&6
11013 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11015 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11016 (eval $ac_compile) 2>&5
11018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11019 test $ac_status = 0; } 2>conftest.err
; then
11022 libobjs
=conftest.
$ac_objext
11024 wl
=$lt_prog_compiler_wl
11025 pic_flag
=$lt_prog_compiler_pic
11031 lt_save_allow_undefined_flag
=$allow_undefined_flag
11032 allow_undefined_flag
=
11033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11034 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11037 test $ac_status = 0; }
11039 lt_cv_archive_cmds_need_lc
=no
11041 lt_cv_archive_cmds_need_lc
=yes
11043 allow_undefined_flag
=$lt_save_allow_undefined_flag
11045 cat conftest.err
1>&5
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11051 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11052 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11216 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11218 if test "$GCC" = yes; then
11220 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11221 *) lt_awk_arg
="/^libraries:/" ;;
11224 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11225 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11227 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11228 case $lt_search_path_spec in
11230 # if the path contains ";" then we assume it to be the separator
11231 # otherwise default to the standard path separator (i.e. ":") - it is
11232 # assumed that no part of a normal pathname contains ";" but that should
11233 # okay in the real world where ";" in dirpaths is itself problematic.
11234 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11237 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11240 # Ok, now we have the path, separated by spaces, we can step through it
11241 # and add multilib dir if necessary.
11242 lt_tmp_lt_search_path_spec
=
11243 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11244 for lt_sys_path
in $lt_search_path_spec; do
11245 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11246 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11248 test -d "$lt_sys_path" && \
11249 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11252 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11253 BEGIN {RS=" "; FS="/|\n";} {
11256 for (lt_i = NF; lt_i > 0; lt_i--) {
11257 if ($lt_i != "" && $lt_i != ".") {
11258 if ($lt_i == "..") {
11261 if (lt_count == 0) {
11262 lt_foo="/" $lt_i lt_foo;
11269 if (lt_foo != "") { lt_freq[lt_foo]++; }
11270 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11272 # AWK program above erroneously prepends '/' to C:/dos/paths
11275 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11276 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11278 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11280 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11282 library_names_spec
=
11283 libname_spec
='lib$name'
11287 postuninstall_cmds
=
11291 shlibpath_overrides_runpath
=unknown
11293 dynamic_linker
="$host_os ld.so"
11294 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11295 need_lib_prefix
=unknown
11296 hardcode_into_libs
=no
11298 # when you set need_version to no, make sure it does not cause -set_version
11299 # flags to be left without arguments
11300 need_version
=unknown
11305 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11306 shlibpath_var
=LIBPATH
11308 # AIX 3 has no versioning support, so we append a major version to the name.
11309 soname_spec
='${libname}${release}${shared_ext}$major'
11316 hardcode_into_libs
=yes
11317 if test "$host_cpu" = ia64
; then
11318 # AIX 5 supports IA64
11319 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11320 shlibpath_var
=LD_LIBRARY_PATH
11322 # With GCC up to 2.95.x, collect2 would create an import file
11323 # for dependence libraries. The import file would start with
11324 # the line `#! .'. This would cause the generated library to
11325 # depend on `.', always an invalid library. This was fixed in
11326 # development snapshots of GCC prior to 3.0.
11328 aix4 | aix4.
[01] | aix4.
[01].
*)
11329 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11331 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11334 can_build_shared
=no
11338 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11339 # soname into executable. Probably we can add versioning support to
11340 # collect2, so additional links can be useful in future.
11341 if test "$aix_use_runtimelinking" = yes; then
11342 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11343 # instead of lib<name>.a to let people know that these are not
11344 # typical AIX shared libraries.
11345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 # We preserve .a as extension for shared libraries through AIX4.2
11348 # and later when we are not doing run time linking.
11349 library_names_spec
='${libname}${release}.a $libname.a'
11350 soname_spec
='${libname}${release}${shared_ext}$major'
11352 shlibpath_var
=LIBPATH
11359 # Since July 2007 AmigaOS4 officially supports .so libraries.
11360 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11364 library_names_spec
='$libname.ixlibrary $libname.a'
11365 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11366 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'
11372 library_names_spec
='${libname}${shared_ext}'
11373 dynamic_linker
="$host_os ld.so"
11374 shlibpath_var
=LIBRARY_PATH
11380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11381 soname_spec
='${libname}${release}${shared_ext}$major'
11382 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11383 shlibpath_var
=LD_LIBRARY_PATH
11384 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11385 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11386 # the default ld.so.conf also contains /usr/contrib/lib and
11387 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11388 # libtool to hard-code these into programs
11391 cygwin
* | mingw
* | pw32
* | cegcc
*)
11392 version_type
=windows
11397 case $GCC,$host_os in
11398 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11399 library_names_spec
='$libname.dll.a'
11400 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11401 postinstall_cmds
='base_file=`basename \${file}`~
11402 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11403 dldir=$destdir/`dirname \$dlpath`~
11404 test -d \$dldir || mkdir -p \$dldir~
11405 $install_prog $dir/$dlname \$dldir/$dlname~
11406 chmod a+x \$dldir/$dlname~
11407 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11408 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11410 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11411 dlpath=$dir/\$dldll~
11413 shlibpath_overrides_runpath
=yes
11417 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11418 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11420 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11423 # MinGW DLLs use traditional 'lib' prefix
11424 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11427 # pw32 DLLs use 'pw' prefix rather than 'lib'
11428 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11434 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11437 dynamic_linker
='Win32 ld.exe'
11438 # FIXME: first we should search . and the directory the executable is in
11442 darwin
* | rhapsody
*)
11443 dynamic_linker
="$host_os dyld"
11444 version_type
=darwin
11447 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11448 soname_spec
='${libname}${release}${major}$shared_ext'
11449 shlibpath_overrides_runpath
=yes
11450 shlibpath_var
=DYLD_LIBRARY_PATH
11451 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11453 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11454 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11462 soname_spec
='${libname}${release}${shared_ext}$major'
11463 shlibpath_var
=LD_LIBRARY_PATH
11466 freebsd
* | dragonfly
*)
11467 # DragonFly does not have aout. When/if they implement a new
11468 # versioning mechanism, adjust this.
11469 if test -x /usr
/bin
/objformat
; then
11470 objformat
=`/usr/bin/objformat`
11473 freebsd
[23].
*) objformat
=aout
;;
11474 *) objformat
=elf
;;
11477 version_type
=freebsd-
$objformat
11478 case $version_type in
11480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11485 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11489 shlibpath_var
=LD_LIBRARY_PATH
11492 shlibpath_overrides_runpath
=yes
11494 freebsd3.
[01]* | freebsdelf3.
[01]*)
11495 shlibpath_overrides_runpath
=yes
11496 hardcode_into_libs
=yes
11498 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11499 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11500 shlibpath_overrides_runpath
=no
11501 hardcode_into_libs
=yes
11503 *) # from 4.6 on, and DragonFly
11504 shlibpath_overrides_runpath
=yes
11505 hardcode_into_libs
=yes
11514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11515 soname_spec
='${libname}${release}${shared_ext}$major'
11516 shlibpath_var
=LD_LIBRARY_PATH
11517 hardcode_into_libs
=yes
11524 dynamic_linker
="$host_os runtime_loader"
11525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11526 soname_spec
='${libname}${release}${shared_ext}$major'
11527 shlibpath_var
=LIBRARY_PATH
11528 shlibpath_overrides_runpath
=yes
11529 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11530 hardcode_into_libs
=yes
11533 hpux9
* | hpux10
* | hpux11
*)
11534 # Give a soname corresponding to the major version so that dld.sl refuses to
11535 # link against other versions.
11542 hardcode_into_libs
=yes
11543 dynamic_linker
="$host_os dld.so"
11544 shlibpath_var
=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11547 soname_spec
='${libname}${release}${shared_ext}$major'
11548 if test "X$HPUX_IA64_MODE" = X32
; then
11549 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11551 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11553 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11557 hardcode_into_libs
=yes
11558 dynamic_linker
="$host_os dld.sl"
11559 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11560 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11562 soname_spec
='${libname}${release}${shared_ext}$major'
11563 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11564 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11568 dynamic_linker
="$host_os dld.sl"
11569 shlibpath_var
=SHLIB_PATH
11570 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11572 soname_spec
='${libname}${release}${shared_ext}$major'
11575 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11576 postinstall_cmds
='chmod 555 $lib'
11577 # or fails outright, so override atomically:
11578 install_override_mode
=555
11585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11586 soname_spec
='${libname}${release}${shared_ext}$major'
11587 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11588 shlibpath_var
=LD_LIBRARY_PATH
11589 shlibpath_overrides_runpath
=no
11590 hardcode_into_libs
=yes
11593 irix5
* | irix6
* | nonstopux
*)
11595 nonstopux
*) version_type
=nonstopux
;;
11597 if test "$lt_cv_prog_gnu_ld" = yes; then
11605 soname_spec
='${libname}${release}${shared_ext}$major'
11606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11608 irix5
* | nonstopux
*)
11609 libsuff
= shlibsuff
=
11612 case $LD in # libtool.m4 will add one of these switches to LD
11613 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11614 libsuff
= shlibsuff
= libmagic
=32-bit;;
11615 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11616 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11617 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11618 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11619 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11623 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11624 shlibpath_overrides_runpath
=no
11625 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11626 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11627 hardcode_into_libs
=yes
11630 # No shared lib support for Linux oldld, aout, or coff.
11631 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11635 # This must be Linux ELF.
11636 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11641 soname_spec
='${libname}${release}${shared_ext}$major'
11642 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11643 shlibpath_var
=LD_LIBRARY_PATH
11644 shlibpath_overrides_runpath
=no
11646 # Some binutils ld are patched to set DT_RUNPATH
11647 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11648 $as_echo_n "(cached) " >&6
11650 lt_cv_shlibpath_overrides_runpath
=no
11651 save_LDFLAGS
=$LDFLAGS
11652 save_libdir
=$libdir
11653 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11654 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11655 if test x
$gcc_no_link = xyes
; then
11656 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11669 if ac_fn_c_try_link
"$LINENO"; then :
11670 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11671 lt_cv_shlibpath_overrides_runpath
=yes
11674 rm -f core conftest.err conftest.
$ac_objext \
11675 conftest
$ac_exeext conftest.
$ac_ext
11676 LDFLAGS
=$save_LDFLAGS
11677 libdir
=$save_libdir
11681 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11683 # This implies no fast_install, which is unacceptable.
11684 # Some rework will be needed to allow for fast_install
11685 # before this can be enabled.
11686 hardcode_into_libs
=yes
11688 # Append ld.so.conf contents to the search path
11689 if test -f /etc
/ld.so.conf
; then
11690 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' ' '`
11691 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11694 # We used to test for /lib/ld.so.1 and disable shared libraries on
11695 # powerpc, because MkLinux only supported shared libraries with the
11696 # GNU dynamic linker. Since this was broken with cross compilers,
11697 # most powerpc-linux boxes support dynamic linking these days and
11698 # people can always --disable-shared, the test was removed, and we
11699 # assume the GNU/Linux dynamic linker is in use.
11700 dynamic_linker
='GNU/Linux ld.so'
11707 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11709 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11710 dynamic_linker
='NetBSD (a.out) ld.so'
11712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11713 soname_spec
='${libname}${release}${shared_ext}$major'
11714 dynamic_linker
='NetBSD ld.elf_so'
11716 shlibpath_var
=LD_LIBRARY_PATH
11717 shlibpath_overrides_runpath
=yes
11718 hardcode_into_libs
=yes
11723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11724 shlibpath_var
=LD_LIBRARY_PATH
11725 shlibpath_overrides_runpath
=yes
11732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11733 soname_spec
='${libname}${release}${shared_ext}$major'
11734 shlibpath_var
=LD_LIBRARY_PATH
11735 shlibpath_overrides_runpath
=no
11736 hardcode_into_libs
=yes
11737 dynamic_linker
='ldqnx.so'
11742 sys_lib_dlsearch_path_spec
="/usr/lib"
11744 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11746 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11747 *) need_version
=no
;;
11749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11750 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11751 shlibpath_var
=LD_LIBRARY_PATH
11752 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11754 openbsd2.
[89] | openbsd2.
[89].
*)
11755 shlibpath_overrides_runpath
=no
11758 shlibpath_overrides_runpath
=yes
11762 shlibpath_overrides_runpath
=yes
11767 libname_spec
='$name'
11770 library_names_spec
='$libname${shared_ext} $libname.a'
11771 dynamic_linker
='OS/2 ld.exe'
11772 shlibpath_var
=LIBPATH
11775 osf3
* | osf4
* | osf5
*)
11779 soname_spec
='${libname}${release}${shared_ext}$major'
11780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11781 shlibpath_var
=LD_LIBRARY_PATH
11782 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11783 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795 soname_spec
='${libname}${release}${shared_ext}$major'
11796 shlibpath_var
=LD_LIBRARY_PATH
11797 shlibpath_overrides_runpath
=yes
11798 hardcode_into_libs
=yes
11799 # ldd complains unless libraries are executable
11800 postinstall_cmds
='chmod +x $lib'
11805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11806 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11807 shlibpath_var
=LD_LIBRARY_PATH
11808 shlibpath_overrides_runpath
=yes
11809 if test "$with_gnu_ld" = yes; then
11817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11818 soname_spec
='${libname}${release}${shared_ext}$major'
11819 shlibpath_var
=LD_LIBRARY_PATH
11820 case $host_vendor in
11822 shlibpath_overrides_runpath
=no
11824 runpath_var
=LD_RUN_PATH
11832 shlibpath_overrides_runpath
=no
11833 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11839 if test -d /usr
/nec
;then
11841 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11842 soname_spec
='$libname${shared_ext}.$major'
11843 shlibpath_var
=LD_LIBRARY_PATH
11847 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11848 version_type
=freebsd-elf
11851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11852 soname_spec
='${libname}${release}${shared_ext}$major'
11853 shlibpath_var
=LD_LIBRARY_PATH
11854 shlibpath_overrides_runpath
=yes
11855 hardcode_into_libs
=yes
11856 if test "$with_gnu_ld" = yes; then
11857 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11859 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11862 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11866 sys_lib_dlsearch_path_spec
='/usr/lib'
11870 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11875 shlibpath_var
=LD_LIBRARY_PATH
11876 shlibpath_overrides_runpath
=no
11877 hardcode_into_libs
=yes
11882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11883 soname_spec
='${libname}${release}${shared_ext}$major'
11884 shlibpath_var
=LD_LIBRARY_PATH
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11892 $as_echo "$dynamic_linker" >&6; }
11893 test "$dynamic_linker" = no
&& can_build_shared
=no
11895 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11896 if test "$GCC" = yes; then
11897 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11900 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11901 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11903 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11904 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11999 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12001 if test -n "$hardcode_libdir_flag_spec" ||
12002 test -n "$runpath_var" ||
12003 test "X$hardcode_automatic" = "Xyes" ; then
12005 # We can hardcode non-existent directories.
12006 if test "$hardcode_direct" != no
&&
12007 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12008 # have to relink, otherwise we might link with an installed library
12009 # when we should be linking with a yet-to-be-installed one
12010 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12011 test "$hardcode_minus_L" != no
; then
12012 # Linking always hardcodes the temporary library directory.
12013 hardcode_action
=relink
12015 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12016 hardcode_action
=immediate
12019 # We cannot hardcode anything, or else we can only hardcode existing
12021 hardcode_action
=unsupported
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12024 $as_echo "$hardcode_action" >&6; }
12026 if test "$hardcode_action" = relink ||
12027 test "$inherit_rpath" = yes; then
12028 # Fast installation is not supported
12029 enable_fast_install
=no
12030 elif test "$shlibpath_overrides_runpath" = yes ||
12031 test "$enable_shared" = no
; then
12032 # Fast installation is not necessary
12033 enable_fast_install
=needless
12041 if test "x$enable_dlopen" != xyes
; then
12042 enable_dlopen
=unknown
12043 enable_dlopen_self
=unknown
12044 enable_dlopen_self_static
=unknown
12051 lt_cv_dlopen
="load_add_on"
12053 lt_cv_dlopen_self
=yes
12056 mingw
* | pw32
* | cegcc
*)
12057 lt_cv_dlopen
="LoadLibrary"
12062 lt_cv_dlopen
="dlopen"
12067 # if libdl is installed we need to link against it
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12069 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12070 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12071 $as_echo_n "(cached) " >&6
12073 ac_check_lib_save_LIBS
=$LIBS
12075 if test x
$gcc_no_link = xyes
; then
12076 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12096 if ac_fn_c_try_link
"$LINENO"; then :
12097 ac_cv_lib_dl_dlopen
=yes
12099 ac_cv_lib_dl_dlopen
=no
12101 rm -f core conftest.err conftest.
$ac_objext \
12102 conftest
$ac_exeext conftest.
$ac_ext
12103 LIBS
=$ac_check_lib_save_LIBS
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12106 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12107 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12108 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12111 lt_cv_dlopen
="dyld"
12113 lt_cv_dlopen_self
=yes
12120 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12121 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12122 lt_cv_dlopen
="shl_load"
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12125 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12126 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12127 $as_echo_n "(cached) " >&6
12129 ac_check_lib_save_LIBS
=$LIBS
12131 if test x
$gcc_no_link = xyes
; then
12132 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12147 return shl_load ();
12152 if ac_fn_c_try_link
"$LINENO"; then :
12153 ac_cv_lib_dld_shl_load
=yes
12155 ac_cv_lib_dld_shl_load
=no
12157 rm -f core conftest.err conftest.
$ac_objext \
12158 conftest
$ac_exeext conftest.
$ac_ext
12159 LIBS
=$ac_check_lib_save_LIBS
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12162 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12163 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12164 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12166 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12167 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12168 lt_cv_dlopen
="dlopen"
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12171 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12172 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12173 $as_echo_n "(cached) " >&6
12175 ac_check_lib_save_LIBS
=$LIBS
12177 if test x
$gcc_no_link = xyes
; then
12178 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12183 /* Override any GCC internal prototype to avoid an error.
12184 Use char because int might match the return type of a GCC
12185 builtin and then its argument prototype would still apply. */
12198 if ac_fn_c_try_link
"$LINENO"; then :
12199 ac_cv_lib_dl_dlopen
=yes
12201 ac_cv_lib_dl_dlopen
=no
12203 rm -f core conftest.err conftest.
$ac_objext \
12204 conftest
$ac_exeext conftest.
$ac_ext
12205 LIBS
=$ac_check_lib_save_LIBS
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12208 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12209 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12210 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12213 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12214 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12215 $as_echo_n "(cached) " >&6
12217 ac_check_lib_save_LIBS
=$LIBS
12218 LIBS
="-lsvld $LIBS"
12219 if test x
$gcc_no_link = xyes
; then
12220 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12223 /* end confdefs.h. */
12225 /* Override any GCC internal prototype to avoid an error.
12226 Use char because int might match the return type of a GCC
12227 builtin and then its argument prototype would still apply. */
12240 if ac_fn_c_try_link
"$LINENO"; then :
12241 ac_cv_lib_svld_dlopen
=yes
12243 ac_cv_lib_svld_dlopen
=no
12245 rm -f core conftest.err conftest.
$ac_objext \
12246 conftest
$ac_exeext conftest.
$ac_ext
12247 LIBS
=$ac_check_lib_save_LIBS
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12250 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12251 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12252 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12255 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12256 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12257 $as_echo_n "(cached) " >&6
12259 ac_check_lib_save_LIBS
=$LIBS
12261 if test x
$gcc_no_link = xyes
; then
12262 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12267 /* Override any GCC internal prototype to avoid an error.
12268 Use char because int might match the return type of a GCC
12269 builtin and then its argument prototype would still apply. */
12277 return dld_link ();
12282 if ac_fn_c_try_link
"$LINENO"; then :
12283 ac_cv_lib_dld_dld_link
=yes
12285 ac_cv_lib_dld_dld_link
=no
12287 rm -f core conftest.err conftest.
$ac_objext \
12288 conftest
$ac_exeext conftest.
$ac_ext
12289 LIBS
=$ac_check_lib_save_LIBS
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12292 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12293 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12294 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12315 if test "x$lt_cv_dlopen" != xno
; then
12321 case $lt_cv_dlopen in
12323 save_CPPFLAGS
="$CPPFLAGS"
12324 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12326 save_LDFLAGS
="$LDFLAGS"
12327 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12330 LIBS
="$lt_cv_dlopen_libs $LIBS"
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12333 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12334 if test "${lt_cv_dlopen_self+set}" = set; then :
12335 $as_echo_n "(cached) " >&6
12337 if test "$cross_compiling" = yes; then :
12338 lt_cv_dlopen_self
=cross
12340 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12341 lt_status
=$lt_dlunknown
12342 cat > conftest.
$ac_ext <<_LT_EOF
12343 #line 12343 "configure"
12344 #include "confdefs.h"
12353 # define LT_DLGLOBAL RTLD_GLOBAL
12356 # define LT_DLGLOBAL DL_GLOBAL
12358 # define LT_DLGLOBAL 0
12362 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12363 find out it does not work in some platform. */
12364 #ifndef LT_DLLAZY_OR_NOW
12366 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12369 # define LT_DLLAZY_OR_NOW DL_LAZY
12372 # define LT_DLLAZY_OR_NOW RTLD_NOW
12375 # define LT_DLLAZY_OR_NOW DL_NOW
12377 # define LT_DLLAZY_OR_NOW 0
12384 /* When -fvisbility=hidden is used, assume the code has been annotated
12385 correspondingly for the symbols needed. */
12386 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12387 void fnord () __attribute__((visibility("default")));
12390 void fnord () { int i=42; }
12393 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12394 int status = $lt_dlunknown;
12398 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12401 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12402 else puts (dlerror ());
12404 /* dlclose (self); */
12412 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12413 (eval $ac_link) 2>&5
12415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12416 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12417 (.
/conftest
; exit; ) >&5 2>/dev
/null
12419 case x
$lt_status in
12420 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12421 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12422 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12425 # compilation failed
12426 lt_cv_dlopen_self
=no
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12434 $as_echo "$lt_cv_dlopen_self" >&6; }
12436 if test "x$lt_cv_dlopen_self" = xyes
; then
12437 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12439 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12440 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12441 $as_echo_n "(cached) " >&6
12443 if test "$cross_compiling" = yes; then :
12444 lt_cv_dlopen_self_static
=cross
12446 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12447 lt_status
=$lt_dlunknown
12448 cat > conftest.
$ac_ext <<_LT_EOF
12449 #line 12449 "configure"
12450 #include "confdefs.h"
12459 # define LT_DLGLOBAL RTLD_GLOBAL
12462 # define LT_DLGLOBAL DL_GLOBAL
12464 # define LT_DLGLOBAL 0
12468 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12469 find out it does not work in some platform. */
12470 #ifndef LT_DLLAZY_OR_NOW
12472 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12475 # define LT_DLLAZY_OR_NOW DL_LAZY
12478 # define LT_DLLAZY_OR_NOW RTLD_NOW
12481 # define LT_DLLAZY_OR_NOW DL_NOW
12483 # define LT_DLLAZY_OR_NOW 0
12490 /* When -fvisbility=hidden is used, assume the code has been annotated
12491 correspondingly for the symbols needed. */
12492 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12493 void fnord () __attribute__((visibility("default")));
12496 void fnord () { int i=42; }
12499 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12500 int status = $lt_dlunknown;
12504 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12507 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12508 else puts (dlerror ());
12510 /* dlclose (self); */
12518 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12519 (eval $ac_link) 2>&5
12521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12522 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12523 (.
/conftest
; exit; ) >&5 2>/dev
/null
12525 case x
$lt_status in
12526 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12527 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12528 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12531 # compilation failed
12532 lt_cv_dlopen_self_static
=no
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12540 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12543 CPPFLAGS
="$save_CPPFLAGS"
12544 LDFLAGS
="$save_LDFLAGS"
12549 case $lt_cv_dlopen_self in
12550 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12551 *) enable_dlopen_self
=unknown
;;
12554 case $lt_cv_dlopen_self_static in
12555 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12556 *) enable_dlopen_self_static
=unknown
;;
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12579 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12580 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12581 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12582 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12584 $as_echo "yes" >&6; }
12586 # FIXME - insert some real tests, host_os isn't really good enough
12589 if test -n "$STRIP" ; then
12590 striplib
="$STRIP -x"
12591 old_striplib
="$STRIP -S"
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12593 $as_echo "yes" >&6; }
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12596 $as_echo "no" >&6; }
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12601 $as_echo "no" >&6; }
12617 # Report which library types will actually be built
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12619 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12621 $as_echo "$can_build_shared" >&6; }
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12624 $as_echo_n "checking whether to build shared libraries... " >&6; }
12625 test "$can_build_shared" = "no" && enable_shared
=no
12627 # On AIX, shared libraries and static libraries use the same namespace, and
12628 # are all built from PIC.
12631 test "$enable_shared" = yes && enable_static
=no
12632 if test -n "$RANLIB"; then
12633 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12634 postinstall_cmds
='$RANLIB $lib'
12639 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12640 test "$enable_shared" = yes && enable_static
=no
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12645 $as_echo "$enable_shared" >&6; }
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12648 $as_echo_n "checking whether to build static libraries... " >&6; }
12649 # Make sure either enable_shared or enable_static is yes.
12650 test "$enable_shared" = yes || enable_static
=yes
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12652 $as_echo "$enable_static" >&6; }
12659 ac_cpp
='$CPP $CPPFLAGS'
12660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12678 ac_config_commands
="$ac_config_commands libtool"
12683 # Only expand once:
12690 *-cygwin* |
*-mingw*)
12691 # 'host' will be top-level target in the case of a target lib,
12692 # we must compare to with_cross_host to decide if this is a native
12693 # or cross-compiler and select where to install dlls appropriately.
12694 if test -n "$with_cross_host" &&
12695 test x
"$with_cross_host" != x
"no"; then
12696 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12698 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12710 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12712 # We need gfortran to compile parts of the library
12713 #AC_PROG_FC(gfortran)
12715 ac_ext
=${ac_fc_srcext-f}
12716 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12717 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12718 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12719 if test -n "$ac_tool_prefix"; then
12720 for ac_prog
in gfortran
12722 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12723 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12725 $as_echo_n "checking for $ac_word... " >&6; }
12726 if test "${ac_cv_prog_FC+set}" = set; then :
12727 $as_echo_n "(cached) " >&6
12729 if test -n "$FC"; then
12730 ac_cv_prog_FC
="$FC" # Let the user override the test.
12732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12733 for as_dir
in $PATH
12736 test -z "$as_dir" && as_dir
=.
12737 for ac_exec_ext
in '' $ac_executable_extensions; do
12738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12739 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12750 if test -n "$FC"; then
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12752 $as_echo "$FC" >&6; }
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755 $as_echo "no" >&6; }
12759 test -n "$FC" && break
12762 if test -z "$FC"; then
12764 for ac_prog
in gfortran
12766 # Extract the first word of "$ac_prog", so it can be a program name with args.
12767 set dummy
$ac_prog; ac_word
=$2
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12769 $as_echo_n "checking for $ac_word... " >&6; }
12770 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12771 $as_echo_n "(cached) " >&6
12773 if test -n "$ac_ct_FC"; then
12774 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12777 for as_dir
in $PATH
12780 test -z "$as_dir" && as_dir
=.
12781 for ac_exec_ext
in '' $ac_executable_extensions; do
12782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12783 ac_cv_prog_ac_ct_FC
="$ac_prog"
12784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12793 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12794 if test -n "$ac_ct_FC"; then
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12796 $as_echo "$ac_ct_FC" >&6; }
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12799 $as_echo "no" >&6; }
12803 test -n "$ac_ct_FC" && break
12806 if test "x$ac_ct_FC" = x
; then
12809 case $cross_compiling:$ac_tool_warned in
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12813 ac_tool_warned
=yes ;;
12820 # Provide some information about the compiler.
12821 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12824 for ac_option
in --version -v -V -qversion; do
12825 { { ac_try
="$ac_compiler $ac_option >&5"
12826 case "(($ac_try" in
12827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12828 *) ac_try_echo=$ac_try;;
12830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12831 $as_echo "$ac_try_echo"; } >&5
12832 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12834 if test -s conftest.err; then
12836 ... rest of stderr output deleted ...
12837 10q' conftest.err >conftest.er1
12838 cat conftest.er1 >&5
12839 rm -f conftest.er1 conftest.err
12841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12842 test $ac_status = 0; }
12846 # If we don't use `.F
' as extension, the preprocessor is not run on the
12847 # input file. (Note that this only needs to work for GNU compilers.)
12848 ac_save_ext=$ac_ext
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12851 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12852 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12853 $as_echo_n "(cached) " >&6
12855 cat > conftest.$ac_ext <<_ACEOF
12863 if ac_fn_fc_try_compile "$LINENO"; then :
12864 ac_compiler_gnu=yes
12868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12869 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12873 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12874 ac_ext=$ac_save_ext
12875 ac_test_FCFLAGS=${FCFLAGS+set}
12876 ac_save_FCFLAGS=$FCFLAGS
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12879 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12880 if test "${ac_cv_prog_fc_g+set}" = set; then :
12881 $as_echo_n "(cached) " >&6
12884 cat > conftest.$ac_ext <<_ACEOF
12889 if ac_fn_fc_try_compile "$LINENO"; then :
12890 ac_cv_prog_fc_g=yes
12894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12898 $as_echo "$ac_cv_prog_fc_g" >&6; }
12899 if test "$ac_test_FCFLAGS" = set; then
12900 FCFLAGS=$ac_save_FCFLAGS
12901 elif test $ac_cv_prog_fc_g = yes; then
12902 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12908 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12916 ac_cpp='$CPP $CPPFLAGS'
12917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12918 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12921 ac_ext=${ac_fc_srcext-f}
12922 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12923 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12924 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12927 if test -z "$FC" || test "X$FC" = "Xno"; then
12931 archive_cmds_need_lc_FC=no
12932 allow_undefined_flag_FC=
12933 always_export_symbols_FC=no
12934 archive_expsym_cmds_FC=
12935 export_dynamic_flag_spec_FC=
12936 hardcode_direct_FC=no
12937 hardcode_direct_absolute_FC=no
12938 hardcode_libdir_flag_spec_FC=
12939 hardcode_libdir_flag_spec_ld_FC=
12940 hardcode_libdir_separator_FC=
12941 hardcode_minus_L_FC=no
12942 hardcode_automatic_FC=no
12943 inherit_rpath_FC=no
12945 module_expsym_cmds_FC=
12946 link_all_deplibs_FC=unknown
12947 old_archive_cmds_FC=$old_archive_cmds
12948 reload_flag_FC=$reload_flag
12949 reload_cmds_FC=$reload_cmds
12950 no_undefined_flag_FC=
12951 whole_archive_flag_spec_FC=
12952 enable_shared_with_static_runtimes_FC=no
12954 # Source file extension for fc test sources.
12955 ac_ext=${ac_fc_srcext-f}
12957 # Object file extension for compiled fc test sources.
12961 # No sense in running all these tests if we already determined that
12962 # the FC compiler isn't working. Some variables
(like enable_shared
)
12963 # are currently assumed to apply to all compilers on this platform,
12964 # and will be corrupted by setting them based on a non-working compiler.
12965 if test "$_lt_disable_FC" != yes; then
12966 # Code to be used in simple compile tests
12967 lt_simple_compile_test_code
="\
12973 # Code to be used in simple link tests
12974 lt_simple_link_test_code
="\
12979 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12986 # If no C compiler was specified, use CC.
12989 # If no C compiler flags were specified, use CFLAGS.
12990 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12992 # Allow CC to be a program name with arguments.
12996 # save warnings/boilerplate of simple test code
12997 ac_outfile
=conftest.
$ac_objext
12998 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12999 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13000 _lt_compiler_boilerplate
=`cat conftest.err`
13003 ac_outfile
=conftest.
$ac_objext
13004 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13005 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13006 _lt_linker_boilerplate
=`cat conftest.err`
13010 # Allow CC to be a program name with arguments.
13015 GCC
=$ac_cv_fc_compiler_gnu
13018 for cc_temp
in $compiler""; do
13020 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13021 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13026 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13029 if test -n "$compiler"; then
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13031 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13033 $as_echo "$can_build_shared" >&6; }
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13036 $as_echo_n "checking whether to build shared libraries... " >&6; }
13037 test "$can_build_shared" = "no" && enable_shared
=no
13039 # On AIX, shared libraries and static libraries use the same namespace, and
13040 # are all built from PIC.
13043 test "$enable_shared" = yes && enable_static
=no
13044 if test -n "$RANLIB"; then
13045 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13046 postinstall_cmds
='$RANLIB $lib'
13050 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13051 test "$enable_shared" = yes && enable_static
=no
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13056 $as_echo "$enable_shared" >&6; }
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13059 $as_echo_n "checking whether to build static libraries... " >&6; }
13060 # Make sure either enable_shared or enable_static is yes.
13061 test "$enable_shared" = yes || enable_static
=yes
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13063 $as_echo "$enable_static" >&6; }
13065 GCC_FC
="$ac_cv_fc_compiler_gnu"
13069 ## There is no encapsulation within the following macros, do not change
13070 ## the running order or otherwise move them around unless you know exactly
13071 ## what you are doing...
13072 # Dependencies to place before and after the object being linked:
13074 postdep_objects_FC
=
13077 compiler_lib_search_path_FC
=
13079 cat > conftest.
$ac_ext <<_LT_EOF
13088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13089 (eval $ac_compile) 2>&5
13091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13092 test $ac_status = 0; }; then
13093 # Parse the compiler output and extract the necessary
13094 # objects, libraries and library flags.
13096 # Sentinel used to keep track of whether or not we are before
13097 # the conftest object file.
13098 pre_test_object_deps_done
=no
13100 for p
in `eval "$output_verbose_link_cmd"`; do
13104 # Some compilers place space between "-{L,R}" and the path.
13105 # Remove the space.
13106 if test $p = "-L" ||
13107 test $p = "-R"; then
13114 if test "$pre_test_object_deps_done" = no
; then
13117 # Internal compiler library paths should come after those
13118 # provided the user. The postdeps already come after the
13119 # user supplied libs so there is no need to process them.
13120 if test -z "$compiler_lib_search_path_FC"; then
13121 compiler_lib_search_path_FC
="${prev}${p}"
13123 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13126 # The "-l" case would never come before the object being
13127 # linked, so don't bother handling this case.
13130 if test -z "$postdeps_FC"; then
13131 postdeps_FC
="${prev}${p}"
13133 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13139 # This assumes that the test object file only shows up
13140 # once in the compiler output.
13141 if test "$p" = "conftest.$objext"; then
13142 pre_test_object_deps_done
=yes
13146 if test "$pre_test_object_deps_done" = no
; then
13147 if test -z "$predep_objects_FC"; then
13148 predep_objects_FC
="$p"
13150 predep_objects_FC
="$predep_objects_FC $p"
13153 if test -z "$postdep_objects_FC"; then
13154 postdep_objects_FC
="$p"
13156 postdep_objects_FC
="$postdep_objects_FC $p"
13161 *) ;; # Ignore the rest.
13169 echo "libtool.m4: error: problem compiling FC test program"
13172 $RM -f confest.
$objext
13174 # PORTME: override above test on systems where it is broken
13177 case " $postdeps_FC " in
13178 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13180 compiler_lib_search_dirs_FC
=
13181 if test -n "${compiler_lib_search_path_FC}"; then
13182 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13215 lt_prog_compiler_wl_FC
=
13216 lt_prog_compiler_pic_FC
=
13217 lt_prog_compiler_static_FC
=
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13220 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13222 if test "$GCC" = yes; then
13223 lt_prog_compiler_wl_FC
='-Wl,'
13224 lt_prog_compiler_static_FC
='-static'
13228 # All AIX code is PIC.
13229 if test "$host_cpu" = ia64
; then
13230 # AIX 5 now supports IA64 processor
13231 lt_prog_compiler_static_FC
='-Bstatic'
13233 lt_prog_compiler_pic_FC
='-fPIC'
13239 # see comment about AmigaOS4 .so support
13240 lt_prog_compiler_pic_FC
='-fPIC'
13243 # FIXME: we need at least 68020 code to build shared libraries, but
13244 # adding the `-m68020' flag to GCC prevents building anything better,
13246 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13251 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13252 # PIC is the default for these OSes.
13255 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13256 # This hack is so that the source file can tell whether it is being
13257 # built for inclusion in a dll (and should export symbols for example).
13258 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13259 # (--disable-auto-import) libraries
13260 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13263 darwin
* | rhapsody
*)
13264 # PIC is the default on this platform
13265 # Common symbols not allowed in MH_DYLIB files
13266 lt_prog_compiler_pic_FC
='-fno-common'
13270 # PIC is the default for Haiku.
13271 # The "-static" flag exists, but is broken.
13272 lt_prog_compiler_static_FC
=
13276 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13277 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13278 # sets the default TLS model and affects inlining.
13284 lt_prog_compiler_pic_FC
='-fPIC'
13290 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13291 # Instead, we relocate shared libraries at runtime.
13295 # Just because we use GCC doesn't mean we suddenly get shared libraries
13296 # on systems that don't support them.
13297 lt_prog_compiler_can_build_shared_FC
=no
13302 # QNX uses GNU C++, but need to define -shared option too, otherwise
13303 # it will coredump.
13304 lt_prog_compiler_pic_FC
='-fPIC -shared'
13308 if test -d /usr
/nec
; then
13309 lt_prog_compiler_pic_FC
=-Kconform_pic
13314 lt_prog_compiler_pic_FC
='-fPIC'
13318 case $cc_basename in
13319 nvcc
*) # Cuda Compiler Driver 2.2
13320 lt_prog_compiler_wl_FC
='-Xlinker '
13321 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13325 # PORTME Check for flag to pass linker flags through the system compiler.
13328 lt_prog_compiler_wl_FC
='-Wl,'
13329 if test "$host_cpu" = ia64
; then
13330 # AIX 5 now supports IA64 processor
13331 lt_prog_compiler_static_FC
='-Bstatic'
13333 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13337 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13338 # This hack is so that the source file can tell whether it is being
13339 # built for inclusion in a dll (and should export symbols for example).
13340 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13343 hpux9
* | hpux10
* | hpux11
*)
13344 lt_prog_compiler_wl_FC
='-Wl,'
13345 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13346 # not for PA HP-UX.
13352 lt_prog_compiler_pic_FC
='+Z'
13355 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13356 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13359 irix5
* | irix6
* | nonstopux
*)
13360 lt_prog_compiler_wl_FC
='-Wl,'
13361 # PIC (with -KPIC) is the default.
13362 lt_prog_compiler_static_FC
='-non_shared'
13365 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13366 case $cc_basename in
13367 # old Intel for x86_64 which still supported -KPIC.
13369 lt_prog_compiler_wl_FC
='-Wl,'
13370 lt_prog_compiler_pic_FC
='-KPIC'
13371 lt_prog_compiler_static_FC
='-static'
13373 # icc used to be incompatible with GCC.
13374 # ICC 10 doesn't accept -KPIC any more.
13376 lt_prog_compiler_wl_FC
='-Wl,'
13377 lt_prog_compiler_pic_FC
='-fPIC'
13378 lt_prog_compiler_static_FC
='-static'
13380 # Lahey Fortran 8.1.
13382 lt_prog_compiler_wl_FC
='-Wl,'
13383 lt_prog_compiler_pic_FC
='--shared'
13384 lt_prog_compiler_static_FC
='--static'
13386 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13387 # Portland Group compilers (*not* the Pentium gcc compiler,
13388 # which looks to be a dead project)
13389 lt_prog_compiler_wl_FC
='-Wl,'
13390 lt_prog_compiler_pic_FC
='-fpic'
13391 lt_prog_compiler_static_FC
='-Bstatic'
13394 lt_prog_compiler_wl_FC
='-Wl,'
13395 # All Alpha code is PIC.
13396 lt_prog_compiler_static_FC
='-non_shared'
13398 xl
* | bgxl
* | bgf
* | mpixl
*)
13399 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13400 lt_prog_compiler_wl_FC
='-Wl,'
13401 lt_prog_compiler_pic_FC
='-qpic'
13402 lt_prog_compiler_static_FC
='-qstaticlink'
13405 case `$CC -V 2>&1 | sed 5q` in
13406 *Sun\ F
* |
*Sun
*Fortran
*)
13407 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13408 lt_prog_compiler_pic_FC
='-KPIC'
13409 lt_prog_compiler_static_FC
='-Bstatic'
13410 lt_prog_compiler_wl_FC
=''
13414 lt_prog_compiler_pic_FC
='-KPIC'
13415 lt_prog_compiler_static_FC
='-Bstatic'
13416 lt_prog_compiler_wl_FC
='-Wl,'
13424 lt_prog_compiler_pic_FC
='-KPIC'
13425 lt_prog_compiler_static_FC
='-Bstatic'
13429 # QNX uses GNU C++, but need to define -shared option too, otherwise
13430 # it will coredump.
13431 lt_prog_compiler_pic_FC
='-fPIC -shared'
13434 osf3
* | osf4
* | osf5
*)
13435 lt_prog_compiler_wl_FC
='-Wl,'
13436 # All OSF/1 code is PIC.
13437 lt_prog_compiler_static_FC
='-non_shared'
13441 lt_prog_compiler_static_FC
='-non_shared'
13445 lt_prog_compiler_pic_FC
='-KPIC'
13446 lt_prog_compiler_static_FC
='-Bstatic'
13447 case $cc_basename in
13448 f77
* | f90
* | f95
*)
13449 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13451 lt_prog_compiler_wl_FC
='-Wl,';;
13456 lt_prog_compiler_wl_FC
='-Qoption ld '
13457 lt_prog_compiler_pic_FC
='-PIC'
13458 lt_prog_compiler_static_FC
='-Bstatic'
13461 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13462 lt_prog_compiler_wl_FC
='-Wl,'
13463 lt_prog_compiler_pic_FC
='-KPIC'
13464 lt_prog_compiler_static_FC
='-Bstatic'
13468 if test -d /usr
/nec
;then
13469 lt_prog_compiler_pic_FC
='-Kconform_pic'
13470 lt_prog_compiler_static_FC
='-Bstatic'
13474 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13475 lt_prog_compiler_wl_FC
='-Wl,'
13476 lt_prog_compiler_pic_FC
='-KPIC'
13477 lt_prog_compiler_static_FC
='-Bstatic'
13481 lt_prog_compiler_wl_FC
='-Wl,'
13482 lt_prog_compiler_can_build_shared_FC
=no
13486 lt_prog_compiler_pic_FC
='-pic'
13487 lt_prog_compiler_static_FC
='-Bstatic'
13491 lt_prog_compiler_can_build_shared_FC
=no
13497 # For platforms which do not support PIC, -DPIC is meaningless:
13499 lt_prog_compiler_pic_FC
=
13502 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13506 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13511 # Check to make sure the PIC flag actually works.
13513 if test -n "$lt_prog_compiler_pic_FC"; then
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13515 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13516 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13517 $as_echo_n "(cached) " >&6
13519 lt_cv_prog_compiler_pic_works_FC
=no
13520 ac_outfile
=conftest.
$ac_objext
13521 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13522 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13523 # Insert the option either (1) after the last *FLAGS variable, or
13524 # (2) before a word containing "conftest.", or (3) at the end.
13525 # Note that $ac_compile itself does not contain backslashes and begins
13526 # with a dollar sign (not a hyphen), so the echo should work correctly.
13527 # The option is referenced via a variable to avoid confusing sed.
13528 lt_compile
=`echo "$ac_compile" | $SED \
13529 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13530 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13531 -e 's:$: $lt_compiler_flag:'`
13532 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13533 (eval "$lt_compile" 2>conftest.err
)
13535 cat conftest.err
>&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 if (exit $ac_status) && test -s "$ac_outfile"; then
13538 # The compiler can only warn and ignore the option if not recognized
13539 # So say no if there are warnings other than the usual output.
13540 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13541 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13542 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13543 lt_cv_prog_compiler_pic_works_FC
=yes
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13550 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13552 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13553 case $lt_prog_compiler_pic_FC in
13555 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13558 lt_prog_compiler_pic_FC
=
13559 lt_prog_compiler_can_build_shared_FC
=no
13567 # Check to make sure the static flag actually works.
13569 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13571 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13572 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13573 $as_echo_n "(cached) " >&6
13575 lt_cv_prog_compiler_static_works_FC
=no
13576 save_LDFLAGS
="$LDFLAGS"
13577 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13578 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13579 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13580 # The linker can only warn and ignore the option if not recognized
13581 # So say no if there are warnings
13582 if test -s conftest.err
; then
13583 # Append any errors to the config.log.
13584 cat conftest.err
1>&5
13585 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13586 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13587 if diff conftest.exp conftest.er2
>/dev
/null
; then
13588 lt_cv_prog_compiler_static_works_FC
=yes
13591 lt_cv_prog_compiler_static_works_FC
=yes
13595 LDFLAGS
="$save_LDFLAGS"
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13599 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13601 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13604 lt_prog_compiler_static_FC
=
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13611 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13612 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13613 $as_echo_n "(cached) " >&6
13615 lt_cv_prog_compiler_c_o_FC
=no
13616 $RM -r conftest
2>/dev
/null
13620 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13622 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13623 # Insert the option either (1) after the last *FLAGS variable, or
13624 # (2) before a word containing "conftest.", or (3) at the end.
13625 # Note that $ac_compile itself does not contain backslashes and begins
13626 # with a dollar sign (not a hyphen), so the echo should work correctly.
13627 lt_compile
=`echo "$ac_compile" | $SED \
13628 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13629 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13630 -e 's:$: $lt_compiler_flag:'`
13631 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13632 (eval "$lt_compile" 2>out
/conftest.err
)
13634 cat out
/conftest.err
>&5
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13638 # The compiler can only warn and ignore the option if not recognized
13639 # So say no if there are warnings
13640 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13641 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13642 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13643 lt_cv_prog_compiler_c_o_FC
=yes
13648 # SGI C++ compiler will create directory out/ii_files/ for
13649 # template instantiation
13650 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13651 $RM out
/* && rmdir out
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13658 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13663 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13664 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13665 $as_echo_n "(cached) " >&6
13667 lt_cv_prog_compiler_c_o_FC
=no
13668 $RM -r conftest
2>/dev
/null
13672 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13674 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13675 # Insert the option either (1) after the last *FLAGS variable, or
13676 # (2) before a word containing "conftest.", or (3) at the end.
13677 # Note that $ac_compile itself does not contain backslashes and begins
13678 # with a dollar sign (not a hyphen), so the echo should work correctly.
13679 lt_compile
=`echo "$ac_compile" | $SED \
13680 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13681 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13682 -e 's:$: $lt_compiler_flag:'`
13683 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13684 (eval "$lt_compile" 2>out
/conftest.err
)
13686 cat out
/conftest.err
>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13690 # The compiler can only warn and ignore the option if not recognized
13691 # So say no if there are warnings
13692 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13693 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13694 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13695 lt_cv_prog_compiler_c_o_FC
=yes
13700 # SGI C++ compiler will create directory out/ii_files/ for
13701 # template instantiation
13702 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13703 $RM out
/* && rmdir out
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13710 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13715 hard_links
="nottested"
13716 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13717 # do not overwrite the value of need_locks provided by the user
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13719 $as_echo_n "checking if we can lock with hard links... " >&6; }
13722 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13724 ln conftest.a conftest.b
2>&5 || hard_links
=no
13725 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13727 $as_echo "$hard_links" >&6; }
13728 if test "$hard_links" = no
; then
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13730 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13740 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13743 allow_undefined_flag_FC
=
13744 always_export_symbols_FC
=no
13746 archive_expsym_cmds_FC
=
13747 compiler_needs_object_FC
=no
13748 enable_shared_with_static_runtimes_FC
=no
13749 export_dynamic_flag_spec_FC
=
13750 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13751 hardcode_automatic_FC
=no
13752 hardcode_direct_FC
=no
13753 hardcode_direct_absolute_FC
=no
13754 hardcode_libdir_flag_spec_FC
=
13755 hardcode_libdir_flag_spec_ld_FC
=
13756 hardcode_libdir_separator_FC
=
13757 hardcode_minus_L_FC
=no
13758 hardcode_shlibpath_var_FC
=unsupported
13759 inherit_rpath_FC
=no
13760 link_all_deplibs_FC
=unknown
13762 module_expsym_cmds_FC
=
13763 old_archive_from_new_cmds_FC
=
13764 old_archive_from_expsyms_cmds_FC
=
13765 thread_safe_flag_spec_FC
=
13766 whole_archive_flag_spec_FC
=
13767 # include_expsyms should be a list of space-separated symbols to be *always*
13768 # included in the symbol list
13769 include_expsyms_FC
=
13770 # exclude_expsyms can be an extended regexp of symbols to exclude
13771 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13772 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13773 # as well as any symbol that contains `d'.
13774 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13775 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13776 # platforms (ab)use it in PIC code, but their linkers get confused if
13777 # the symbol is explicitly referenced. Since portable code cannot
13778 # rely on this symbol name, it's probably fine to never include it in
13779 # preloaded symbol tables.
13780 # Exclude shared library initialization/finalization symbols.
13781 extract_expsyms_cmds
=
13784 cygwin
* | mingw
* | pw32
* | cegcc
*)
13785 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13786 # When not using gcc, we currently assume that we are using
13787 # Microsoft Visual C++.
13788 if test "$GCC" != yes; then
13793 # we just hope/assume this is gcc and not c89 (= MSVC++)
13803 # On some targets, GNU ld is compatible enough with the native linker
13804 # that we're better off using the native interface for both.
13805 lt_use_gnu_ld_interface
=no
13806 if test "$with_gnu_ld" = yes; then
13809 # The AIX port of GNU ld has always aspired to compatibility
13810 # with the native linker. However, as the warning in the GNU ld
13811 # block says, versions before 2.19.5* couldn't really create working
13812 # shared libraries, regardless of the interface used.
13813 case `$LD -v 2>&1` in
13814 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13815 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13816 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13818 lt_use_gnu_ld_interface
=yes
13823 lt_use_gnu_ld_interface
=yes
13828 if test "$lt_use_gnu_ld_interface" = yes; then
13829 # If archive_cmds runs LD, not CC, wlarc should be empty
13832 # Set some defaults for GNU ld with shared library support. These
13833 # are reset later if shared libraries are not supported. Putting them
13834 # here allows them to be overridden if necessary.
13835 runpath_var
=LD_RUN_PATH
13836 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13837 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13838 # ancient GNU ld didn't support --whole-archive et. al.
13839 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13840 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13842 whole_archive_flag_spec_FC
=
13844 supports_anon_versioning
=no
13845 case `$LD -v 2>&1` in
13846 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13847 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13848 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13849 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13850 *\
2.11.
*) ;; # other 2.11 versions
13851 *) supports_anon_versioning
=yes ;;
13854 # See if GNU ld supports shared libraries.
13857 # On AIX/PPC, the GNU linker is very broken
13858 if test "$host_cpu" != ia64
; then
13862 *** Warning: the GNU linker, at least up to release 2.19, is reported
13863 *** to be unable to reliably create shared libraries on AIX.
13864 *** Therefore, libtool is disabling shared libraries support. If you
13865 *** really care for shared libraries, you may want to install binutils
13866 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13867 *** You will then need to restart the configuration process.
13876 # see comment about AmigaOS4 .so support
13877 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13878 archive_expsym_cmds_FC
=''
13881 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)'
13882 hardcode_libdir_flag_spec_FC
='-L$libdir'
13883 hardcode_minus_L_FC
=yes
13889 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13890 allow_undefined_flag_FC
=unsupported
13891 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13892 # support --undefined. This deserves some investigation. FIXME
13893 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13899 cygwin
* | mingw
* | pw32
* | cegcc
*)
13900 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13901 # as there is no search path for DLLs.
13902 hardcode_libdir_flag_spec_FC
='-L$libdir'
13903 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13904 allow_undefined_flag_FC
=unsupported
13905 always_export_symbols_FC
=no
13906 enable_shared_with_static_runtimes_FC
=yes
13907 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13909 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13910 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13911 # If the export-symbols file already is a .def file (1st line
13912 # is EXPORTS), use it as is; otherwise, prepend...
13913 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13914 cp $export_symbols $output_objdir/$soname.def;
13916 echo EXPORTS > $output_objdir/$soname.def;
13917 cat $export_symbols >> $output_objdir/$soname.def;
13919 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13926 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13927 link_all_deplibs_FC
=yes
13931 hardcode_direct_FC
=no
13932 hardcode_shlibpath_var_FC
=no
13933 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13934 export_dynamic_flag_spec_FC
='${wl}-E'
13935 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13936 # Instead, shared libraries are loaded at an image base (0x10000000 by
13937 # default) and relocated if they conflict, which is a slow very memory
13938 # consuming and fragmenting process. To avoid this, we pick a random,
13939 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13940 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13941 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'
13942 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'
13945 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13947 if test "$host_os" = linux-dietlibc
; then
13948 case $cc_basename in
13949 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13952 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13953 && test "$tmp_diet" = no
13956 tmp_sharedflag
='-shared'
13957 case $cc_basename,$host_cpu in
13958 pgcc
*) # Portland Group C compiler
13959 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'
13960 tmp_addflag
=' $pic_flag'
13962 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13963 # Portland Group f77 and f90 compilers
13964 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'
13965 tmp_addflag
=' $pic_flag -Mnomain' ;;
13966 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13967 tmp_addflag
=' -i_dynamic' ;;
13968 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13969 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13970 ifc
* | ifort
*) # Intel Fortran compiler
13971 tmp_addflag
=' -nofor_main' ;;
13972 lf95
*) # Lahey Fortran 8.1
13973 whole_archive_flag_spec_FC
=
13974 tmp_sharedflag
='--shared' ;;
13975 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13976 tmp_sharedflag
='-qmkshrobj'
13978 nvcc
*) # Cuda Compiler Driver 2.2
13979 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'
13980 compiler_needs_object_FC
=yes
13983 case `$CC -V 2>&1 | sed 5q` in
13984 *Sun\ C
*) # Sun C 5.9
13985 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'
13986 compiler_needs_object_FC
=yes
13987 tmp_sharedflag
='-G' ;;
13988 *Sun\ F
*) # Sun Fortran 8.3
13989 tmp_sharedflag
='-G' ;;
13991 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13993 if test "x$supports_anon_versioning" = xyes
; then
13994 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13995 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13996 echo "local: *; };" >> $output_objdir/$libname.ver~
13997 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14000 case $cc_basename in
14001 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14002 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14003 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14004 hardcode_libdir_flag_spec_FC
=
14005 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14006 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14007 if test "x$supports_anon_versioning" = xyes
; then
14008 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14009 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14010 echo "local: *; };" >> $output_objdir/$libname.ver~
14011 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14021 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14022 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14025 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14026 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14031 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14035 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14036 *** create shared libraries on Solaris systems. Therefore, libtool
14037 *** is disabling shared libraries support. We urge you to upgrade GNU
14038 *** binutils to release 2.9.1 or newer. Another option is to modify
14039 *** your PATH or compiler configuration so that the native linker is
14040 *** used, and then restart.
14043 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14044 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14045 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14051 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14052 case `$LD -v 2>&1` in
14053 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14057 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14058 *** reliably create shared libraries on SCO systems. Therefore, libtool
14059 *** is disabling shared libraries support. We urge you to upgrade GNU
14060 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14061 *** your PATH or compiler configuration so that the native linker is
14062 *** used, and then restart.
14067 # For security reasons, it is highly recommended that you always
14068 # use absolute paths for naming shared libraries, and exclude the
14069 # DT_RUNPATH tag from executables and libraries. But doing so
14070 # requires that you compile everything twice, which is a pain.
14071 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14072 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14073 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14074 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14083 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14085 hardcode_direct_FC
=yes
14086 hardcode_shlibpath_var_FC
=no
14090 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14091 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14092 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14099 if test "$ld_shlibs_FC" = no
; then
14101 hardcode_libdir_flag_spec_FC
=
14102 export_dynamic_flag_spec_FC
=
14103 whole_archive_flag_spec_FC
=
14106 # PORTME fill in a description of your system's linker (not GNU ld)
14109 allow_undefined_flag_FC
=unsupported
14110 always_export_symbols_FC
=yes
14111 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'
14112 # Note: this linker hardcodes the directories in LIBPATH if there
14113 # are no directories specified by -L.
14114 hardcode_minus_L_FC
=yes
14115 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14116 # Neither direct hardcoding nor static linking is supported with a
14118 hardcode_direct_FC
=unsupported
14123 if test "$host_cpu" = ia64
; then
14124 # On IA64, the linker does run time linking by default, so we don't
14125 # have to do anything special.
14126 aix_use_runtimelinking
=no
14127 exp_sym_flag
='-Bexport'
14130 # If we're using GNU nm, then we don't want the "-C" option.
14131 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14132 # Also, AIX nm treats weak defined symbols like other global
14133 # defined symbols, whereas GNU nm marks them as "W".
14134 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14135 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'
14137 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'
14139 aix_use_runtimelinking
=no
14141 # Test if we are trying to use run time linking or normal
14142 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14143 # need to do runtime linking.
14144 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14145 for ld_flag
in $LDFLAGS; do
14146 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14147 aix_use_runtimelinking
=yes
14154 exp_sym_flag
='-bexport'
14155 no_entry_flag
='-bnoentry'
14158 # When large executables or shared objects are built, AIX ld can
14159 # have problems creating the table of contents. If linking a library
14160 # or program results in "error TOC overflow" add -mminimal-toc to
14161 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14162 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14165 hardcode_direct_FC
=yes
14166 hardcode_direct_absolute_FC
=yes
14167 hardcode_libdir_separator_FC
=':'
14168 link_all_deplibs_FC
=yes
14169 file_list_spec_FC
='${wl}-f,'
14171 if test "$GCC" = yes; then
14172 case $host_os in aix4.
[012]|aix4.
[012].
*)
14173 # We only want to do this on AIX 4.2 and lower, the check
14174 # below for broken collect2 doesn't work under 4.3+
14175 collect2name
=`${CC} -print-prog-name=collect2`
14176 if test -f "$collect2name" &&
14177 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14179 # We have reworked collect2
14182 # We have old collect2
14183 hardcode_direct_FC
=unsupported
14184 # It fails to find uninstalled libraries when the uninstalled
14185 # path is not listed in the libpath. Setting hardcode_minus_L
14186 # to unsupported forces relinking
14187 hardcode_minus_L_FC
=yes
14188 hardcode_libdir_flag_spec_FC
='-L$libdir'
14189 hardcode_libdir_separator_FC
=
14193 shared_flag
='-shared'
14194 if test "$aix_use_runtimelinking" = yes; then
14195 shared_flag
="$shared_flag "'${wl}-G'
14199 if test "$host_cpu" = ia64
; then
14200 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14201 # chokes on -Wl,-G. The following line is correct:
14204 if test "$aix_use_runtimelinking" = yes; then
14205 shared_flag
='${wl}-G'
14207 shared_flag
='${wl}-bM:SRE'
14212 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14213 # It seems that -bexpall does not export symbols beginning with
14214 # underscore (_), so it is better to generate a list of symbols to export.
14215 always_export_symbols_FC
=yes
14216 if test "$aix_use_runtimelinking" = yes; then
14217 # Warning - without using the other runtime loading flags (-brtl),
14218 # -berok will link without error, but may produce a broken library.
14219 allow_undefined_flag_FC
='-berok'
14220 # Determine the default libpath from the value encoded in an
14221 # empty executable.
14222 if test x
$gcc_no_link = xyes
; then
14223 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14225 cat > conftest.
$ac_ext <<_ACEOF
14230 if ac_fn_fc_try_link
"$LINENO"; then :
14232 lt_aix_libpath_sed
='
14233 /Import File Strings/,/^$/ {
14239 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14240 # Check for a 64-bit object if we didn't find anything.
14241 if test -z "$aix_libpath"; then
14242 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14245 rm -f core conftest.err conftest.
$ac_objext \
14246 conftest
$ac_exeext conftest.
$ac_ext
14247 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14249 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14250 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"
14252 if test "$host_cpu" = ia64
; then
14253 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14254 allow_undefined_flag_FC
="-z nodefs"
14255 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"
14257 # Determine the default libpath from the value encoded in an
14258 # empty executable.
14259 if test x
$gcc_no_link = xyes
; then
14260 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14262 cat > conftest.
$ac_ext <<_ACEOF
14267 if ac_fn_fc_try_link
"$LINENO"; then :
14269 lt_aix_libpath_sed
='
14270 /Import File Strings/,/^$/ {
14276 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14277 # Check for a 64-bit object if we didn't find anything.
14278 if test -z "$aix_libpath"; then
14279 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14282 rm -f core conftest.err conftest.
$ac_objext \
14283 conftest
$ac_exeext conftest.
$ac_ext
14284 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14286 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14287 # Warning - without using the other run time loading flags,
14288 # -berok will link without error, but may produce a broken library.
14289 no_undefined_flag_FC
=' ${wl}-bernotok'
14290 allow_undefined_flag_FC
=' ${wl}-berok'
14291 if test "$with_gnu_ld" = yes; then
14292 # We only use this code for GNU lds that support --whole-archive.
14293 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14295 # Exported symbols can be pulled into shared objects from archives
14296 whole_archive_flag_spec_FC
='$convenience'
14298 archive_cmds_need_lc_FC
=yes
14299 # This is similar to how AIX traditionally builds its shared libraries.
14300 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'
14308 # see comment about AmigaOS4 .so support
14309 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14310 archive_expsym_cmds_FC
=''
14313 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)'
14314 hardcode_libdir_flag_spec_FC
='-L$libdir'
14315 hardcode_minus_L_FC
=yes
14321 export_dynamic_flag_spec_FC
=-rdynamic
14324 cygwin
* | mingw
* | pw32
* | cegcc
*)
14325 # When not using gcc, we currently assume that we are using
14326 # Microsoft Visual C++.
14327 # hardcode_libdir_flag_spec is actually meaningless, as there is
14328 # no search path for DLLs.
14329 hardcode_libdir_flag_spec_FC
=' '
14330 allow_undefined_flag_FC
=unsupported
14331 # Tell ltmain to make .lib files, not .a files.
14333 # Tell ltmain to make .dll files, not .so files.
14335 # FIXME: Setting linknames here is a bad hack.
14336 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14337 # The linker will automatically build a .lib file if we build a DLL.
14338 old_archive_from_new_cmds_FC
='true'
14339 # FIXME: Should let the user specify the lib program.
14340 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14341 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14342 enable_shared_with_static_runtimes_FC
=yes
14345 darwin
* | rhapsody
*)
14348 archive_cmds_need_lc_FC
=no
14349 hardcode_direct_FC
=no
14350 hardcode_automatic_FC
=yes
14351 hardcode_shlibpath_var_FC
=unsupported
14352 if test "$lt_cv_ld_force_load" = "yes"; then
14353 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\"`'
14355 whole_archive_flag_spec_FC
=''
14357 link_all_deplibs_FC
=yes
14358 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14359 case $cc_basename in
14360 ifort
*) _lt_dar_can_shared
=yes ;;
14361 *) _lt_dar_can_shared
=$GCC ;;
14363 if test "$_lt_dar_can_shared" = "yes"; then
14364 output_verbose_link_cmd
=func_echo_all
14365 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}"
14366 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14367 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}"
14368 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}"
14377 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14378 hardcode_libdir_flag_spec_FC
='-L$libdir'
14379 hardcode_shlibpath_var_FC
=no
14382 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14383 # support. Future versions do this automatically, but an explicit c++rt0.o
14384 # does not break anything, and helps significantly (at the cost of a little
14387 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14388 hardcode_libdir_flag_spec_FC
='-R$libdir'
14389 hardcode_direct_FC
=yes
14390 hardcode_shlibpath_var_FC
=no
14393 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14395 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14396 hardcode_direct_FC
=yes
14397 hardcode_minus_L_FC
=yes
14398 hardcode_shlibpath_var_FC
=no
14401 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14402 freebsd
* | dragonfly
*)
14403 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14404 hardcode_libdir_flag_spec_FC
='-R$libdir'
14405 hardcode_direct_FC
=yes
14406 hardcode_shlibpath_var_FC
=no
14410 if test "$GCC" = yes; then
14411 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'
14413 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'
14415 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14416 hardcode_libdir_separator_FC
=:
14417 hardcode_direct_FC
=yes
14419 # hardcode_minus_L: Not really in the search PATH,
14420 # but as the default location of the library.
14421 hardcode_minus_L_FC
=yes
14422 export_dynamic_flag_spec_FC
='${wl}-E'
14426 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14427 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14429 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14431 if test "$with_gnu_ld" = no
; then
14432 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14433 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14434 hardcode_libdir_separator_FC
=:
14435 hardcode_direct_FC
=yes
14436 hardcode_direct_absolute_FC
=yes
14437 export_dynamic_flag_spec_FC
='${wl}-E'
14438 # hardcode_minus_L: Not really in the search PATH,
14439 # but as the default location of the library.
14440 hardcode_minus_L_FC
=yes
14445 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14448 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14451 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14454 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14460 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14463 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14466 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14470 if test "$with_gnu_ld" = no
; then
14471 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14472 hardcode_libdir_separator_FC
=:
14476 hardcode_direct_FC
=no
14477 hardcode_shlibpath_var_FC
=no
14480 hardcode_direct_FC
=yes
14481 hardcode_direct_absolute_FC
=yes
14482 export_dynamic_flag_spec_FC
='${wl}-E'
14484 # hardcode_minus_L: Not really in the search PATH,
14485 # but as the default location of the library.
14486 hardcode_minus_L_FC
=yes
14492 irix5
* | irix6
* | nonstopux
*)
14493 if test "$GCC" = yes; then
14494 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'
14495 # Try to use the -exported_symbol ld option, if it does not
14496 # work, assume that -exports_file does not work either and
14497 # implicitly export all symbols.
14498 save_LDFLAGS
="$LDFLAGS"
14499 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14500 if test x
$gcc_no_link = xyes
; then
14501 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14503 cat > conftest.
$ac_ext <<_ACEOF
14506 if ac_fn_fc_try_link
"$LINENO"; then :
14507 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'
14510 rm -f core conftest.err conftest.
$ac_objext \
14511 conftest
$ac_exeext conftest.
$ac_ext
14512 LDFLAGS
="$save_LDFLAGS"
14514 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'
14515 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'
14517 archive_cmds_need_lc_FC
='no'
14518 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14519 hardcode_libdir_separator_FC
=:
14520 inherit_rpath_FC
=yes
14521 link_all_deplibs_FC
=yes
14525 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14526 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14528 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14530 hardcode_libdir_flag_spec_FC
='-R$libdir'
14531 hardcode_direct_FC
=yes
14532 hardcode_shlibpath_var_FC
=no
14536 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14537 hardcode_direct_FC
=yes
14538 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14539 hardcode_libdir_separator_FC
=:
14540 hardcode_shlibpath_var_FC
=no
14547 if test -f /usr
/libexec
/ld.so
; then
14548 hardcode_direct_FC
=yes
14549 hardcode_shlibpath_var_FC
=no
14550 hardcode_direct_absolute_FC
=yes
14551 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14552 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14553 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14554 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14555 export_dynamic_flag_spec_FC
='${wl}-E'
14558 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14559 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14560 hardcode_libdir_flag_spec_FC
='-R$libdir'
14563 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14564 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14574 hardcode_libdir_flag_spec_FC
='-L$libdir'
14575 hardcode_minus_L_FC
=yes
14576 allow_undefined_flag_FC
=unsupported
14577 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'
14578 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14582 if test "$GCC" = yes; then
14583 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14584 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'
14586 allow_undefined_flag_FC
=' -expect_unresolved \*'
14587 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'
14589 archive_cmds_need_lc_FC
='no'
14590 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14591 hardcode_libdir_separator_FC
=:
14594 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14595 if test "$GCC" = yes; then
14596 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14597 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'
14598 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14600 allow_undefined_flag_FC
=' -expect_unresolved \*'
14601 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'
14602 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~
14603 $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'
14605 # Both c and cxx compiler support -rpath directly
14606 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14608 archive_cmds_need_lc_FC
='no'
14609 hardcode_libdir_separator_FC
=:
14613 no_undefined_flag_FC
=' -z defs'
14614 if test "$GCC" = yes; then
14616 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14617 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14618 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14620 case `$CC -V 2>&1` in
14623 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14624 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14625 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14629 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14630 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14631 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14635 hardcode_libdir_flag_spec_FC
='-R$libdir'
14636 hardcode_shlibpath_var_FC
=no
14638 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14640 # The compiler driver will combine and reorder linker options,
14641 # but understands `-z linker_flag'. GCC discards it without `$wl',
14642 # but is careful enough not to reorder.
14643 # Supported since Solaris 2.6 (maybe 2.5.1?)
14644 if test "$GCC" = yes; then
14645 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14647 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14651 link_all_deplibs_FC
=yes
14655 if test "x$host_vendor" = xsequent
; then
14656 # Use $CC to link under sequent, because it throws in some extra .o
14657 # files that make .init and .fini sections work.
14658 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14660 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14662 hardcode_libdir_flag_spec_FC
='-L$libdir'
14663 hardcode_direct_FC
=yes
14664 hardcode_minus_L_FC
=yes
14665 hardcode_shlibpath_var_FC
=no
14669 case $host_vendor in
14671 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14672 hardcode_direct_FC
=yes # is this really true???
14675 ## LD is ld it makes a PLAMLIB
14676 ## CC just makes a GrossModule.
14677 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14678 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14679 hardcode_direct_FC
=no
14682 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14683 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14686 runpath_var
='LD_RUN_PATH'
14687 hardcode_shlibpath_var_FC
=no
14691 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14692 hardcode_shlibpath_var_FC
=no
14693 export_dynamic_flag_spec_FC
='-Bexport'
14697 if test -d /usr
/nec
; then
14698 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14699 hardcode_shlibpath_var_FC
=no
14700 runpath_var
=LD_RUN_PATH
14701 hardcode_runpath_var
=yes
14706 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14707 no_undefined_flag_FC
='${wl}-z,text'
14708 archive_cmds_need_lc_FC
=no
14709 hardcode_shlibpath_var_FC
=no
14710 runpath_var
='LD_RUN_PATH'
14712 if test "$GCC" = yes; then
14713 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14714 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14716 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14717 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14721 sysv5
* | sco3.2v5
* | sco5v6
*)
14722 # Note: We can NOT use -z defs as we might desire, because we do not
14723 # link with -lc, and that would cause any symbols used from libc to
14724 # always be unresolved, which means just about no library would
14725 # ever link correctly. If we're not using GNU ld we use -z text
14726 # though, which does catch some bad symbols but isn't as heavy-handed
14728 no_undefined_flag_FC
='${wl}-z,text'
14729 allow_undefined_flag_FC
='${wl}-z,nodefs'
14730 archive_cmds_need_lc_FC
=no
14731 hardcode_shlibpath_var_FC
=no
14732 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14733 hardcode_libdir_separator_FC
=':'
14734 link_all_deplibs_FC
=yes
14735 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14736 runpath_var
='LD_RUN_PATH'
14738 if test "$GCC" = yes; then
14739 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14740 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14742 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14743 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14748 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14749 hardcode_libdir_flag_spec_FC
='-L$libdir'
14750 hardcode_shlibpath_var_FC
=no
14758 if test x
$host_vendor = xsni
; then
14760 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14761 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14768 $as_echo "$ld_shlibs_FC" >&6; }
14769 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14771 with_gnu_ld_FC
=$with_gnu_ld
14779 # Do we need to explicitly link libc?
14781 case "x$archive_cmds_need_lc_FC" in
14783 # Assume -lc should be added
14784 archive_cmds_need_lc_FC
=yes
14786 if test "$enable_shared" = yes && test "$GCC" = yes; then
14787 case $archive_cmds_FC in
14789 # FIXME: we may have to deal with multi-command sequences.
14792 # Test whether the compiler implicitly links with -lc since on some
14793 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14794 # to ld, don't add -lc before -lgcc.
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14796 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14797 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14798 $as_echo_n "(cached) " >&6
14801 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14803 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14804 (eval $ac_compile) 2>&5
14806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14807 test $ac_status = 0; } 2>conftest.err
; then
14810 libobjs
=conftest.
$ac_objext
14812 wl
=$lt_prog_compiler_wl_FC
14813 pic_flag
=$lt_prog_compiler_pic_FC
14819 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14820 allow_undefined_flag_FC
=
14821 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14822 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14825 test $ac_status = 0; }
14827 lt_cv_archive_cmds_need_lc_FC
=no
14829 lt_cv_archive_cmds_need_lc_FC
=yes
14831 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14833 cat conftest.err
1>&5
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14839 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14840 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14911 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14913 library_names_spec
=
14914 libname_spec
='lib$name'
14918 postuninstall_cmds
=
14922 shlibpath_overrides_runpath
=unknown
14924 dynamic_linker
="$host_os ld.so"
14925 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14926 need_lib_prefix
=unknown
14927 hardcode_into_libs
=no
14929 # when you set need_version to no, make sure it does not cause -set_version
14930 # flags to be left without arguments
14931 need_version
=unknown
14936 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14937 shlibpath_var
=LIBPATH
14939 # AIX 3 has no versioning support, so we append a major version to the name.
14940 soname_spec
='${libname}${release}${shared_ext}$major'
14947 hardcode_into_libs
=yes
14948 if test "$host_cpu" = ia64
; then
14949 # AIX 5 supports IA64
14950 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14951 shlibpath_var
=LD_LIBRARY_PATH
14953 # With GCC up to 2.95.x, collect2 would create an import file
14954 # for dependence libraries. The import file would start with
14955 # the line `#! .'. This would cause the generated library to
14956 # depend on `.', always an invalid library. This was fixed in
14957 # development snapshots of GCC prior to 3.0.
14959 aix4 | aix4.
[01] | aix4.
[01].
*)
14960 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14962 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14965 can_build_shared
=no
14969 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14970 # soname into executable. Probably we can add versioning support to
14971 # collect2, so additional links can be useful in future.
14972 if test "$aix_use_runtimelinking" = yes; then
14973 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14974 # instead of lib<name>.a to let people know that these are not
14975 # typical AIX shared libraries.
14976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14978 # We preserve .a as extension for shared libraries through AIX4.2
14979 # and later when we are not doing run time linking.
14980 library_names_spec
='${libname}${release}.a $libname.a'
14981 soname_spec
='${libname}${release}${shared_ext}$major'
14983 shlibpath_var
=LIBPATH
14990 # Since July 2007 AmigaOS4 officially supports .so libraries.
14991 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14995 library_names_spec
='$libname.ixlibrary $libname.a'
14996 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14997 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'
15003 library_names_spec
='${libname}${shared_ext}'
15004 dynamic_linker
="$host_os ld.so"
15005 shlibpath_var
=LIBRARY_PATH
15011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15012 soname_spec
='${libname}${release}${shared_ext}$major'
15013 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15014 shlibpath_var
=LD_LIBRARY_PATH
15015 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15016 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15017 # the default ld.so.conf also contains /usr/contrib/lib and
15018 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15019 # libtool to hard-code these into programs
15022 cygwin
* | mingw
* | pw32
* | cegcc
*)
15023 version_type
=windows
15028 case $GCC,$host_os in
15029 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15030 library_names_spec
='$libname.dll.a'
15031 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15032 postinstall_cmds
='base_file=`basename \${file}`~
15033 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15034 dldir=$destdir/`dirname \$dlpath`~
15035 test -d \$dldir || mkdir -p \$dldir~
15036 $install_prog $dir/$dlname \$dldir/$dlname~
15037 chmod a+x \$dldir/$dlname~
15038 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15039 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15041 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15042 dlpath=$dir/\$dldll~
15044 shlibpath_overrides_runpath
=yes
15048 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15049 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15053 # MinGW DLLs use traditional 'lib' prefix
15054 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15057 # pw32 DLLs use 'pw' prefix rather than 'lib'
15058 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15064 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15067 dynamic_linker
='Win32 ld.exe'
15068 # FIXME: first we should search . and the directory the executable is in
15072 darwin
* | rhapsody
*)
15073 dynamic_linker
="$host_os dyld"
15074 version_type
=darwin
15077 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15078 soname_spec
='${libname}${release}${major}$shared_ext'
15079 shlibpath_overrides_runpath
=yes
15080 shlibpath_var
=DYLD_LIBRARY_PATH
15081 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15083 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15091 soname_spec
='${libname}${release}${shared_ext}$major'
15092 shlibpath_var
=LD_LIBRARY_PATH
15095 freebsd
* | dragonfly
*)
15096 # DragonFly does not have aout. When/if they implement a new
15097 # versioning mechanism, adjust this.
15098 if test -x /usr
/bin
/objformat
; then
15099 objformat
=`/usr/bin/objformat`
15102 freebsd
[23].
*) objformat
=aout
;;
15103 *) objformat
=elf
;;
15106 version_type
=freebsd-
$objformat
15107 case $version_type in
15109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15114 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15118 shlibpath_var
=LD_LIBRARY_PATH
15121 shlibpath_overrides_runpath
=yes
15123 freebsd3.
[01]* | freebsdelf3.
[01]*)
15124 shlibpath_overrides_runpath
=yes
15125 hardcode_into_libs
=yes
15127 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15128 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15129 shlibpath_overrides_runpath
=no
15130 hardcode_into_libs
=yes
15132 *) # from 4.6 on, and DragonFly
15133 shlibpath_overrides_runpath
=yes
15134 hardcode_into_libs
=yes
15143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15144 soname_spec
='${libname}${release}${shared_ext}$major'
15145 shlibpath_var
=LD_LIBRARY_PATH
15146 hardcode_into_libs
=yes
15153 dynamic_linker
="$host_os runtime_loader"
15154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15155 soname_spec
='${libname}${release}${shared_ext}$major'
15156 shlibpath_var
=LIBRARY_PATH
15157 shlibpath_overrides_runpath
=yes
15158 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15159 hardcode_into_libs
=yes
15162 hpux9
* | hpux10
* | hpux11
*)
15163 # Give a soname corresponding to the major version so that dld.sl refuses to
15164 # link against other versions.
15171 hardcode_into_libs
=yes
15172 dynamic_linker
="$host_os dld.so"
15173 shlibpath_var
=LD_LIBRARY_PATH
15174 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15176 soname_spec
='${libname}${release}${shared_ext}$major'
15177 if test "X$HPUX_IA64_MODE" = X32
; then
15178 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15180 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15182 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15186 hardcode_into_libs
=yes
15187 dynamic_linker
="$host_os dld.sl"
15188 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15189 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15191 soname_spec
='${libname}${release}${shared_ext}$major'
15192 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15193 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15197 dynamic_linker
="$host_os dld.sl"
15198 shlibpath_var
=SHLIB_PATH
15199 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15201 soname_spec
='${libname}${release}${shared_ext}$major'
15204 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15205 postinstall_cmds
='chmod 555 $lib'
15206 # or fails outright, so override atomically:
15207 install_override_mode
=555
15214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15215 soname_spec
='${libname}${release}${shared_ext}$major'
15216 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15217 shlibpath_var
=LD_LIBRARY_PATH
15218 shlibpath_overrides_runpath
=no
15219 hardcode_into_libs
=yes
15222 irix5
* | irix6
* | nonstopux
*)
15224 nonstopux
*) version_type
=nonstopux
;;
15226 if test "$lt_cv_prog_gnu_ld" = yes; then
15234 soname_spec
='${libname}${release}${shared_ext}$major'
15235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15237 irix5
* | nonstopux
*)
15238 libsuff
= shlibsuff
=
15241 case $LD in # libtool.m4 will add one of these switches to LD
15242 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15243 libsuff
= shlibsuff
= libmagic
=32-bit;;
15244 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15245 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15246 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15247 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15248 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15252 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15253 shlibpath_overrides_runpath
=no
15254 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15255 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15256 hardcode_into_libs
=yes
15259 # No shared lib support for Linux oldld, aout, or coff.
15260 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15264 # This must be Linux ELF.
15265 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15270 soname_spec
='${libname}${release}${shared_ext}$major'
15271 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15272 shlibpath_var
=LD_LIBRARY_PATH
15273 shlibpath_overrides_runpath
=no
15275 # Some binutils ld are patched to set DT_RUNPATH
15276 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15277 $as_echo_n "(cached) " >&6
15279 lt_cv_shlibpath_overrides_runpath
=no
15280 save_LDFLAGS
=$LDFLAGS
15281 save_libdir
=$libdir
15282 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15283 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15284 if test x
$gcc_no_link = xyes
; then
15285 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15287 cat > conftest.
$ac_ext <<_ACEOF
15292 if ac_fn_fc_try_link
"$LINENO"; then :
15293 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15294 lt_cv_shlibpath_overrides_runpath
=yes
15297 rm -f core conftest.err conftest.
$ac_objext \
15298 conftest
$ac_exeext conftest.
$ac_ext
15299 LDFLAGS
=$save_LDFLAGS
15300 libdir
=$save_libdir
15304 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15306 # This implies no fast_install, which is unacceptable.
15307 # Some rework will be needed to allow for fast_install
15308 # before this can be enabled.
15309 hardcode_into_libs
=yes
15311 # Append ld.so.conf contents to the search path
15312 if test -f /etc
/ld.so.conf
; then
15313 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' ' '`
15314 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15317 # We used to test for /lib/ld.so.1 and disable shared libraries on
15318 # powerpc, because MkLinux only supported shared libraries with the
15319 # GNU dynamic linker. Since this was broken with cross compilers,
15320 # most powerpc-linux boxes support dynamic linking these days and
15321 # people can always --disable-shared, the test was removed, and we
15322 # assume the GNU/Linux dynamic linker is in use.
15323 dynamic_linker
='GNU/Linux ld.so'
15330 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15332 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15333 dynamic_linker
='NetBSD (a.out) ld.so'
15335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15336 soname_spec
='${libname}${release}${shared_ext}$major'
15337 dynamic_linker
='NetBSD ld.elf_so'
15339 shlibpath_var
=LD_LIBRARY_PATH
15340 shlibpath_overrides_runpath
=yes
15341 hardcode_into_libs
=yes
15346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15347 shlibpath_var
=LD_LIBRARY_PATH
15348 shlibpath_overrides_runpath
=yes
15355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15356 soname_spec
='${libname}${release}${shared_ext}$major'
15357 shlibpath_var
=LD_LIBRARY_PATH
15358 shlibpath_overrides_runpath
=no
15359 hardcode_into_libs
=yes
15360 dynamic_linker
='ldqnx.so'
15365 sys_lib_dlsearch_path_spec
="/usr/lib"
15367 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15369 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15370 *) need_version
=no
;;
15372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15373 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15374 shlibpath_var
=LD_LIBRARY_PATH
15375 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15377 openbsd2.
[89] | openbsd2.
[89].
*)
15378 shlibpath_overrides_runpath
=no
15381 shlibpath_overrides_runpath
=yes
15385 shlibpath_overrides_runpath
=yes
15390 libname_spec
='$name'
15393 library_names_spec
='$libname${shared_ext} $libname.a'
15394 dynamic_linker
='OS/2 ld.exe'
15395 shlibpath_var
=LIBPATH
15398 osf3
* | osf4
* | osf5
*)
15402 soname_spec
='${libname}${release}${shared_ext}$major'
15403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15404 shlibpath_var
=LD_LIBRARY_PATH
15405 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15406 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15418 soname_spec
='${libname}${release}${shared_ext}$major'
15419 shlibpath_var
=LD_LIBRARY_PATH
15420 shlibpath_overrides_runpath
=yes
15421 hardcode_into_libs
=yes
15422 # ldd complains unless libraries are executable
15423 postinstall_cmds
='chmod +x $lib'
15428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15429 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15430 shlibpath_var
=LD_LIBRARY_PATH
15431 shlibpath_overrides_runpath
=yes
15432 if test "$with_gnu_ld" = yes; then
15440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15441 soname_spec
='${libname}${release}${shared_ext}$major'
15442 shlibpath_var
=LD_LIBRARY_PATH
15443 case $host_vendor in
15445 shlibpath_overrides_runpath
=no
15447 runpath_var
=LD_RUN_PATH
15455 shlibpath_overrides_runpath
=no
15456 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15462 if test -d /usr
/nec
;then
15464 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15465 soname_spec
='$libname${shared_ext}.$major'
15466 shlibpath_var
=LD_LIBRARY_PATH
15470 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15471 version_type
=freebsd-elf
15474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15475 soname_spec
='${libname}${release}${shared_ext}$major'
15476 shlibpath_var
=LD_LIBRARY_PATH
15477 shlibpath_overrides_runpath
=yes
15478 hardcode_into_libs
=yes
15479 if test "$with_gnu_ld" = yes; then
15480 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15482 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15485 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15489 sys_lib_dlsearch_path_spec
='/usr/lib'
15493 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15498 shlibpath_var
=LD_LIBRARY_PATH
15499 shlibpath_overrides_runpath
=no
15500 hardcode_into_libs
=yes
15505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15506 soname_spec
='${libname}${release}${shared_ext}$major'
15507 shlibpath_var
=LD_LIBRARY_PATH
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15515 $as_echo "$dynamic_linker" >&6; }
15516 test "$dynamic_linker" = no
&& can_build_shared
=no
15518 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15519 if test "$GCC" = yes; then
15520 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15523 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15524 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15526 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15527 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15568 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15569 hardcode_action_FC
=
15570 if test -n "$hardcode_libdir_flag_spec_FC" ||
15571 test -n "$runpath_var_FC" ||
15572 test "X$hardcode_automatic_FC" = "Xyes" ; then
15574 # We can hardcode non-existent directories.
15575 if test "$hardcode_direct_FC" != no
&&
15576 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15577 # have to relink, otherwise we might link with an installed library
15578 # when we should be linking with a yet-to-be-installed one
15579 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15580 test "$hardcode_minus_L_FC" != no
; then
15581 # Linking always hardcodes the temporary library directory.
15582 hardcode_action_FC
=relink
15584 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15585 hardcode_action_FC
=immediate
15588 # We cannot hardcode anything, or else we can only hardcode existing
15590 hardcode_action_FC
=unsupported
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15593 $as_echo "$hardcode_action_FC" >&6; }
15595 if test "$hardcode_action_FC" = relink ||
15596 test "$inherit_rpath_FC" = yes; then
15597 # Fast installation is not supported
15598 enable_fast_install
=no
15599 elif test "$shlibpath_overrides_runpath" = yes ||
15600 test "$enable_shared" = no
; then
15601 # Fast installation is not necessary
15602 enable_fast_install
=needless
15611 fi # test -n "$compiler"
15615 fi # test "$_lt_disable_FC" != yes
15618 ac_cpp
='$CPP $CPPFLAGS'
15619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15625 # extra LD Flags which are required for targets
15628 # Darwin needs -single_module when linking libgfortran
15629 extra_ldflags_libgfortran
=-Wl,-single_module
15634 # We need a working compiler at that point, otherwise give a clear
15635 # error message and bail out.
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15638 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15639 ac_ext
=${ac_fc_srcext-f}
15640 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15641 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15642 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15644 cat > conftest.
$ac_ext <<_ACEOF
15647 real, parameter :: bar = sin (12.34 / 2.5)
15650 if ac_fn_fc_try_compile
"$LINENO"; then :
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15652 $as_echo "yes" >&6; }
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15655 $as_echo "no" >&6; }
15656 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15661 ac_cpp
='$CPP $CPPFLAGS'
15662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15668 # Check whether --enable-largefile was given.
15669 if test "${enable_largefile+set}" = set; then :
15670 enableval
=$enable_largefile;
15673 if test "$enable_largefile" != no
; then
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15676 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15677 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15678 $as_echo_n "(cached) " >&6
15680 ac_cv_sys_largefile_CC
=no
15681 if test "$GCC" != yes; then
15684 # IRIX 6.2 and later do not support large files by default,
15685 # so use the C compiler's -n32 option if that helps.
15686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15687 /* end confdefs.h. */
15688 #include <sys/types.h>
15689 /* Check that off_t can represent 2**63 - 1 correctly.
15690 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15691 since some C++ compilers masquerading as C compilers
15692 incorrectly reject 9223372036854775807. */
15693 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15694 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15695 && LARGE_OFF_T % 2147483647 == 1)
15705 if ac_fn_c_try_compile
"$LINENO"; then :
15708 rm -f core conftest.err conftest.
$ac_objext
15710 if ac_fn_c_try_compile
"$LINENO"; then :
15711 ac_cv_sys_largefile_CC
=' -n32'; break
15713 rm -f core conftest.err conftest.
$ac_objext
15717 rm -f conftest.
$ac_ext
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15721 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15722 if test "$ac_cv_sys_largefile_CC" != no
; then
15723 CC
=$CC$ac_cv_sys_largefile_CC
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15727 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15728 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15729 $as_echo_n "(cached) " >&6
15732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15733 /* end confdefs.h. */
15734 #include <sys/types.h>
15735 /* Check that off_t can represent 2**63 - 1 correctly.
15736 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15737 since some C++ compilers masquerading as C compilers
15738 incorrectly reject 9223372036854775807. */
15739 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15740 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15741 && LARGE_OFF_T % 2147483647 == 1)
15751 if ac_fn_c_try_compile
"$LINENO"; then :
15752 ac_cv_sys_file_offset_bits
=no
; break
15754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15756 /* end confdefs.h. */
15757 #define _FILE_OFFSET_BITS 64
15758 #include <sys/types.h>
15759 /* Check that off_t can represent 2**63 - 1 correctly.
15760 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15761 since some C++ compilers masquerading as C compilers
15762 incorrectly reject 9223372036854775807. */
15763 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15764 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15765 && LARGE_OFF_T % 2147483647 == 1)
15775 if ac_fn_c_try_compile
"$LINENO"; then :
15776 ac_cv_sys_file_offset_bits
=64; break
15778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15779 ac_cv_sys_file_offset_bits
=unknown
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15784 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15785 case $ac_cv_sys_file_offset_bits in #(
15788 cat >>confdefs.h
<<_ACEOF
15789 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15794 if test $ac_cv_sys_file_offset_bits = unknown
; then
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15796 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15797 if test "${ac_cv_sys_large_files+set}" = set; then :
15798 $as_echo_n "(cached) " >&6
15801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15803 #include <sys/types.h>
15804 /* Check that off_t can represent 2**63 - 1 correctly.
15805 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15806 since some C++ compilers masquerading as C compilers
15807 incorrectly reject 9223372036854775807. */
15808 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15809 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15810 && LARGE_OFF_T % 2147483647 == 1)
15820 if ac_fn_c_try_compile
"$LINENO"; then :
15821 ac_cv_sys_large_files
=no
; break
15823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 #define _LARGE_FILES 1
15827 #include <sys/types.h>
15828 /* Check that off_t can represent 2**63 - 1 correctly.
15829 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15830 since some C++ compilers masquerading as C compilers
15831 incorrectly reject 9223372036854775807. */
15832 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15833 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15834 && LARGE_OFF_T % 2147483647 == 1)
15844 if ac_fn_c_try_compile
"$LINENO"; then :
15845 ac_cv_sys_large_files
=1; break
15847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15848 ac_cv_sys_large_files
=unknown
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15853 $as_echo "$ac_cv_sys_large_files" >&6; }
15854 case $ac_cv_sys_large_files in #(
15857 cat >>confdefs.h
<<_ACEOF
15858 #define _LARGE_FILES $ac_cv_sys_large_files
15868 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15869 if test "x$ac_cv_type_off_t" = x
""yes; then :
15873 cat >>confdefs.h
<<_ACEOF
15874 #define off_t long int
15880 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15881 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15883 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15886 for ac_type
in 'int' 'long int' 'long long int'; do
15887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15889 $ac_includes_default
15893 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15900 if ac_fn_c_try_compile
"$LINENO"; then :
15902 cat >>confdefs.h
<<_ACEOF
15903 #define intptr_t $ac_type
15908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15909 test -z "$ac_type" && break
15915 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15916 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15918 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15921 for ac_type
in 'unsigned int' 'unsigned long int' \
15922 'unsigned long long int'; do
15923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15924 /* end confdefs.h. */
15925 $ac_includes_default
15929 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15936 if ac_fn_c_try_compile
"$LINENO"; then :
15938 cat >>confdefs.h
<<_ACEOF
15939 #define uintptr_t $ac_type
15944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15945 test -z "$ac_type" && break
15950 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15951 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15953 cat >>confdefs.h
<<_ACEOF
15954 #define HAVE_PTRDIFF_T 1
15961 # check header files (we assume C89 is available, so don't check for that)
15965 for ac_header
in $ac_header_list
15967 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15968 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15970 eval as_val
=\$
$as_ac_Header
15971 if test "x$as_val" = x
""yes; then :
15972 cat >>confdefs.h
<<_ACEOF
15973 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16010 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16012 acx_cv_header_stdint
=stddef.h
16013 acx_cv_header_stdint_kind
="(already complete)"
16014 for i
in stdint.h
$inttype_headers; do
16015 unset ac_cv_type_uintptr_t
16016 unset ac_cv_type_uintmax_t
16017 unset ac_cv_type_int_least32_t
16018 unset ac_cv_type_int_fast32_t
16019 unset ac_cv_type_uint64_t
16020 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16021 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16024 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16025 acx_cv_header_stdint
=$i
16030 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16033 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16036 acx_cv_header_stdint_kind
="(mostly complete)"
16039 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16042 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16045 acx_cv_header_stdint_kind
="(mostly complete)"
16048 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16051 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16054 acx_cv_header_stdint_kind
="(mostly complete)"
16057 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16060 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16063 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16068 if test "$acx_cv_header_stdint" = stddef.h
; then
16069 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16070 for i
in stdint.h
$inttype_headers; do
16071 unset ac_cv_type_uintptr_t
16072 unset ac_cv_type_uint32_t
16073 unset ac_cv_type_uint64_t
16074 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16075 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16078 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16079 acx_cv_header_stdint
=$i
16084 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16087 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16091 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16094 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16101 if test "$acx_cv_header_stdint" = stddef.h
; then
16102 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16103 for i
in sys
/types.h
$inttype_headers; do
16104 unset ac_cv_type_u_int32_t
16105 unset ac_cv_type_u_int64_t
16106 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16107 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16110 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16111 acx_cv_header_stdint
=$i
16116 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16119 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16126 if test "$acx_cv_header_stdint" = stddef.h
; then
16127 acx_cv_header_stdint_kind
="(using manual detection)"
16130 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16131 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16132 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16133 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16134 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16136 # ----------------- Summarize what we found so far
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16139 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16141 case `$as_basename -- gstdint.h ||
16142 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16143 Xgstdint.h : 'X\(//\)$' \| \
16144 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16145 $as_echo X/gstdint.h |
16146 sed '/^.*\/\([^/][^/]*\)\/*$/{
16159 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16160 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16161 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16162 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16167 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16169 # ----------------- done included file, check C basic types --------
16171 # Lacking an uintptr_t? Test size of void *
16172 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16173 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16174 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16175 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16176 # This bug is HP SR number 8606223364.
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16178 $as_echo_n "checking size of void *... " >&6; }
16179 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16180 $as_echo_n "(cached) " >&6
16182 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16185 if test "$ac_cv_type_void_p" = yes; then
16186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16188 { as_fn_set_status
77
16189 as_fn_error
"cannot compute sizeof (void *)
16190 See \`config.log' for more details." "$LINENO" 5; }; }
16192 ac_cv_sizeof_void_p
=0
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16198 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16202 cat >>confdefs.h
<<_ACEOF
16203 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16209 # Lacking an uint64_t? Test size of long
16210 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16211 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16214 # This bug is HP SR number 8606223364.
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16216 $as_echo_n "checking size of long... " >&6; }
16217 if test "${ac_cv_sizeof_long+set}" = set; then :
16218 $as_echo_n "(cached) " >&6
16220 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16223 if test "$ac_cv_type_long" = yes; then
16224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16226 { as_fn_set_status
77
16227 as_fn_error
"cannot compute sizeof (long)
16228 See \`config.log' for more details." "$LINENO" 5; }; }
16230 ac_cv_sizeof_long
=0
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16236 $as_echo "$ac_cv_sizeof_long" >&6; }
16240 cat >>confdefs.h
<<_ACEOF
16241 #define SIZEOF_LONG $ac_cv_sizeof_long
16247 if test $acx_cv_header_stdint = stddef.h
; then
16248 # Lacking a good header? Test size of everything and deduce all types.
16249 # The cast to long int works around a bug in the HP C Compiler
16250 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16251 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16252 # This bug is HP SR number 8606223364.
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16254 $as_echo_n "checking size of int... " >&6; }
16255 if test "${ac_cv_sizeof_int+set}" = set; then :
16256 $as_echo_n "(cached) " >&6
16258 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16261 if test "$ac_cv_type_int" = yes; then
16262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16264 { as_fn_set_status
77
16265 as_fn_error
"cannot compute sizeof (int)
16266 See \`config.log' for more details." "$LINENO" 5; }; }
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16274 $as_echo "$ac_cv_sizeof_int" >&6; }
16278 cat >>confdefs.h
<<_ACEOF
16279 #define SIZEOF_INT $ac_cv_sizeof_int
16283 # The cast to long int works around a bug in the HP C Compiler
16284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16286 # This bug is HP SR number 8606223364.
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16288 $as_echo_n "checking size of short... " >&6; }
16289 if test "${ac_cv_sizeof_short+set}" = set; then :
16290 $as_echo_n "(cached) " >&6
16292 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16295 if test "$ac_cv_type_short" = yes; then
16296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16298 { as_fn_set_status
77
16299 as_fn_error
"cannot compute sizeof (short)
16300 See \`config.log' for more details." "$LINENO" 5; }; }
16302 ac_cv_sizeof_short
=0
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16308 $as_echo "$ac_cv_sizeof_short" >&6; }
16312 cat >>confdefs.h
<<_ACEOF
16313 #define SIZEOF_SHORT $ac_cv_sizeof_short
16317 # The cast to long int works around a bug in the HP C Compiler
16318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16320 # This bug is HP SR number 8606223364.
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16322 $as_echo_n "checking size of char... " >&6; }
16323 if test "${ac_cv_sizeof_char+set}" = set; then :
16324 $as_echo_n "(cached) " >&6
16326 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16329 if test "$ac_cv_type_char" = yes; then
16330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16332 { as_fn_set_status
77
16333 as_fn_error
"cannot compute sizeof (char)
16334 See \`config.log' for more details." "$LINENO" 5; }; }
16336 ac_cv_sizeof_char
=0
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16342 $as_echo "$ac_cv_sizeof_char" >&6; }
16346 cat >>confdefs.h
<<_ACEOF
16347 #define SIZEOF_CHAR $ac_cv_sizeof_char
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16353 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16354 case "$ac_cv_sizeof_char" in
16355 1) acx_cv_type_int8_t
=char
;;
16356 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16359 $as_echo "$acx_cv_type_int8_t" >&6; }
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16362 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16363 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16364 2:*) acx_cv_type_int16_t
=int
;;
16365 *:2) acx_cv_type_int16_t
=short
;;
16366 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16369 $as_echo "$acx_cv_type_int16_t" >&6; }
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16372 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16373 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16374 4:*) acx_cv_type_int32_t
=int
;;
16375 *:4) acx_cv_type_int32_t
=long
;;
16376 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16379 $as_echo "$acx_cv_type_int32_t" >&6; }
16382 # These tests are here to make the output prettier
16384 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16385 case "$ac_cv_sizeof_long" in
16386 8) acx_cv_type_int64_t
=long
;;
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16389 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16391 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16394 # Now we can use the above types
16396 if test "$ac_cv_type_uintptr_t" != yes; then
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16398 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16399 case $ac_cv_sizeof_void_p in
16400 2) acx_cv_type_intptr_t
=int16_t
;;
16401 4) acx_cv_type_intptr_t
=int32_t
;;
16402 8) acx_cv_type_intptr_t
=int64_t
;;
16403 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16406 $as_echo "$acx_cv_type_intptr_t" >&6; }
16409 # ----------------- done all checks, emit header -------------
16410 ac_config_commands
="$ac_config_commands gstdint.h"
16415 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16416 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16418 cat >>confdefs.h
<<_ACEOF
16419 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16424 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16425 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16427 cat >>confdefs.h
<<_ACEOF
16428 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16433 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16434 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16436 cat >>confdefs.h
<<_ACEOF
16437 #define HAVE_STRUCT_STAT_ST_RDEV 1
16444 # Check for library functions.
16448 for ac_func
in $ac_func_list
16450 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16451 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16452 eval as_val
=\$
$as_ac_var
16453 if test "x$as_val" = x
""yes; then :
16454 cat >>confdefs.h
<<_ACEOF
16455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16567 # Check strerror_r, cannot be above as versions with two and three arguments exist
16569 ac_save_CFLAGS
="$CFLAGS"
16570 CFLAGS
="-Wimplicit-function-declaration -Werror"
16571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16573 #define _GNU_SOURCE 1
16574 #include <string.h>
16575 #include <locale.h>
16579 char s[128]; strerror_r(5, s, 128);
16584 if ac_fn_c_try_compile
"$LINENO"; then :
16586 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16590 CFLAGS
="$ac_save_CFLAGS"
16592 ac_save_CFLAGS
="$CFLAGS"
16593 CFLAGS
="-Wimplicit-function-declaration -Werror"
16594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16595 /* end confdefs.h. */
16596 #define _GNU_SOURCE 1
16597 #include <string.h>
16598 #include <locale.h>
16602 char s[128]; strerror_r(5, s);
16607 if ac_fn_c_try_compile
"$LINENO"; then :
16609 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16613 CFLAGS
="$ac_save_CFLAGS"
16616 # Check for C99 (and other IEEE) math functions
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16618 $as_echo_n "checking for sin in -lm... " >&6; }
16619 if test "${ac_cv_lib_m_sin+set}" = set; then :
16620 $as_echo_n "(cached) " >&6
16622 ac_check_lib_save_LIBS
=$LIBS
16624 if test x
$gcc_no_link = xyes
; then
16625 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16630 /* Override any GCC internal prototype to avoid an error.
16631 Use char because int might match the return type of a GCC
16632 builtin and then its argument prototype would still apply. */
16645 if ac_fn_c_try_link
"$LINENO"; then :
16646 ac_cv_lib_m_sin
=yes
16650 rm -f core conftest.err conftest.
$ac_objext \
16651 conftest
$ac_exeext conftest.
$ac_ext
16652 LIBS
=$ac_check_lib_save_LIBS
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16655 $as_echo "$ac_cv_lib_m_sin" >&6; }
16656 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16657 cat >>confdefs.h
<<_ACEOF
16658 #define HAVE_LIBM 1
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16672 $as_echo_n "checking for acosf... " >&6; }
16673 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16674 $as_echo_n "(cached) " >&6
16676 if test x
$gcc_no_link = xyes
; then
16677 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16680 /* end confdefs.h. */
16682 #ifdef HAVE_COMPLEX_H
16683 #include <complex.h>
16689 int (*ptr)() = (int (*)())acosf;
16698 if ac_fn_c_try_link
"$LINENO"; then :
16699 gcc_cv_math_func_acosf
=yes
16701 gcc_cv_math_func_acosf
=no
16703 rm -f core conftest.err conftest.
$ac_objext \
16704 conftest
$ac_exeext conftest.
$ac_ext
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16707 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16708 if test $gcc_cv_math_func_acosf = yes; then
16710 cat >>confdefs.h
<<_ACEOF
16711 #define HAVE_ACOSF 1
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16720 $as_echo_n "checking for acos... " >&6; }
16721 if test "${gcc_cv_math_func_acos+set}" = set; then :
16722 $as_echo_n "(cached) " >&6
16724 if test x
$gcc_no_link = xyes
; then
16725 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h. */
16730 #ifdef HAVE_COMPLEX_H
16731 #include <complex.h>
16737 int (*ptr)() = (int (*)())acos;
16746 if ac_fn_c_try_link
"$LINENO"; then :
16747 gcc_cv_math_func_acos
=yes
16749 gcc_cv_math_func_acos
=no
16751 rm -f core conftest.err conftest.
$ac_objext \
16752 conftest
$ac_exeext conftest.
$ac_ext
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16755 $as_echo "$gcc_cv_math_func_acos" >&6; }
16756 if test $gcc_cv_math_func_acos = yes; then
16758 cat >>confdefs.h
<<_ACEOF
16759 #define HAVE_ACOS 1
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16768 $as_echo_n "checking for acosl... " >&6; }
16769 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16770 $as_echo_n "(cached) " >&6
16772 if test x
$gcc_no_link = xyes
; then
16773 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16778 #ifdef HAVE_COMPLEX_H
16779 #include <complex.h>
16785 int (*ptr)() = (int (*)())acosl;
16794 if ac_fn_c_try_link
"$LINENO"; then :
16795 gcc_cv_math_func_acosl
=yes
16797 gcc_cv_math_func_acosl
=no
16799 rm -f core conftest.err conftest.
$ac_objext \
16800 conftest
$ac_exeext conftest.
$ac_ext
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16803 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16804 if test $gcc_cv_math_func_acosl = yes; then
16806 cat >>confdefs.h
<<_ACEOF
16807 #define HAVE_ACOSL 1
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16816 $as_echo_n "checking for acoshf... " >&6; }
16817 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16818 $as_echo_n "(cached) " >&6
16820 if test x
$gcc_no_link = xyes
; then
16821 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16826 #ifdef HAVE_COMPLEX_H
16827 #include <complex.h>
16833 int (*ptr)() = (int (*)())acoshf;
16842 if ac_fn_c_try_link
"$LINENO"; then :
16843 gcc_cv_math_func_acoshf
=yes
16845 gcc_cv_math_func_acoshf
=no
16847 rm -f core conftest.err conftest.
$ac_objext \
16848 conftest
$ac_exeext conftest.
$ac_ext
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16851 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16852 if test $gcc_cv_math_func_acoshf = yes; then
16854 cat >>confdefs.h
<<_ACEOF
16855 #define HAVE_ACOSHF 1
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16864 $as_echo_n "checking for acosh... " >&6; }
16865 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16866 $as_echo_n "(cached) " >&6
16868 if test x
$gcc_no_link = xyes
; then
16869 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16874 #ifdef HAVE_COMPLEX_H
16875 #include <complex.h>
16881 int (*ptr)() = (int (*)())acosh;
16890 if ac_fn_c_try_link
"$LINENO"; then :
16891 gcc_cv_math_func_acosh
=yes
16893 gcc_cv_math_func_acosh
=no
16895 rm -f core conftest.err conftest.
$ac_objext \
16896 conftest
$ac_exeext conftest.
$ac_ext
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16899 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16900 if test $gcc_cv_math_func_acosh = yes; then
16902 cat >>confdefs.h
<<_ACEOF
16903 #define HAVE_ACOSH 1
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16912 $as_echo_n "checking for acoshl... " >&6; }
16913 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16914 $as_echo_n "(cached) " >&6
16916 if test x
$gcc_no_link = xyes
; then
16917 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16922 #ifdef HAVE_COMPLEX_H
16923 #include <complex.h>
16929 int (*ptr)() = (int (*)())acoshl;
16938 if ac_fn_c_try_link
"$LINENO"; then :
16939 gcc_cv_math_func_acoshl
=yes
16941 gcc_cv_math_func_acoshl
=no
16943 rm -f core conftest.err conftest.
$ac_objext \
16944 conftest
$ac_exeext conftest.
$ac_ext
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16947 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16948 if test $gcc_cv_math_func_acoshl = yes; then
16950 cat >>confdefs.h
<<_ACEOF
16951 #define HAVE_ACOSHL 1
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
16960 $as_echo_n "checking for asinf... " >&6; }
16961 if test "${gcc_cv_math_func_asinf+set}" = set; then :
16962 $as_echo_n "(cached) " >&6
16964 if test x
$gcc_no_link = xyes
; then
16965 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16968 /* end confdefs.h. */
16970 #ifdef HAVE_COMPLEX_H
16971 #include <complex.h>
16977 int (*ptr)() = (int (*)())asinf;
16986 if ac_fn_c_try_link
"$LINENO"; then :
16987 gcc_cv_math_func_asinf
=yes
16989 gcc_cv_math_func_asinf
=no
16991 rm -f core conftest.err conftest.
$ac_objext \
16992 conftest
$ac_exeext conftest.
$ac_ext
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
16995 $as_echo "$gcc_cv_math_func_asinf" >&6; }
16996 if test $gcc_cv_math_func_asinf = yes; then
16998 cat >>confdefs.h
<<_ACEOF
16999 #define HAVE_ASINF 1
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17008 $as_echo_n "checking for asin... " >&6; }
17009 if test "${gcc_cv_math_func_asin+set}" = set; then :
17010 $as_echo_n "(cached) " >&6
17012 if test x
$gcc_no_link = xyes
; then
17013 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17016 /* end confdefs.h. */
17018 #ifdef HAVE_COMPLEX_H
17019 #include <complex.h>
17025 int (*ptr)() = (int (*)())asin;
17034 if ac_fn_c_try_link
"$LINENO"; then :
17035 gcc_cv_math_func_asin
=yes
17037 gcc_cv_math_func_asin
=no
17039 rm -f core conftest.err conftest.
$ac_objext \
17040 conftest
$ac_exeext conftest.
$ac_ext
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17043 $as_echo "$gcc_cv_math_func_asin" >&6; }
17044 if test $gcc_cv_math_func_asin = yes; then
17046 cat >>confdefs.h
<<_ACEOF
17047 #define HAVE_ASIN 1
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17056 $as_echo_n "checking for asinl... " >&6; }
17057 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17058 $as_echo_n "(cached) " >&6
17060 if test x
$gcc_no_link = xyes
; then
17061 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17066 #ifdef HAVE_COMPLEX_H
17067 #include <complex.h>
17073 int (*ptr)() = (int (*)())asinl;
17082 if ac_fn_c_try_link
"$LINENO"; then :
17083 gcc_cv_math_func_asinl
=yes
17085 gcc_cv_math_func_asinl
=no
17087 rm -f core conftest.err conftest.
$ac_objext \
17088 conftest
$ac_exeext conftest.
$ac_ext
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17091 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17092 if test $gcc_cv_math_func_asinl = yes; then
17094 cat >>confdefs.h
<<_ACEOF
17095 #define HAVE_ASINL 1
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17104 $as_echo_n "checking for asinhf... " >&6; }
17105 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17106 $as_echo_n "(cached) " >&6
17108 if test x
$gcc_no_link = xyes
; then
17109 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17114 #ifdef HAVE_COMPLEX_H
17115 #include <complex.h>
17121 int (*ptr)() = (int (*)())asinhf;
17130 if ac_fn_c_try_link
"$LINENO"; then :
17131 gcc_cv_math_func_asinhf
=yes
17133 gcc_cv_math_func_asinhf
=no
17135 rm -f core conftest.err conftest.
$ac_objext \
17136 conftest
$ac_exeext conftest.
$ac_ext
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17139 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17140 if test $gcc_cv_math_func_asinhf = yes; then
17142 cat >>confdefs.h
<<_ACEOF
17143 #define HAVE_ASINHF 1
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17152 $as_echo_n "checking for asinh... " >&6; }
17153 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17154 $as_echo_n "(cached) " >&6
17156 if test x
$gcc_no_link = xyes
; then
17157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17162 #ifdef HAVE_COMPLEX_H
17163 #include <complex.h>
17169 int (*ptr)() = (int (*)())asinh;
17178 if ac_fn_c_try_link
"$LINENO"; then :
17179 gcc_cv_math_func_asinh
=yes
17181 gcc_cv_math_func_asinh
=no
17183 rm -f core conftest.err conftest.
$ac_objext \
17184 conftest
$ac_exeext conftest.
$ac_ext
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17187 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17188 if test $gcc_cv_math_func_asinh = yes; then
17190 cat >>confdefs.h
<<_ACEOF
17191 #define HAVE_ASINH 1
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17200 $as_echo_n "checking for asinhl... " >&6; }
17201 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17202 $as_echo_n "(cached) " >&6
17204 if test x
$gcc_no_link = xyes
; then
17205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17210 #ifdef HAVE_COMPLEX_H
17211 #include <complex.h>
17217 int (*ptr)() = (int (*)())asinhl;
17226 if ac_fn_c_try_link
"$LINENO"; then :
17227 gcc_cv_math_func_asinhl
=yes
17229 gcc_cv_math_func_asinhl
=no
17231 rm -f core conftest.err conftest.
$ac_objext \
17232 conftest
$ac_exeext conftest.
$ac_ext
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17235 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17236 if test $gcc_cv_math_func_asinhl = yes; then
17238 cat >>confdefs.h
<<_ACEOF
17239 #define HAVE_ASINHL 1
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17248 $as_echo_n "checking for atan2f... " >&6; }
17249 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17250 $as_echo_n "(cached) " >&6
17252 if test x
$gcc_no_link = xyes
; then
17253 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17258 #ifdef HAVE_COMPLEX_H
17259 #include <complex.h>
17265 int (*ptr)() = (int (*)())atan2f;
17274 if ac_fn_c_try_link
"$LINENO"; then :
17275 gcc_cv_math_func_atan2f
=yes
17277 gcc_cv_math_func_atan2f
=no
17279 rm -f core conftest.err conftest.
$ac_objext \
17280 conftest
$ac_exeext conftest.
$ac_ext
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17283 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17284 if test $gcc_cv_math_func_atan2f = yes; then
17286 cat >>confdefs.h
<<_ACEOF
17287 #define HAVE_ATAN2F 1
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17296 $as_echo_n "checking for atan2... " >&6; }
17297 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17298 $as_echo_n "(cached) " >&6
17300 if test x
$gcc_no_link = xyes
; then
17301 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17306 #ifdef HAVE_COMPLEX_H
17307 #include <complex.h>
17313 int (*ptr)() = (int (*)())atan2;
17322 if ac_fn_c_try_link
"$LINENO"; then :
17323 gcc_cv_math_func_atan2
=yes
17325 gcc_cv_math_func_atan2
=no
17327 rm -f core conftest.err conftest.
$ac_objext \
17328 conftest
$ac_exeext conftest.
$ac_ext
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17331 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17332 if test $gcc_cv_math_func_atan2 = yes; then
17334 cat >>confdefs.h
<<_ACEOF
17335 #define HAVE_ATAN2 1
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17344 $as_echo_n "checking for atan2l... " >&6; }
17345 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17346 $as_echo_n "(cached) " >&6
17348 if test x
$gcc_no_link = xyes
; then
17349 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17354 #ifdef HAVE_COMPLEX_H
17355 #include <complex.h>
17361 int (*ptr)() = (int (*)())atan2l;
17370 if ac_fn_c_try_link
"$LINENO"; then :
17371 gcc_cv_math_func_atan2l
=yes
17373 gcc_cv_math_func_atan2l
=no
17375 rm -f core conftest.err conftest.
$ac_objext \
17376 conftest
$ac_exeext conftest.
$ac_ext
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17379 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17380 if test $gcc_cv_math_func_atan2l = yes; then
17382 cat >>confdefs.h
<<_ACEOF
17383 #define HAVE_ATAN2L 1
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17392 $as_echo_n "checking for atanf... " >&6; }
17393 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17394 $as_echo_n "(cached) " >&6
17396 if test x
$gcc_no_link = xyes
; then
17397 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17402 #ifdef HAVE_COMPLEX_H
17403 #include <complex.h>
17409 int (*ptr)() = (int (*)())atanf;
17418 if ac_fn_c_try_link
"$LINENO"; then :
17419 gcc_cv_math_func_atanf
=yes
17421 gcc_cv_math_func_atanf
=no
17423 rm -f core conftest.err conftest.
$ac_objext \
17424 conftest
$ac_exeext conftest.
$ac_ext
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17427 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17428 if test $gcc_cv_math_func_atanf = yes; then
17430 cat >>confdefs.h
<<_ACEOF
17431 #define HAVE_ATANF 1
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17440 $as_echo_n "checking for atan... " >&6; }
17441 if test "${gcc_cv_math_func_atan+set}" = set; then :
17442 $as_echo_n "(cached) " >&6
17444 if test x
$gcc_no_link = xyes
; then
17445 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17450 #ifdef HAVE_COMPLEX_H
17451 #include <complex.h>
17457 int (*ptr)() = (int (*)())atan;
17466 if ac_fn_c_try_link
"$LINENO"; then :
17467 gcc_cv_math_func_atan
=yes
17469 gcc_cv_math_func_atan
=no
17471 rm -f core conftest.err conftest.
$ac_objext \
17472 conftest
$ac_exeext conftest.
$ac_ext
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17475 $as_echo "$gcc_cv_math_func_atan" >&6; }
17476 if test $gcc_cv_math_func_atan = yes; then
17478 cat >>confdefs.h
<<_ACEOF
17479 #define HAVE_ATAN 1
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17488 $as_echo_n "checking for atanl... " >&6; }
17489 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17490 $as_echo_n "(cached) " >&6
17492 if test x
$gcc_no_link = xyes
; then
17493 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17496 /* end confdefs.h. */
17498 #ifdef HAVE_COMPLEX_H
17499 #include <complex.h>
17505 int (*ptr)() = (int (*)())atanl;
17514 if ac_fn_c_try_link
"$LINENO"; then :
17515 gcc_cv_math_func_atanl
=yes
17517 gcc_cv_math_func_atanl
=no
17519 rm -f core conftest.err conftest.
$ac_objext \
17520 conftest
$ac_exeext conftest.
$ac_ext
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17523 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17524 if test $gcc_cv_math_func_atanl = yes; then
17526 cat >>confdefs.h
<<_ACEOF
17527 #define HAVE_ATANL 1
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17536 $as_echo_n "checking for atanhf... " >&6; }
17537 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17538 $as_echo_n "(cached) " >&6
17540 if test x
$gcc_no_link = xyes
; then
17541 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h. */
17546 #ifdef HAVE_COMPLEX_H
17547 #include <complex.h>
17553 int (*ptr)() = (int (*)())atanhf;
17562 if ac_fn_c_try_link
"$LINENO"; then :
17563 gcc_cv_math_func_atanhf
=yes
17565 gcc_cv_math_func_atanhf
=no
17567 rm -f core conftest.err conftest.
$ac_objext \
17568 conftest
$ac_exeext conftest.
$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17571 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17572 if test $gcc_cv_math_func_atanhf = yes; then
17574 cat >>confdefs.h
<<_ACEOF
17575 #define HAVE_ATANHF 1
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17584 $as_echo_n "checking for atanh... " >&6; }
17585 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17588 if test x
$gcc_no_link = xyes
; then
17589 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17594 #ifdef HAVE_COMPLEX_H
17595 #include <complex.h>
17601 int (*ptr)() = (int (*)())atanh;
17610 if ac_fn_c_try_link
"$LINENO"; then :
17611 gcc_cv_math_func_atanh
=yes
17613 gcc_cv_math_func_atanh
=no
17615 rm -f core conftest.err conftest.
$ac_objext \
17616 conftest
$ac_exeext conftest.
$ac_ext
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17619 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17620 if test $gcc_cv_math_func_atanh = yes; then
17622 cat >>confdefs.h
<<_ACEOF
17623 #define HAVE_ATANH 1
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17632 $as_echo_n "checking for atanhl... " >&6; }
17633 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17634 $as_echo_n "(cached) " >&6
17636 if test x
$gcc_no_link = xyes
; then
17637 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17642 #ifdef HAVE_COMPLEX_H
17643 #include <complex.h>
17649 int (*ptr)() = (int (*)())atanhl;
17658 if ac_fn_c_try_link
"$LINENO"; then :
17659 gcc_cv_math_func_atanhl
=yes
17661 gcc_cv_math_func_atanhl
=no
17663 rm -f core conftest.err conftest.
$ac_objext \
17664 conftest
$ac_exeext conftest.
$ac_ext
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17667 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17668 if test $gcc_cv_math_func_atanhl = yes; then
17670 cat >>confdefs.h
<<_ACEOF
17671 #define HAVE_ATANHL 1
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17680 $as_echo_n "checking for cargf... " >&6; }
17681 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17682 $as_echo_n "(cached) " >&6
17684 if test x
$gcc_no_link = xyes
; then
17685 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17688 /* end confdefs.h. */
17690 #ifdef HAVE_COMPLEX_H
17691 #include <complex.h>
17697 int (*ptr)() = (int (*)())cargf;
17706 if ac_fn_c_try_link
"$LINENO"; then :
17707 gcc_cv_math_func_cargf
=yes
17709 gcc_cv_math_func_cargf
=no
17711 rm -f core conftest.err conftest.
$ac_objext \
17712 conftest
$ac_exeext conftest.
$ac_ext
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17715 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17716 if test $gcc_cv_math_func_cargf = yes; then
17718 cat >>confdefs.h
<<_ACEOF
17719 #define HAVE_CARGF 1
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17728 $as_echo_n "checking for carg... " >&6; }
17729 if test "${gcc_cv_math_func_carg+set}" = set; then :
17730 $as_echo_n "(cached) " >&6
17732 if test x
$gcc_no_link = xyes
; then
17733 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17736 /* end confdefs.h. */
17738 #ifdef HAVE_COMPLEX_H
17739 #include <complex.h>
17745 int (*ptr)() = (int (*)())carg;
17754 if ac_fn_c_try_link
"$LINENO"; then :
17755 gcc_cv_math_func_carg
=yes
17757 gcc_cv_math_func_carg
=no
17759 rm -f core conftest.err conftest.
$ac_objext \
17760 conftest
$ac_exeext conftest.
$ac_ext
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17763 $as_echo "$gcc_cv_math_func_carg" >&6; }
17764 if test $gcc_cv_math_func_carg = yes; then
17766 cat >>confdefs.h
<<_ACEOF
17767 #define HAVE_CARG 1
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17776 $as_echo_n "checking for cargl... " >&6; }
17777 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17778 $as_echo_n "(cached) " >&6
17780 if test x
$gcc_no_link = xyes
; then
17781 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17784 /* end confdefs.h. */
17786 #ifdef HAVE_COMPLEX_H
17787 #include <complex.h>
17793 int (*ptr)() = (int (*)())cargl;
17802 if ac_fn_c_try_link
"$LINENO"; then :
17803 gcc_cv_math_func_cargl
=yes
17805 gcc_cv_math_func_cargl
=no
17807 rm -f core conftest.err conftest.
$ac_objext \
17808 conftest
$ac_exeext conftest.
$ac_ext
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17811 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17812 if test $gcc_cv_math_func_cargl = yes; then
17814 cat >>confdefs.h
<<_ACEOF
17815 #define HAVE_CARGL 1
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17824 $as_echo_n "checking for ceilf... " >&6; }
17825 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17826 $as_echo_n "(cached) " >&6
17828 if test x
$gcc_no_link = xyes
; then
17829 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17834 #ifdef HAVE_COMPLEX_H
17835 #include <complex.h>
17841 int (*ptr)() = (int (*)())ceilf;
17850 if ac_fn_c_try_link
"$LINENO"; then :
17851 gcc_cv_math_func_ceilf
=yes
17853 gcc_cv_math_func_ceilf
=no
17855 rm -f core conftest.err conftest.
$ac_objext \
17856 conftest
$ac_exeext conftest.
$ac_ext
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17859 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17860 if test $gcc_cv_math_func_ceilf = yes; then
17862 cat >>confdefs.h
<<_ACEOF
17863 #define HAVE_CEILF 1
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17872 $as_echo_n "checking for ceil... " >&6; }
17873 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17874 $as_echo_n "(cached) " >&6
17876 if test x
$gcc_no_link = xyes
; then
17877 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17882 #ifdef HAVE_COMPLEX_H
17883 #include <complex.h>
17889 int (*ptr)() = (int (*)())ceil;
17898 if ac_fn_c_try_link
"$LINENO"; then :
17899 gcc_cv_math_func_ceil
=yes
17901 gcc_cv_math_func_ceil
=no
17903 rm -f core conftest.err conftest.
$ac_objext \
17904 conftest
$ac_exeext conftest.
$ac_ext
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17907 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17908 if test $gcc_cv_math_func_ceil = yes; then
17910 cat >>confdefs.h
<<_ACEOF
17911 #define HAVE_CEIL 1
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17920 $as_echo_n "checking for ceill... " >&6; }
17921 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17922 $as_echo_n "(cached) " >&6
17924 if test x
$gcc_no_link = xyes
; then
17925 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17930 #ifdef HAVE_COMPLEX_H
17931 #include <complex.h>
17937 int (*ptr)() = (int (*)())ceill;
17946 if ac_fn_c_try_link
"$LINENO"; then :
17947 gcc_cv_math_func_ceill
=yes
17949 gcc_cv_math_func_ceill
=no
17951 rm -f core conftest.err conftest.
$ac_objext \
17952 conftest
$ac_exeext conftest.
$ac_ext
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17955 $as_echo "$gcc_cv_math_func_ceill" >&6; }
17956 if test $gcc_cv_math_func_ceill = yes; then
17958 cat >>confdefs.h
<<_ACEOF
17959 #define HAVE_CEILL 1
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
17968 $as_echo_n "checking for copysignf... " >&6; }
17969 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
17970 $as_echo_n "(cached) " >&6
17972 if test x
$gcc_no_link = xyes
; then
17973 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17978 #ifdef HAVE_COMPLEX_H
17979 #include <complex.h>
17985 int (*ptr)() = (int (*)())copysignf;
17994 if ac_fn_c_try_link
"$LINENO"; then :
17995 gcc_cv_math_func_copysignf
=yes
17997 gcc_cv_math_func_copysignf
=no
17999 rm -f core conftest.err conftest.
$ac_objext \
18000 conftest
$ac_exeext conftest.
$ac_ext
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18003 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18004 if test $gcc_cv_math_func_copysignf = yes; then
18006 cat >>confdefs.h
<<_ACEOF
18007 #define HAVE_COPYSIGNF 1
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18016 $as_echo_n "checking for copysign... " >&6; }
18017 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18018 $as_echo_n "(cached) " >&6
18020 if test x
$gcc_no_link = xyes
; then
18021 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18026 #ifdef HAVE_COMPLEX_H
18027 #include <complex.h>
18033 int (*ptr)() = (int (*)())copysign;
18042 if ac_fn_c_try_link
"$LINENO"; then :
18043 gcc_cv_math_func_copysign
=yes
18045 gcc_cv_math_func_copysign
=no
18047 rm -f core conftest.err conftest.
$ac_objext \
18048 conftest
$ac_exeext conftest.
$ac_ext
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18051 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18052 if test $gcc_cv_math_func_copysign = yes; then
18054 cat >>confdefs.h
<<_ACEOF
18055 #define HAVE_COPYSIGN 1
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18064 $as_echo_n "checking for copysignl... " >&6; }
18065 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18066 $as_echo_n "(cached) " >&6
18068 if test x
$gcc_no_link = xyes
; then
18069 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18072 /* end confdefs.h. */
18074 #ifdef HAVE_COMPLEX_H
18075 #include <complex.h>
18081 int (*ptr)() = (int (*)())copysignl;
18090 if ac_fn_c_try_link
"$LINENO"; then :
18091 gcc_cv_math_func_copysignl
=yes
18093 gcc_cv_math_func_copysignl
=no
18095 rm -f core conftest.err conftest.
$ac_objext \
18096 conftest
$ac_exeext conftest.
$ac_ext
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18099 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18100 if test $gcc_cv_math_func_copysignl = yes; then
18102 cat >>confdefs.h
<<_ACEOF
18103 #define HAVE_COPYSIGNL 1
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18112 $as_echo_n "checking for cosf... " >&6; }
18113 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18114 $as_echo_n "(cached) " >&6
18116 if test x
$gcc_no_link = xyes
; then
18117 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18120 /* end confdefs.h. */
18122 #ifdef HAVE_COMPLEX_H
18123 #include <complex.h>
18129 int (*ptr)() = (int (*)())cosf;
18138 if ac_fn_c_try_link
"$LINENO"; then :
18139 gcc_cv_math_func_cosf
=yes
18141 gcc_cv_math_func_cosf
=no
18143 rm -f core conftest.err conftest.
$ac_objext \
18144 conftest
$ac_exeext conftest.
$ac_ext
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18147 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18148 if test $gcc_cv_math_func_cosf = yes; then
18150 cat >>confdefs.h
<<_ACEOF
18151 #define HAVE_COSF 1
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18160 $as_echo_n "checking for cos... " >&6; }
18161 if test "${gcc_cv_math_func_cos+set}" = set; then :
18162 $as_echo_n "(cached) " >&6
18164 if test x
$gcc_no_link = xyes
; then
18165 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18170 #ifdef HAVE_COMPLEX_H
18171 #include <complex.h>
18177 int (*ptr)() = (int (*)())cos;
18186 if ac_fn_c_try_link
"$LINENO"; then :
18187 gcc_cv_math_func_cos
=yes
18189 gcc_cv_math_func_cos
=no
18191 rm -f core conftest.err conftest.
$ac_objext \
18192 conftest
$ac_exeext conftest.
$ac_ext
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18195 $as_echo "$gcc_cv_math_func_cos" >&6; }
18196 if test $gcc_cv_math_func_cos = yes; then
18198 cat >>confdefs.h
<<_ACEOF
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18208 $as_echo_n "checking for cosl... " >&6; }
18209 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18210 $as_echo_n "(cached) " >&6
18212 if test x
$gcc_no_link = xyes
; then
18213 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18216 /* end confdefs.h. */
18218 #ifdef HAVE_COMPLEX_H
18219 #include <complex.h>
18225 int (*ptr)() = (int (*)())cosl;
18234 if ac_fn_c_try_link
"$LINENO"; then :
18235 gcc_cv_math_func_cosl
=yes
18237 gcc_cv_math_func_cosl
=no
18239 rm -f core conftest.err conftest.
$ac_objext \
18240 conftest
$ac_exeext conftest.
$ac_ext
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18243 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18244 if test $gcc_cv_math_func_cosl = yes; then
18246 cat >>confdefs.h
<<_ACEOF
18247 #define HAVE_COSL 1
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18256 $as_echo_n "checking for ccosf... " >&6; }
18257 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18258 $as_echo_n "(cached) " >&6
18260 if test x
$gcc_no_link = xyes
; then
18261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18264 /* end confdefs.h. */
18266 #ifdef HAVE_COMPLEX_H
18267 #include <complex.h>
18273 int (*ptr)() = (int (*)())ccosf;
18282 if ac_fn_c_try_link
"$LINENO"; then :
18283 gcc_cv_math_func_ccosf
=yes
18285 gcc_cv_math_func_ccosf
=no
18287 rm -f core conftest.err conftest.
$ac_objext \
18288 conftest
$ac_exeext conftest.
$ac_ext
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18291 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18292 if test $gcc_cv_math_func_ccosf = yes; then
18294 cat >>confdefs.h
<<_ACEOF
18295 #define HAVE_CCOSF 1
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18304 $as_echo_n "checking for ccos... " >&6; }
18305 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18306 $as_echo_n "(cached) " >&6
18308 if test x
$gcc_no_link = xyes
; then
18309 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18312 /* end confdefs.h. */
18314 #ifdef HAVE_COMPLEX_H
18315 #include <complex.h>
18321 int (*ptr)() = (int (*)())ccos;
18330 if ac_fn_c_try_link
"$LINENO"; then :
18331 gcc_cv_math_func_ccos
=yes
18333 gcc_cv_math_func_ccos
=no
18335 rm -f core conftest.err conftest.
$ac_objext \
18336 conftest
$ac_exeext conftest.
$ac_ext
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18339 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18340 if test $gcc_cv_math_func_ccos = yes; then
18342 cat >>confdefs.h
<<_ACEOF
18343 #define HAVE_CCOS 1
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18352 $as_echo_n "checking for ccosl... " >&6; }
18353 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18354 $as_echo_n "(cached) " >&6
18356 if test x
$gcc_no_link = xyes
; then
18357 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18360 /* end confdefs.h. */
18362 #ifdef HAVE_COMPLEX_H
18363 #include <complex.h>
18369 int (*ptr)() = (int (*)())ccosl;
18378 if ac_fn_c_try_link
"$LINENO"; then :
18379 gcc_cv_math_func_ccosl
=yes
18381 gcc_cv_math_func_ccosl
=no
18383 rm -f core conftest.err conftest.
$ac_objext \
18384 conftest
$ac_exeext conftest.
$ac_ext
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18387 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18388 if test $gcc_cv_math_func_ccosl = yes; then
18390 cat >>confdefs.h
<<_ACEOF
18391 #define HAVE_CCOSL 1
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18400 $as_echo_n "checking for coshf... " >&6; }
18401 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18404 if test x
$gcc_no_link = xyes
; then
18405 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */
18410 #ifdef HAVE_COMPLEX_H
18411 #include <complex.h>
18417 int (*ptr)() = (int (*)())coshf;
18426 if ac_fn_c_try_link
"$LINENO"; then :
18427 gcc_cv_math_func_coshf
=yes
18429 gcc_cv_math_func_coshf
=no
18431 rm -f core conftest.err conftest.
$ac_objext \
18432 conftest
$ac_exeext conftest.
$ac_ext
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18435 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18436 if test $gcc_cv_math_func_coshf = yes; then
18438 cat >>confdefs.h
<<_ACEOF
18439 #define HAVE_COSHF 1
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18448 $as_echo_n "checking for cosh... " >&6; }
18449 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18450 $as_echo_n "(cached) " >&6
18452 if test x
$gcc_no_link = xyes
; then
18453 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18458 #ifdef HAVE_COMPLEX_H
18459 #include <complex.h>
18465 int (*ptr)() = (int (*)())cosh;
18474 if ac_fn_c_try_link
"$LINENO"; then :
18475 gcc_cv_math_func_cosh
=yes
18477 gcc_cv_math_func_cosh
=no
18479 rm -f core conftest.err conftest.
$ac_objext \
18480 conftest
$ac_exeext conftest.
$ac_ext
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18483 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18484 if test $gcc_cv_math_func_cosh = yes; then
18486 cat >>confdefs.h
<<_ACEOF
18487 #define HAVE_COSH 1
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18496 $as_echo_n "checking for coshl... " >&6; }
18497 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18498 $as_echo_n "(cached) " >&6
18500 if test x
$gcc_no_link = xyes
; then
18501 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18506 #ifdef HAVE_COMPLEX_H
18507 #include <complex.h>
18513 int (*ptr)() = (int (*)())coshl;
18522 if ac_fn_c_try_link
"$LINENO"; then :
18523 gcc_cv_math_func_coshl
=yes
18525 gcc_cv_math_func_coshl
=no
18527 rm -f core conftest.err conftest.
$ac_objext \
18528 conftest
$ac_exeext conftest.
$ac_ext
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18531 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18532 if test $gcc_cv_math_func_coshl = yes; then
18534 cat >>confdefs.h
<<_ACEOF
18535 #define HAVE_COSHL 1
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18544 $as_echo_n "checking for ccoshf... " >&6; }
18545 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18546 $as_echo_n "(cached) " >&6
18548 if test x
$gcc_no_link = xyes
; then
18549 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18552 /* end confdefs.h. */
18554 #ifdef HAVE_COMPLEX_H
18555 #include <complex.h>
18561 int (*ptr)() = (int (*)())ccoshf;
18570 if ac_fn_c_try_link
"$LINENO"; then :
18571 gcc_cv_math_func_ccoshf
=yes
18573 gcc_cv_math_func_ccoshf
=no
18575 rm -f core conftest.err conftest.
$ac_objext \
18576 conftest
$ac_exeext conftest.
$ac_ext
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18579 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18580 if test $gcc_cv_math_func_ccoshf = yes; then
18582 cat >>confdefs.h
<<_ACEOF
18583 #define HAVE_CCOSHF 1
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18592 $as_echo_n "checking for ccosh... " >&6; }
18593 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18594 $as_echo_n "(cached) " >&6
18596 if test x
$gcc_no_link = xyes
; then
18597 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h. */
18602 #ifdef HAVE_COMPLEX_H
18603 #include <complex.h>
18609 int (*ptr)() = (int (*)())ccosh;
18618 if ac_fn_c_try_link
"$LINENO"; then :
18619 gcc_cv_math_func_ccosh
=yes
18621 gcc_cv_math_func_ccosh
=no
18623 rm -f core conftest.err conftest.
$ac_objext \
18624 conftest
$ac_exeext conftest.
$ac_ext
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18627 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18628 if test $gcc_cv_math_func_ccosh = yes; then
18630 cat >>confdefs.h
<<_ACEOF
18631 #define HAVE_CCOSH 1
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18640 $as_echo_n "checking for ccoshl... " >&6; }
18641 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18642 $as_echo_n "(cached) " >&6
18644 if test x
$gcc_no_link = xyes
; then
18645 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18650 #ifdef HAVE_COMPLEX_H
18651 #include <complex.h>
18657 int (*ptr)() = (int (*)())ccoshl;
18666 if ac_fn_c_try_link
"$LINENO"; then :
18667 gcc_cv_math_func_ccoshl
=yes
18669 gcc_cv_math_func_ccoshl
=no
18671 rm -f core conftest.err conftest.
$ac_objext \
18672 conftest
$ac_exeext conftest.
$ac_ext
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18675 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18676 if test $gcc_cv_math_func_ccoshl = yes; then
18678 cat >>confdefs.h
<<_ACEOF
18679 #define HAVE_CCOSHL 1
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18688 $as_echo_n "checking for expf... " >&6; }
18689 if test "${gcc_cv_math_func_expf+set}" = set; then :
18690 $as_echo_n "(cached) " >&6
18692 if test x
$gcc_no_link = xyes
; then
18693 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18698 #ifdef HAVE_COMPLEX_H
18699 #include <complex.h>
18705 int (*ptr)() = (int (*)())expf;
18714 if ac_fn_c_try_link
"$LINENO"; then :
18715 gcc_cv_math_func_expf
=yes
18717 gcc_cv_math_func_expf
=no
18719 rm -f core conftest.err conftest.
$ac_objext \
18720 conftest
$ac_exeext conftest.
$ac_ext
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18723 $as_echo "$gcc_cv_math_func_expf" >&6; }
18724 if test $gcc_cv_math_func_expf = yes; then
18726 cat >>confdefs.h
<<_ACEOF
18727 #define HAVE_EXPF 1
18735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18736 $as_echo_n "checking for exp... " >&6; }
18737 if test "${gcc_cv_math_func_exp+set}" = set; then :
18738 $as_echo_n "(cached) " >&6
18740 if test x
$gcc_no_link = xyes
; then
18741 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h. */
18746 #ifdef HAVE_COMPLEX_H
18747 #include <complex.h>
18753 int (*ptr)() = (int (*)())exp;
18762 if ac_fn_c_try_link
"$LINENO"; then :
18763 gcc_cv_math_func_exp
=yes
18765 gcc_cv_math_func_exp
=no
18767 rm -f core conftest.err conftest.
$ac_objext \
18768 conftest
$ac_exeext conftest.
$ac_ext
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18771 $as_echo "$gcc_cv_math_func_exp" >&6; }
18772 if test $gcc_cv_math_func_exp = yes; then
18774 cat >>confdefs.h
<<_ACEOF
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18784 $as_echo_n "checking for expl... " >&6; }
18785 if test "${gcc_cv_math_func_expl+set}" = set; then :
18786 $as_echo_n "(cached) " >&6
18788 if test x
$gcc_no_link = xyes
; then
18789 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18792 /* end confdefs.h. */
18794 #ifdef HAVE_COMPLEX_H
18795 #include <complex.h>
18801 int (*ptr)() = (int (*)())expl;
18810 if ac_fn_c_try_link
"$LINENO"; then :
18811 gcc_cv_math_func_expl
=yes
18813 gcc_cv_math_func_expl
=no
18815 rm -f core conftest.err conftest.
$ac_objext \
18816 conftest
$ac_exeext conftest.
$ac_ext
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18819 $as_echo "$gcc_cv_math_func_expl" >&6; }
18820 if test $gcc_cv_math_func_expl = yes; then
18822 cat >>confdefs.h
<<_ACEOF
18823 #define HAVE_EXPL 1
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18832 $as_echo_n "checking for cexpf... " >&6; }
18833 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18834 $as_echo_n "(cached) " >&6
18836 if test x
$gcc_no_link = xyes
; then
18837 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h. */
18842 #ifdef HAVE_COMPLEX_H
18843 #include <complex.h>
18849 int (*ptr)() = (int (*)())cexpf;
18858 if ac_fn_c_try_link
"$LINENO"; then :
18859 gcc_cv_math_func_cexpf
=yes
18861 gcc_cv_math_func_cexpf
=no
18863 rm -f core conftest.err conftest.
$ac_objext \
18864 conftest
$ac_exeext conftest.
$ac_ext
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18867 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18868 if test $gcc_cv_math_func_cexpf = yes; then
18870 cat >>confdefs.h
<<_ACEOF
18871 #define HAVE_CEXPF 1
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18880 $as_echo_n "checking for cexp... " >&6; }
18881 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18882 $as_echo_n "(cached) " >&6
18884 if test x
$gcc_no_link = xyes
; then
18885 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18890 #ifdef HAVE_COMPLEX_H
18891 #include <complex.h>
18897 int (*ptr)() = (int (*)())cexp;
18906 if ac_fn_c_try_link
"$LINENO"; then :
18907 gcc_cv_math_func_cexp
=yes
18909 gcc_cv_math_func_cexp
=no
18911 rm -f core conftest.err conftest.
$ac_objext \
18912 conftest
$ac_exeext conftest.
$ac_ext
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18915 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18916 if test $gcc_cv_math_func_cexp = yes; then
18918 cat >>confdefs.h
<<_ACEOF
18919 #define HAVE_CEXP 1
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18928 $as_echo_n "checking for cexpl... " >&6; }
18929 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18930 $as_echo_n "(cached) " >&6
18932 if test x
$gcc_no_link = xyes
; then
18933 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18936 /* end confdefs.h. */
18938 #ifdef HAVE_COMPLEX_H
18939 #include <complex.h>
18945 int (*ptr)() = (int (*)())cexpl;
18954 if ac_fn_c_try_link
"$LINENO"; then :
18955 gcc_cv_math_func_cexpl
=yes
18957 gcc_cv_math_func_cexpl
=no
18959 rm -f core conftest.err conftest.
$ac_objext \
18960 conftest
$ac_exeext conftest.
$ac_ext
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
18963 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
18964 if test $gcc_cv_math_func_cexpl = yes; then
18966 cat >>confdefs.h
<<_ACEOF
18967 #define HAVE_CEXPL 1
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
18976 $as_echo_n "checking for fabsf... " >&6; }
18977 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
18978 $as_echo_n "(cached) " >&6
18980 if test x
$gcc_no_link = xyes
; then
18981 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18984 /* end confdefs.h. */
18986 #ifdef HAVE_COMPLEX_H
18987 #include <complex.h>
18993 int (*ptr)() = (int (*)())fabsf;
19002 if ac_fn_c_try_link
"$LINENO"; then :
19003 gcc_cv_math_func_fabsf
=yes
19005 gcc_cv_math_func_fabsf
=no
19007 rm -f core conftest.err conftest.
$ac_objext \
19008 conftest
$ac_exeext conftest.
$ac_ext
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19011 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19012 if test $gcc_cv_math_func_fabsf = yes; then
19014 cat >>confdefs.h
<<_ACEOF
19015 #define HAVE_FABSF 1
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19024 $as_echo_n "checking for fabs... " >&6; }
19025 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19026 $as_echo_n "(cached) " >&6
19028 if test x
$gcc_no_link = xyes
; then
19029 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19034 #ifdef HAVE_COMPLEX_H
19035 #include <complex.h>
19041 int (*ptr)() = (int (*)())fabs;
19050 if ac_fn_c_try_link
"$LINENO"; then :
19051 gcc_cv_math_func_fabs
=yes
19053 gcc_cv_math_func_fabs
=no
19055 rm -f core conftest.err conftest.
$ac_objext \
19056 conftest
$ac_exeext conftest.
$ac_ext
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19059 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19060 if test $gcc_cv_math_func_fabs = yes; then
19062 cat >>confdefs.h
<<_ACEOF
19063 #define HAVE_FABS 1
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19072 $as_echo_n "checking for fabsl... " >&6; }
19073 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19074 $as_echo_n "(cached) " >&6
19076 if test x
$gcc_no_link = xyes
; then
19077 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19080 /* end confdefs.h. */
19082 #ifdef HAVE_COMPLEX_H
19083 #include <complex.h>
19089 int (*ptr)() = (int (*)())fabsl;
19098 if ac_fn_c_try_link
"$LINENO"; then :
19099 gcc_cv_math_func_fabsl
=yes
19101 gcc_cv_math_func_fabsl
=no
19103 rm -f core conftest.err conftest.
$ac_objext \
19104 conftest
$ac_exeext conftest.
$ac_ext
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19107 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19108 if test $gcc_cv_math_func_fabsl = yes; then
19110 cat >>confdefs.h
<<_ACEOF
19111 #define HAVE_FABSL 1
19119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19120 $as_echo_n "checking for cabsf... " >&6; }
19121 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19122 $as_echo_n "(cached) " >&6
19124 if test x
$gcc_no_link = xyes
; then
19125 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19128 /* end confdefs.h. */
19130 #ifdef HAVE_COMPLEX_H
19131 #include <complex.h>
19137 int (*ptr)() = (int (*)())cabsf;
19146 if ac_fn_c_try_link
"$LINENO"; then :
19147 gcc_cv_math_func_cabsf
=yes
19149 gcc_cv_math_func_cabsf
=no
19151 rm -f core conftest.err conftest.
$ac_objext \
19152 conftest
$ac_exeext conftest.
$ac_ext
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19155 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19156 if test $gcc_cv_math_func_cabsf = yes; then
19158 cat >>confdefs.h
<<_ACEOF
19159 #define HAVE_CABSF 1
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19168 $as_echo_n "checking for cabs... " >&6; }
19169 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19170 $as_echo_n "(cached) " >&6
19172 if test x
$gcc_no_link = xyes
; then
19173 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19178 #ifdef HAVE_COMPLEX_H
19179 #include <complex.h>
19185 int (*ptr)() = (int (*)())cabs;
19194 if ac_fn_c_try_link
"$LINENO"; then :
19195 gcc_cv_math_func_cabs
=yes
19197 gcc_cv_math_func_cabs
=no
19199 rm -f core conftest.err conftest.
$ac_objext \
19200 conftest
$ac_exeext conftest.
$ac_ext
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19203 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19204 if test $gcc_cv_math_func_cabs = yes; then
19206 cat >>confdefs.h
<<_ACEOF
19207 #define HAVE_CABS 1
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19216 $as_echo_n "checking for cabsl... " >&6; }
19217 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19218 $as_echo_n "(cached) " >&6
19220 if test x
$gcc_no_link = xyes
; then
19221 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19226 #ifdef HAVE_COMPLEX_H
19227 #include <complex.h>
19233 int (*ptr)() = (int (*)())cabsl;
19242 if ac_fn_c_try_link
"$LINENO"; then :
19243 gcc_cv_math_func_cabsl
=yes
19245 gcc_cv_math_func_cabsl
=no
19247 rm -f core conftest.err conftest.
$ac_objext \
19248 conftest
$ac_exeext conftest.
$ac_ext
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19251 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19252 if test $gcc_cv_math_func_cabsl = yes; then
19254 cat >>confdefs.h
<<_ACEOF
19255 #define HAVE_CABSL 1
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19264 $as_echo_n "checking for floorf... " >&6; }
19265 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19266 $as_echo_n "(cached) " >&6
19268 if test x
$gcc_no_link = xyes
; then
19269 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19272 /* end confdefs.h. */
19274 #ifdef HAVE_COMPLEX_H
19275 #include <complex.h>
19281 int (*ptr)() = (int (*)())floorf;
19290 if ac_fn_c_try_link
"$LINENO"; then :
19291 gcc_cv_math_func_floorf
=yes
19293 gcc_cv_math_func_floorf
=no
19295 rm -f core conftest.err conftest.
$ac_objext \
19296 conftest
$ac_exeext conftest.
$ac_ext
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19299 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19300 if test $gcc_cv_math_func_floorf = yes; then
19302 cat >>confdefs.h
<<_ACEOF
19303 #define HAVE_FLOORF 1
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19312 $as_echo_n "checking for floor... " >&6; }
19313 if test "${gcc_cv_math_func_floor+set}" = set; then :
19314 $as_echo_n "(cached) " >&6
19316 if test x
$gcc_no_link = xyes
; then
19317 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19322 #ifdef HAVE_COMPLEX_H
19323 #include <complex.h>
19329 int (*ptr)() = (int (*)())floor;
19338 if ac_fn_c_try_link
"$LINENO"; then :
19339 gcc_cv_math_func_floor
=yes
19341 gcc_cv_math_func_floor
=no
19343 rm -f core conftest.err conftest.
$ac_objext \
19344 conftest
$ac_exeext conftest.
$ac_ext
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19347 $as_echo "$gcc_cv_math_func_floor" >&6; }
19348 if test $gcc_cv_math_func_floor = yes; then
19350 cat >>confdefs.h
<<_ACEOF
19351 #define HAVE_FLOOR 1
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19360 $as_echo_n "checking for floorl... " >&6; }
19361 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19362 $as_echo_n "(cached) " >&6
19364 if test x
$gcc_no_link = xyes
; then
19365 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19368 /* end confdefs.h. */
19370 #ifdef HAVE_COMPLEX_H
19371 #include <complex.h>
19377 int (*ptr)() = (int (*)())floorl;
19386 if ac_fn_c_try_link
"$LINENO"; then :
19387 gcc_cv_math_func_floorl
=yes
19389 gcc_cv_math_func_floorl
=no
19391 rm -f core conftest.err conftest.
$ac_objext \
19392 conftest
$ac_exeext conftest.
$ac_ext
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19395 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19396 if test $gcc_cv_math_func_floorl = yes; then
19398 cat >>confdefs.h
<<_ACEOF
19399 #define HAVE_FLOORL 1
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19408 $as_echo_n "checking for fmodf... " >&6; }
19409 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19410 $as_echo_n "(cached) " >&6
19412 if test x
$gcc_no_link = xyes
; then
19413 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19416 /* end confdefs.h. */
19418 #ifdef HAVE_COMPLEX_H
19419 #include <complex.h>
19425 int (*ptr)() = (int (*)())fmodf;
19434 if ac_fn_c_try_link
"$LINENO"; then :
19435 gcc_cv_math_func_fmodf
=yes
19437 gcc_cv_math_func_fmodf
=no
19439 rm -f core conftest.err conftest.
$ac_objext \
19440 conftest
$ac_exeext conftest.
$ac_ext
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19443 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19444 if test $gcc_cv_math_func_fmodf = yes; then
19446 cat >>confdefs.h
<<_ACEOF
19447 #define HAVE_FMODF 1
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19456 $as_echo_n "checking for fmod... " >&6; }
19457 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19458 $as_echo_n "(cached) " >&6
19460 if test x
$gcc_no_link = xyes
; then
19461 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19466 #ifdef HAVE_COMPLEX_H
19467 #include <complex.h>
19473 int (*ptr)() = (int (*)())fmod;
19482 if ac_fn_c_try_link
"$LINENO"; then :
19483 gcc_cv_math_func_fmod
=yes
19485 gcc_cv_math_func_fmod
=no
19487 rm -f core conftest.err conftest.
$ac_objext \
19488 conftest
$ac_exeext conftest.
$ac_ext
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19491 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19492 if test $gcc_cv_math_func_fmod = yes; then
19494 cat >>confdefs.h
<<_ACEOF
19495 #define HAVE_FMOD 1
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19504 $as_echo_n "checking for fmodl... " >&6; }
19505 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19506 $as_echo_n "(cached) " >&6
19508 if test x
$gcc_no_link = xyes
; then
19509 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19514 #ifdef HAVE_COMPLEX_H
19515 #include <complex.h>
19521 int (*ptr)() = (int (*)())fmodl;
19530 if ac_fn_c_try_link
"$LINENO"; then :
19531 gcc_cv_math_func_fmodl
=yes
19533 gcc_cv_math_func_fmodl
=no
19535 rm -f core conftest.err conftest.
$ac_objext \
19536 conftest
$ac_exeext conftest.
$ac_ext
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19539 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19540 if test $gcc_cv_math_func_fmodl = yes; then
19542 cat >>confdefs.h
<<_ACEOF
19543 #define HAVE_FMODL 1
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19552 $as_echo_n "checking for frexpf... " >&6; }
19553 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19554 $as_echo_n "(cached) " >&6
19556 if test x
$gcc_no_link = xyes
; then
19557 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19562 #ifdef HAVE_COMPLEX_H
19563 #include <complex.h>
19569 int (*ptr)() = (int (*)())frexpf;
19578 if ac_fn_c_try_link
"$LINENO"; then :
19579 gcc_cv_math_func_frexpf
=yes
19581 gcc_cv_math_func_frexpf
=no
19583 rm -f core conftest.err conftest.
$ac_objext \
19584 conftest
$ac_exeext conftest.
$ac_ext
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19587 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19588 if test $gcc_cv_math_func_frexpf = yes; then
19590 cat >>confdefs.h
<<_ACEOF
19591 #define HAVE_FREXPF 1
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19600 $as_echo_n "checking for frexp... " >&6; }
19601 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19602 $as_echo_n "(cached) " >&6
19604 if test x
$gcc_no_link = xyes
; then
19605 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19608 /* end confdefs.h. */
19610 #ifdef HAVE_COMPLEX_H
19611 #include <complex.h>
19617 int (*ptr)() = (int (*)())frexp;
19626 if ac_fn_c_try_link
"$LINENO"; then :
19627 gcc_cv_math_func_frexp
=yes
19629 gcc_cv_math_func_frexp
=no
19631 rm -f core conftest.err conftest.
$ac_objext \
19632 conftest
$ac_exeext conftest.
$ac_ext
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19635 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19636 if test $gcc_cv_math_func_frexp = yes; then
19638 cat >>confdefs.h
<<_ACEOF
19639 #define HAVE_FREXP 1
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19648 $as_echo_n "checking for frexpl... " >&6; }
19649 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19650 $as_echo_n "(cached) " >&6
19652 if test x
$gcc_no_link = xyes
; then
19653 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19656 /* end confdefs.h. */
19658 #ifdef HAVE_COMPLEX_H
19659 #include <complex.h>
19665 int (*ptr)() = (int (*)())frexpl;
19674 if ac_fn_c_try_link
"$LINENO"; then :
19675 gcc_cv_math_func_frexpl
=yes
19677 gcc_cv_math_func_frexpl
=no
19679 rm -f core conftest.err conftest.
$ac_objext \
19680 conftest
$ac_exeext conftest.
$ac_ext
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19683 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19684 if test $gcc_cv_math_func_frexpl = yes; then
19686 cat >>confdefs.h
<<_ACEOF
19687 #define HAVE_FREXPL 1
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19696 $as_echo_n "checking for hypotf... " >&6; }
19697 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19698 $as_echo_n "(cached) " >&6
19700 if test x
$gcc_no_link = xyes
; then
19701 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h. */
19706 #ifdef HAVE_COMPLEX_H
19707 #include <complex.h>
19713 int (*ptr)() = (int (*)())hypotf;
19722 if ac_fn_c_try_link
"$LINENO"; then :
19723 gcc_cv_math_func_hypotf
=yes
19725 gcc_cv_math_func_hypotf
=no
19727 rm -f core conftest.err conftest.
$ac_objext \
19728 conftest
$ac_exeext conftest.
$ac_ext
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19731 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19732 if test $gcc_cv_math_func_hypotf = yes; then
19734 cat >>confdefs.h
<<_ACEOF
19735 #define HAVE_HYPOTF 1
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19744 $as_echo_n "checking for hypot... " >&6; }
19745 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19746 $as_echo_n "(cached) " >&6
19748 if test x
$gcc_no_link = xyes
; then
19749 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19752 /* end confdefs.h. */
19754 #ifdef HAVE_COMPLEX_H
19755 #include <complex.h>
19761 int (*ptr)() = (int (*)())hypot;
19770 if ac_fn_c_try_link
"$LINENO"; then :
19771 gcc_cv_math_func_hypot
=yes
19773 gcc_cv_math_func_hypot
=no
19775 rm -f core conftest.err conftest.
$ac_objext \
19776 conftest
$ac_exeext conftest.
$ac_ext
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19779 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19780 if test $gcc_cv_math_func_hypot = yes; then
19782 cat >>confdefs.h
<<_ACEOF
19783 #define HAVE_HYPOT 1
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19792 $as_echo_n "checking for hypotl... " >&6; }
19793 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19794 $as_echo_n "(cached) " >&6
19796 if test x
$gcc_no_link = xyes
; then
19797 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19802 #ifdef HAVE_COMPLEX_H
19803 #include <complex.h>
19809 int (*ptr)() = (int (*)())hypotl;
19818 if ac_fn_c_try_link
"$LINENO"; then :
19819 gcc_cv_math_func_hypotl
=yes
19821 gcc_cv_math_func_hypotl
=no
19823 rm -f core conftest.err conftest.
$ac_objext \
19824 conftest
$ac_exeext conftest.
$ac_ext
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19827 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19828 if test $gcc_cv_math_func_hypotl = yes; then
19830 cat >>confdefs.h
<<_ACEOF
19831 #define HAVE_HYPOTL 1
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19840 $as_echo_n "checking for ldexpf... " >&6; }
19841 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19842 $as_echo_n "(cached) " >&6
19844 if test x
$gcc_no_link = xyes
; then
19845 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19850 #ifdef HAVE_COMPLEX_H
19851 #include <complex.h>
19857 int (*ptr)() = (int (*)())ldexpf;
19866 if ac_fn_c_try_link
"$LINENO"; then :
19867 gcc_cv_math_func_ldexpf
=yes
19869 gcc_cv_math_func_ldexpf
=no
19871 rm -f core conftest.err conftest.
$ac_objext \
19872 conftest
$ac_exeext conftest.
$ac_ext
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19875 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19876 if test $gcc_cv_math_func_ldexpf = yes; then
19878 cat >>confdefs.h
<<_ACEOF
19879 #define HAVE_LDEXPF 1
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19888 $as_echo_n "checking for ldexp... " >&6; }
19889 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19890 $as_echo_n "(cached) " >&6
19892 if test x
$gcc_no_link = xyes
; then
19893 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19896 /* end confdefs.h. */
19898 #ifdef HAVE_COMPLEX_H
19899 #include <complex.h>
19905 int (*ptr)() = (int (*)())ldexp;
19914 if ac_fn_c_try_link
"$LINENO"; then :
19915 gcc_cv_math_func_ldexp
=yes
19917 gcc_cv_math_func_ldexp
=no
19919 rm -f core conftest.err conftest.
$ac_objext \
19920 conftest
$ac_exeext conftest.
$ac_ext
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19923 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19924 if test $gcc_cv_math_func_ldexp = yes; then
19926 cat >>confdefs.h
<<_ACEOF
19927 #define HAVE_LDEXP 1
19935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19936 $as_echo_n "checking for ldexpl... " >&6; }
19937 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19938 $as_echo_n "(cached) " >&6
19940 if test x
$gcc_no_link = xyes
; then
19941 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19944 /* end confdefs.h. */
19946 #ifdef HAVE_COMPLEX_H
19947 #include <complex.h>
19953 int (*ptr)() = (int (*)())ldexpl;
19962 if ac_fn_c_try_link
"$LINENO"; then :
19963 gcc_cv_math_func_ldexpl
=yes
19965 gcc_cv_math_func_ldexpl
=no
19967 rm -f core conftest.err conftest.
$ac_objext \
19968 conftest
$ac_exeext conftest.
$ac_ext
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
19971 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
19972 if test $gcc_cv_math_func_ldexpl = yes; then
19974 cat >>confdefs.h
<<_ACEOF
19975 #define HAVE_LDEXPL 1
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
19984 $as_echo_n "checking for logf... " >&6; }
19985 if test "${gcc_cv_math_func_logf+set}" = set; then :
19986 $as_echo_n "(cached) " >&6
19988 if test x
$gcc_no_link = xyes
; then
19989 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19992 /* end confdefs.h. */
19994 #ifdef HAVE_COMPLEX_H
19995 #include <complex.h>
20001 int (*ptr)() = (int (*)())logf;
20010 if ac_fn_c_try_link
"$LINENO"; then :
20011 gcc_cv_math_func_logf
=yes
20013 gcc_cv_math_func_logf
=no
20015 rm -f core conftest.err conftest.
$ac_objext \
20016 conftest
$ac_exeext conftest.
$ac_ext
20018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20019 $as_echo "$gcc_cv_math_func_logf" >&6; }
20020 if test $gcc_cv_math_func_logf = yes; then
20022 cat >>confdefs.h
<<_ACEOF
20023 #define HAVE_LOGF 1
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20032 $as_echo_n "checking for log... " >&6; }
20033 if test "${gcc_cv_math_func_log+set}" = set; then :
20034 $as_echo_n "(cached) " >&6
20036 if test x
$gcc_no_link = xyes
; then
20037 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20040 /* end confdefs.h. */
20042 #ifdef HAVE_COMPLEX_H
20043 #include <complex.h>
20049 int (*ptr)() = (int (*)())log;
20058 if ac_fn_c_try_link
"$LINENO"; then :
20059 gcc_cv_math_func_log
=yes
20061 gcc_cv_math_func_log
=no
20063 rm -f core conftest.err conftest.
$ac_objext \
20064 conftest
$ac_exeext conftest.
$ac_ext
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20067 $as_echo "$gcc_cv_math_func_log" >&6; }
20068 if test $gcc_cv_math_func_log = yes; then
20070 cat >>confdefs.h
<<_ACEOF
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20080 $as_echo_n "checking for logl... " >&6; }
20081 if test "${gcc_cv_math_func_logl+set}" = set; then :
20082 $as_echo_n "(cached) " >&6
20084 if test x
$gcc_no_link = xyes
; then
20085 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20088 /* end confdefs.h. */
20090 #ifdef HAVE_COMPLEX_H
20091 #include <complex.h>
20097 int (*ptr)() = (int (*)())logl;
20106 if ac_fn_c_try_link
"$LINENO"; then :
20107 gcc_cv_math_func_logl
=yes
20109 gcc_cv_math_func_logl
=no
20111 rm -f core conftest.err conftest.
$ac_objext \
20112 conftest
$ac_exeext conftest.
$ac_ext
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20115 $as_echo "$gcc_cv_math_func_logl" >&6; }
20116 if test $gcc_cv_math_func_logl = yes; then
20118 cat >>confdefs.h
<<_ACEOF
20119 #define HAVE_LOGL 1
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20128 $as_echo_n "checking for clogf... " >&6; }
20129 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20130 $as_echo_n "(cached) " >&6
20132 if test x
$gcc_no_link = xyes
; then
20133 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20136 /* end confdefs.h. */
20138 #ifdef HAVE_COMPLEX_H
20139 #include <complex.h>
20145 int (*ptr)() = (int (*)())clogf;
20154 if ac_fn_c_try_link
"$LINENO"; then :
20155 gcc_cv_math_func_clogf
=yes
20157 gcc_cv_math_func_clogf
=no
20159 rm -f core conftest.err conftest.
$ac_objext \
20160 conftest
$ac_exeext conftest.
$ac_ext
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20163 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20164 if test $gcc_cv_math_func_clogf = yes; then
20166 cat >>confdefs.h
<<_ACEOF
20167 #define HAVE_CLOGF 1
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20176 $as_echo_n "checking for clog... " >&6; }
20177 if test "${gcc_cv_math_func_clog+set}" = set; then :
20178 $as_echo_n "(cached) " >&6
20180 if test x
$gcc_no_link = xyes
; then
20181 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20184 /* end confdefs.h. */
20186 #ifdef HAVE_COMPLEX_H
20187 #include <complex.h>
20193 int (*ptr)() = (int (*)())clog;
20202 if ac_fn_c_try_link
"$LINENO"; then :
20203 gcc_cv_math_func_clog
=yes
20205 gcc_cv_math_func_clog
=no
20207 rm -f core conftest.err conftest.
$ac_objext \
20208 conftest
$ac_exeext conftest.
$ac_ext
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20211 $as_echo "$gcc_cv_math_func_clog" >&6; }
20212 if test $gcc_cv_math_func_clog = yes; then
20214 cat >>confdefs.h
<<_ACEOF
20215 #define HAVE_CLOG 1
20223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20224 $as_echo_n "checking for clogl... " >&6; }
20225 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20226 $as_echo_n "(cached) " >&6
20228 if test x
$gcc_no_link = xyes
; then
20229 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20232 /* end confdefs.h. */
20234 #ifdef HAVE_COMPLEX_H
20235 #include <complex.h>
20241 int (*ptr)() = (int (*)())clogl;
20250 if ac_fn_c_try_link
"$LINENO"; then :
20251 gcc_cv_math_func_clogl
=yes
20253 gcc_cv_math_func_clogl
=no
20255 rm -f core conftest.err conftest.
$ac_objext \
20256 conftest
$ac_exeext conftest.
$ac_ext
20258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20259 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20260 if test $gcc_cv_math_func_clogl = yes; then
20262 cat >>confdefs.h
<<_ACEOF
20263 #define HAVE_CLOGL 1
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20272 $as_echo_n "checking for log10f... " >&6; }
20273 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20274 $as_echo_n "(cached) " >&6
20276 if test x
$gcc_no_link = xyes
; then
20277 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20280 /* end confdefs.h. */
20282 #ifdef HAVE_COMPLEX_H
20283 #include <complex.h>
20289 int (*ptr)() = (int (*)())log10f;
20298 if ac_fn_c_try_link
"$LINENO"; then :
20299 gcc_cv_math_func_log10f
=yes
20301 gcc_cv_math_func_log10f
=no
20303 rm -f core conftest.err conftest.
$ac_objext \
20304 conftest
$ac_exeext conftest.
$ac_ext
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20307 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20308 if test $gcc_cv_math_func_log10f = yes; then
20310 cat >>confdefs.h
<<_ACEOF
20311 #define HAVE_LOG10F 1
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20320 $as_echo_n "checking for log10... " >&6; }
20321 if test "${gcc_cv_math_func_log10+set}" = set; then :
20322 $as_echo_n "(cached) " >&6
20324 if test x
$gcc_no_link = xyes
; then
20325 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20328 /* end confdefs.h. */
20330 #ifdef HAVE_COMPLEX_H
20331 #include <complex.h>
20337 int (*ptr)() = (int (*)())log10;
20346 if ac_fn_c_try_link
"$LINENO"; then :
20347 gcc_cv_math_func_log10
=yes
20349 gcc_cv_math_func_log10
=no
20351 rm -f core conftest.err conftest.
$ac_objext \
20352 conftest
$ac_exeext conftest.
$ac_ext
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20355 $as_echo "$gcc_cv_math_func_log10" >&6; }
20356 if test $gcc_cv_math_func_log10 = yes; then
20358 cat >>confdefs.h
<<_ACEOF
20359 #define HAVE_LOG10 1
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20368 $as_echo_n "checking for log10l... " >&6; }
20369 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20370 $as_echo_n "(cached) " >&6
20372 if test x
$gcc_no_link = xyes
; then
20373 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20376 /* end confdefs.h. */
20378 #ifdef HAVE_COMPLEX_H
20379 #include <complex.h>
20385 int (*ptr)() = (int (*)())log10l;
20394 if ac_fn_c_try_link
"$LINENO"; then :
20395 gcc_cv_math_func_log10l
=yes
20397 gcc_cv_math_func_log10l
=no
20399 rm -f core conftest.err conftest.
$ac_objext \
20400 conftest
$ac_exeext conftest.
$ac_ext
20402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20403 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20404 if test $gcc_cv_math_func_log10l = yes; then
20406 cat >>confdefs.h
<<_ACEOF
20407 #define HAVE_LOG10L 1
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20416 $as_echo_n "checking for clog10f... " >&6; }
20417 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20418 $as_echo_n "(cached) " >&6
20420 if test x
$gcc_no_link = xyes
; then
20421 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20424 /* end confdefs.h. */
20426 #ifdef HAVE_COMPLEX_H
20427 #include <complex.h>
20433 int (*ptr)() = (int (*)())clog10f;
20442 if ac_fn_c_try_link
"$LINENO"; then :
20443 gcc_cv_math_func_clog10f
=yes
20445 gcc_cv_math_func_clog10f
=no
20447 rm -f core conftest.err conftest.
$ac_objext \
20448 conftest
$ac_exeext conftest.
$ac_ext
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20451 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20452 if test $gcc_cv_math_func_clog10f = yes; then
20454 cat >>confdefs.h
<<_ACEOF
20455 #define HAVE_CLOG10F 1
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20464 $as_echo_n "checking for clog10... " >&6; }
20465 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20466 $as_echo_n "(cached) " >&6
20468 if test x
$gcc_no_link = xyes
; then
20469 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20472 /* end confdefs.h. */
20474 #ifdef HAVE_COMPLEX_H
20475 #include <complex.h>
20481 int (*ptr)() = (int (*)())clog10;
20490 if ac_fn_c_try_link
"$LINENO"; then :
20491 gcc_cv_math_func_clog10
=yes
20493 gcc_cv_math_func_clog10
=no
20495 rm -f core conftest.err conftest.
$ac_objext \
20496 conftest
$ac_exeext conftest.
$ac_ext
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20499 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20500 if test $gcc_cv_math_func_clog10 = yes; then
20502 cat >>confdefs.h
<<_ACEOF
20503 #define HAVE_CLOG10 1
20511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20512 $as_echo_n "checking for clog10l... " >&6; }
20513 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20514 $as_echo_n "(cached) " >&6
20516 if test x
$gcc_no_link = xyes
; then
20517 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h. */
20522 #ifdef HAVE_COMPLEX_H
20523 #include <complex.h>
20529 int (*ptr)() = (int (*)())clog10l;
20538 if ac_fn_c_try_link
"$LINENO"; then :
20539 gcc_cv_math_func_clog10l
=yes
20541 gcc_cv_math_func_clog10l
=no
20543 rm -f core conftest.err conftest.
$ac_objext \
20544 conftest
$ac_exeext conftest.
$ac_ext
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20547 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20548 if test $gcc_cv_math_func_clog10l = yes; then
20550 cat >>confdefs.h
<<_ACEOF
20551 #define HAVE_CLOG10L 1
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20560 $as_echo_n "checking for nextafterf... " >&6; }
20561 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20562 $as_echo_n "(cached) " >&6
20564 if test x
$gcc_no_link = xyes
; then
20565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20568 /* end confdefs.h. */
20570 #ifdef HAVE_COMPLEX_H
20571 #include <complex.h>
20577 int (*ptr)() = (int (*)())nextafterf;
20586 if ac_fn_c_try_link
"$LINENO"; then :
20587 gcc_cv_math_func_nextafterf
=yes
20589 gcc_cv_math_func_nextafterf
=no
20591 rm -f core conftest.err conftest.
$ac_objext \
20592 conftest
$ac_exeext conftest.
$ac_ext
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20595 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20596 if test $gcc_cv_math_func_nextafterf = yes; then
20598 cat >>confdefs.h
<<_ACEOF
20599 #define HAVE_NEXTAFTERF 1
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20608 $as_echo_n "checking for nextafter... " >&6; }
20609 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20610 $as_echo_n "(cached) " >&6
20612 if test x
$gcc_no_link = xyes
; then
20613 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20616 /* end confdefs.h. */
20618 #ifdef HAVE_COMPLEX_H
20619 #include <complex.h>
20625 int (*ptr)() = (int (*)())nextafter;
20634 if ac_fn_c_try_link
"$LINENO"; then :
20635 gcc_cv_math_func_nextafter
=yes
20637 gcc_cv_math_func_nextafter
=no
20639 rm -f core conftest.err conftest.
$ac_objext \
20640 conftest
$ac_exeext conftest.
$ac_ext
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20643 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20644 if test $gcc_cv_math_func_nextafter = yes; then
20646 cat >>confdefs.h
<<_ACEOF
20647 #define HAVE_NEXTAFTER 1
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20656 $as_echo_n "checking for nextafterl... " >&6; }
20657 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20658 $as_echo_n "(cached) " >&6
20660 if test x
$gcc_no_link = xyes
; then
20661 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20664 /* end confdefs.h. */
20666 #ifdef HAVE_COMPLEX_H
20667 #include <complex.h>
20673 int (*ptr)() = (int (*)())nextafterl;
20682 if ac_fn_c_try_link
"$LINENO"; then :
20683 gcc_cv_math_func_nextafterl
=yes
20685 gcc_cv_math_func_nextafterl
=no
20687 rm -f core conftest.err conftest.
$ac_objext \
20688 conftest
$ac_exeext conftest.
$ac_ext
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20691 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20692 if test $gcc_cv_math_func_nextafterl = yes; then
20694 cat >>confdefs.h
<<_ACEOF
20695 #define HAVE_NEXTAFTERL 1
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20704 $as_echo_n "checking for powf... " >&6; }
20705 if test "${gcc_cv_math_func_powf+set}" = set; then :
20706 $as_echo_n "(cached) " >&6
20708 if test x
$gcc_no_link = xyes
; then
20709 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h. */
20714 #ifdef HAVE_COMPLEX_H
20715 #include <complex.h>
20721 int (*ptr)() = (int (*)())powf;
20730 if ac_fn_c_try_link
"$LINENO"; then :
20731 gcc_cv_math_func_powf
=yes
20733 gcc_cv_math_func_powf
=no
20735 rm -f core conftest.err conftest.
$ac_objext \
20736 conftest
$ac_exeext conftest.
$ac_ext
20738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20739 $as_echo "$gcc_cv_math_func_powf" >&6; }
20740 if test $gcc_cv_math_func_powf = yes; then
20742 cat >>confdefs.h
<<_ACEOF
20743 #define HAVE_POWF 1
20751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20752 $as_echo_n "checking for pow... " >&6; }
20753 if test "${gcc_cv_math_func_pow+set}" = set; then :
20754 $as_echo_n "(cached) " >&6
20756 if test x
$gcc_no_link = xyes
; then
20757 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20760 /* end confdefs.h. */
20762 #ifdef HAVE_COMPLEX_H
20763 #include <complex.h>
20769 int (*ptr)() = (int (*)())pow;
20778 if ac_fn_c_try_link
"$LINENO"; then :
20779 gcc_cv_math_func_pow
=yes
20781 gcc_cv_math_func_pow
=no
20783 rm -f core conftest.err conftest.
$ac_objext \
20784 conftest
$ac_exeext conftest.
$ac_ext
20786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20787 $as_echo "$gcc_cv_math_func_pow" >&6; }
20788 if test $gcc_cv_math_func_pow = yes; then
20790 cat >>confdefs.h
<<_ACEOF
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20800 $as_echo_n "checking for powl... " >&6; }
20801 if test "${gcc_cv_math_func_powl+set}" = set; then :
20802 $as_echo_n "(cached) " >&6
20804 if test x
$gcc_no_link = xyes
; then
20805 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20808 /* end confdefs.h. */
20810 #ifdef HAVE_COMPLEX_H
20811 #include <complex.h>
20817 int (*ptr)() = (int (*)())powl;
20826 if ac_fn_c_try_link
"$LINENO"; then :
20827 gcc_cv_math_func_powl
=yes
20829 gcc_cv_math_func_powl
=no
20831 rm -f core conftest.err conftest.
$ac_objext \
20832 conftest
$ac_exeext conftest.
$ac_ext
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20835 $as_echo "$gcc_cv_math_func_powl" >&6; }
20836 if test $gcc_cv_math_func_powl = yes; then
20838 cat >>confdefs.h
<<_ACEOF
20839 #define HAVE_POWL 1
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20848 $as_echo_n "checking for cpowf... " >&6; }
20849 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20850 $as_echo_n "(cached) " >&6
20852 if test x
$gcc_no_link = xyes
; then
20853 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20858 #ifdef HAVE_COMPLEX_H
20859 #include <complex.h>
20865 int (*ptr)() = (int (*)())cpowf;
20874 if ac_fn_c_try_link
"$LINENO"; then :
20875 gcc_cv_math_func_cpowf
=yes
20877 gcc_cv_math_func_cpowf
=no
20879 rm -f core conftest.err conftest.
$ac_objext \
20880 conftest
$ac_exeext conftest.
$ac_ext
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20883 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20884 if test $gcc_cv_math_func_cpowf = yes; then
20886 cat >>confdefs.h
<<_ACEOF
20887 #define HAVE_CPOWF 1
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20896 $as_echo_n "checking for cpow... " >&6; }
20897 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20898 $as_echo_n "(cached) " >&6
20900 if test x
$gcc_no_link = xyes
; then
20901 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20904 /* end confdefs.h. */
20906 #ifdef HAVE_COMPLEX_H
20907 #include <complex.h>
20913 int (*ptr)() = (int (*)())cpow;
20922 if ac_fn_c_try_link
"$LINENO"; then :
20923 gcc_cv_math_func_cpow
=yes
20925 gcc_cv_math_func_cpow
=no
20927 rm -f core conftest.err conftest.
$ac_objext \
20928 conftest
$ac_exeext conftest.
$ac_ext
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20931 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20932 if test $gcc_cv_math_func_cpow = yes; then
20934 cat >>confdefs.h
<<_ACEOF
20935 #define HAVE_CPOW 1
20943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20944 $as_echo_n "checking for cpowl... " >&6; }
20945 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20946 $as_echo_n "(cached) " >&6
20948 if test x
$gcc_no_link = xyes
; then
20949 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20954 #ifdef HAVE_COMPLEX_H
20955 #include <complex.h>
20961 int (*ptr)() = (int (*)())cpowl;
20970 if ac_fn_c_try_link
"$LINENO"; then :
20971 gcc_cv_math_func_cpowl
=yes
20973 gcc_cv_math_func_cpowl
=no
20975 rm -f core conftest.err conftest.
$ac_objext \
20976 conftest
$ac_exeext conftest.
$ac_ext
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
20979 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
20980 if test $gcc_cv_math_func_cpowl = yes; then
20982 cat >>confdefs.h
<<_ACEOF
20983 #define HAVE_CPOWL 1
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
20992 $as_echo_n "checking for roundf... " >&6; }
20993 if test "${gcc_cv_math_func_roundf+set}" = set; then :
20994 $as_echo_n "(cached) " >&6
20996 if test x
$gcc_no_link = xyes
; then
20997 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21000 /* end confdefs.h. */
21002 #ifdef HAVE_COMPLEX_H
21003 #include <complex.h>
21009 int (*ptr)() = (int (*)())roundf;
21018 if ac_fn_c_try_link
"$LINENO"; then :
21019 gcc_cv_math_func_roundf
=yes
21021 gcc_cv_math_func_roundf
=no
21023 rm -f core conftest.err conftest.
$ac_objext \
21024 conftest
$ac_exeext conftest.
$ac_ext
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21027 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21028 if test $gcc_cv_math_func_roundf = yes; then
21030 cat >>confdefs.h
<<_ACEOF
21031 #define HAVE_ROUNDF 1
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21040 $as_echo_n "checking for round... " >&6; }
21041 if test "${gcc_cv_math_func_round+set}" = set; then :
21042 $as_echo_n "(cached) " >&6
21044 if test x
$gcc_no_link = xyes
; then
21045 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21048 /* end confdefs.h. */
21050 #ifdef HAVE_COMPLEX_H
21051 #include <complex.h>
21057 int (*ptr)() = (int (*)())round;
21066 if ac_fn_c_try_link
"$LINENO"; then :
21067 gcc_cv_math_func_round
=yes
21069 gcc_cv_math_func_round
=no
21071 rm -f core conftest.err conftest.
$ac_objext \
21072 conftest
$ac_exeext conftest.
$ac_ext
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21075 $as_echo "$gcc_cv_math_func_round" >&6; }
21076 if test $gcc_cv_math_func_round = yes; then
21078 cat >>confdefs.h
<<_ACEOF
21079 #define HAVE_ROUND 1
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21088 $as_echo_n "checking for roundl... " >&6; }
21089 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21090 $as_echo_n "(cached) " >&6
21092 if test x
$gcc_no_link = xyes
; then
21093 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21096 /* end confdefs.h. */
21098 #ifdef HAVE_COMPLEX_H
21099 #include <complex.h>
21105 int (*ptr)() = (int (*)())roundl;
21114 if ac_fn_c_try_link
"$LINENO"; then :
21115 gcc_cv_math_func_roundl
=yes
21117 gcc_cv_math_func_roundl
=no
21119 rm -f core conftest.err conftest.
$ac_objext \
21120 conftest
$ac_exeext conftest.
$ac_ext
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21123 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21124 if test $gcc_cv_math_func_roundl = yes; then
21126 cat >>confdefs.h
<<_ACEOF
21127 #define HAVE_ROUNDL 1
21135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21136 $as_echo_n "checking for lroundf... " >&6; }
21137 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21138 $as_echo_n "(cached) " >&6
21140 if test x
$gcc_no_link = xyes
; then
21141 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21144 /* end confdefs.h. */
21146 #ifdef HAVE_COMPLEX_H
21147 #include <complex.h>
21153 int (*ptr)() = (int (*)())lroundf;
21162 if ac_fn_c_try_link
"$LINENO"; then :
21163 gcc_cv_math_func_lroundf
=yes
21165 gcc_cv_math_func_lroundf
=no
21167 rm -f core conftest.err conftest.
$ac_objext \
21168 conftest
$ac_exeext conftest.
$ac_ext
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21171 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21172 if test $gcc_cv_math_func_lroundf = yes; then
21174 cat >>confdefs.h
<<_ACEOF
21175 #define HAVE_LROUNDF 1
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21184 $as_echo_n "checking for lround... " >&6; }
21185 if test "${gcc_cv_math_func_lround+set}" = set; then :
21186 $as_echo_n "(cached) " >&6
21188 if test x
$gcc_no_link = xyes
; then
21189 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21192 /* end confdefs.h. */
21194 #ifdef HAVE_COMPLEX_H
21195 #include <complex.h>
21201 int (*ptr)() = (int (*)())lround;
21210 if ac_fn_c_try_link
"$LINENO"; then :
21211 gcc_cv_math_func_lround
=yes
21213 gcc_cv_math_func_lround
=no
21215 rm -f core conftest.err conftest.
$ac_objext \
21216 conftest
$ac_exeext conftest.
$ac_ext
21218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21219 $as_echo "$gcc_cv_math_func_lround" >&6; }
21220 if test $gcc_cv_math_func_lround = yes; then
21222 cat >>confdefs.h
<<_ACEOF
21223 #define HAVE_LROUND 1
21231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21232 $as_echo_n "checking for lroundl... " >&6; }
21233 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21234 $as_echo_n "(cached) " >&6
21236 if test x
$gcc_no_link = xyes
; then
21237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21242 #ifdef HAVE_COMPLEX_H
21243 #include <complex.h>
21249 int (*ptr)() = (int (*)())lroundl;
21258 if ac_fn_c_try_link
"$LINENO"; then :
21259 gcc_cv_math_func_lroundl
=yes
21261 gcc_cv_math_func_lroundl
=no
21263 rm -f core conftest.err conftest.
$ac_objext \
21264 conftest
$ac_exeext conftest.
$ac_ext
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21267 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21268 if test $gcc_cv_math_func_lroundl = yes; then
21270 cat >>confdefs.h
<<_ACEOF
21271 #define HAVE_LROUNDL 1
21279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21280 $as_echo_n "checking for llroundf... " >&6; }
21281 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21282 $as_echo_n "(cached) " >&6
21284 if test x
$gcc_no_link = xyes
; then
21285 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21288 /* end confdefs.h. */
21290 #ifdef HAVE_COMPLEX_H
21291 #include <complex.h>
21297 int (*ptr)() = (int (*)())llroundf;
21306 if ac_fn_c_try_link
"$LINENO"; then :
21307 gcc_cv_math_func_llroundf
=yes
21309 gcc_cv_math_func_llroundf
=no
21311 rm -f core conftest.err conftest.
$ac_objext \
21312 conftest
$ac_exeext conftest.
$ac_ext
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21315 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21316 if test $gcc_cv_math_func_llroundf = yes; then
21318 cat >>confdefs.h
<<_ACEOF
21319 #define HAVE_LLROUNDF 1
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21328 $as_echo_n "checking for llround... " >&6; }
21329 if test "${gcc_cv_math_func_llround+set}" = set; then :
21330 $as_echo_n "(cached) " >&6
21332 if test x
$gcc_no_link = xyes
; then
21333 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21336 /* end confdefs.h. */
21338 #ifdef HAVE_COMPLEX_H
21339 #include <complex.h>
21345 int (*ptr)() = (int (*)())llround;
21354 if ac_fn_c_try_link
"$LINENO"; then :
21355 gcc_cv_math_func_llround
=yes
21357 gcc_cv_math_func_llround
=no
21359 rm -f core conftest.err conftest.
$ac_objext \
21360 conftest
$ac_exeext conftest.
$ac_ext
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21363 $as_echo "$gcc_cv_math_func_llround" >&6; }
21364 if test $gcc_cv_math_func_llround = yes; then
21366 cat >>confdefs.h
<<_ACEOF
21367 #define HAVE_LLROUND 1
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21376 $as_echo_n "checking for llroundl... " >&6; }
21377 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21378 $as_echo_n "(cached) " >&6
21380 if test x
$gcc_no_link = xyes
; then
21381 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21384 /* end confdefs.h. */
21386 #ifdef HAVE_COMPLEX_H
21387 #include <complex.h>
21393 int (*ptr)() = (int (*)())llroundl;
21402 if ac_fn_c_try_link
"$LINENO"; then :
21403 gcc_cv_math_func_llroundl
=yes
21405 gcc_cv_math_func_llroundl
=no
21407 rm -f core conftest.err conftest.
$ac_objext \
21408 conftest
$ac_exeext conftest.
$ac_ext
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21411 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21412 if test $gcc_cv_math_func_llroundl = yes; then
21414 cat >>confdefs.h
<<_ACEOF
21415 #define HAVE_LLROUNDL 1
21423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21424 $as_echo_n "checking for scalbnf... " >&6; }
21425 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21426 $as_echo_n "(cached) " >&6
21428 if test x
$gcc_no_link = xyes
; then
21429 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21432 /* end confdefs.h. */
21434 #ifdef HAVE_COMPLEX_H
21435 #include <complex.h>
21441 int (*ptr)() = (int (*)())scalbnf;
21450 if ac_fn_c_try_link
"$LINENO"; then :
21451 gcc_cv_math_func_scalbnf
=yes
21453 gcc_cv_math_func_scalbnf
=no
21455 rm -f core conftest.err conftest.
$ac_objext \
21456 conftest
$ac_exeext conftest.
$ac_ext
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21459 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21460 if test $gcc_cv_math_func_scalbnf = yes; then
21462 cat >>confdefs.h
<<_ACEOF
21463 #define HAVE_SCALBNF 1
21471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21472 $as_echo_n "checking for scalbn... " >&6; }
21473 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21474 $as_echo_n "(cached) " >&6
21476 if test x
$gcc_no_link = xyes
; then
21477 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21480 /* end confdefs.h. */
21482 #ifdef HAVE_COMPLEX_H
21483 #include <complex.h>
21489 int (*ptr)() = (int (*)())scalbn;
21498 if ac_fn_c_try_link
"$LINENO"; then :
21499 gcc_cv_math_func_scalbn
=yes
21501 gcc_cv_math_func_scalbn
=no
21503 rm -f core conftest.err conftest.
$ac_objext \
21504 conftest
$ac_exeext conftest.
$ac_ext
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21507 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21508 if test $gcc_cv_math_func_scalbn = yes; then
21510 cat >>confdefs.h
<<_ACEOF
21511 #define HAVE_SCALBN 1
21519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21520 $as_echo_n "checking for scalbnl... " >&6; }
21521 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21522 $as_echo_n "(cached) " >&6
21524 if test x
$gcc_no_link = xyes
; then
21525 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21528 /* end confdefs.h. */
21530 #ifdef HAVE_COMPLEX_H
21531 #include <complex.h>
21537 int (*ptr)() = (int (*)())scalbnl;
21546 if ac_fn_c_try_link
"$LINENO"; then :
21547 gcc_cv_math_func_scalbnl
=yes
21549 gcc_cv_math_func_scalbnl
=no
21551 rm -f core conftest.err conftest.
$ac_objext \
21552 conftest
$ac_exeext conftest.
$ac_ext
21554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21555 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21556 if test $gcc_cv_math_func_scalbnl = yes; then
21558 cat >>confdefs.h
<<_ACEOF
21559 #define HAVE_SCALBNL 1
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21568 $as_echo_n "checking for sinf... " >&6; }
21569 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21570 $as_echo_n "(cached) " >&6
21572 if test x
$gcc_no_link = xyes
; then
21573 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21576 /* end confdefs.h. */
21578 #ifdef HAVE_COMPLEX_H
21579 #include <complex.h>
21585 int (*ptr)() = (int (*)())sinf;
21594 if ac_fn_c_try_link
"$LINENO"; then :
21595 gcc_cv_math_func_sinf
=yes
21597 gcc_cv_math_func_sinf
=no
21599 rm -f core conftest.err conftest.
$ac_objext \
21600 conftest
$ac_exeext conftest.
$ac_ext
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21603 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21604 if test $gcc_cv_math_func_sinf = yes; then
21606 cat >>confdefs.h
<<_ACEOF
21607 #define HAVE_SINF 1
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21616 $as_echo_n "checking for sin... " >&6; }
21617 if test "${gcc_cv_math_func_sin+set}" = set; then :
21618 $as_echo_n "(cached) " >&6
21620 if test x
$gcc_no_link = xyes
; then
21621 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21624 /* end confdefs.h. */
21626 #ifdef HAVE_COMPLEX_H
21627 #include <complex.h>
21633 int (*ptr)() = (int (*)())sin;
21642 if ac_fn_c_try_link
"$LINENO"; then :
21643 gcc_cv_math_func_sin
=yes
21645 gcc_cv_math_func_sin
=no
21647 rm -f core conftest.err conftest.
$ac_objext \
21648 conftest
$ac_exeext conftest.
$ac_ext
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21651 $as_echo "$gcc_cv_math_func_sin" >&6; }
21652 if test $gcc_cv_math_func_sin = yes; then
21654 cat >>confdefs.h
<<_ACEOF
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21664 $as_echo_n "checking for sinl... " >&6; }
21665 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21666 $as_echo_n "(cached) " >&6
21668 if test x
$gcc_no_link = xyes
; then
21669 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h. */
21674 #ifdef HAVE_COMPLEX_H
21675 #include <complex.h>
21681 int (*ptr)() = (int (*)())sinl;
21690 if ac_fn_c_try_link
"$LINENO"; then :
21691 gcc_cv_math_func_sinl
=yes
21693 gcc_cv_math_func_sinl
=no
21695 rm -f core conftest.err conftest.
$ac_objext \
21696 conftest
$ac_exeext conftest.
$ac_ext
21698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21699 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21700 if test $gcc_cv_math_func_sinl = yes; then
21702 cat >>confdefs.h
<<_ACEOF
21703 #define HAVE_SINL 1
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21712 $as_echo_n "checking for csinf... " >&6; }
21713 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21714 $as_echo_n "(cached) " >&6
21716 if test x
$gcc_no_link = xyes
; then
21717 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21720 /* end confdefs.h. */
21722 #ifdef HAVE_COMPLEX_H
21723 #include <complex.h>
21729 int (*ptr)() = (int (*)())csinf;
21738 if ac_fn_c_try_link
"$LINENO"; then :
21739 gcc_cv_math_func_csinf
=yes
21741 gcc_cv_math_func_csinf
=no
21743 rm -f core conftest.err conftest.
$ac_objext \
21744 conftest
$ac_exeext conftest.
$ac_ext
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21747 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21748 if test $gcc_cv_math_func_csinf = yes; then
21750 cat >>confdefs.h
<<_ACEOF
21751 #define HAVE_CSINF 1
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21760 $as_echo_n "checking for csin... " >&6; }
21761 if test "${gcc_cv_math_func_csin+set}" = set; then :
21762 $as_echo_n "(cached) " >&6
21764 if test x
$gcc_no_link = xyes
; then
21765 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21768 /* end confdefs.h. */
21770 #ifdef HAVE_COMPLEX_H
21771 #include <complex.h>
21777 int (*ptr)() = (int (*)())csin;
21786 if ac_fn_c_try_link
"$LINENO"; then :
21787 gcc_cv_math_func_csin
=yes
21789 gcc_cv_math_func_csin
=no
21791 rm -f core conftest.err conftest.
$ac_objext \
21792 conftest
$ac_exeext conftest.
$ac_ext
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21795 $as_echo "$gcc_cv_math_func_csin" >&6; }
21796 if test $gcc_cv_math_func_csin = yes; then
21798 cat >>confdefs.h
<<_ACEOF
21799 #define HAVE_CSIN 1
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21808 $as_echo_n "checking for csinl... " >&6; }
21809 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21810 $as_echo_n "(cached) " >&6
21812 if test x
$gcc_no_link = xyes
; then
21813 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21816 /* end confdefs.h. */
21818 #ifdef HAVE_COMPLEX_H
21819 #include <complex.h>
21825 int (*ptr)() = (int (*)())csinl;
21834 if ac_fn_c_try_link
"$LINENO"; then :
21835 gcc_cv_math_func_csinl
=yes
21837 gcc_cv_math_func_csinl
=no
21839 rm -f core conftest.err conftest.
$ac_objext \
21840 conftest
$ac_exeext conftest.
$ac_ext
21842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21843 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21844 if test $gcc_cv_math_func_csinl = yes; then
21846 cat >>confdefs.h
<<_ACEOF
21847 #define HAVE_CSINL 1
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21856 $as_echo_n "checking for sinhf... " >&6; }
21857 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21858 $as_echo_n "(cached) " >&6
21860 if test x
$gcc_no_link = xyes
; then
21861 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21864 /* end confdefs.h. */
21866 #ifdef HAVE_COMPLEX_H
21867 #include <complex.h>
21873 int (*ptr)() = (int (*)())sinhf;
21882 if ac_fn_c_try_link
"$LINENO"; then :
21883 gcc_cv_math_func_sinhf
=yes
21885 gcc_cv_math_func_sinhf
=no
21887 rm -f core conftest.err conftest.
$ac_objext \
21888 conftest
$ac_exeext conftest.
$ac_ext
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21891 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21892 if test $gcc_cv_math_func_sinhf = yes; then
21894 cat >>confdefs.h
<<_ACEOF
21895 #define HAVE_SINHF 1
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21904 $as_echo_n "checking for sinh... " >&6; }
21905 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21906 $as_echo_n "(cached) " >&6
21908 if test x
$gcc_no_link = xyes
; then
21909 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21912 /* end confdefs.h. */
21914 #ifdef HAVE_COMPLEX_H
21915 #include <complex.h>
21921 int (*ptr)() = (int (*)())sinh;
21930 if ac_fn_c_try_link
"$LINENO"; then :
21931 gcc_cv_math_func_sinh
=yes
21933 gcc_cv_math_func_sinh
=no
21935 rm -f core conftest.err conftest.
$ac_objext \
21936 conftest
$ac_exeext conftest.
$ac_ext
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21939 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21940 if test $gcc_cv_math_func_sinh = yes; then
21942 cat >>confdefs.h
<<_ACEOF
21943 #define HAVE_SINH 1
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21952 $as_echo_n "checking for sinhl... " >&6; }
21953 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21954 $as_echo_n "(cached) " >&6
21956 if test x
$gcc_no_link = xyes
; then
21957 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21960 /* end confdefs.h. */
21962 #ifdef HAVE_COMPLEX_H
21963 #include <complex.h>
21969 int (*ptr)() = (int (*)())sinhl;
21978 if ac_fn_c_try_link
"$LINENO"; then :
21979 gcc_cv_math_func_sinhl
=yes
21981 gcc_cv_math_func_sinhl
=no
21983 rm -f core conftest.err conftest.
$ac_objext \
21984 conftest
$ac_exeext conftest.
$ac_ext
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
21987 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
21988 if test $gcc_cv_math_func_sinhl = yes; then
21990 cat >>confdefs.h
<<_ACEOF
21991 #define HAVE_SINHL 1
21999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22000 $as_echo_n "checking for csinhf... " >&6; }
22001 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22002 $as_echo_n "(cached) " >&6
22004 if test x
$gcc_no_link = xyes
; then
22005 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22008 /* end confdefs.h. */
22010 #ifdef HAVE_COMPLEX_H
22011 #include <complex.h>
22017 int (*ptr)() = (int (*)())csinhf;
22026 if ac_fn_c_try_link
"$LINENO"; then :
22027 gcc_cv_math_func_csinhf
=yes
22029 gcc_cv_math_func_csinhf
=no
22031 rm -f core conftest.err conftest.
$ac_objext \
22032 conftest
$ac_exeext conftest.
$ac_ext
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22035 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22036 if test $gcc_cv_math_func_csinhf = yes; then
22038 cat >>confdefs.h
<<_ACEOF
22039 #define HAVE_CSINHF 1
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22048 $as_echo_n "checking for csinh... " >&6; }
22049 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22050 $as_echo_n "(cached) " >&6
22052 if test x
$gcc_no_link = xyes
; then
22053 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22056 /* end confdefs.h. */
22058 #ifdef HAVE_COMPLEX_H
22059 #include <complex.h>
22065 int (*ptr)() = (int (*)())csinh;
22074 if ac_fn_c_try_link
"$LINENO"; then :
22075 gcc_cv_math_func_csinh
=yes
22077 gcc_cv_math_func_csinh
=no
22079 rm -f core conftest.err conftest.
$ac_objext \
22080 conftest
$ac_exeext conftest.
$ac_ext
22082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22083 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22084 if test $gcc_cv_math_func_csinh = yes; then
22086 cat >>confdefs.h
<<_ACEOF
22087 #define HAVE_CSINH 1
22095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22096 $as_echo_n "checking for csinhl... " >&6; }
22097 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22098 $as_echo_n "(cached) " >&6
22100 if test x
$gcc_no_link = xyes
; then
22101 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22104 /* end confdefs.h. */
22106 #ifdef HAVE_COMPLEX_H
22107 #include <complex.h>
22113 int (*ptr)() = (int (*)())csinhl;
22122 if ac_fn_c_try_link
"$LINENO"; then :
22123 gcc_cv_math_func_csinhl
=yes
22125 gcc_cv_math_func_csinhl
=no
22127 rm -f core conftest.err conftest.
$ac_objext \
22128 conftest
$ac_exeext conftest.
$ac_ext
22130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22131 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22132 if test $gcc_cv_math_func_csinhl = yes; then
22134 cat >>confdefs.h
<<_ACEOF
22135 #define HAVE_CSINHL 1
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22144 $as_echo_n "checking for sqrtf... " >&6; }
22145 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22146 $as_echo_n "(cached) " >&6
22148 if test x
$gcc_no_link = xyes
; then
22149 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22152 /* end confdefs.h. */
22154 #ifdef HAVE_COMPLEX_H
22155 #include <complex.h>
22161 int (*ptr)() = (int (*)())sqrtf;
22170 if ac_fn_c_try_link
"$LINENO"; then :
22171 gcc_cv_math_func_sqrtf
=yes
22173 gcc_cv_math_func_sqrtf
=no
22175 rm -f core conftest.err conftest.
$ac_objext \
22176 conftest
$ac_exeext conftest.
$ac_ext
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22179 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22180 if test $gcc_cv_math_func_sqrtf = yes; then
22182 cat >>confdefs.h
<<_ACEOF
22183 #define HAVE_SQRTF 1
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22192 $as_echo_n "checking for sqrt... " >&6; }
22193 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22194 $as_echo_n "(cached) " >&6
22196 if test x
$gcc_no_link = xyes
; then
22197 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22200 /* end confdefs.h. */
22202 #ifdef HAVE_COMPLEX_H
22203 #include <complex.h>
22209 int (*ptr)() = (int (*)())sqrt;
22218 if ac_fn_c_try_link
"$LINENO"; then :
22219 gcc_cv_math_func_sqrt
=yes
22221 gcc_cv_math_func_sqrt
=no
22223 rm -f core conftest.err conftest.
$ac_objext \
22224 conftest
$ac_exeext conftest.
$ac_ext
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22227 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22228 if test $gcc_cv_math_func_sqrt = yes; then
22230 cat >>confdefs.h
<<_ACEOF
22231 #define HAVE_SQRT 1
22239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22240 $as_echo_n "checking for sqrtl... " >&6; }
22241 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22242 $as_echo_n "(cached) " >&6
22244 if test x
$gcc_no_link = xyes
; then
22245 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22248 /* end confdefs.h. */
22250 #ifdef HAVE_COMPLEX_H
22251 #include <complex.h>
22257 int (*ptr)() = (int (*)())sqrtl;
22266 if ac_fn_c_try_link
"$LINENO"; then :
22267 gcc_cv_math_func_sqrtl
=yes
22269 gcc_cv_math_func_sqrtl
=no
22271 rm -f core conftest.err conftest.
$ac_objext \
22272 conftest
$ac_exeext conftest.
$ac_ext
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22275 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22276 if test $gcc_cv_math_func_sqrtl = yes; then
22278 cat >>confdefs.h
<<_ACEOF
22279 #define HAVE_SQRTL 1
22287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22288 $as_echo_n "checking for csqrtf... " >&6; }
22289 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22290 $as_echo_n "(cached) " >&6
22292 if test x
$gcc_no_link = xyes
; then
22293 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22296 /* end confdefs.h. */
22298 #ifdef HAVE_COMPLEX_H
22299 #include <complex.h>
22305 int (*ptr)() = (int (*)())csqrtf;
22314 if ac_fn_c_try_link
"$LINENO"; then :
22315 gcc_cv_math_func_csqrtf
=yes
22317 gcc_cv_math_func_csqrtf
=no
22319 rm -f core conftest.err conftest.
$ac_objext \
22320 conftest
$ac_exeext conftest.
$ac_ext
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22323 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22324 if test $gcc_cv_math_func_csqrtf = yes; then
22326 cat >>confdefs.h
<<_ACEOF
22327 #define HAVE_CSQRTF 1
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22336 $as_echo_n "checking for csqrt... " >&6; }
22337 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22338 $as_echo_n "(cached) " >&6
22340 if test x
$gcc_no_link = xyes
; then
22341 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22344 /* end confdefs.h. */
22346 #ifdef HAVE_COMPLEX_H
22347 #include <complex.h>
22353 int (*ptr)() = (int (*)())csqrt;
22362 if ac_fn_c_try_link
"$LINENO"; then :
22363 gcc_cv_math_func_csqrt
=yes
22365 gcc_cv_math_func_csqrt
=no
22367 rm -f core conftest.err conftest.
$ac_objext \
22368 conftest
$ac_exeext conftest.
$ac_ext
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22371 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22372 if test $gcc_cv_math_func_csqrt = yes; then
22374 cat >>confdefs.h
<<_ACEOF
22375 #define HAVE_CSQRT 1
22383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22384 $as_echo_n "checking for csqrtl... " >&6; }
22385 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22386 $as_echo_n "(cached) " >&6
22388 if test x
$gcc_no_link = xyes
; then
22389 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22392 /* end confdefs.h. */
22394 #ifdef HAVE_COMPLEX_H
22395 #include <complex.h>
22401 int (*ptr)() = (int (*)())csqrtl;
22410 if ac_fn_c_try_link
"$LINENO"; then :
22411 gcc_cv_math_func_csqrtl
=yes
22413 gcc_cv_math_func_csqrtl
=no
22415 rm -f core conftest.err conftest.
$ac_objext \
22416 conftest
$ac_exeext conftest.
$ac_ext
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22419 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22420 if test $gcc_cv_math_func_csqrtl = yes; then
22422 cat >>confdefs.h
<<_ACEOF
22423 #define HAVE_CSQRTL 1
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22432 $as_echo_n "checking for tanf... " >&6; }
22433 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22434 $as_echo_n "(cached) " >&6
22436 if test x
$gcc_no_link = xyes
; then
22437 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22440 /* end confdefs.h. */
22442 #ifdef HAVE_COMPLEX_H
22443 #include <complex.h>
22449 int (*ptr)() = (int (*)())tanf;
22458 if ac_fn_c_try_link
"$LINENO"; then :
22459 gcc_cv_math_func_tanf
=yes
22461 gcc_cv_math_func_tanf
=no
22463 rm -f core conftest.err conftest.
$ac_objext \
22464 conftest
$ac_exeext conftest.
$ac_ext
22466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22467 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22468 if test $gcc_cv_math_func_tanf = yes; then
22470 cat >>confdefs.h
<<_ACEOF
22471 #define HAVE_TANF 1
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22480 $as_echo_n "checking for tan... " >&6; }
22481 if test "${gcc_cv_math_func_tan+set}" = set; then :
22482 $as_echo_n "(cached) " >&6
22484 if test x
$gcc_no_link = xyes
; then
22485 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22488 /* end confdefs.h. */
22490 #ifdef HAVE_COMPLEX_H
22491 #include <complex.h>
22497 int (*ptr)() = (int (*)())tan;
22506 if ac_fn_c_try_link
"$LINENO"; then :
22507 gcc_cv_math_func_tan
=yes
22509 gcc_cv_math_func_tan
=no
22511 rm -f core conftest.err conftest.
$ac_objext \
22512 conftest
$ac_exeext conftest.
$ac_ext
22514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22515 $as_echo "$gcc_cv_math_func_tan" >&6; }
22516 if test $gcc_cv_math_func_tan = yes; then
22518 cat >>confdefs.h
<<_ACEOF
22527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22528 $as_echo_n "checking for tanl... " >&6; }
22529 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22530 $as_echo_n "(cached) " >&6
22532 if test x
$gcc_no_link = xyes
; then
22533 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22536 /* end confdefs.h. */
22538 #ifdef HAVE_COMPLEX_H
22539 #include <complex.h>
22545 int (*ptr)() = (int (*)())tanl;
22554 if ac_fn_c_try_link
"$LINENO"; then :
22555 gcc_cv_math_func_tanl
=yes
22557 gcc_cv_math_func_tanl
=no
22559 rm -f core conftest.err conftest.
$ac_objext \
22560 conftest
$ac_exeext conftest.
$ac_ext
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22563 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22564 if test $gcc_cv_math_func_tanl = yes; then
22566 cat >>confdefs.h
<<_ACEOF
22567 #define HAVE_TANL 1
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22576 $as_echo_n "checking for ctanf... " >&6; }
22577 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22578 $as_echo_n "(cached) " >&6
22580 if test x
$gcc_no_link = xyes
; then
22581 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22584 /* end confdefs.h. */
22586 #ifdef HAVE_COMPLEX_H
22587 #include <complex.h>
22593 int (*ptr)() = (int (*)())ctanf;
22602 if ac_fn_c_try_link
"$LINENO"; then :
22603 gcc_cv_math_func_ctanf
=yes
22605 gcc_cv_math_func_ctanf
=no
22607 rm -f core conftest.err conftest.
$ac_objext \
22608 conftest
$ac_exeext conftest.
$ac_ext
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22611 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22612 if test $gcc_cv_math_func_ctanf = yes; then
22614 cat >>confdefs.h
<<_ACEOF
22615 #define HAVE_CTANF 1
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22624 $as_echo_n "checking for ctan... " >&6; }
22625 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22626 $as_echo_n "(cached) " >&6
22628 if test x
$gcc_no_link = xyes
; then
22629 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22632 /* end confdefs.h. */
22634 #ifdef HAVE_COMPLEX_H
22635 #include <complex.h>
22641 int (*ptr)() = (int (*)())ctan;
22650 if ac_fn_c_try_link
"$LINENO"; then :
22651 gcc_cv_math_func_ctan
=yes
22653 gcc_cv_math_func_ctan
=no
22655 rm -f core conftest.err conftest.
$ac_objext \
22656 conftest
$ac_exeext conftest.
$ac_ext
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22659 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22660 if test $gcc_cv_math_func_ctan = yes; then
22662 cat >>confdefs.h
<<_ACEOF
22663 #define HAVE_CTAN 1
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22672 $as_echo_n "checking for ctanl... " >&6; }
22673 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22674 $as_echo_n "(cached) " >&6
22676 if test x
$gcc_no_link = xyes
; then
22677 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22680 /* end confdefs.h. */
22682 #ifdef HAVE_COMPLEX_H
22683 #include <complex.h>
22689 int (*ptr)() = (int (*)())ctanl;
22698 if ac_fn_c_try_link
"$LINENO"; then :
22699 gcc_cv_math_func_ctanl
=yes
22701 gcc_cv_math_func_ctanl
=no
22703 rm -f core conftest.err conftest.
$ac_objext \
22704 conftest
$ac_exeext conftest.
$ac_ext
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22707 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22708 if test $gcc_cv_math_func_ctanl = yes; then
22710 cat >>confdefs.h
<<_ACEOF
22711 #define HAVE_CTANL 1
22719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22720 $as_echo_n "checking for tanhf... " >&6; }
22721 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22722 $as_echo_n "(cached) " >&6
22724 if test x
$gcc_no_link = xyes
; then
22725 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22728 /* end confdefs.h. */
22730 #ifdef HAVE_COMPLEX_H
22731 #include <complex.h>
22737 int (*ptr)() = (int (*)())tanhf;
22746 if ac_fn_c_try_link
"$LINENO"; then :
22747 gcc_cv_math_func_tanhf
=yes
22749 gcc_cv_math_func_tanhf
=no
22751 rm -f core conftest.err conftest.
$ac_objext \
22752 conftest
$ac_exeext conftest.
$ac_ext
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22755 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22756 if test $gcc_cv_math_func_tanhf = yes; then
22758 cat >>confdefs.h
<<_ACEOF
22759 #define HAVE_TANHF 1
22767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22768 $as_echo_n "checking for tanh... " >&6; }
22769 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22770 $as_echo_n "(cached) " >&6
22772 if test x
$gcc_no_link = xyes
; then
22773 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22776 /* end confdefs.h. */
22778 #ifdef HAVE_COMPLEX_H
22779 #include <complex.h>
22785 int (*ptr)() = (int (*)())tanh;
22794 if ac_fn_c_try_link
"$LINENO"; then :
22795 gcc_cv_math_func_tanh
=yes
22797 gcc_cv_math_func_tanh
=no
22799 rm -f core conftest.err conftest.
$ac_objext \
22800 conftest
$ac_exeext conftest.
$ac_ext
22802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22803 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22804 if test $gcc_cv_math_func_tanh = yes; then
22806 cat >>confdefs.h
<<_ACEOF
22807 #define HAVE_TANH 1
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22816 $as_echo_n "checking for tanhl... " >&6; }
22817 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22818 $as_echo_n "(cached) " >&6
22820 if test x
$gcc_no_link = xyes
; then
22821 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22824 /* end confdefs.h. */
22826 #ifdef HAVE_COMPLEX_H
22827 #include <complex.h>
22833 int (*ptr)() = (int (*)())tanhl;
22842 if ac_fn_c_try_link
"$LINENO"; then :
22843 gcc_cv_math_func_tanhl
=yes
22845 gcc_cv_math_func_tanhl
=no
22847 rm -f core conftest.err conftest.
$ac_objext \
22848 conftest
$ac_exeext conftest.
$ac_ext
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22851 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22852 if test $gcc_cv_math_func_tanhl = yes; then
22854 cat >>confdefs.h
<<_ACEOF
22855 #define HAVE_TANHL 1
22863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22864 $as_echo_n "checking for ctanhf... " >&6; }
22865 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22866 $as_echo_n "(cached) " >&6
22868 if test x
$gcc_no_link = xyes
; then
22869 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22872 /* end confdefs.h. */
22874 #ifdef HAVE_COMPLEX_H
22875 #include <complex.h>
22881 int (*ptr)() = (int (*)())ctanhf;
22890 if ac_fn_c_try_link
"$LINENO"; then :
22891 gcc_cv_math_func_ctanhf
=yes
22893 gcc_cv_math_func_ctanhf
=no
22895 rm -f core conftest.err conftest.
$ac_objext \
22896 conftest
$ac_exeext conftest.
$ac_ext
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22899 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22900 if test $gcc_cv_math_func_ctanhf = yes; then
22902 cat >>confdefs.h
<<_ACEOF
22903 #define HAVE_CTANHF 1
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22912 $as_echo_n "checking for ctanh... " >&6; }
22913 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22914 $as_echo_n "(cached) " >&6
22916 if test x
$gcc_no_link = xyes
; then
22917 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22920 /* end confdefs.h. */
22922 #ifdef HAVE_COMPLEX_H
22923 #include <complex.h>
22929 int (*ptr)() = (int (*)())ctanh;
22938 if ac_fn_c_try_link
"$LINENO"; then :
22939 gcc_cv_math_func_ctanh
=yes
22941 gcc_cv_math_func_ctanh
=no
22943 rm -f core conftest.err conftest.
$ac_objext \
22944 conftest
$ac_exeext conftest.
$ac_ext
22946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22947 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22948 if test $gcc_cv_math_func_ctanh = yes; then
22950 cat >>confdefs.h
<<_ACEOF
22951 #define HAVE_CTANH 1
22959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
22960 $as_echo_n "checking for ctanhl... " >&6; }
22961 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
22962 $as_echo_n "(cached) " >&6
22964 if test x
$gcc_no_link = xyes
; then
22965 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22968 /* end confdefs.h. */
22970 #ifdef HAVE_COMPLEX_H
22971 #include <complex.h>
22977 int (*ptr)() = (int (*)())ctanhl;
22986 if ac_fn_c_try_link
"$LINENO"; then :
22987 gcc_cv_math_func_ctanhl
=yes
22989 gcc_cv_math_func_ctanhl
=no
22991 rm -f core conftest.err conftest.
$ac_objext \
22992 conftest
$ac_exeext conftest.
$ac_ext
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
22995 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
22996 if test $gcc_cv_math_func_ctanhl = yes; then
22998 cat >>confdefs.h
<<_ACEOF
22999 #define HAVE_CTANHL 1
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23008 $as_echo_n "checking for truncf... " >&6; }
23009 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23010 $as_echo_n "(cached) " >&6
23012 if test x
$gcc_no_link = xyes
; then
23013 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23016 /* end confdefs.h. */
23018 #ifdef HAVE_COMPLEX_H
23019 #include <complex.h>
23025 int (*ptr)() = (int (*)())truncf;
23034 if ac_fn_c_try_link
"$LINENO"; then :
23035 gcc_cv_math_func_truncf
=yes
23037 gcc_cv_math_func_truncf
=no
23039 rm -f core conftest.err conftest.
$ac_objext \
23040 conftest
$ac_exeext conftest.
$ac_ext
23042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23043 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23044 if test $gcc_cv_math_func_truncf = yes; then
23046 cat >>confdefs.h
<<_ACEOF
23047 #define HAVE_TRUNCF 1
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23056 $as_echo_n "checking for trunc... " >&6; }
23057 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23058 $as_echo_n "(cached) " >&6
23060 if test x
$gcc_no_link = xyes
; then
23061 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23064 /* end confdefs.h. */
23066 #ifdef HAVE_COMPLEX_H
23067 #include <complex.h>
23073 int (*ptr)() = (int (*)())trunc;
23082 if ac_fn_c_try_link
"$LINENO"; then :
23083 gcc_cv_math_func_trunc
=yes
23085 gcc_cv_math_func_trunc
=no
23087 rm -f core conftest.err conftest.
$ac_objext \
23088 conftest
$ac_exeext conftest.
$ac_ext
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23091 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23092 if test $gcc_cv_math_func_trunc = yes; then
23094 cat >>confdefs.h
<<_ACEOF
23095 #define HAVE_TRUNC 1
23103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23104 $as_echo_n "checking for truncl... " >&6; }
23105 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23106 $as_echo_n "(cached) " >&6
23108 if test x
$gcc_no_link = xyes
; then
23109 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23112 /* end confdefs.h. */
23114 #ifdef HAVE_COMPLEX_H
23115 #include <complex.h>
23121 int (*ptr)() = (int (*)())truncl;
23130 if ac_fn_c_try_link
"$LINENO"; then :
23131 gcc_cv_math_func_truncl
=yes
23133 gcc_cv_math_func_truncl
=no
23135 rm -f core conftest.err conftest.
$ac_objext \
23136 conftest
$ac_exeext conftest.
$ac_ext
23138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23139 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23140 if test $gcc_cv_math_func_truncl = yes; then
23142 cat >>confdefs.h
<<_ACEOF
23143 #define HAVE_TRUNCL 1
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23152 $as_echo_n "checking for erff... " >&6; }
23153 if test "${gcc_cv_math_func_erff+set}" = set; then :
23154 $as_echo_n "(cached) " >&6
23156 if test x
$gcc_no_link = xyes
; then
23157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23160 /* end confdefs.h. */
23162 #ifdef HAVE_COMPLEX_H
23163 #include <complex.h>
23169 int (*ptr)() = (int (*)())erff;
23178 if ac_fn_c_try_link
"$LINENO"; then :
23179 gcc_cv_math_func_erff
=yes
23181 gcc_cv_math_func_erff
=no
23183 rm -f core conftest.err conftest.
$ac_objext \
23184 conftest
$ac_exeext conftest.
$ac_ext
23186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23187 $as_echo "$gcc_cv_math_func_erff" >&6; }
23188 if test $gcc_cv_math_func_erff = yes; then
23190 cat >>confdefs.h
<<_ACEOF
23191 #define HAVE_ERFF 1
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23200 $as_echo_n "checking for erf... " >&6; }
23201 if test "${gcc_cv_math_func_erf+set}" = set; then :
23202 $as_echo_n "(cached) " >&6
23204 if test x
$gcc_no_link = xyes
; then
23205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23208 /* end confdefs.h. */
23210 #ifdef HAVE_COMPLEX_H
23211 #include <complex.h>
23217 int (*ptr)() = (int (*)())erf;
23226 if ac_fn_c_try_link
"$LINENO"; then :
23227 gcc_cv_math_func_erf
=yes
23229 gcc_cv_math_func_erf
=no
23231 rm -f core conftest.err conftest.
$ac_objext \
23232 conftest
$ac_exeext conftest.
$ac_ext
23234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23235 $as_echo "$gcc_cv_math_func_erf" >&6; }
23236 if test $gcc_cv_math_func_erf = yes; then
23238 cat >>confdefs.h
<<_ACEOF
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23248 $as_echo_n "checking for erfl... " >&6; }
23249 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23250 $as_echo_n "(cached) " >&6
23252 if test x
$gcc_no_link = xyes
; then
23253 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23256 /* end confdefs.h. */
23258 #ifdef HAVE_COMPLEX_H
23259 #include <complex.h>
23265 int (*ptr)() = (int (*)())erfl;
23274 if ac_fn_c_try_link
"$LINENO"; then :
23275 gcc_cv_math_func_erfl
=yes
23277 gcc_cv_math_func_erfl
=no
23279 rm -f core conftest.err conftest.
$ac_objext \
23280 conftest
$ac_exeext conftest.
$ac_ext
23282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23283 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23284 if test $gcc_cv_math_func_erfl = yes; then
23286 cat >>confdefs.h
<<_ACEOF
23287 #define HAVE_ERFL 1
23295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23296 $as_echo_n "checking for erfcf... " >&6; }
23297 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23298 $as_echo_n "(cached) " >&6
23300 if test x
$gcc_no_link = xyes
; then
23301 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23304 /* end confdefs.h. */
23306 #ifdef HAVE_COMPLEX_H
23307 #include <complex.h>
23313 int (*ptr)() = (int (*)())erfcf;
23322 if ac_fn_c_try_link
"$LINENO"; then :
23323 gcc_cv_math_func_erfcf
=yes
23325 gcc_cv_math_func_erfcf
=no
23327 rm -f core conftest.err conftest.
$ac_objext \
23328 conftest
$ac_exeext conftest.
$ac_ext
23330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23331 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23332 if test $gcc_cv_math_func_erfcf = yes; then
23334 cat >>confdefs.h
<<_ACEOF
23335 #define HAVE_ERFCF 1
23343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23344 $as_echo_n "checking for erfc... " >&6; }
23345 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23346 $as_echo_n "(cached) " >&6
23348 if test x
$gcc_no_link = xyes
; then
23349 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23352 /* end confdefs.h. */
23354 #ifdef HAVE_COMPLEX_H
23355 #include <complex.h>
23361 int (*ptr)() = (int (*)())erfc;
23370 if ac_fn_c_try_link
"$LINENO"; then :
23371 gcc_cv_math_func_erfc
=yes
23373 gcc_cv_math_func_erfc
=no
23375 rm -f core conftest.err conftest.
$ac_objext \
23376 conftest
$ac_exeext conftest.
$ac_ext
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23379 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23380 if test $gcc_cv_math_func_erfc = yes; then
23382 cat >>confdefs.h
<<_ACEOF
23383 #define HAVE_ERFC 1
23391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23392 $as_echo_n "checking for erfcl... " >&6; }
23393 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23394 $as_echo_n "(cached) " >&6
23396 if test x
$gcc_no_link = xyes
; then
23397 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23400 /* end confdefs.h. */
23402 #ifdef HAVE_COMPLEX_H
23403 #include <complex.h>
23409 int (*ptr)() = (int (*)())erfcl;
23418 if ac_fn_c_try_link
"$LINENO"; then :
23419 gcc_cv_math_func_erfcl
=yes
23421 gcc_cv_math_func_erfcl
=no
23423 rm -f core conftest.err conftest.
$ac_objext \
23424 conftest
$ac_exeext conftest.
$ac_ext
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23427 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23428 if test $gcc_cv_math_func_erfcl = yes; then
23430 cat >>confdefs.h
<<_ACEOF
23431 #define HAVE_ERFCL 1
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23440 $as_echo_n "checking for j0f... " >&6; }
23441 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23442 $as_echo_n "(cached) " >&6
23444 if test x
$gcc_no_link = xyes
; then
23445 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23448 /* end confdefs.h. */
23450 #ifdef HAVE_COMPLEX_H
23451 #include <complex.h>
23457 int (*ptr)() = (int (*)())j0f;
23466 if ac_fn_c_try_link
"$LINENO"; then :
23467 gcc_cv_math_func_j0f
=yes
23469 gcc_cv_math_func_j0f
=no
23471 rm -f core conftest.err conftest.
$ac_objext \
23472 conftest
$ac_exeext conftest.
$ac_ext
23474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23475 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23476 if test $gcc_cv_math_func_j0f = yes; then
23478 cat >>confdefs.h
<<_ACEOF
23487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23488 $as_echo_n "checking for j0... " >&6; }
23489 if test "${gcc_cv_math_func_j0+set}" = set; then :
23490 $as_echo_n "(cached) " >&6
23492 if test x
$gcc_no_link = xyes
; then
23493 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23496 /* end confdefs.h. */
23498 #ifdef HAVE_COMPLEX_H
23499 #include <complex.h>
23505 int (*ptr)() = (int (*)())j0;
23514 if ac_fn_c_try_link
"$LINENO"; then :
23515 gcc_cv_math_func_j0
=yes
23517 gcc_cv_math_func_j0
=no
23519 rm -f core conftest.err conftest.
$ac_objext \
23520 conftest
$ac_exeext conftest.
$ac_ext
23522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23523 $as_echo "$gcc_cv_math_func_j0" >&6; }
23524 if test $gcc_cv_math_func_j0 = yes; then
23526 cat >>confdefs.h
<<_ACEOF
23535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23536 $as_echo_n "checking for j0l... " >&6; }
23537 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23538 $as_echo_n "(cached) " >&6
23540 if test x
$gcc_no_link = xyes
; then
23541 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23544 /* end confdefs.h. */
23546 #ifdef HAVE_COMPLEX_H
23547 #include <complex.h>
23553 int (*ptr)() = (int (*)())j0l;
23562 if ac_fn_c_try_link
"$LINENO"; then :
23563 gcc_cv_math_func_j0l
=yes
23565 gcc_cv_math_func_j0l
=no
23567 rm -f core conftest.err conftest.
$ac_objext \
23568 conftest
$ac_exeext conftest.
$ac_ext
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23571 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23572 if test $gcc_cv_math_func_j0l = yes; then
23574 cat >>confdefs.h
<<_ACEOF
23583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23584 $as_echo_n "checking for j1f... " >&6; }
23585 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23586 $as_echo_n "(cached) " >&6
23588 if test x
$gcc_no_link = xyes
; then
23589 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23592 /* end confdefs.h. */
23594 #ifdef HAVE_COMPLEX_H
23595 #include <complex.h>
23601 int (*ptr)() = (int (*)())j1f;
23610 if ac_fn_c_try_link
"$LINENO"; then :
23611 gcc_cv_math_func_j1f
=yes
23613 gcc_cv_math_func_j1f
=no
23615 rm -f core conftest.err conftest.
$ac_objext \
23616 conftest
$ac_exeext conftest.
$ac_ext
23618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23619 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23620 if test $gcc_cv_math_func_j1f = yes; then
23622 cat >>confdefs.h
<<_ACEOF
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23632 $as_echo_n "checking for j1... " >&6; }
23633 if test "${gcc_cv_math_func_j1+set}" = set; then :
23634 $as_echo_n "(cached) " >&6
23636 if test x
$gcc_no_link = xyes
; then
23637 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23640 /* end confdefs.h. */
23642 #ifdef HAVE_COMPLEX_H
23643 #include <complex.h>
23649 int (*ptr)() = (int (*)())j1;
23658 if ac_fn_c_try_link
"$LINENO"; then :
23659 gcc_cv_math_func_j1
=yes
23661 gcc_cv_math_func_j1
=no
23663 rm -f core conftest.err conftest.
$ac_objext \
23664 conftest
$ac_exeext conftest.
$ac_ext
23666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23667 $as_echo "$gcc_cv_math_func_j1" >&6; }
23668 if test $gcc_cv_math_func_j1 = yes; then
23670 cat >>confdefs.h
<<_ACEOF
23679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23680 $as_echo_n "checking for j1l... " >&6; }
23681 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23682 $as_echo_n "(cached) " >&6
23684 if test x
$gcc_no_link = xyes
; then
23685 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23688 /* end confdefs.h. */
23690 #ifdef HAVE_COMPLEX_H
23691 #include <complex.h>
23697 int (*ptr)() = (int (*)())j1l;
23706 if ac_fn_c_try_link
"$LINENO"; then :
23707 gcc_cv_math_func_j1l
=yes
23709 gcc_cv_math_func_j1l
=no
23711 rm -f core conftest.err conftest.
$ac_objext \
23712 conftest
$ac_exeext conftest.
$ac_ext
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23715 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23716 if test $gcc_cv_math_func_j1l = yes; then
23718 cat >>confdefs.h
<<_ACEOF
23727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23728 $as_echo_n "checking for jnf... " >&6; }
23729 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23730 $as_echo_n "(cached) " >&6
23732 if test x
$gcc_no_link = xyes
; then
23733 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23736 /* end confdefs.h. */
23738 #ifdef HAVE_COMPLEX_H
23739 #include <complex.h>
23745 int (*ptr)() = (int (*)())jnf;
23754 if ac_fn_c_try_link
"$LINENO"; then :
23755 gcc_cv_math_func_jnf
=yes
23757 gcc_cv_math_func_jnf
=no
23759 rm -f core conftest.err conftest.
$ac_objext \
23760 conftest
$ac_exeext conftest.
$ac_ext
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23763 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23764 if test $gcc_cv_math_func_jnf = yes; then
23766 cat >>confdefs.h
<<_ACEOF
23775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23776 $as_echo_n "checking for jn... " >&6; }
23777 if test "${gcc_cv_math_func_jn+set}" = set; then :
23778 $as_echo_n "(cached) " >&6
23780 if test x
$gcc_no_link = xyes
; then
23781 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23784 /* end confdefs.h. */
23786 #ifdef HAVE_COMPLEX_H
23787 #include <complex.h>
23793 int (*ptr)() = (int (*)())jn;
23802 if ac_fn_c_try_link
"$LINENO"; then :
23803 gcc_cv_math_func_jn
=yes
23805 gcc_cv_math_func_jn
=no
23807 rm -f core conftest.err conftest.
$ac_objext \
23808 conftest
$ac_exeext conftest.
$ac_ext
23810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23811 $as_echo "$gcc_cv_math_func_jn" >&6; }
23812 if test $gcc_cv_math_func_jn = yes; then
23814 cat >>confdefs.h
<<_ACEOF
23823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23824 $as_echo_n "checking for jnl... " >&6; }
23825 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23826 $as_echo_n "(cached) " >&6
23828 if test x
$gcc_no_link = xyes
; then
23829 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23832 /* end confdefs.h. */
23834 #ifdef HAVE_COMPLEX_H
23835 #include <complex.h>
23841 int (*ptr)() = (int (*)())jnl;
23850 if ac_fn_c_try_link
"$LINENO"; then :
23851 gcc_cv_math_func_jnl
=yes
23853 gcc_cv_math_func_jnl
=no
23855 rm -f core conftest.err conftest.
$ac_objext \
23856 conftest
$ac_exeext conftest.
$ac_ext
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23859 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23860 if test $gcc_cv_math_func_jnl = yes; then
23862 cat >>confdefs.h
<<_ACEOF
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23872 $as_echo_n "checking for y0f... " >&6; }
23873 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23874 $as_echo_n "(cached) " >&6
23876 if test x
$gcc_no_link = xyes
; then
23877 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23880 /* end confdefs.h. */
23882 #ifdef HAVE_COMPLEX_H
23883 #include <complex.h>
23889 int (*ptr)() = (int (*)())y0f;
23898 if ac_fn_c_try_link
"$LINENO"; then :
23899 gcc_cv_math_func_y0f
=yes
23901 gcc_cv_math_func_y0f
=no
23903 rm -f core conftest.err conftest.
$ac_objext \
23904 conftest
$ac_exeext conftest.
$ac_ext
23906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23907 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23908 if test $gcc_cv_math_func_y0f = yes; then
23910 cat >>confdefs.h
<<_ACEOF
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23920 $as_echo_n "checking for y0... " >&6; }
23921 if test "${gcc_cv_math_func_y0+set}" = set; then :
23922 $as_echo_n "(cached) " >&6
23924 if test x
$gcc_no_link = xyes
; then
23925 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23928 /* end confdefs.h. */
23930 #ifdef HAVE_COMPLEX_H
23931 #include <complex.h>
23937 int (*ptr)() = (int (*)())y0;
23946 if ac_fn_c_try_link
"$LINENO"; then :
23947 gcc_cv_math_func_y0
=yes
23949 gcc_cv_math_func_y0
=no
23951 rm -f core conftest.err conftest.
$ac_objext \
23952 conftest
$ac_exeext conftest.
$ac_ext
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23955 $as_echo "$gcc_cv_math_func_y0" >&6; }
23956 if test $gcc_cv_math_func_y0 = yes; then
23958 cat >>confdefs.h
<<_ACEOF
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
23968 $as_echo_n "checking for y0l... " >&6; }
23969 if test "${gcc_cv_math_func_y0l+set}" = set; then :
23970 $as_echo_n "(cached) " >&6
23972 if test x
$gcc_no_link = xyes
; then
23973 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23976 /* end confdefs.h. */
23978 #ifdef HAVE_COMPLEX_H
23979 #include <complex.h>
23985 int (*ptr)() = (int (*)())y0l;
23994 if ac_fn_c_try_link
"$LINENO"; then :
23995 gcc_cv_math_func_y0l
=yes
23997 gcc_cv_math_func_y0l
=no
23999 rm -f core conftest.err conftest.
$ac_objext \
24000 conftest
$ac_exeext conftest.
$ac_ext
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24003 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24004 if test $gcc_cv_math_func_y0l = yes; then
24006 cat >>confdefs.h
<<_ACEOF
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24016 $as_echo_n "checking for y1f... " >&6; }
24017 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24018 $as_echo_n "(cached) " >&6
24020 if test x
$gcc_no_link = xyes
; then
24021 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24024 /* end confdefs.h. */
24026 #ifdef HAVE_COMPLEX_H
24027 #include <complex.h>
24033 int (*ptr)() = (int (*)())y1f;
24042 if ac_fn_c_try_link
"$LINENO"; then :
24043 gcc_cv_math_func_y1f
=yes
24045 gcc_cv_math_func_y1f
=no
24047 rm -f core conftest.err conftest.
$ac_objext \
24048 conftest
$ac_exeext conftest.
$ac_ext
24050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24051 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24052 if test $gcc_cv_math_func_y1f = yes; then
24054 cat >>confdefs.h
<<_ACEOF
24063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24064 $as_echo_n "checking for y1... " >&6; }
24065 if test "${gcc_cv_math_func_y1+set}" = set; then :
24066 $as_echo_n "(cached) " >&6
24068 if test x
$gcc_no_link = xyes
; then
24069 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24072 /* end confdefs.h. */
24074 #ifdef HAVE_COMPLEX_H
24075 #include <complex.h>
24081 int (*ptr)() = (int (*)())y1;
24090 if ac_fn_c_try_link
"$LINENO"; then :
24091 gcc_cv_math_func_y1
=yes
24093 gcc_cv_math_func_y1
=no
24095 rm -f core conftest.err conftest.
$ac_objext \
24096 conftest
$ac_exeext conftest.
$ac_ext
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24099 $as_echo "$gcc_cv_math_func_y1" >&6; }
24100 if test $gcc_cv_math_func_y1 = yes; then
24102 cat >>confdefs.h
<<_ACEOF
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24112 $as_echo_n "checking for y1l... " >&6; }
24113 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24114 $as_echo_n "(cached) " >&6
24116 if test x
$gcc_no_link = xyes
; then
24117 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24120 /* end confdefs.h. */
24122 #ifdef HAVE_COMPLEX_H
24123 #include <complex.h>
24129 int (*ptr)() = (int (*)())y1l;
24138 if ac_fn_c_try_link
"$LINENO"; then :
24139 gcc_cv_math_func_y1l
=yes
24141 gcc_cv_math_func_y1l
=no
24143 rm -f core conftest.err conftest.
$ac_objext \
24144 conftest
$ac_exeext conftest.
$ac_ext
24146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24147 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24148 if test $gcc_cv_math_func_y1l = yes; then
24150 cat >>confdefs.h
<<_ACEOF
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24160 $as_echo_n "checking for ynf... " >&6; }
24161 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24162 $as_echo_n "(cached) " >&6
24164 if test x
$gcc_no_link = xyes
; then
24165 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24168 /* end confdefs.h. */
24170 #ifdef HAVE_COMPLEX_H
24171 #include <complex.h>
24177 int (*ptr)() = (int (*)())ynf;
24186 if ac_fn_c_try_link
"$LINENO"; then :
24187 gcc_cv_math_func_ynf
=yes
24189 gcc_cv_math_func_ynf
=no
24191 rm -f core conftest.err conftest.
$ac_objext \
24192 conftest
$ac_exeext conftest.
$ac_ext
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24195 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24196 if test $gcc_cv_math_func_ynf = yes; then
24198 cat >>confdefs.h
<<_ACEOF
24207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24208 $as_echo_n "checking for yn... " >&6; }
24209 if test "${gcc_cv_math_func_yn+set}" = set; then :
24210 $as_echo_n "(cached) " >&6
24212 if test x
$gcc_no_link = xyes
; then
24213 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24216 /* end confdefs.h. */
24218 #ifdef HAVE_COMPLEX_H
24219 #include <complex.h>
24225 int (*ptr)() = (int (*)())yn;
24234 if ac_fn_c_try_link
"$LINENO"; then :
24235 gcc_cv_math_func_yn
=yes
24237 gcc_cv_math_func_yn
=no
24239 rm -f core conftest.err conftest.
$ac_objext \
24240 conftest
$ac_exeext conftest.
$ac_ext
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24243 $as_echo "$gcc_cv_math_func_yn" >&6; }
24244 if test $gcc_cv_math_func_yn = yes; then
24246 cat >>confdefs.h
<<_ACEOF
24255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24256 $as_echo_n "checking for ynl... " >&6; }
24257 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24258 $as_echo_n "(cached) " >&6
24260 if test x
$gcc_no_link = xyes
; then
24261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24264 /* end confdefs.h. */
24266 #ifdef HAVE_COMPLEX_H
24267 #include <complex.h>
24273 int (*ptr)() = (int (*)())ynl;
24282 if ac_fn_c_try_link
"$LINENO"; then :
24283 gcc_cv_math_func_ynl
=yes
24285 gcc_cv_math_func_ynl
=no
24287 rm -f core conftest.err conftest.
$ac_objext \
24288 conftest
$ac_exeext conftest.
$ac_ext
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24291 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24292 if test $gcc_cv_math_func_ynl = yes; then
24294 cat >>confdefs.h
<<_ACEOF
24303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24304 $as_echo_n "checking for tgamma... " >&6; }
24305 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24306 $as_echo_n "(cached) " >&6
24308 if test x
$gcc_no_link = xyes
; then
24309 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24312 /* end confdefs.h. */
24314 #ifdef HAVE_COMPLEX_H
24315 #include <complex.h>
24321 int (*ptr)() = (int (*)())tgamma;
24330 if ac_fn_c_try_link
"$LINENO"; then :
24331 gcc_cv_math_func_tgamma
=yes
24333 gcc_cv_math_func_tgamma
=no
24335 rm -f core conftest.err conftest.
$ac_objext \
24336 conftest
$ac_exeext conftest.
$ac_ext
24338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24339 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24340 if test $gcc_cv_math_func_tgamma = yes; then
24342 cat >>confdefs.h
<<_ACEOF
24343 #define HAVE_TGAMMA 1
24351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24352 $as_echo_n "checking for tgammaf... " >&6; }
24353 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24354 $as_echo_n "(cached) " >&6
24356 if test x
$gcc_no_link = xyes
; then
24357 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24360 /* end confdefs.h. */
24362 #ifdef HAVE_COMPLEX_H
24363 #include <complex.h>
24369 int (*ptr)() = (int (*)())tgammaf;
24378 if ac_fn_c_try_link
"$LINENO"; then :
24379 gcc_cv_math_func_tgammaf
=yes
24381 gcc_cv_math_func_tgammaf
=no
24383 rm -f core conftest.err conftest.
$ac_objext \
24384 conftest
$ac_exeext conftest.
$ac_ext
24386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24387 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24388 if test $gcc_cv_math_func_tgammaf = yes; then
24390 cat >>confdefs.h
<<_ACEOF
24391 #define HAVE_TGAMMAF 1
24399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24400 $as_echo_n "checking for tgammal... " >&6; }
24401 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24402 $as_echo_n "(cached) " >&6
24404 if test x
$gcc_no_link = xyes
; then
24405 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24408 /* end confdefs.h. */
24410 #ifdef HAVE_COMPLEX_H
24411 #include <complex.h>
24417 int (*ptr)() = (int (*)())tgammal;
24426 if ac_fn_c_try_link
"$LINENO"; then :
24427 gcc_cv_math_func_tgammal
=yes
24429 gcc_cv_math_func_tgammal
=no
24431 rm -f core conftest.err conftest.
$ac_objext \
24432 conftest
$ac_exeext conftest.
$ac_ext
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24435 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24436 if test $gcc_cv_math_func_tgammal = yes; then
24438 cat >>confdefs.h
<<_ACEOF
24439 #define HAVE_TGAMMAL 1
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24448 $as_echo_n "checking for lgamma... " >&6; }
24449 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24450 $as_echo_n "(cached) " >&6
24452 if test x
$gcc_no_link = xyes
; then
24453 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24456 /* end confdefs.h. */
24458 #ifdef HAVE_COMPLEX_H
24459 #include <complex.h>
24465 int (*ptr)() = (int (*)())lgamma;
24474 if ac_fn_c_try_link
"$LINENO"; then :
24475 gcc_cv_math_func_lgamma
=yes
24477 gcc_cv_math_func_lgamma
=no
24479 rm -f core conftest.err conftest.
$ac_objext \
24480 conftest
$ac_exeext conftest.
$ac_ext
24482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24483 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24484 if test $gcc_cv_math_func_lgamma = yes; then
24486 cat >>confdefs.h
<<_ACEOF
24487 #define HAVE_LGAMMA 1
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24496 $as_echo_n "checking for lgammaf... " >&6; }
24497 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24498 $as_echo_n "(cached) " >&6
24500 if test x
$gcc_no_link = xyes
; then
24501 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24504 /* end confdefs.h. */
24506 #ifdef HAVE_COMPLEX_H
24507 #include <complex.h>
24513 int (*ptr)() = (int (*)())lgammaf;
24522 if ac_fn_c_try_link
"$LINENO"; then :
24523 gcc_cv_math_func_lgammaf
=yes
24525 gcc_cv_math_func_lgammaf
=no
24527 rm -f core conftest.err conftest.
$ac_objext \
24528 conftest
$ac_exeext conftest.
$ac_ext
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24531 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24532 if test $gcc_cv_math_func_lgammaf = yes; then
24534 cat >>confdefs.h
<<_ACEOF
24535 #define HAVE_LGAMMAF 1
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24544 $as_echo_n "checking for lgammal... " >&6; }
24545 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24546 $as_echo_n "(cached) " >&6
24548 if test x
$gcc_no_link = xyes
; then
24549 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24552 /* end confdefs.h. */
24554 #ifdef HAVE_COMPLEX_H
24555 #include <complex.h>
24561 int (*ptr)() = (int (*)())lgammal;
24570 if ac_fn_c_try_link
"$LINENO"; then :
24571 gcc_cv_math_func_lgammal
=yes
24573 gcc_cv_math_func_lgammal
=no
24575 rm -f core conftest.err conftest.
$ac_objext \
24576 conftest
$ac_exeext conftest.
$ac_ext
24578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24579 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24580 if test $gcc_cv_math_func_lgammal = yes; then
24582 cat >>confdefs.h
<<_ACEOF
24583 #define HAVE_LGAMMAL 1
24589 # Check for GFORTRAN_C99_1.1 funcs
24593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24594 $as_echo_n "checking for cacos... " >&6; }
24595 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24596 $as_echo_n "(cached) " >&6
24598 if test x
$gcc_no_link = xyes
; then
24599 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24602 /* end confdefs.h. */
24604 #ifdef HAVE_COMPLEX_H
24605 #include <complex.h>
24611 int (*ptr)() = (int (*)())cacos;
24620 if ac_fn_c_try_link
"$LINENO"; then :
24621 gcc_cv_math_func_cacos
=yes
24623 gcc_cv_math_func_cacos
=no
24625 rm -f core conftest.err conftest.
$ac_objext \
24626 conftest
$ac_exeext conftest.
$ac_ext
24628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24629 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24630 if test $gcc_cv_math_func_cacos = yes; then
24632 cat >>confdefs.h
<<_ACEOF
24633 #define HAVE_CACOS 1
24641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24642 $as_echo_n "checking for cacosf... " >&6; }
24643 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24644 $as_echo_n "(cached) " >&6
24646 if test x
$gcc_no_link = xyes
; then
24647 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24650 /* end confdefs.h. */
24652 #ifdef HAVE_COMPLEX_H
24653 #include <complex.h>
24659 int (*ptr)() = (int (*)())cacosf;
24668 if ac_fn_c_try_link
"$LINENO"; then :
24669 gcc_cv_math_func_cacosf
=yes
24671 gcc_cv_math_func_cacosf
=no
24673 rm -f core conftest.err conftest.
$ac_objext \
24674 conftest
$ac_exeext conftest.
$ac_ext
24676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24677 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24678 if test $gcc_cv_math_func_cacosf = yes; then
24680 cat >>confdefs.h
<<_ACEOF
24681 #define HAVE_CACOSF 1
24689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24690 $as_echo_n "checking for cacosh... " >&6; }
24691 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24692 $as_echo_n "(cached) " >&6
24694 if test x
$gcc_no_link = xyes
; then
24695 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24698 /* end confdefs.h. */
24700 #ifdef HAVE_COMPLEX_H
24701 #include <complex.h>
24707 int (*ptr)() = (int (*)())cacosh;
24716 if ac_fn_c_try_link
"$LINENO"; then :
24717 gcc_cv_math_func_cacosh
=yes
24719 gcc_cv_math_func_cacosh
=no
24721 rm -f core conftest.err conftest.
$ac_objext \
24722 conftest
$ac_exeext conftest.
$ac_ext
24724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24725 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24726 if test $gcc_cv_math_func_cacosh = yes; then
24728 cat >>confdefs.h
<<_ACEOF
24729 #define HAVE_CACOSH 1
24737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24738 $as_echo_n "checking for cacoshf... " >&6; }
24739 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24740 $as_echo_n "(cached) " >&6
24742 if test x
$gcc_no_link = xyes
; then
24743 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24746 /* end confdefs.h. */
24748 #ifdef HAVE_COMPLEX_H
24749 #include <complex.h>
24755 int (*ptr)() = (int (*)())cacoshf;
24764 if ac_fn_c_try_link
"$LINENO"; then :
24765 gcc_cv_math_func_cacoshf
=yes
24767 gcc_cv_math_func_cacoshf
=no
24769 rm -f core conftest.err conftest.
$ac_objext \
24770 conftest
$ac_exeext conftest.
$ac_ext
24772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24773 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24774 if test $gcc_cv_math_func_cacoshf = yes; then
24776 cat >>confdefs.h
<<_ACEOF
24777 #define HAVE_CACOSHF 1
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24786 $as_echo_n "checking for cacoshl... " >&6; }
24787 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24788 $as_echo_n "(cached) " >&6
24790 if test x
$gcc_no_link = xyes
; then
24791 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24794 /* end confdefs.h. */
24796 #ifdef HAVE_COMPLEX_H
24797 #include <complex.h>
24803 int (*ptr)() = (int (*)())cacoshl;
24812 if ac_fn_c_try_link
"$LINENO"; then :
24813 gcc_cv_math_func_cacoshl
=yes
24815 gcc_cv_math_func_cacoshl
=no
24817 rm -f core conftest.err conftest.
$ac_objext \
24818 conftest
$ac_exeext conftest.
$ac_ext
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24821 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24822 if test $gcc_cv_math_func_cacoshl = yes; then
24824 cat >>confdefs.h
<<_ACEOF
24825 #define HAVE_CACOSHL 1
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24834 $as_echo_n "checking for cacosl... " >&6; }
24835 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24836 $as_echo_n "(cached) " >&6
24838 if test x
$gcc_no_link = xyes
; then
24839 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24842 /* end confdefs.h. */
24844 #ifdef HAVE_COMPLEX_H
24845 #include <complex.h>
24851 int (*ptr)() = (int (*)())cacosl;
24860 if ac_fn_c_try_link
"$LINENO"; then :
24861 gcc_cv_math_func_cacosl
=yes
24863 gcc_cv_math_func_cacosl
=no
24865 rm -f core conftest.err conftest.
$ac_objext \
24866 conftest
$ac_exeext conftest.
$ac_ext
24868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24869 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24870 if test $gcc_cv_math_func_cacosl = yes; then
24872 cat >>confdefs.h
<<_ACEOF
24873 #define HAVE_CACOSL 1
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24882 $as_echo_n "checking for casin... " >&6; }
24883 if test "${gcc_cv_math_func_casin+set}" = set; then :
24884 $as_echo_n "(cached) " >&6
24886 if test x
$gcc_no_link = xyes
; then
24887 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24890 /* end confdefs.h. */
24892 #ifdef HAVE_COMPLEX_H
24893 #include <complex.h>
24899 int (*ptr)() = (int (*)())casin;
24908 if ac_fn_c_try_link
"$LINENO"; then :
24909 gcc_cv_math_func_casin
=yes
24911 gcc_cv_math_func_casin
=no
24913 rm -f core conftest.err conftest.
$ac_objext \
24914 conftest
$ac_exeext conftest.
$ac_ext
24916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24917 $as_echo "$gcc_cv_math_func_casin" >&6; }
24918 if test $gcc_cv_math_func_casin = yes; then
24920 cat >>confdefs.h
<<_ACEOF
24921 #define HAVE_CASIN 1
24929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24930 $as_echo_n "checking for casinf... " >&6; }
24931 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24932 $as_echo_n "(cached) " >&6
24934 if test x
$gcc_no_link = xyes
; then
24935 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24938 /* end confdefs.h. */
24940 #ifdef HAVE_COMPLEX_H
24941 #include <complex.h>
24947 int (*ptr)() = (int (*)())casinf;
24956 if ac_fn_c_try_link
"$LINENO"; then :
24957 gcc_cv_math_func_casinf
=yes
24959 gcc_cv_math_func_casinf
=no
24961 rm -f core conftest.err conftest.
$ac_objext \
24962 conftest
$ac_exeext conftest.
$ac_ext
24964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24965 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24966 if test $gcc_cv_math_func_casinf = yes; then
24968 cat >>confdefs.h
<<_ACEOF
24969 #define HAVE_CASINF 1
24977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24978 $as_echo_n "checking for casinh... " >&6; }
24979 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24980 $as_echo_n "(cached) " >&6
24982 if test x
$gcc_no_link = xyes
; then
24983 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24986 /* end confdefs.h. */
24988 #ifdef HAVE_COMPLEX_H
24989 #include <complex.h>
24995 int (*ptr)() = (int (*)())casinh;
25004 if ac_fn_c_try_link
"$LINENO"; then :
25005 gcc_cv_math_func_casinh
=yes
25007 gcc_cv_math_func_casinh
=no
25009 rm -f core conftest.err conftest.
$ac_objext \
25010 conftest
$ac_exeext conftest.
$ac_ext
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25013 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25014 if test $gcc_cv_math_func_casinh = yes; then
25016 cat >>confdefs.h
<<_ACEOF
25017 #define HAVE_CASINH 1
25025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25026 $as_echo_n "checking for casinhf... " >&6; }
25027 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25028 $as_echo_n "(cached) " >&6
25030 if test x
$gcc_no_link = xyes
; then
25031 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25034 /* end confdefs.h. */
25036 #ifdef HAVE_COMPLEX_H
25037 #include <complex.h>
25043 int (*ptr)() = (int (*)())casinhf;
25052 if ac_fn_c_try_link
"$LINENO"; then :
25053 gcc_cv_math_func_casinhf
=yes
25055 gcc_cv_math_func_casinhf
=no
25057 rm -f core conftest.err conftest.
$ac_objext \
25058 conftest
$ac_exeext conftest.
$ac_ext
25060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25061 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25062 if test $gcc_cv_math_func_casinhf = yes; then
25064 cat >>confdefs.h
<<_ACEOF
25065 #define HAVE_CASINHF 1
25073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25074 $as_echo_n "checking for casinhl... " >&6; }
25075 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25076 $as_echo_n "(cached) " >&6
25078 if test x
$gcc_no_link = xyes
; then
25079 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h. */
25084 #ifdef HAVE_COMPLEX_H
25085 #include <complex.h>
25091 int (*ptr)() = (int (*)())casinhl;
25100 if ac_fn_c_try_link
"$LINENO"; then :
25101 gcc_cv_math_func_casinhl
=yes
25103 gcc_cv_math_func_casinhl
=no
25105 rm -f core conftest.err conftest.
$ac_objext \
25106 conftest
$ac_exeext conftest.
$ac_ext
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25109 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25110 if test $gcc_cv_math_func_casinhl = yes; then
25112 cat >>confdefs.h
<<_ACEOF
25113 #define HAVE_CASINHL 1
25121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25122 $as_echo_n "checking for casinl... " >&6; }
25123 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25124 $as_echo_n "(cached) " >&6
25126 if test x
$gcc_no_link = xyes
; then
25127 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25130 /* end confdefs.h. */
25132 #ifdef HAVE_COMPLEX_H
25133 #include <complex.h>
25139 int (*ptr)() = (int (*)())casinl;
25148 if ac_fn_c_try_link
"$LINENO"; then :
25149 gcc_cv_math_func_casinl
=yes
25151 gcc_cv_math_func_casinl
=no
25153 rm -f core conftest.err conftest.
$ac_objext \
25154 conftest
$ac_exeext conftest.
$ac_ext
25156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25157 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25158 if test $gcc_cv_math_func_casinl = yes; then
25160 cat >>confdefs.h
<<_ACEOF
25161 #define HAVE_CASINL 1
25169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25170 $as_echo_n "checking for catan... " >&6; }
25171 if test "${gcc_cv_math_func_catan+set}" = set; then :
25172 $as_echo_n "(cached) " >&6
25174 if test x
$gcc_no_link = xyes
; then
25175 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25178 /* end confdefs.h. */
25180 #ifdef HAVE_COMPLEX_H
25181 #include <complex.h>
25187 int (*ptr)() = (int (*)())catan;
25196 if ac_fn_c_try_link
"$LINENO"; then :
25197 gcc_cv_math_func_catan
=yes
25199 gcc_cv_math_func_catan
=no
25201 rm -f core conftest.err conftest.
$ac_objext \
25202 conftest
$ac_exeext conftest.
$ac_ext
25204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25205 $as_echo "$gcc_cv_math_func_catan" >&6; }
25206 if test $gcc_cv_math_func_catan = yes; then
25208 cat >>confdefs.h
<<_ACEOF
25209 #define HAVE_CATAN 1
25217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25218 $as_echo_n "checking for catanf... " >&6; }
25219 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25220 $as_echo_n "(cached) " >&6
25222 if test x
$gcc_no_link = xyes
; then
25223 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25226 /* end confdefs.h. */
25228 #ifdef HAVE_COMPLEX_H
25229 #include <complex.h>
25235 int (*ptr)() = (int (*)())catanf;
25244 if ac_fn_c_try_link
"$LINENO"; then :
25245 gcc_cv_math_func_catanf
=yes
25247 gcc_cv_math_func_catanf
=no
25249 rm -f core conftest.err conftest.
$ac_objext \
25250 conftest
$ac_exeext conftest.
$ac_ext
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25253 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25254 if test $gcc_cv_math_func_catanf = yes; then
25256 cat >>confdefs.h
<<_ACEOF
25257 #define HAVE_CATANF 1
25265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25266 $as_echo_n "checking for catanh... " >&6; }
25267 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25268 $as_echo_n "(cached) " >&6
25270 if test x
$gcc_no_link = xyes
; then
25271 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25274 /* end confdefs.h. */
25276 #ifdef HAVE_COMPLEX_H
25277 #include <complex.h>
25283 int (*ptr)() = (int (*)())catanh;
25292 if ac_fn_c_try_link
"$LINENO"; then :
25293 gcc_cv_math_func_catanh
=yes
25295 gcc_cv_math_func_catanh
=no
25297 rm -f core conftest.err conftest.
$ac_objext \
25298 conftest
$ac_exeext conftest.
$ac_ext
25300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25301 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25302 if test $gcc_cv_math_func_catanh = yes; then
25304 cat >>confdefs.h
<<_ACEOF
25305 #define HAVE_CATANH 1
25313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25314 $as_echo_n "checking for catanhf... " >&6; }
25315 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25316 $as_echo_n "(cached) " >&6
25318 if test x
$gcc_no_link = xyes
; then
25319 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25322 /* end confdefs.h. */
25324 #ifdef HAVE_COMPLEX_H
25325 #include <complex.h>
25331 int (*ptr)() = (int (*)())catanhf;
25340 if ac_fn_c_try_link
"$LINENO"; then :
25341 gcc_cv_math_func_catanhf
=yes
25343 gcc_cv_math_func_catanhf
=no
25345 rm -f core conftest.err conftest.
$ac_objext \
25346 conftest
$ac_exeext conftest.
$ac_ext
25348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25349 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25350 if test $gcc_cv_math_func_catanhf = yes; then
25352 cat >>confdefs.h
<<_ACEOF
25353 #define HAVE_CATANHF 1
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25362 $as_echo_n "checking for catanhl... " >&6; }
25363 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25364 $as_echo_n "(cached) " >&6
25366 if test x
$gcc_no_link = xyes
; then
25367 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25370 /* end confdefs.h. */
25372 #ifdef HAVE_COMPLEX_H
25373 #include <complex.h>
25379 int (*ptr)() = (int (*)())catanhl;
25388 if ac_fn_c_try_link
"$LINENO"; then :
25389 gcc_cv_math_func_catanhl
=yes
25391 gcc_cv_math_func_catanhl
=no
25393 rm -f core conftest.err conftest.
$ac_objext \
25394 conftest
$ac_exeext conftest.
$ac_ext
25396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25397 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25398 if test $gcc_cv_math_func_catanhl = yes; then
25400 cat >>confdefs.h
<<_ACEOF
25401 #define HAVE_CATANHL 1
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25410 $as_echo_n "checking for catanl... " >&6; }
25411 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25412 $as_echo_n "(cached) " >&6
25414 if test x
$gcc_no_link = xyes
; then
25415 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25418 /* end confdefs.h. */
25420 #ifdef HAVE_COMPLEX_H
25421 #include <complex.h>
25427 int (*ptr)() = (int (*)())catanl;
25436 if ac_fn_c_try_link
"$LINENO"; then :
25437 gcc_cv_math_func_catanl
=yes
25439 gcc_cv_math_func_catanl
=no
25441 rm -f core conftest.err conftest.
$ac_objext \
25442 conftest
$ac_exeext conftest.
$ac_ext
25444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25445 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25446 if test $gcc_cv_math_func_catanl = yes; then
25448 cat >>confdefs.h
<<_ACEOF
25449 #define HAVE_CATANL 1
25455 # On AIX, clog is present in libm as __clog
25456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25457 $as_echo_n "checking for __clog in -lm... " >&6; }
25458 if test "${ac_cv_lib_m___clog+set}" = set; then :
25459 $as_echo_n "(cached) " >&6
25461 ac_check_lib_save_LIBS
=$LIBS
25463 if test x
$gcc_no_link = xyes
; then
25464 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25467 /* end confdefs.h. */
25469 /* Override any GCC internal prototype to avoid an error.
25470 Use char because int might match the return type of a GCC
25471 builtin and then its argument prototype would still apply. */
25484 if ac_fn_c_try_link
"$LINENO"; then :
25485 ac_cv_lib_m___clog
=yes
25487 ac_cv_lib_m___clog
=no
25489 rm -f core conftest.err conftest.
$ac_objext \
25490 conftest
$ac_exeext conftest.
$ac_ext
25491 LIBS
=$ac_check_lib_save_LIBS
25493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25494 $as_echo "$ac_cv_lib_m___clog" >&6; }
25495 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25497 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25502 # Check whether the system has a working stat()
25504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25505 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25506 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25507 $as_echo_n "(cached) " >&6
25510 if test "$cross_compiling" = yes; then :
25512 case "${target}" in
25513 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25514 *) libgfor_cv_have_working_stat
=yes;;
25517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25518 /* end confdefs.h. */
25521 #include <sys/types.h>
25522 #include <sys/stat.h>
25523 #include <unistd.h>
25528 struct stat st1, st2;
25530 f = fopen ("foo", "w");
25531 g = fopen ("bar", "w");
25532 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25534 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25541 if ac_fn_c_try_run
"$LINENO"; then :
25542 libgfor_cv_have_working_stat
=yes
25544 libgfor_cv_have_working_stat
=no
25546 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25547 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25552 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25553 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25555 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25559 # Check whether __mingw_snprintf() is present
25561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25562 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25563 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25564 $as_echo_n "(cached) " >&6
25567 if test x
$gcc_no_link = xyes
; then
25568 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25571 /* end confdefs.h. */
25574 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25580 __mingw_snprintf (NULL, 0, "%d\n", 1);
25586 if ac_fn_c_try_link
"$LINENO"; then :
25587 eval "libgfor_cv_have_mingw_snprintf=yes"
25589 eval "libgfor_cv_have_mingw_snprintf=no"
25591 rm -f core conftest.err conftest.
$ac_objext \
25592 conftest
$ac_exeext conftest.
$ac_ext
25595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25596 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25597 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25599 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25604 # Check whether libquadmath should be used
25605 # Check whether --enable-libquadmath-support was given.
25606 if test "${enable_libquadmath_support+set}" = set; then :
25607 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25609 ENABLE_LIBQUADMATH_SUPPORT
=yes
25612 enable_libquadmath_support
=
25613 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25614 enable_libquadmath_support
=no
25617 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25621 if test "x$enable_libquadmath_support" != xno
; then
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25624 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25625 if test "${libgfor_cv_have_float128+set}" = set; then :
25626 $as_echo_n "(cached) " >&6
25629 if test x
$gcc_no_link = xyes
; then
25630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25631 /* end confdefs.h. */
25633 typedef _Complex float __attribute__((mode(TC))) __complex128;
25635 __float128 foo (__float128 x)
25638 __complex128 z1, z2;
25644 return (__float128) z2;
25647 __float128 bar (__float128 x)
25649 return x * __builtin_huge_valq ();
25663 if ac_fn_c_try_compile
"$LINENO"; then :
25665 libgfor_cv_have_float128
=yes
25669 libgfor_cv_have_float128
=no
25672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25674 if test x
$gcc_no_link = xyes
; then
25675 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25678 /* end confdefs.h. */
25680 typedef _Complex float __attribute__((mode(TC))) __complex128;
25682 __float128 foo (__float128 x)
25685 __complex128 z1, z2;
25691 return (__float128) z2;
25694 __float128 bar (__float128 x)
25696 return x * __builtin_huge_valq ();
25710 if ac_fn_c_try_link
"$LINENO"; then :
25712 libgfor_cv_have_float128
=yes
25716 libgfor_cv_have_float128
=no
25719 rm -f core conftest.err conftest.
$ac_objext \
25720 conftest
$ac_exeext conftest.
$ac_ext
25723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25724 $as_echo "$libgfor_cv_have_float128" >&6; }
25726 if test "x$libgfor_cv_have_float128" = xyes
; then
25728 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25731 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25733 $as_echo_n "checking whether --as-needed works... " >&6; }
25734 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25735 $as_echo_n "(cached) " >&6
25738 save_LDFLAGS
="$LDFLAGS"
25739 LDFLAGS
="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25740 libgfor_cv_have_as_needed
=no
25742 ac_c_werror_flag
=yes
25743 if test x
$gcc_no_link = xyes
; then
25744 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25747 /* end confdefs.h. */
25757 if ac_fn_c_try_link
"$LINENO"; then :
25758 libgfor_cv_have_as_needed
=yes
25760 libgfor_cv_have_as_needed
=no
25762 rm -f core conftest.err conftest.
$ac_objext \
25763 conftest
$ac_exeext conftest.
$ac_ext
25764 LDFLAGS
="$save_LDFLAGS"
25765 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25769 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25771 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25772 LIBQUADSPEC
="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25774 LIBQUADSPEC
="-lquadmath"
25776 if test -f ..
/libquadmath
/libquadmath.la
; then
25777 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25778 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25779 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25781 LIBQUADLIB
="-lquadmath"
25787 # for --disable-quadmath
25798 if test "x$libgfor_cv_have_float128" = xyes
; then
25799 LIBGFOR_BUILD_QUAD_TRUE
=
25800 LIBGFOR_BUILD_QUAD_FALSE
='#'
25802 LIBGFOR_BUILD_QUAD_TRUE
='#'
25803 LIBGFOR_BUILD_QUAD_FALSE
=
25808 # Check for GNU libc feenableexcept
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25810 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25811 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25812 $as_echo_n "(cached) " >&6
25814 ac_check_lib_save_LIBS
=$LIBS
25816 if test x
$gcc_no_link = xyes
; then
25817 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25820 /* end confdefs.h. */
25822 /* Override any GCC internal prototype to avoid an error.
25823 Use char because int might match the return type of a GCC
25824 builtin and then its argument prototype would still apply. */
25828 char feenableexcept ();
25832 return feenableexcept ();
25837 if ac_fn_c_try_link
"$LINENO"; then :
25838 ac_cv_lib_m_feenableexcept
=yes
25840 ac_cv_lib_m_feenableexcept
=no
25842 rm -f core conftest.err conftest.
$ac_objext \
25843 conftest
$ac_exeext conftest.
$ac_ext
25844 LIBS
=$ac_check_lib_save_LIBS
25846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25847 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25848 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25849 have_feenableexcept
=yes
25850 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25855 # At least for glibc, clock_gettime is in librt. But don't
25856 # pull that in if it still doesn't give us the function we want. This
25857 # test is copied from libgomp, and modified to not link in -lrt as
25858 # libgfortran calls clock_gettime via a weak reference if it's found
25860 if test $ac_cv_func_clock_gettime = no
; then
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25862 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25863 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25864 $as_echo_n "(cached) " >&6
25866 ac_check_lib_save_LIBS
=$LIBS
25868 if test x
$gcc_no_link = xyes
; then
25869 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25872 /* end confdefs.h. */
25874 /* Override any GCC internal prototype to avoid an error.
25875 Use char because int might match the return type of a GCC
25876 builtin and then its argument prototype would still apply. */
25880 char clock_gettime ();
25884 return clock_gettime ();
25889 if ac_fn_c_try_link
"$LINENO"; then :
25890 ac_cv_lib_rt_clock_gettime
=yes
25892 ac_cv_lib_rt_clock_gettime
=no
25894 rm -f core conftest.err conftest.
$ac_objext \
25895 conftest
$ac_exeext conftest.
$ac_ext
25896 LIBS
=$ac_check_lib_save_LIBS
25898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25899 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25900 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25902 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25908 # Check for SysV fpsetmask
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25911 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25912 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25913 $as_echo_n "(cached) " >&6
25916 if test x
$gcc_no_link = xyes
; then
25917 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25920 /* end confdefs.h. */
25922 #if HAVE_FLOATINGPOINT_H
25923 # include <floatingpoint.h>
25924 #endif /* HAVE_FLOATINGPOINT_H */
25926 # include <ieeefp.h>
25927 #endif /* HAVE_IEEEFP_H */
25936 if ac_fn_c_try_link
"$LINENO"; then :
25937 eval "libgfor_cv_have_fpsetmask=yes"
25939 eval "libgfor_cv_have_fpsetmask=no"
25941 rm -f core conftest.err conftest.
$ac_objext \
25942 conftest
$ac_exeext conftest.
$ac_ext
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25946 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25947 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
25950 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25955 # Check for AIX fp_trap and fp_enable
25956 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25957 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
25959 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25963 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25964 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
25966 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25971 # Runs configure.host to set up necessary host-dependent shell variables.
25972 # We then display a message about it, and propagate them through the
25974 .
${srcdir}/configure.
host
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25976 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25977 FPU_HOST_HEADER
=config
/${fpu_host}.h
25980 # Some targets require additional compiler options for IEEE compatibility.
25981 IEEE_FLAGS
="${ieee_flags}"
25985 # Check for POSIX getpwuid_r
25987 # There are two versions of getpwuid_r, the POSIX one with 5
25988 # arguments, and another one with 4 arguments used by at least HP-UX
25990 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25992 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25993 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25994 $as_echo_n "(cached) " >&6
25997 if test x
$gcc_no_link = xyes
; then
25998 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26001 /* end confdefs.h. */
26004 #include <sys/types.h>
26010 getpwuid_r(0, NULL, NULL, 0, NULL);
26016 if ac_fn_c_try_link
"$LINENO"; then :
26017 libgfor_cv_posix_getpwuid_r
="yes"
26019 libgfor_cv_posix_getpwuid_r
="no"
26021 rm -f core conftest.err conftest.
$ac_objext \
26022 conftest
$ac_exeext conftest.
$ac_ext
26024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26025 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26027 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26029 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26034 # Check out attribute support.
26036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26037 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26038 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26039 $as_echo_n "(cached) " >&6
26042 save_CFLAGS
="$CFLAGS"
26043 CFLAGS
="$CFLAGS -Werror"
26044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26045 /* end confdefs.h. */
26046 void __attribute__((visibility("hidden"))) foo(void) { }
26055 if ac_fn_c_try_compile
"$LINENO"; then :
26056 libgfor_cv_have_attribute_visibility
=yes
26058 libgfor_cv_have_attribute_visibility
=no
26060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26061 CFLAGS
="$save_CFLAGS"
26063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26064 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26065 if test $libgfor_cv_have_attribute_visibility = yes; then
26067 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26072 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26073 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26074 $as_echo_n "(cached) " >&6
26077 save_CFLAGS
="$CFLAGS"
26078 CFLAGS
="$CFLAGS -Werror"
26079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26080 /* end confdefs.h. */
26081 void __attribute__((dllexport)) foo(void) { }
26090 if ac_fn_c_try_compile
"$LINENO"; then :
26091 libgfor_cv_have_attribute_dllexport
=yes
26093 libgfor_cv_have_attribute_dllexport
=no
26095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26096 CFLAGS
="$save_CFLAGS"
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26099 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26100 if test $libgfor_cv_have_attribute_dllexport = yes; then
26102 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26107 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26108 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26109 $as_echo_n "(cached) " >&6
26112 if test x
$gcc_no_link = xyes
; then
26113 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26116 /* end confdefs.h. */
26119 extern void bar(void) __attribute__((alias("foo")));
26128 if ac_fn_c_try_link
"$LINENO"; then :
26129 libgfor_cv_have_attribute_alias
=yes
26131 libgfor_cv_have_attribute_alias
=no
26133 rm -f core conftest.err conftest.
$ac_objext \
26134 conftest
$ac_exeext conftest.
$ac_ext
26136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26137 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26138 if test $libgfor_cv_have_attribute_alias = yes; then
26140 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26144 # Check out sync builtins support.
26146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26147 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26148 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26149 $as_echo_n "(cached) " >&6
26152 if test x
$gcc_no_link = xyes
; then
26153 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26156 /* end confdefs.h. */
26162 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26163 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26168 if ac_fn_c_try_link
"$LINENO"; then :
26169 libgfor_cv_have_sync_fetch_and_add
=yes
26171 libgfor_cv_have_sync_fetch_and_add
=no
26173 rm -f core conftest.err conftest.
$ac_objext \
26174 conftest
$ac_exeext conftest.
$ac_ext
26176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26177 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26178 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26180 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26184 # Check out #pragma weak.
26186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26187 $as_echo_n "checking whether pragma weak works... " >&6; }
26188 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26189 $as_echo_n "(cached) " >&6
26192 gfor_save_CFLAGS
="$CFLAGS"
26193 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26195 /* end confdefs.h. */
26208 if ac_fn_c_try_compile
"$LINENO"; then :
26209 libgfor_cv_have_pragma_weak
=yes
26211 libgfor_cv_have_pragma_weak
=no
26213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26216 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26217 if test $libgfor_cv_have_pragma_weak = yes; then
26219 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26223 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
26225 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26230 # Various other checks on target
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26233 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26234 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26235 $as_echo_n "(cached) " >&6
26238 if test "$cross_compiling" = yes; then :
26240 case "${target}" in
26241 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26242 *) libgfor_cv_have_unlink_open_file
=yes;;
26245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26246 /* end confdefs.h. */
26250 #include <unistd.h>
26251 #include <sys/stat.h>
26257 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26260 if (unlink ("testfile") == -1)
26262 write (fd, "This is a test\n", 15);
26265 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26271 if ac_fn_c_try_run
"$LINENO"; then :
26272 libgfor_cv_have_unlink_open_file
=yes
26274 libgfor_cv_have_unlink_open_file
=no
26276 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26277 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26282 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26283 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26285 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26289 # Check whether line terminator is LF or CRLF
26291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26292 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26293 if test "${libgfor_cv_have_crlf+set}" = set; then :
26294 $as_echo_n "(cached) " >&6
26297 if test "$cross_compiling" = yes; then :
26299 case "${target}" in
26300 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26301 *) libgfor_cv_have_crlf
=no
;;
26304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26305 /* end confdefs.h. */
26307 /* This test program should exit with status 0 if system uses a CRLF as
26308 line terminator, and status 1 otherwise.
26309 Since it is used to check for mingw systems, and should return 0 in any
26310 other case, in case of a failure we will not use CRLF. */
26311 #include <sys/stat.h>
26312 #include <stdlib.h>
26324 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26327 if (write (fd, "\n", 1) < 0)
26332 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26334 bytes = read (fd, buff, 5);
26335 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26342 if ac_fn_c_try_run
"$LINENO"; then :
26343 libgfor_cv_have_crlf
=yes
26345 libgfor_cv_have_crlf
=no
26347 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26348 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26353 $as_echo "$libgfor_cv_have_crlf" >&6; }
26354 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26356 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26360 # Check whether we have _Unwind_GetIPInfo for backtrace
26363 # Check whether --with-system-libunwind was given.
26364 if test "${with_system_libunwind+set}" = set; then :
26365 withval
=$with_system_libunwind;
26368 # If system-libunwind was not specifically set, pick a default setting.
26369 if test x
$with_system_libunwind = x
; then
26371 ia64-
*-hpux*) with_system_libunwind
=yes ;;
26372 *) with_system_libunwind
=no
;;
26375 # Based on system-libunwind and target, do we have ipinfo?
26376 if test x
$with_system_libunwind = xyes
; then
26378 ia64-
*-*) have_unwind_getipinfo
=no
;;
26379 *) have_unwind_getipinfo
=yes ;;
26382 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26385 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
26386 *) have_unwind_getipinfo
=yes ;;
26391 if test x
$have_unwind_getipinfo = xyes
; then
26393 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26398 cat >confcache
<<\_ACEOF
26399 # This file is a shell script that caches the results of configure
26400 # tests run on this system so they can be shared between configure
26401 # scripts and configure runs, see configure's option --config-cache.
26402 # It is not useful on other systems. If it contains results you don't
26403 # want to keep, you may remove or edit it.
26405 # config.status only pays attention to the cache file if you give it
26406 # the --recheck option to rerun configure.
26408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26410 # following values.
26414 # The following way of writing the cache mishandles newlines in values,
26415 # but we know of no workaround that is simple, portable, and efficient.
26416 # So, we kill variables containing newlines.
26417 # Ultrix sh set writes to stderr and can't be redirected directly,
26418 # and sets the high bit in the cache file unless we assign to the vars.
26420 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26421 eval ac_val
=\$
$ac_var
26425 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26426 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26429 _ | IFS | as_nl
) ;; #(
26430 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26431 *) { eval $ac_var=; unset $ac_var;} ;;
26437 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26438 *${as_nl}ac_space
=\
*)
26439 # `set' does not quote correctly, so add quotes: double-quote
26440 # substitution turns \\\\ into \\, and sed turns \\ into \.
26443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26446 # `set' quotes correctly as required by POSIX, so do not add quotes.
26447 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26456 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26458 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26460 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26461 if test -w "$cache_file"; then
26462 test "x$cache_file" != "x/dev/null" &&
26463 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26464 $as_echo "$as_me: updating cache $cache_file" >&6;}
26465 cat confcache
>$cache_file
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26468 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26473 if test ${multilib} = yes; then
26474 multilib_arg
="--enable-multilib"
26479 # Write our Makefile and spec file.
26480 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26482 cat >confcache
<<\_ACEOF
26483 # This file is a shell script that caches the results of configure
26484 # tests run on this system so they can be shared between configure
26485 # scripts and configure runs, see configure's option --config-cache.
26486 # It is not useful on other systems. If it contains results you don't
26487 # want to keep, you may remove or edit it.
26489 # config.status only pays attention to the cache file if you give it
26490 # the --recheck option to rerun configure.
26492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26494 # following values.
26498 # The following way of writing the cache mishandles newlines in values,
26499 # but we know of no workaround that is simple, portable, and efficient.
26500 # So, we kill variables containing newlines.
26501 # Ultrix sh set writes to stderr and can't be redirected directly,
26502 # and sets the high bit in the cache file unless we assign to the vars.
26504 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26505 eval ac_val
=\$
$ac_var
26509 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26513 _ | IFS | as_nl
) ;; #(
26514 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26515 *) { eval $ac_var=; unset $ac_var;} ;;
26521 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26522 *${as_nl}ac_space
=\
*)
26523 # `set' does not quote correctly, so add quotes: double-quote
26524 # substitution turns \\\\ into \\, and sed turns \\ into \.
26527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26530 # `set' quotes correctly as required by POSIX, so do not add quotes.
26531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26544 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26545 if test -w "$cache_file"; then
26546 test "x$cache_file" != "x/dev/null" &&
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26548 $as_echo "$as_me: updating cache $cache_file" >&6;}
26549 cat confcache
>$cache_file
26551 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26552 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26557 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26558 # Let make expand exec_prefix.
26559 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26561 DEFS
=-DHAVE_CONFIG_H
26565 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26566 # 1. Remove the extension, and $U if already installed.
26567 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26568 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26569 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26570 # will be set to the directory where LIBOBJS objects are built.
26571 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26572 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26574 LIBOBJS
=$ac_libobjs
26576 LTLIBOBJS
=$ac_ltlibobjs
26579 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26580 as_fn_error
"conditional \"onestep\" was never defined.
26581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26583 if test -n "$EXEEXT"; then
26585 am__EXEEXT_FALSE
='#'
26587 am__EXEEXT_TRUE
='#'
26591 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26592 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26595 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26596 as_fn_error
"conditional \"AMDEP\" was never defined.
26597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26599 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26600 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26603 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26604 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26607 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26608 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26611 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26612 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26615 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26616 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26619 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26620 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26624 : ${CONFIG_STATUS=./config.status}
26626 ac_clean_files_save
=$ac_clean_files
26627 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26629 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26631 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26633 # Generated by $as_me.
26634 # Run this file to recreate the current configuration.
26635 # Compiler output produced by configure, useful for debugging
26636 # configure, is in config.log if it exists.
26639 ac_cs_recheck=false
26642 SHELL=\${CONFIG_SHELL-$SHELL}
26645 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26646 ## -------------------- ##
26647 ## M4sh Initialization. ##
26648 ## -------------------- ##
26650 # Be more Bourne compatible
26651 DUALCASE
=1; export DUALCASE
# for MKS sh
26652 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26655 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26656 # is contrary to our usage. Disable this feature.
26657 alias -g '${1+"$@"}'='"$@"'
26658 setopt NO_GLOB_SUBST
26660 case `(set -o) 2>/dev/null` in #(
26672 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26673 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26674 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26675 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26676 # Prefer a ksh shell builtin over an external printf program on Solaris,
26677 # but without wasting forks for bash or zsh.
26678 if test -z "$BASH_VERSION$ZSH_VERSION" \
26679 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26680 as_echo='print
-r --'
26681 as_echo_n='print
-rn --'
26682 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26683 as_echo='printf %s
\n'
26684 as_echo_n='printf %s
'
26686 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26687 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26688 as_echo_n='/usr
/ucb
/echo -n'
26690 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26691 as_echo_n_body='eval
26695 expr "X$arg" : "X\\(.*\\)$as_nl";
26696 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26698 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26700 export as_echo_n_body
26701 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26703 export as_echo_body
26704 as_echo='sh
-c $as_echo_body as_echo
'
26707 # The user is always right.
26708 if test "${PATH_SEPARATOR+set}" != set; then
26710 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26711 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26718 # We need space, tab and new line, in precisely that order. Quoting is
26719 # there to prevent editors from complaining about space-tab.
26720 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26721 # splitting by setting IFS to empty value.)
26724 # Find who we are. Look in the path if we contain no directory separator.
26726 *[\\/]* ) as_myself=$0 ;;
26727 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26728 for as_dir in $PATH
26731 test -z "$as_dir" && as_dir=.
26732 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26738 # We did not find ourselves, most probably we were run as `sh COMMAND'
26739 # in which case we are not to be found in the path.
26740 if test "x$as_myself" = x
; then
26743 if test ! -f "$as_myself"; then
26744 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26748 # Unset variables that we do not need and which cause bugs (e.g. in
26749 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26750 # suppresses any "Segmentation fault" message there. '((' could
26751 # trigger a bug in pdksh 5.2.14.
26752 for as_var
in BASH_ENV ENV MAIL MAILPATH
26753 do eval test x\
${$as_var+set} = xset \
26754 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26767 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26770 # as_fn_error ERROR [LINENO LOG_FD]
26771 # ---------------------------------
26772 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26773 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26774 # script with status $?, using 1 if that was 0.
26777 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26779 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26780 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26782 $as_echo "$as_me: error: $1" >&2
26783 as_fn_exit
$as_status
26787 # as_fn_set_status STATUS
26788 # -----------------------
26789 # Set $? to STATUS, without forking.
26790 as_fn_set_status
()
26793 } # as_fn_set_status
26795 # as_fn_exit STATUS
26796 # -----------------
26797 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26801 as_fn_set_status
$1
26807 # Portably unset VAR.
26810 { eval $1=; unset $1;}
26812 as_unset
=as_fn_unset
26813 # as_fn_append VAR VALUE
26814 # ----------------------
26815 # Append the text in VALUE to the end of the definition contained in VAR. Take
26816 # advantage of any shell optimizations that allow amortized linear growth over
26817 # repeated appends, instead of the typical quadratic growth present in naive
26819 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26820 eval 'as_fn_append ()
26831 # as_fn_arith ARG...
26832 # ------------------
26833 # Perform arithmetic evaluation on the ARGs, and store the result in the
26834 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26835 # must be portable across $(()) and expr.
26836 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26837 eval 'as_fn_arith ()
26844 as_val
=`expr "$@" || test $? -eq 1`
26849 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26850 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26856 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26857 as_basename
=basename
26862 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26868 as_me
=`$as_basename -- "$0" ||
26869 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26870 X"$0" : 'X\(//\)$' \| \
26871 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26873 sed '/^.*\/\([^/][^/]*\)\/*$/{
26887 # Avoid depending upon Character Ranges.
26888 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26889 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26890 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26891 as_cr_digits
='0123456789'
26892 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26894 ECHO_C
= ECHO_N
= ECHO_T
=
26895 case `echo -n x` in #(((((
26897 case `echo 'xy\c'` in
26898 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26900 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
26907 rm -f conf$$ conf$$.exe conf$$.
file
26908 if test -d conf$$.dir
; then
26909 rm -f conf$$.dir
/conf$$.
file
26912 mkdir conf$$.dir
2>/dev
/null
26914 if (echo >conf$$.
file) 2>/dev
/null
; then
26915 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26917 # ... but there are two gotchas:
26918 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26919 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26920 # In both cases, we have to default to `cp -p'.
26921 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26923 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26931 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26932 rmdir conf$$.dir
2>/dev
/null
26937 # Create "$as_dir" as a directory, including parents if necessary.
26942 -*) as_dir
=.
/$as_dir;;
26944 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
26948 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26949 *) as_qdir
=$as_dir;;
26951 as_dirs
="'$as_qdir' $as_dirs"
26952 as_dir
=`$as_dirname -- "$as_dir" ||
26953 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26954 X"$as_dir" : 'X\(//\)[^/]' \| \
26955 X"$as_dir" : 'X\(//\)$' \| \
26956 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26957 $as_echo X"$as_dir" |
26958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26962 /^X\(\/\/\)[^/].*/{
26975 test -d "$as_dir" && break
26977 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26978 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
26982 if mkdir
-p .
2>/dev
/null
; then
26983 as_mkdir_p
='mkdir -p "$as_dir"'
26985 test -d .
/-p && rmdir .
/-p
26989 if test -x / >/dev
/null
2>&1; then
26990 as_test_x
='test -x'
26992 if ls -dL / >/dev
/null
2>&1; then
26999 if test -d "$1"; then
27005 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27006 ???[sx]*):;;*)false;;esac;fi
27010 as_executable_p
=$as_test_x
27012 # Sed expression to map a string onto a valid CPP name.
27013 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27015 # Sed expression to map a string onto a valid variable name.
27016 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27020 ## ----------------------------------- ##
27021 ## Main body of $CONFIG_STATUS script. ##
27022 ## ----------------------------------- ##
27024 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27027 # Save the log message, to keep $0 and so on meaningful, and to
27028 # report actual input values of CONFIG_FILES etc. instead of their
27029 # values after options handling.
27031 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27032 generated by GNU Autoconf 2.64. Invocation command line was
27034 CONFIG_FILES = $CONFIG_FILES
27035 CONFIG_HEADERS = $CONFIG_HEADERS
27036 CONFIG_LINKS = $CONFIG_LINKS
27037 CONFIG_COMMANDS = $CONFIG_COMMANDS
27040 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27045 case $ac_config_files in *"
27046 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27049 case $ac_config_headers in *"
27050 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27055 # Files that config.status was made for.
27056 config_files="$ac_config_files"
27057 config_headers="$ac_config_headers"
27058 config_commands="$ac_config_commands"
27062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27064 \`$as_me' instantiates files and other configuration actions
27065 from templates according to the current configuration. Unless the files
27066 and actions are specified as TAGs, all are instantiated by default.
27068 Usage: $0 [OPTION]... [TAG]...
27070 -h, --help print this help, then exit
27071 -V, --version print version number and configuration settings, then exit
27072 -q, --quiet, --silent
27073 do not print progress messages
27074 -d, --debug don't remove temporary files
27075 --recheck update $as_me by reconfiguring in the same conditions
27076 --file=FILE[:TEMPLATE]
27077 instantiate the configuration file FILE
27078 --header=FILE[:TEMPLATE]
27079 instantiate the configuration header FILE
27081 Configuration files:
27084 Configuration headers:
27087 Configuration commands:
27090 Report bugs to the package provider.
27091 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27092 General help using GNU software: <http://www.gnu.org/gethelp/>."
27095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27097 GNU Fortran Runtime Library config.status 0.3
27098 configured by $0, generated by GNU Autoconf 2.64,
27099 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27101 Copyright (C) 2009 Free Software Foundation, Inc.
27102 This config.status script is free software; the Free Software Foundation
27103 gives unlimited permission to copy, distribute and modify it."
27110 test -n "\$AWK" || AWK=awk
27113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27114 # The default lists apply if the user does not specify any file.
27120 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27121 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27132 # Handling of the options.
27133 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27135 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27136 $as_echo "$ac_cs_version"; exit ;;
27137 --debug |
--debu |
--deb |
--de |
--d |
-d )
27139 --file |
--fil |
--fi |
--f )
27142 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27144 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27145 ac_need_defaults
=false
;;
27146 --header |
--heade |
--head |
--hea )
27149 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27151 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27152 ac_need_defaults
=false
;;
27154 # Conflict between --help and --header
27155 as_fn_error
"ambiguous option: \`$1'
27156 Try \`$0 --help' for more information.";;
27157 --help |
--hel |
-h )
27158 $as_echo "$ac_cs_usage"; exit ;;
27159 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27160 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27163 # This is an error.
27164 -*) as_fn_error
"unrecognized option: \`$1'
27165 Try \`$0 --help' for more information." ;;
27167 *) as_fn_append ac_config_targets
" $1"
27168 ac_need_defaults
=false
;;
27174 ac_configure_extra_args
=
27176 if $ac_cs_silent; then
27178 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27183 if \$ac_cs_recheck; then
27184 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27186 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27187 CONFIG_SHELL='$SHELL'
27188 export CONFIG_SHELL
27193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27197 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27198 ## Running $as_me. ##
27204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27212 with_multisubdir="$with_multisubdir"
27213 with_multisrctop="$with_multisrctop"
27214 with_target_subdir="$with_target_subdir"
27215 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27216 multi_basedir="$multi_basedir"
27217 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27220 GFORTRAN="$GFORTRAN"
27222 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27225 # The HP-UX ksh and POSIX shell print the target directory to stdout
27226 # if CDPATH is set.
27227 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27229 sed_quote_subst='$sed_quote_subst'
27230 double_quote_subst='$double_quote_subst'
27231 delay_variable_subst='$delay_variable_subst'
27232 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27233 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27234 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27235 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27236 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27237 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27238 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27239 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27240 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27241 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27242 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27243 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27244 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27245 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27246 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27247 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27248 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27249 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27250 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27251 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27252 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27253 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27254 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27255 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27256 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27257 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27258 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27259 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27260 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27261 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27262 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27263 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27264 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27265 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27266 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27267 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27268 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27269 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27270 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27271 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27272 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27273 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27274 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27275 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27276 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27277 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27278 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27279 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27280 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"`'
27281 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27282 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27283 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27284 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27285 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27286 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27287 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27288 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27289 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27290 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27291 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27292 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27293 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27294 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27295 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27296 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27297 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27298 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27299 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27300 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27301 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27302 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27303 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27304 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27305 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27306 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27307 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27308 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27309 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27310 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27311 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27312 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27313 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27314 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27315 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27316 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27317 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27318 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27319 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27320 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27321 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27322 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27323 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27324 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27325 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27326 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27327 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27328 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27329 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27330 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27331 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27332 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27333 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27334 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27335 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27336 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27337 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27338 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27339 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27340 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27341 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27342 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27343 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27344 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27345 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27346 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27347 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27348 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27349 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27350 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27351 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27352 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27353 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27354 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27355 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27356 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27357 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27358 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27359 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27360 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27361 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27362 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27363 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27364 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27365 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27366 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27367 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27368 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27369 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27370 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27371 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27372 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27373 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27374 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27375 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27376 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27377 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27378 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27379 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27380 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27381 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27382 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27383 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27384 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27385 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27386 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27387 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27388 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27389 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27390 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27391 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27392 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27393 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27394 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27395 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27396 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27397 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27398 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27399 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27400 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27401 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27402 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27403 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27404 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27405 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27406 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27409 LTCFLAGS='$LTCFLAGS'
27410 compiler='$compiler_DEFAULT'
27412 # A function that is used when there is no print builtin or printf.
27413 func_fallback_echo ()
27415 eval 'cat <<_LTECHO_EOF
27420 # Quote evaled strings.
27434 deplibs_check_method \
27443 lt_cv_sys_global_symbol_pipe \
27444 lt_cv_sys_global_symbol_to_cdecl \
27445 lt_cv_sys_global_symbol_to_c_name_address \
27446 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27447 lt_prog_compiler_no_builtin_flag \
27448 lt_prog_compiler_wl \
27449 lt_prog_compiler_pic \
27450 lt_prog_compiler_static \
27451 lt_cv_prog_compiler_c_o \
27459 export_dynamic_flag_spec \
27460 whole_archive_flag_spec \
27461 compiler_needs_object \
27463 allow_undefined_flag \
27464 no_undefined_flag \
27465 hardcode_libdir_flag_spec \
27466 hardcode_libdir_flag_spec_ld \
27467 hardcode_libdir_separator \
27472 variables_saved_for_relink \
27474 library_names_spec \
27476 install_override_mode \
27480 compiler_lib_search_dirs \
27485 compiler_lib_search_path \
27489 lt_prog_compiler_no_builtin_flag_FC \
27490 lt_prog_compiler_wl_FC \
27491 lt_prog_compiler_pic_FC \
27492 lt_prog_compiler_static_FC \
27493 lt_cv_prog_compiler_c_o_FC \
27494 export_dynamic_flag_spec_FC \
27495 whole_archive_flag_spec_FC \
27496 compiler_needs_object_FC \
27498 allow_undefined_flag_FC \
27499 no_undefined_flag_FC \
27500 hardcode_libdir_flag_spec_FC \
27501 hardcode_libdir_flag_spec_ld_FC \
27502 hardcode_libdir_separator_FC \
27503 fix_srcfile_path_FC \
27504 exclude_expsyms_FC \
27505 include_expsyms_FC \
27506 file_list_spec_FC \
27507 compiler_lib_search_dirs_FC \
27508 predep_objects_FC \
27509 postdep_objects_FC \
27512 compiler_lib_search_path_FC; do
27513 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27514 *[\\\\\\\`\\"\\\$]*)
27515 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27518 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27523 # Double-quote double-evaled strings.
27524 for var in reload_cmds \
27525 old_postinstall_cmds \
27526 old_postuninstall_cmds \
27528 extract_expsyms_cmds \
27529 old_archive_from_new_cmds \
27530 old_archive_from_expsyms_cmds \
27532 archive_expsym_cmds \
27534 module_expsym_cmds \
27535 export_symbols_cmds \
27538 postuninstall_cmds \
27540 sys_lib_search_path_spec \
27541 sys_lib_dlsearch_path_spec \
27543 old_archive_cmds_FC \
27544 old_archive_from_new_cmds_FC \
27545 old_archive_from_expsyms_cmds_FC \
27547 archive_expsym_cmds_FC \
27549 module_expsym_cmds_FC \
27550 export_symbols_cmds_FC \
27551 prelink_cmds_FC; do
27552 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27553 *[\\\\\\\`\\"\\\$]*)
27554 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27557 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27562 ac_aux_dir='$ac_aux_dir'
27563 xsi_shell='$xsi_shell'
27564 lt_shell_append='$lt_shell_append'
27566 # See if we are running on zsh, and set the options which allow our
27567 # commands through without removal of \ escapes INIT.
27568 if test -n "\${ZSH_VERSION+set}" ; then
27569 setopt NO_GLOB_SUBST
27575 TIMESTAMP='$TIMESTAMP'
27586 acx_cv_header_stdint="$acx_cv_header_stdint"
27587 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27588 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27589 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27590 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27591 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27592 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27593 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27594 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27595 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27596 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27597 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27598 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27599 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27606 # Handling of arguments.
27607 for ac_config_target
in $ac_config_targets
27609 case $ac_config_target in
27610 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27611 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27612 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27613 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27614 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27615 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27616 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27618 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27623 # If the user did not use the arguments to specify the items to instantiate,
27624 # then the envvar interface is used. Set only those that are not.
27625 # We use the long form for the default assignment because of an extremely
27626 # bizarre bug on SunOS 4.1.3.
27627 if $ac_need_defaults; then
27628 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27629 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27630 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27633 # Have a temporary directory for convenience. Make it in the build tree
27634 # simply because there is no reason against having it here, and in addition,
27635 # creating and moving files from /tmp can sometimes cause problems.
27636 # Hook for its removal unless debugging.
27637 # Note that there is a small window in which the directory will not be cleaned:
27638 # after its creation but before its name has been assigned to `$tmp'.
27642 trap 'exit_status=$?
27643 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27645 trap 'as_fn_exit 1' 1 2 13 15
27647 # Create a (secure) tmp directory for tmp files.
27650 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27651 test -n "$tmp" && test -d "$tmp"
27654 tmp
=.
/conf$$
-$RANDOM
27655 (umask 077 && mkdir
"$tmp")
27656 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27658 # Set up the scripts for CONFIG_FILES section.
27659 # No need to generate them if there are no CONFIG_FILES.
27660 # This happens for instance with `./config.status config.h'.
27661 if test -n "$CONFIG_FILES"; then
27664 ac_cr
=`echo X | tr X '\015'`
27665 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27666 # But we know of no other shell where ac_cr would be empty at this
27667 # point, so we can use a bashism as a fallback.
27668 if test "x$ac_cr" = x
; then
27669 eval ac_cr
=\$
\'\\r
\'
27671 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27672 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27675 ac_cs_awk_cr
=$ac_cr
27678 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27683 echo "cat >conf$$subs.awk <<_ACEOF" &&
27684 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27686 } >conf$$subs.sh ||
27687 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27688 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27690 for ac_last_try in false false false false false :; do
27691 . ./conf$$subs.sh ||
27692 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27694 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27695 if test $ac_delim_n = $ac_delim_num; then
27697 elif $ac_last_try; then
27698 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27700 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27703 rm -f conf$$subs.sh
27705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27706 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27710 s/^/S["/; s
/!.
*/"]=/
27720 s/\(.\{148\}\).*/\1/
27722 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27727 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27734 s/\(.\{148\}\).*/\1/
27736 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27740 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27745 ' <conf$$subs.awk | sed '
27750 ' >>$CONFIG_STATUS || ac_write_fail=1
27751 rm -f conf$$subs.awk
27752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27754 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27755 for (key in S) S_is_set[key] = 1
27761 nfields = split(line, field, "@
")
27763 len = length(field[1])
27764 for (i = 2; i < nfields; i++) {
27766 keylen = length(key)
27767 if (S_is_set[key]) {
27769 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27770 len += length(value) + length(field[++i])
27781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27782 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27783 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27786 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27787 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27790 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27791 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27792 # trailing colons and then remove the whole line if VPATH becomes empty
27793 # (actually we leave an empty line to preserve line numbers).
27794 if test "x
$srcdir" = x.; then
27795 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27796 s/:*\$(srcdir):*/:/
27797 s/:*\${srcdir}:*/:/
27799 s/^\([^=]*=[ ]*\):*/\1/
27805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27806 fi # test -n "$CONFIG_FILES"
27808 # Set up the scripts for CONFIG_HEADERS section.
27809 # No need to generate them if there are no CONFIG_HEADERS.
27810 # This happens for instance with `./config.status Makefile'.
27811 if test -n "$CONFIG_HEADERS"; then
27812 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27816 # Transform confdefs.h into an awk script `defines.awk', embedded as
27817 # here-document in config.status, that substitutes the proper values into
27818 # config.h.in to produce config.h.
27820 # Create a delimiter string that does not exist in confdefs.h, to ease
27821 # handling of long lines.
27823 for ac_last_try in false false :; do
27824 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27825 if test -z "$ac_t"; then
27827 elif $ac_last_try; then
27828 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27830 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27834 # For the awk script, D is an array of macro values keyed by name,
27835 # likewise P contains macro parameters if any. Preserve backslash
27836 # newline sequences.
27838 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27840 s/.\{148\}/&'"$ac_delim"'/g
27843 s/^[ ]*#[ ]*define[ ][ ]*/ /
27850 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27852 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27856 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27857 D["\
1"]=" \
3\\\\\\n
"\\/p
27859 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27864 s/.\{148\}/&'"$ac_delim"'/g
27869 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27872 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27874 ' <confdefs.h | sed '
27875 s/'"$ac_delim"'/"\\\
27876 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27879 for (key in D) D_is_set[key] = 1
27882 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27884 split(line, arg, " ")
27885 if (arg[1] == "#") {
27889 defundef
= substr
(arg
[1], 2)
27892 split(mac1
, mac2
, "(") #)
27894 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
27895 if (D_is_set
[macro
]) {
27896 # Preserve the white space surrounding the "#".
27897 print prefix
"define", macro P
[macro
] D
[macro
]
27900 # Replace #undef with comments. This is necessary, for example,
27901 # in the case of _POSIX_SOURCE, which is predefined and required
27902 # on some systems where configure will not decide to define it.
27903 if (defundef
== "undef") {
27904 print
"/*", prefix defundef
, macro
, "*/"
27912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27913 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
27914 fi # test -n "$CONFIG_HEADERS"
27917 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27922 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27924 case $ac_mode$ac_tag in
27926 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
27927 :[FH
]-) ac_tag
=-:-;;
27928 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27945 -) ac_f
="$tmp/stdin";;
27946 *) # Look for the file first in the build tree, then in the source tree
27947 # (if the path is not absolute). The absolute path cannot be DOS-style,
27948 # because $ac_f cannot contain `:'.
27952 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27954 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
27956 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27957 as_fn_append ac_file_inputs
" '$ac_f'"
27960 # Let's still pretend it is `configure' which instantiates (i.e., don't
27961 # use $as_me), people would be surprised to read:
27962 # /* config.h. Generated by config.status. */
27963 configure_input
='Generated from '`
27964 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27966 if test x
"$ac_file" != x-
; then
27967 configure_input
="$ac_file. $configure_input"
27968 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27969 $as_echo "$as_me: creating $ac_file" >&6;}
27971 # Neutralize special characters interpreted by sed in replacement strings.
27972 case $configure_input in #(
27973 *\
&* |
*\|
* |
*\\* )
27974 ac_sed_conf_input
=`$as_echo "$configure_input" |
27975 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27976 *) ac_sed_conf_input
=$configure_input;;
27980 *:-:* |
*:-) cat >"$tmp/stdin" \
27981 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
27986 ac_dir
=`$as_dirname -- "$ac_file" ||
27987 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27988 X"$ac_file" : 'X\(//\)[^/]' \| \
27989 X"$ac_file" : 'X\(//\)$' \| \
27990 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27991 $as_echo X"$ac_file" |
27992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27996 /^X\(\/\/\)[^/].*/{
28009 as_dir
="$ac_dir"; as_fn_mkdir_p
28013 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28015 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28016 # A ".." for each directory in $ac_dir_suffix.
28017 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28018 case $ac_top_builddir_sub in
28019 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28020 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28023 ac_abs_top_builddir
=$ac_pwd
28024 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28025 # for backward compatibility:
28026 ac_top_builddir
=$ac_top_build_prefix
28029 .
) # We are building in place.
28031 ac_top_srcdir
=$ac_top_builddir_sub
28032 ac_abs_top_srcdir
=$ac_pwd ;;
28033 [\\/]* | ?
:[\\/]* ) # Absolute name.
28034 ac_srcdir
=$srcdir$ac_dir_suffix;
28035 ac_top_srcdir
=$srcdir
28036 ac_abs_top_srcdir
=$srcdir ;;
28037 *) # Relative name.
28038 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28039 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28040 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28042 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28052 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28053 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28055 ac_MKDIR_P
=$MKDIR_P
28057 [\\/$
]* | ?
:[\\/]* ) ;;
28058 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28063 # If the template does not know about datarootdir, expand it.
28064 # FIXME: This hack should be removed a few years after 2.60.
28065 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28076 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28077 *datarootdir
*) ac_datarootdir_seen
=yes;;
28078 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28080 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28083 ac_datarootdir_hack='
28084 s&@datadir@&$datadir&g
28085 s&@docdir@&$docdir&g
28086 s&@infodir@&$infodir&g
28087 s&@localedir@&$localedir&g
28088 s&@mandir@&$mandir&g
28089 s&\\\${datarootdir}&$datarootdir&g' ;;
28093 # Neutralize VPATH when `$srcdir' = `.'.
28094 # Shell code in configure.ac might set extrasub.
28095 # FIXME: do we really want to maintain this feature?
28096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28097 ac_sed_extra="$ac_vpsub
28100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28102 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28103 s|@configure_input@|
$ac_sed_conf_input|
;t t
28104 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28105 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28106 s
&@srcdir@
&$ac_srcdir&;t t
28107 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28108 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28109 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28110 s
&@builddir@
&$ac_builddir&;t t
28111 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28112 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28113 s
&@INSTALL@
&$ac_INSTALL&;t t
28114 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28115 $ac_datarootdir_hack
28117 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28118 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28120 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28121 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28122 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28124 which seems to be undefined. Please make sure it is defined." >&5
28125 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28126 which seems to be undefined. Please make sure it is defined." >&2;}
28130 -) cat "$tmp/out" && rm -f "$tmp/out";;
28131 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28133 || as_fn_error "could not create $ac_file" "$LINENO" 5
28139 if test x"$ac_file" != x-; then
28141 $as_echo "/* $configure_input */" \
28142 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28143 } >"$tmp/config.h" \
28144 || as_fn_error "could not create $ac_file" "$LINENO" 5
28145 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28146 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28147 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28150 mv "$tmp/config.h" "$ac_file" \
28151 || as_fn_error "could not create $ac_file" "$LINENO" 5
28154 $as_echo "/* $configure_input */" \
28155 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28156 || as_fn_error "could not create -" "$LINENO" 5
28158 # Compute "$ac_file"'s index
in $config_headers.
28161 for _am_header
in $config_headers :; do
28162 case $_am_header in
28163 $_am_arg |
$_am_arg:* )
28166 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28169 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28170 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28171 X"$_am_arg" : 'X\(//\)[^/]' \| \
28172 X"$_am_arg" : 'X\(//\)$' \| \
28173 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28174 $as_echo X"$_am_arg" |
28175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28179 /^X\(\/\/\)[^/].*/{
28191 s/.*/./; q'`/stamp-h
$_am_stamp_count
28194 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28195 $as_echo "$as_me: executing $ac_file commands" >&6;}
28200 case $ac_file$ac_mode in
28202 # Only add multilib support code if we just rebuilt the top-level
28204 case " $CONFIG_FILES " in
28206 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28209 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28210 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28211 # are listed without --file. Let's play safe and only enable the eval
28212 # if we detect the quoting.
28213 case $CONFIG_FILES in
28214 *\'*) eval set x
"$CONFIG_FILES" ;;
28215 *) set x
$CONFIG_FILES ;;
28220 # Strip MF so we end up with the name of the file.
28221 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28222 # Check whether this is an Automake generated Makefile or not.
28223 # We used to match only the files named `Makefile.in', but
28224 # some people rename them; so instead we look at the file content.
28225 # Grep'ing the first line is not enough: some people post-process
28226 # each Makefile.in and add a new line on top of each file to say so.
28227 # Grep'ing the whole file is not good either: AIX grep has a line
28228 # limit of 2048, but all sed's we know have understand at least 4000.
28229 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28230 dirpart
=`$as_dirname -- "$mf" ||
28231 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28232 X"$mf" : 'X\(//\)[^/]' \| \
28233 X"$mf" : 'X\(//\)$' \| \
28234 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28240 /^X\(\/\/\)[^/].*/{
28256 # Extract the definition of DEPDIR, am__include, and am__quote
28257 # from the Makefile without running `make'.
28258 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28259 test -z "$DEPDIR" && continue
28260 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28261 test -z "am__include" && continue
28262 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28263 # When using ansi2knr, U may be empty or an underscore; expand it
28264 U
=`sed -n 's/^U = //p' < "$mf"`
28265 # Find all dependency output files, they are included files with
28266 # $(DEPDIR) in their names. We invoke sed twice because it is the
28267 # simplest approach to changing $(DEPDIR) to its actual value in the
28269 for file in `sed -n "
28270 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28271 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28272 # Make sure the directory exists.
28273 test -f "$dirpart/$file" && continue
28274 fdir
=`$as_dirname -- "$file" ||
28275 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28276 X"$file" : 'X\(//\)[^/]' \| \
28277 X"$file" : 'X\(//\)$' \| \
28278 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28279 $as_echo X"$file" |
28280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28284 /^X\(\/\/\)[^/].*/{
28297 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28298 # echo "creating $dirpart/$file"
28299 echo '# dummy' > "$dirpart/$file"
28306 # See if we are running on zsh, and set the options which allow our
28307 # commands through without removal of \ escapes.
28308 if test -n "${ZSH_VERSION+set}" ; then
28309 setopt NO_GLOB_SUBST
28312 cfgfile
="${ofile}T"
28313 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28316 cat <<_LT_EOF >> "$cfgfile"
28319 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28320 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28321 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28322 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28324 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28325 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28326 # Written by Gordon Matzigkeit, 1996
28328 # This file is part of GNU Libtool.
28330 # GNU Libtool is free software; you can redistribute it and/or
28331 # modify it under the terms of the GNU General Public License as
28332 # published by the Free Software Foundation; either version 2 of
28333 # the License, or (at your option) any later version.
28335 # As a special exception to the GNU General Public License,
28336 # if you distribute this file as part of a program or library that
28337 # is built using GNU Libtool, you may include this file under the
28338 # same distribution terms that you use for the rest of that program.
28340 # GNU Libtool is distributed in the hope that it will be useful,
28341 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28342 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28343 # GNU General Public License for more details.
28345 # You should have received a copy of the GNU General Public License
28346 # along with GNU Libtool; see the file COPYING. If not, a copy
28347 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28348 # obtained by writing to the Free Software Foundation, Inc.,
28349 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28352 # The names of the tagged configurations supported by this script.
28353 available_tags="FC "
28355 # ### BEGIN LIBTOOL CONFIG
28357 # Which release of libtool.m4 was used?
28358 macro_version=$macro_version
28359 macro_revision=$macro_revision
28361 # Whether or not to build shared libraries.
28362 build_libtool_libs=$enable_shared
28364 # Whether or not to build static libraries.
28365 build_old_libs=$enable_static
28367 # What type of objects to build.
28370 # Whether or not to optimize for fast installation.
28371 fast_install=$enable_fast_install
28373 # Shell to use when invoking shell scripts.
28376 # An echo program that protects backslashes.
28380 host_alias=$host_alias
28384 # The build system.
28385 build_alias=$build_alias
28389 # A sed program that does not truncate output.
28392 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28393 Xsed="\$SED -e 1s/^X//"
28395 # A grep program that handles long lines.
28401 # A literal string matcher.
28404 # A BSD- or MS-compatible name lister.
28407 # Whether we need soft or hard links.
28410 # What is the maximum length of a command?
28411 max_cmd_len=$max_cmd_len
28413 # Object file suffix (normally "o").
28416 # Executable file suffix (normally "").
28419 # whether the shell understands "unset".
28422 # turn spaces into newlines.
28425 # turn newlines into spaces.
28428 # An object symbol dumper.
28429 OBJDUMP=$lt_OBJDUMP
28431 # Method to check whether dependent libraries are shared objects.
28432 deplibs_check_method=$lt_deplibs_check_method
28434 # Command to use when deplibs_check_method == "file_magic".
28435 file_magic_cmd=$lt_file_magic_cmd
28439 AR_FLAGS=$lt_AR_FLAGS
28441 # A symbol stripping program.
28444 # Commands used to install an old-style archive.
28446 old_postinstall_cmds=$lt_old_postinstall_cmds
28447 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28449 # Whether to use a lock for old archive extraction.
28450 lock_old_archive_extraction=$lock_old_archive_extraction
28455 # LTCC compiler flags.
28456 LTCFLAGS=$lt_CFLAGS
28458 # Take the output of nm and produce a listing of raw symbols and C names.
28459 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28461 # Transform the output of nm in a proper C declaration.
28462 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28464 # Transform the output of nm in a C name address pair.
28465 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28467 # Transform the output of nm in a C name address pair when lib prefix is needed.
28468 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28470 # The name of the directory that contains temporary libtool files.
28473 # Used to examine libraries when file_magic_cmd begins with "file".
28474 MAGIC_CMD=$MAGIC_CMD
28476 # Must we lock files when doing compilation?
28477 need_locks=$lt_need_locks
28479 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28480 DSYMUTIL=$lt_DSYMUTIL
28482 # Tool to change global to local symbols on Mac OS X.
28485 # Tool to manipulate fat objects and archives on Mac OS X.
28488 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28491 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28492 OTOOL64=$lt_OTOOL64
28494 # Old archive suffix (normally "a").
28497 # Shared library suffix (normally ".so").
28498 shrext_cmds=$lt_shrext_cmds
28500 # The commands to extract the exported symbol list from a shared archive.
28501 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28503 # Variables whose values should be saved in libtool wrapper scripts and
28504 # restored at link time.
28505 variables_saved_for_relink=$lt_variables_saved_for_relink
28507 # Do we need the "lib" prefix for modules?
28508 need_lib_prefix=$need_lib_prefix
28510 # Do we need a version for libraries?
28511 need_version=$need_version
28513 # Library versioning type.
28514 version_type=$version_type
28516 # Shared library runtime path variable.
28517 runpath_var=$runpath_var
28519 # Shared library path variable.
28520 shlibpath_var=$shlibpath_var
28522 # Is shlibpath searched before the hard-coded library search path?
28523 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28525 # Format of library name prefix.
28526 libname_spec=$lt_libname_spec
28528 # List of archive names. First name is the real one, the rest are links.
28529 # The last name is the one that the linker finds with -lNAME
28530 library_names_spec=$lt_library_names_spec
28532 # The coded name of the library, if different from the real name.
28533 soname_spec=$lt_soname_spec
28535 # Permission mode override for installation of shared libraries.
28536 install_override_mode=$lt_install_override_mode
28538 # Command to use after installation of a shared archive.
28539 postinstall_cmds=$lt_postinstall_cmds
28541 # Command to use after uninstallation of a shared archive.
28542 postuninstall_cmds=$lt_postuninstall_cmds
28544 # Commands used to finish a libtool library installation in a directory.
28545 finish_cmds=$lt_finish_cmds
28547 # As "finish_cmds", except a single script fragment to be evaled but
28549 finish_eval=$lt_finish_eval
28551 # Whether we should hardcode library paths into libraries.
28552 hardcode_into_libs=$hardcode_into_libs
28554 # Compile-time system search path for libraries.
28555 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28557 # Run-time system search path for libraries.
28558 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28560 # Whether dlopen is supported.
28561 dlopen_support=$enable_dlopen
28563 # Whether dlopen of programs is supported.
28564 dlopen_self=$enable_dlopen_self
28566 # Whether dlopen of statically linked programs is supported.
28567 dlopen_self_static=$enable_dlopen_self_static
28569 # Commands to strip libraries.
28570 old_striplib=$lt_old_striplib
28571 striplib=$lt_striplib
28574 # The linker used to build libraries.
28577 # How to create reloadable object files.
28578 reload_flag=$lt_reload_flag
28579 reload_cmds=$lt_reload_cmds
28581 # Commands used to build an old-style archive.
28582 old_archive_cmds=$lt_old_archive_cmds
28584 # A language specific compiler.
28587 # Is the compiler the GNU compiler?
28590 # Compiler flag to turn off builtin functions.
28591 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28593 # How to pass a linker flag through the compiler.
28594 wl=$lt_lt_prog_compiler_wl
28596 # Additional compiler flags for building library objects.
28597 pic_flag=$lt_lt_prog_compiler_pic
28599 # Compiler flag to prevent dynamic linking.
28600 link_static_flag=$lt_lt_prog_compiler_static
28602 # Does compiler simultaneously support -c and -o options?
28603 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28605 # Whether or not to add -lc for building shared libraries.
28606 build_libtool_need_lc=$archive_cmds_need_lc
28608 # Whether or not to disallow shared libs when runtime libs are static.
28609 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28611 # Compiler flag to allow reflexive dlopens.
28612 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28614 # Compiler flag to generate shared objects directly from archives.
28615 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28617 # Whether the compiler copes with passing no objects directly.
28618 compiler_needs_object=$lt_compiler_needs_object
28620 # Create an old-style archive from a shared archive.
28621 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28623 # Create a temporary old-style archive to link instead of a shared archive.
28624 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28626 # Commands used to build a shared archive.
28627 archive_cmds=$lt_archive_cmds
28628 archive_expsym_cmds=$lt_archive_expsym_cmds
28630 # Commands used to build a loadable module if different from building
28631 # a shared archive.
28632 module_cmds=$lt_module_cmds
28633 module_expsym_cmds=$lt_module_expsym_cmds
28635 # Whether we are building with GNU ld or not.
28636 with_gnu_ld=$lt_with_gnu_ld
28638 # Flag that allows shared libraries with undefined symbols to be built.
28639 allow_undefined_flag=$lt_allow_undefined_flag
28641 # Flag that enforces no undefined symbols.
28642 no_undefined_flag=$lt_no_undefined_flag
28644 # Flag to hardcode \$libdir into a binary during linking.
28645 # This must work even if \$libdir does not exist
28646 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28648 # If ld is used when linking, flag to hardcode \$libdir into a binary
28649 # during linking. This must work even if \$libdir does not exist.
28650 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28652 # Whether we need a single "-rpath" flag with a separated argument.
28653 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28655 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28656 # DIR into the resulting binary.
28657 hardcode_direct=$hardcode_direct
28659 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28660 # DIR into the resulting binary and the resulting library dependency is
28661 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28662 # library is relocated.
28663 hardcode_direct_absolute=$hardcode_direct_absolute
28665 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28666 # into the resulting binary.
28667 hardcode_minus_L=$hardcode_minus_L
28669 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28670 # into the resulting binary.
28671 hardcode_shlibpath_var=$hardcode_shlibpath_var
28673 # Set to "yes" if building a shared library automatically hardcodes DIR
28674 # into the library and all subsequent libraries and executables linked
28676 hardcode_automatic=$hardcode_automatic
28678 # Set to yes if linker adds runtime paths of dependent libraries
28679 # to runtime path list.
28680 inherit_rpath=$inherit_rpath
28682 # Whether libtool must link a program against all its dependency libraries.
28683 link_all_deplibs=$link_all_deplibs
28685 # Fix the shell variable \$srcfile for the compiler.
28686 fix_srcfile_path=$lt_fix_srcfile_path
28688 # Set to "yes" if exported symbols are required.
28689 always_export_symbols=$always_export_symbols
28691 # The commands to list exported symbols.
28692 export_symbols_cmds=$lt_export_symbols_cmds
28694 # Symbols that should not be listed in the preloaded symbols.
28695 exclude_expsyms=$lt_exclude_expsyms
28697 # Symbols that must always be exported.
28698 include_expsyms=$lt_include_expsyms
28700 # Commands necessary for linking programs (against libraries) with templates.
28701 prelink_cmds=$lt_prelink_cmds
28703 # Specify filename containing input files.
28704 file_list_spec=$lt_file_list_spec
28706 # How to hardcode a shared library path into an executable.
28707 hardcode_action=$hardcode_action
28709 # The directories searched by this compiler when creating a shared library.
28710 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28712 # Dependencies to place before and after the objects being linked to
28713 # create a shared library.
28714 predep_objects=$lt_predep_objects
28715 postdep_objects=$lt_postdep_objects
28716 predeps=$lt_predeps
28717 postdeps=$lt_postdeps
28719 # The library search path used internally by the compiler when linking
28720 # a shared library.
28721 compiler_lib_search_path=$lt_compiler_lib_search_path
28723 # ### END LIBTOOL CONFIG
28729 cat <<\_LT_EOF
>> "$cfgfile"
28730 # AIX sometimes has problems with the GCC collect2 program. For some
28731 # reason, if we set the COLLECT_NAMES environment variable, the problems
28732 # vanish in a puff of smoke.
28733 if test "X${COLLECT_NAMES+set}" != Xset
; then
28735 export COLLECT_NAMES
28742 ltmain
="$ac_aux_dir/ltmain.sh"
28745 # We use sed instead of cat because bash on DJGPP gets confused if
28746 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28747 # text mode, it properly converts lines to CR/LF. This bash problem
28748 # is reportedly fixed, but why not run on old versions too?
28749 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28750 ||
(rm -f "$cfgfile"; exit 1)
28754 cat << \_LT_EOF
>> "$cfgfile"
28756 # func_dirname file append nondir_replacement
28757 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28758 # otherwise set result to NONDIR_REPLACEMENT.
28762 */*) func_dirname_result
="${1%/*}${2}" ;;
28763 * ) func_dirname_result
="${3}" ;;
28767 # func_basename file
28770 func_basename_result
="${1##*/}"
28773 # func_dirname_and_basename file append nondir_replacement
28774 # perform func_basename and func_dirname in a single function
28776 # dirname: Compute the dirname of FILE. If nonempty,
28777 # add APPEND to the result, otherwise set result
28778 # to NONDIR_REPLACEMENT.
28779 # value returned in "$func_dirname_result"
28780 # basename: Compute filename of FILE.
28781 # value retuned in "$func_basename_result"
28782 # Implementation must be kept synchronized with func_dirname
28783 # and func_basename. For efficiency, we do not delegate to
28784 # those functions but instead duplicate the functionality here.
28785 func_dirname_and_basename
()
28788 */*) func_dirname_result
="${1%/*}${2}" ;;
28789 * ) func_dirname_result
="${3}" ;;
28791 func_basename_result
="${1##*/}"
28794 # func_stripname prefix suffix name
28795 # strip PREFIX and SUFFIX off of NAME.
28796 # PREFIX and SUFFIX must not contain globbing or regex special
28797 # characters, hashes, percent signs, but SUFFIX may contain a leading
28798 # dot (in which case that matches only a dot).
28801 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28802 # positional parameters, so assign one to ordinary parameter first.
28803 func_stripname_result
=${3}
28804 func_stripname_result
=${func_stripname_result#"${1}"}
28805 func_stripname_result
=${func_stripname_result%"${2}"}
28811 func_opt_split_opt
=${1%%=*}
28812 func_opt_split_arg
=${1#*=}
28819 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28820 *) func_lo2o_result
=${1} ;;
28824 # func_xform libobj-or-source
28827 func_xform_result
=${1%.*}.lo
28830 # func_arith arithmetic-term...
28833 func_arith_result
=$
(( $
* ))
28837 # STRING may not start with a hyphen.
28840 func_len_result
=${#1}
28845 *) # Bourne compatible functions.
28846 cat << \_LT_EOF
>> "$cfgfile"
28848 # func_dirname file append nondir_replacement
28849 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28850 # otherwise set result to NONDIR_REPLACEMENT.
28853 # Extract subdirectory from the argument.
28854 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28855 if test "X$func_dirname_result" = "X${1}"; then
28856 func_dirname_result
="${3}"
28858 func_dirname_result
="$func_dirname_result${2}"
28862 # func_basename file
28865 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28869 # func_stripname prefix suffix name
28870 # strip PREFIX and SUFFIX off of NAME.
28871 # PREFIX and SUFFIX must not contain globbing or regex special
28872 # characters, hashes, percent signs, but SUFFIX may contain a leading
28873 # dot (in which case that matches only a dot).
28874 # func_strip_suffix prefix name
28878 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28879 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28884 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
28885 my_sed_long_arg
='1s/^-[^=]*=//'
28890 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28891 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28897 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
28900 # func_xform libobj-or-source
28903 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28906 # func_arith arithmetic-term...
28909 func_arith_result
=`expr "$@"`
28913 # STRING may not start with a hyphen.
28916 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28922 case $lt_shell_append in
28924 cat << \_LT_EOF
>> "$cfgfile"
28926 # func_append var value
28927 # Append VALUE to the end of shell variable VAR.
28935 cat << \_LT_EOF
>> "$cfgfile"
28937 # func_append var value
28938 # Append VALUE to the end of shell variable VAR.
28949 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28950 ||
(rm -f "$cfgfile"; exit 1)
28952 mv -f "$cfgfile" "$ofile" ||
28953 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28957 cat <<_LT_EOF >> "$ofile"
28959 # ### BEGIN LIBTOOL TAG CONFIG: FC
28961 # The linker used to build libraries.
28964 # How to create reloadable object files.
28965 reload_flag=$lt_reload_flag_FC
28966 reload_cmds=$lt_reload_cmds_FC
28968 # Commands used to build an old-style archive.
28969 old_archive_cmds=$lt_old_archive_cmds_FC
28971 # A language specific compiler.
28974 # Is the compiler the GNU compiler?
28977 # Compiler flag to turn off builtin functions.
28978 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28980 # How to pass a linker flag through the compiler.
28981 wl=$lt_lt_prog_compiler_wl_FC
28983 # Additional compiler flags for building library objects.
28984 pic_flag=$lt_lt_prog_compiler_pic_FC
28986 # Compiler flag to prevent dynamic linking.
28987 link_static_flag=$lt_lt_prog_compiler_static_FC
28989 # Does compiler simultaneously support -c and -o options?
28990 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28992 # Whether or not to add -lc for building shared libraries.
28993 build_libtool_need_lc=$archive_cmds_need_lc_FC
28995 # Whether or not to disallow shared libs when runtime libs are static.
28996 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28998 # Compiler flag to allow reflexive dlopens.
28999 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29001 # Compiler flag to generate shared objects directly from archives.
29002 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29004 # Whether the compiler copes with passing no objects directly.
29005 compiler_needs_object=$lt_compiler_needs_object_FC
29007 # Create an old-style archive from a shared archive.
29008 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29010 # Create a temporary old-style archive to link instead of a shared archive.
29011 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29013 # Commands used to build a shared archive.
29014 archive_cmds=$lt_archive_cmds_FC
29015 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29017 # Commands used to build a loadable module if different from building
29018 # a shared archive.
29019 module_cmds=$lt_module_cmds_FC
29020 module_expsym_cmds=$lt_module_expsym_cmds_FC
29022 # Whether we are building with GNU ld or not.
29023 with_gnu_ld=$lt_with_gnu_ld_FC
29025 # Flag that allows shared libraries with undefined symbols to be built.
29026 allow_undefined_flag=$lt_allow_undefined_flag_FC
29028 # Flag that enforces no undefined symbols.
29029 no_undefined_flag=$lt_no_undefined_flag_FC
29031 # Flag to hardcode \$libdir into a binary during linking.
29032 # This must work even if \$libdir does not exist
29033 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29035 # If ld is used when linking, flag to hardcode \$libdir into a binary
29036 # during linking. This must work even if \$libdir does not exist.
29037 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29039 # Whether we need a single "-rpath" flag with a separated argument.
29040 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29042 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29043 # DIR into the resulting binary.
29044 hardcode_direct=$hardcode_direct_FC
29046 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29047 # DIR into the resulting binary and the resulting library dependency is
29048 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29049 # library is relocated.
29050 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29052 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29053 # into the resulting binary.
29054 hardcode_minus_L=$hardcode_minus_L_FC
29056 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29057 # into the resulting binary.
29058 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29060 # Set to "yes" if building a shared library automatically hardcodes DIR
29061 # into the library and all subsequent libraries and executables linked
29063 hardcode_automatic=$hardcode_automatic_FC
29065 # Set to yes if linker adds runtime paths of dependent libraries
29066 # to runtime path list.
29067 inherit_rpath=$inherit_rpath_FC
29069 # Whether libtool must link a program against all its dependency libraries.
29070 link_all_deplibs=$link_all_deplibs_FC
29072 # Fix the shell variable \$srcfile for the compiler.
29073 fix_srcfile_path=$lt_fix_srcfile_path_FC
29075 # Set to "yes" if exported symbols are required.
29076 always_export_symbols=$always_export_symbols_FC
29078 # The commands to list exported symbols.
29079 export_symbols_cmds=$lt_export_symbols_cmds_FC
29081 # Symbols that should not be listed in the preloaded symbols.
29082 exclude_expsyms=$lt_exclude_expsyms_FC
29084 # Symbols that must always be exported.
29085 include_expsyms=$lt_include_expsyms_FC
29087 # Commands necessary for linking programs (against libraries) with templates.
29088 prelink_cmds=$lt_prelink_cmds_FC
29090 # Specify filename containing input files.
29091 file_list_spec=$lt_file_list_spec_FC
29093 # How to hardcode a shared library path into an executable.
29094 hardcode_action=$hardcode_action_FC
29096 # The directories searched by this compiler when creating a shared library.
29097 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29099 # Dependencies to place before and after the objects being linked to
29100 # create a shared library.
29101 predep_objects=$lt_predep_objects_FC
29102 postdep_objects=$lt_postdep_objects_FC
29103 predeps=$lt_predeps_FC
29104 postdeps=$lt_postdeps_FC
29106 # The library search path used internally by the compiler when linking
29107 # a shared library.
29108 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29110 # ### END LIBTOOL TAG CONFIG: FC
29115 if test "$GCC" = yes; then
29116 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29118 echo "/* generated for $CC */" > tmp-stdint.h
29121 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29123 #ifndef GCC_GENERATED_STDINT_H
29124 #define GCC_GENERATED_STDINT_H 1
29126 #include <sys/types.h>
29129 if test "$acx_cv_header_stdint" != stdint.h
; then
29130 echo "#include <stddef.h>" >> tmp-stdint.h
29132 if test "$acx_cv_header_stdint" != stddef.h
; then
29133 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29136 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29137 /* glibc uses these symbols as guards to prevent redefinitions. */
29138 #ifdef __int8_t_defined
29143 #ifdef __uint32_t_defined
29149 # ----------------- done header, emit basic int types -------------
29150 if test "$acx_cv_header_stdint" = stddef.h
; then
29151 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29155 #ifndef __uint8_t_defined
29156 #define __uint8_t_defined
29158 typedef unsigned $acx_cv_type_int8_t uint8_t;
29165 #ifndef __uint16_t_defined
29166 #define __uint16_t_defined
29168 typedef unsigned $acx_cv_type_int16_t uint16_t;
29175 #ifndef __uint32_t_defined
29176 #define __uint32_t_defined
29178 typedef unsigned $acx_cv_type_int32_t uint32_t;
29185 #ifndef __int8_t_defined
29186 #define __int8_t_defined
29188 typedef $acx_cv_type_int8_t int8_t;
29195 #ifndef __int16_t_defined
29196 #define __int16_t_defined
29198 typedef $acx_cv_type_int16_t int16_t;
29205 #ifndef __int32_t_defined
29206 #define __int32_t_defined
29208 typedef $acx_cv_type_int32_t int32_t;
29213 elif test "$ac_cv_type_u_int32_t" = yes; then
29214 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29216 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29229 #ifndef __uint8_t_defined
29230 #define __uint8_t_defined
29232 typedef u_int8_t uint8_t;
29239 #ifndef __uint16_t_defined
29240 #define __uint16_t_defined
29242 typedef u_int16_t uint16_t;
29249 #ifndef __uint32_t_defined
29250 #define __uint32_t_defined
29252 typedef u_int32_t uint32_t;
29258 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29260 /* Some systems have guard macros to prevent redefinitions, define them. */
29282 # ------------- done basic int types, emit int64_t types ------------
29283 if test "$ac_cv_type_uint64_t" = yes; then
29284 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29286 /* system headers have good uint64_t and int64_t */
29294 elif test "$ac_cv_type_u_int64_t" = yes; then
29295 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29297 /* system headers have an u_int64_t (and int64_t) */
29303 #ifndef __uint64_t_defined
29304 #define __uint64_t_defined
29306 typedef u_int64_t uint64_t;
29311 elif test -n "$acx_cv_type_int64_t"; then
29312 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29314 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29318 typedef $acx_cv_type_int64_t int64_t;
29323 #ifndef __uint64_t_defined
29324 #define __uint64_t_defined
29326 typedef unsigned $acx_cv_type_int64_t uint64_t;
29332 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29334 /* some common heuristics for int64_t, using compiler-specific tests */
29335 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29338 #ifndef __int64_t_defined
29340 typedef long long int64_t;
29347 typedef unsigned long long uint64_t;
29351 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29352 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29353 does not implement __extension__. But that compiler doesn't define
29355 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29356 # define __extension__
29362 __extension__ typedef long long int64_t;
29368 __extension__ typedef unsigned long long uint64_t;
29372 #elif !defined __STRICT_ANSI__
29373 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29378 typedef __int64 int64_t;
29384 typedef unsigned __int64 uint64_t;
29387 # endif /* compiler */
29389 #endif /* ANSI version */
29393 # ------------- done int64_t types, emit intptr types ------------
29394 if test "$ac_cv_type_uintptr_t" != yes; then
29395 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29397 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29398 #ifndef __uintptr_t_defined
29400 typedef u$acx_cv_type_intptr_t uintptr_t;
29403 #ifndef __intptr_t_defined
29405 typedef $acx_cv_type_intptr_t intptr_t;
29411 # ------------- done intptr types, emit int_least types ------------
29412 if test "$ac_cv_type_int_least32_t" != yes; then
29413 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29415 /* Define int_least types */
29416 typedef int8_t int_least8_t;
29417 typedef int16_t int_least16_t;
29418 typedef int32_t int_least32_t;
29420 typedef int64_t int_least64_t;
29423 typedef uint8_t uint_least8_t;
29424 typedef uint16_t uint_least16_t;
29425 typedef uint32_t uint_least32_t;
29427 typedef uint64_t uint_least64_t;
29432 # ------------- done intptr types, emit int_fast types ------------
29433 if test "$ac_cv_type_int_fast32_t" != yes; then
29434 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29436 /* Define int_fast types. short is often slow */
29437 typedef int8_t int_fast8_t;
29438 typedef int int_fast16_t;
29439 typedef int32_t int_fast32_t;
29441 typedef int64_t int_fast64_t;
29444 typedef uint8_t uint_fast8_t;
29445 typedef unsigned int uint_fast16_t;
29446 typedef uint32_t uint_fast32_t;
29448 typedef uint64_t uint_fast64_t;
29453 if test "$ac_cv_type_uintmax_t" != yes; then
29454 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29456 /* Define intmax based on what we found */
29459 typedef int64_t intmax_t;
29461 typedef long intmax_t;
29466 typedef uint64_t uintmax_t;
29468 typedef unsigned long uintmax_t;
29474 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29476 #endif /* GCC_GENERATED_STDINT_H */
29479 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29482 mv -f tmp-stdint.h gstdint.h
29493 ac_clean_files
=$ac_clean_files_save
29495 test $ac_write_fail = 0 ||
29496 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29499 # configure is writing to config.log, and then calls config.status.
29500 # config.status does its own redirection, appending to config.log.
29501 # Unfortunately, on DOS this fails, as config.log is still kept open
29502 # by configure, so config.status won't be able to write to it; its
29503 # output is simply discarded. So we exec the FD to /dev/null,
29504 # effectively closing config.log, so it can be properly (re)opened and
29505 # appended to by config.status. When coming back to configure, we
29506 # need to make the FD available again.
29507 if test "$no_create" != yes; then
29509 ac_config_status_args
=
29510 test "$silent" = yes &&
29511 ac_config_status_args
="$ac_config_status_args --quiet"
29513 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29515 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29516 # would make configure fail if this is the last instruction.
29517 $ac_cs_success || as_fn_exit $?
29519 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29521 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}