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_header_list
" math.h"
2599 # Check that the precious variables saved in the cache have kept the same
2601 ac_cache_corrupted
=false
2602 for ac_var
in $ac_precious_vars; do
2603 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2604 eval ac_new_set
=\
$ac_env_${ac_var}_set
2605 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2606 eval ac_new_val
=\
$ac_env_${ac_var}_value
2607 case $ac_old_set,$ac_new_set in
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2610 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2611 ac_cache_corrupted
=: ;;
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2614 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2615 ac_cache_corrupted
=: ;;
2618 if test "x$ac_old_val" != "x$ac_new_val"; then
2619 # differences in whitespace do not lead to failure.
2620 ac_old_val_w
=`echo x $ac_old_val`
2621 ac_new_val_w
=`echo x $ac_new_val`
2622 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2624 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2625 ac_cache_corrupted
=:
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2628 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2629 eval $ac_var=\
$ac_old_val
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2632 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2634 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2637 # Pass precious variables to config.status.
2638 if test "$ac_new_set" = set; then
2640 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2641 *) ac_arg
=$ac_var=$ac_new_val ;;
2643 case " $ac_configure_args " in
2644 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2645 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2649 if $ac_cache_corrupted; then
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2653 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2654 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2656 ## -------------------- ##
2657 ## Main body of script. ##
2658 ## -------------------- ##
2661 ac_cpp
='$CPP $CPPFLAGS'
2662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2670 ac_config_headers
="$ac_config_headers config.h"
2673 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2674 for ac_t
in install-sh
install.sh shtool
; do
2675 if test -f "$ac_dir/$ac_t"; then
2677 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2682 if test -z "$ac_aux_dir"; then
2683 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2686 # These three variables are undocumented and unsupported,
2687 # and are intended to be withdrawn in a future Autoconf release.
2688 # They can cause serious problems if a builder's source tree is in a directory
2689 # whose full name contains unusual characters.
2690 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2691 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2692 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2695 # Make sure we can run config.sub.
2696 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2697 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2700 $as_echo_n "checking build system type... " >&6; }
2701 if test "${ac_cv_build+set}" = set; then :
2702 $as_echo_n "(cached) " >&6
2704 ac_build_alias
=$build_alias
2705 test "x$ac_build_alias" = x
&&
2706 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2707 test "x$ac_build_alias" = x
&&
2708 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2709 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2710 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2714 $as_echo "$ac_cv_build" >&6; }
2715 case $ac_cv_build in
2717 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2720 ac_save_IFS
=$IFS; IFS
='-'
2726 # Remember, the first character of IFS is used to create $*,
2727 # except with old shells:
2730 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2733 case ${build_alias} in
2734 "") build_noncanonical
=${build} ;;
2735 *) build_noncanonical
=${build_alias} ;;
2738 case ${host_alias} in
2739 "") host_noncanonical
=${build_noncanonical} ;;
2740 *) host_noncanonical
=${host_alias} ;;
2743 case ${target_alias} in
2744 "") target_noncanonical
=${host_noncanonical} ;;
2745 *) target_noncanonical
=${target_alias} ;;
2749 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2750 # have matching libraries, they should use host libraries: Makefile.tpl
2751 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2752 # However, they still use the build modules, because the corresponding
2753 # host modules (e.g. bison) are only built for the host when bootstrap
2755 # - build_subdir is where we find build modules, and never changes.
2756 # - build_libsubdir is where we find build libraries, and can be overridden.
2758 # Prefix 'build-' so this never conflicts with target_subdir.
2759 build_subdir
="build-${build_noncanonical}"
2761 # Check whether --with-build-libsubdir was given.
2762 if test "${with_build_libsubdir+set}" = set; then :
2763 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2765 build_libsubdir
="$build_subdir"
2768 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2769 if ( test $srcdir = .
&& test -d gcc
) \
2770 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2771 host_subdir
="host-${host_noncanonical}"
2776 target_subdir
=${target_noncanonical}
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2784 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2785 # Check whether --enable-version-specific-runtime-libs was given.
2786 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2787 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2788 yes) version_specific_libs
=yes ;;
2789 no
) version_specific_libs
=no
;;
2790 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2793 version_specific_libs
=no
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2797 $as_echo "$version_specific_libs" >&6; }
2799 # Build with intermodule optimisations
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2801 $as_echo_n "checking for --enable-intermodule... " >&6; }
2802 # Check whether --enable-intermodule was given.
2803 if test "${enable_intermodule+set}" = set; then :
2804 enableval
=$enable_intermodule; case "$enable_intermodule" in
2805 yes) onestep
="-onestep";;
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2813 $as_echo "$enable_intermodule" >&6; }
2814 if test x
$onestep = x-onestep
; then
2824 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2826 # You will slowly go insane if you do not grok the following fact: when
2827 # building this library, the top-level /target/ becomes the library's /host/.
2829 # configure then causes --target to default to --host, exactly like any
2830 # other package using autoconf. Therefore, 'target' and 'host' will
2831 # always be the same. This makes sense both for native and cross compilers
2832 # just think about it for a little while. :-)
2834 # Also, if this library is being configured as part of a cross compiler, the
2835 # top-level configure script will pass the "real" host as $with_cross_host.
2837 # Do not delete or change the following two lines. For why, see
2838 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2840 $as_echo_n "checking host system type... " >&6; }
2841 if test "${ac_cv_host+set}" = set; then :
2842 $as_echo_n "(cached) " >&6
2844 if test "x$host_alias" = x
; then
2845 ac_cv_host
=$ac_cv_build
2847 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2848 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2853 $as_echo "$ac_cv_host" >&6; }
2856 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2859 ac_save_IFS
=$IFS; IFS
='-'
2865 # Remember, the first character of IFS is used to create $*,
2866 # except with old shells:
2869 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2873 $as_echo_n "checking target system type... " >&6; }
2874 if test "${ac_cv_target+set}" = set; then :
2875 $as_echo_n "(cached) " >&6
2877 if test "x$target_alias" = x
; then
2878 ac_cv_target
=$ac_cv_host
2880 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2881 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2886 $as_echo "$ac_cv_target" >&6; }
2887 case $ac_cv_target in
2889 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2891 target
=$ac_cv_target
2892 ac_save_IFS
=$IFS; IFS
='-'
2898 # Remember, the first character of IFS is used to create $*,
2899 # except with old shells:
2902 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2905 # The aliases save the names the user supplied, while $host etc.
2906 # will get canonicalized.
2907 test -n "$target_alias" &&
2908 test "$program_prefix$program_suffix$program_transform_name" = \
2910 program_prefix
=${target_alias}-
2915 target_alias
=${target_alias-$host_alias}
2918 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2919 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2920 # 1.9.6: minimum required version
2921 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2922 # of other PACKAGE_* variables will, however, and there's nothing
2923 # we can do about that; they come from AC_INIT).
2924 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2925 # file in the top srcdir, etc, etc), so stop complaining.
2926 # no-dist: we don't want 'dist' and related rules.
2927 # -Wall: turns on all automake warnings...
2928 # -Wno-portability: ...except this one, since GNU make is required.
2929 am__api_version
='1.11'
2931 # Find a good install program. We prefer a C program (faster),
2932 # so one script is as good as another. But avoid the broken or
2933 # incompatible versions:
2934 # SysV /etc/install, /usr/sbin/install
2935 # SunOS /usr/etc/install
2936 # IRIX /sbin/install
2938 # AmigaOS /C/install, which installs bootblocks on floppy discs
2939 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2940 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2941 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2942 # OS/2's system install, which has a completely different semantic
2943 # ./install, which can be erroneously created by make from ./install.sh.
2944 # Reject install programs that cannot install multiple files.
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2946 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2947 if test -z "$INSTALL"; then
2948 if test "${ac_cv_path_install+set}" = set; then :
2949 $as_echo_n "(cached) " >&6
2951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir
=.
2956 # Account for people who put trailing slashes in PATH elements.
2957 case $as_dir/ in #((
2958 .
/ | .
// |
/[cC
]/* | \
2959 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2960 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2963 # OSF1 and SCO ODT 3.0 have their own names for install.
2964 # Don't use installbsd from OSF since it installs stuff as root
2966 for ac_prog
in ginstall scoinst
install; do
2967 for ac_exec_ext
in '' $ac_executable_extensions; do
2968 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2969 if test $ac_prog = install &&
2970 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2971 # AIX install. It has an incompatible calling convention.
2973 elif test $ac_prog = install &&
2974 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2975 # program-specific install script used by HP pwplus--don't use.
2978 rm -rf conftest.one conftest.two conftest.dir
2979 echo one
> conftest.one
2980 echo two
> conftest.two
2982 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2983 test -s conftest.one
&& test -s conftest.two
&&
2984 test -s conftest.dir
/conftest.one
&&
2985 test -s conftest.dir
/conftest.two
2987 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3000 rm -rf conftest.one conftest.two conftest.dir
3003 if test "${ac_cv_path_install+set}" = set; then
3004 INSTALL
=$ac_cv_path_install
3006 # As a last resort, use the slow shell script. Don't cache a
3007 # value for INSTALL within a source directory, because that will
3008 # break other packages using the cache if that directory is
3009 # removed, or if the value is a relative name.
3010 INSTALL
=$ac_install_sh
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3014 $as_echo "$INSTALL" >&6; }
3016 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3017 # It thinks the first close brace ends the variable substitution.
3018 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3020 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3022 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3025 $as_echo_n "checking whether build environment is sane... " >&6; }
3028 echo timestamp
> conftest.
file
3029 # Reject unsafe characters in $srcdir or the absolute working directory
3030 # name. Accept space and tab only in the latter.
3034 *[\\\"\
#\$\&\'\`$am_lf]*)
3035 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3038 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3039 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3042 # Do `set' in a subshell so we don't clobber the current shell's
3043 # arguments. Must try -L first in case configure is actually a
3044 # symlink; some systems play weird games with the mod time of symlinks
3045 # (eg FreeBSD returns the mod time of the symlink's containing
3048 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3049 if test "$*" = "X"; then
3051 set X
`ls -t "$srcdir/configure" conftest.file`
3054 if test "$*" != "X $srcdir/configure conftest.file" \
3055 && test "$*" != "X conftest.file $srcdir/configure"; then
3057 # If neither matched, then we have a broken ls. This can happen
3058 # if, for instance, CONFIG_SHELL is bash and it inherits a
3059 # broken ls alias from the environment. This has actually
3060 # happened. Such a system could not be considered "sane".
3061 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3062 alias in your environment" "$LINENO" 5
3065 test "$2" = conftest.
file
3071 as_fn_error
"newly created file is older than distributed files!
3072 Check your system clock" "$LINENO" 5
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3075 $as_echo "yes" >&6; }
3076 test "$program_prefix" != NONE
&&
3077 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3078 # Use a double $ so make ignores it.
3079 test "$program_suffix" != NONE
&&
3080 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3081 # Double any \ or $.
3082 # By default was `s,x,x', remove it if useless.
3083 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3084 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3086 # expand $ac_aux_dir to an absolute path
3087 am_aux_dir
=`cd $ac_aux_dir && pwd`
3089 if test x
"${MISSING+set}" != xset
; then
3092 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3094 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3097 # Use eval to expand $SHELL
3098 if eval "$MISSING --run true"; then
3099 am_missing_run
="$MISSING --run "
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3103 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3106 if test x
"${install_sh}" != xset
; then
3109 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3111 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3115 # Installed binaries are usually stripped using `strip' when the user
3116 # run `make install-strip'. However `strip' might not be the right
3117 # tool to use in cross-compilation environments, therefore Automake
3118 # will honor the `STRIP' environment variable to overrule this program.
3119 if test "$cross_compiling" != no
; then
3120 if test -n "$ac_tool_prefix"; then
3121 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3122 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if test "${ac_cv_prog_STRIP+set}" = set; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -n "$STRIP"; then
3129 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir
=.
3136 for ac_exec_ext
in '' $ac_executable_extensions; do
3137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3138 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 STRIP
=$ac_cv_prog_STRIP
3149 if test -n "$STRIP"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3151 $as_echo "$STRIP" >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3159 if test -z "$ac_cv_prog_STRIP"; then
3161 # Extract the first word of "strip", so it can be a program name with args.
3162 set dummy strip
; ac_word
=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$ac_ct_STRIP"; then
3169 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir
=.
3176 for ac_exec_ext
in '' $ac_executable_extensions; do
3177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3178 ac_cv_prog_ac_ct_STRIP
="strip"
3179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3189 if test -n "$ac_ct_STRIP"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3191 $as_echo "$ac_ct_STRIP" >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3197 if test "x$ac_ct_STRIP" = x
; then
3200 case $cross_compiling:$ac_tool_warned in
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3204 ac_tool_warned
=yes ;;
3209 STRIP
="$ac_cv_prog_STRIP"
3213 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3216 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3217 if test -z "$MKDIR_P"; then
3218 if test "${ac_cv_path_mkdir+set}" = set; then :
3219 $as_echo_n "(cached) " >&6
3221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3222 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3225 test -z "$as_dir" && as_dir
=.
3226 for ac_prog
in mkdir gmkdir
; do
3227 for ac_exec_ext
in '' $ac_executable_extensions; do
3228 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3229 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3230 'mkdir (GNU coreutils) '* | \
3231 'mkdir (coreutils) '* | \
3232 'mkdir (fileutils) '4.1*)
3233 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3243 if test "${ac_cv_path_mkdir+set}" = set; then
3244 MKDIR_P
="$ac_cv_path_mkdir -p"
3246 # As a last resort, use the slow shell script. Don't cache a
3247 # value for MKDIR_P within a source directory, because that will
3248 # break other packages using the cache if that directory is
3249 # removed, or if the value is a relative name.
3250 test -d .
/--version && rmdir .
/--version
3251 MKDIR_P
="$ac_install_sh -d"
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3255 $as_echo "$MKDIR_P" >&6; }
3259 [\\/$
]* | ?
:[\\/]*) ;;
3260 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3263 for ac_prog
in gawk mawk nawk
awk
3265 # Extract the first word of "$ac_prog", so it can be a program name with args.
3266 set dummy
$ac_prog; ac_word
=$2
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268 $as_echo_n "checking for $ac_word... " >&6; }
3269 if test "${ac_cv_prog_AWK+set}" = set; then :
3270 $as_echo_n "(cached) " >&6
3272 if test -n "$AWK"; then
3273 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3279 test -z "$as_dir" && as_dir
=.
3280 for ac_exec_ext
in '' $ac_executable_extensions; do
3281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3282 ac_cv_prog_AWK
="$ac_prog"
3283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3293 if test -n "$AWK"; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3295 $as_echo "$AWK" >&6; }
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298 $as_echo "no" >&6; }
3302 test -n "$AWK" && break
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3306 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3308 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3309 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3310 $as_echo_n "(cached) " >&6
3312 cat >conftest.
make <<\_ACEOF
3315 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3317 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3318 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3320 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3322 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3326 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3328 $as_echo "yes" >&6; }
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 SET_MAKE
="MAKE=${MAKE-make}"
3336 rm -rf .tst
2>/dev
/null
3337 mkdir .tst
2>/dev
/null
3338 if test -d .tst
; then
3343 rmdir .tst
2>/dev
/null
3345 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3346 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3347 # is not polluted with repeated "-I."
3348 am__isrc
=' -I$(srcdir)'
3349 # test to see if srcdir already configured
3350 if test -f $srcdir/config.status
; then
3351 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3355 # test whether we have cygpath
3356 if test -z "$CYGPATH_W"; then
3357 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3358 CYGPATH_W
='cygpath -w'
3365 # Define the identity of the package.
3366 PACKAGE
='libgfortran'
3370 # Some tools Automake needs.
3372 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3375 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3378 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3381 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3384 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3386 # We need awk for the "check" target. The system "awk" is bad on
3388 # Always define AMTAR for backward compatibility. Yes, it's still used
3389 # in the wild :-( We should find a proper way to deprecate it ...
3392 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3401 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3402 # Check whether --enable-maintainer-mode was given.
3403 if test "${enable_maintainer_mode+set}" = set; then :
3404 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3406 USE_MAINTAINER_MODE
=no
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3410 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3411 if test $USE_MAINTAINER_MODE = yes; then
3412 MAINTAINER_MODE_TRUE
=
3413 MAINTAINER_MODE_FALSE
='#'
3415 MAINTAINER_MODE_TRUE
='#'
3416 MAINTAINER_MODE_FALSE
=
3419 MAINT
=$MAINTAINER_MODE_TRUE
3422 # Default to --enable-multilib
3423 # Check whether --enable-multilib was given.
3424 if test "${enable_multilib+set}" = set; then :
3425 enableval
=$enable_multilib; case "$enableval" in
3426 yes) multilib
=yes ;;
3428 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3435 # We may get other options which we leave undocumented:
3436 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3437 # See config-ml.in if you want the gory details.
3439 if test "$srcdir" = "."; then
3440 if test "$with_target_subdir" != "."; then
3441 multi_basedir
="$srcdir/$with_multisrctop../.."
3443 multi_basedir
="$srcdir/$with_multisrctop.."
3446 multi_basedir
="$srcdir/.."
3450 # Even if the default multilib is not a cross compilation,
3451 # it may be that some of the other multilibs are.
3452 if test $cross_compiling = no
&& test $multilib = yes \
3453 && test "x${with_multisubdir}" != x
; then
3454 cross_compiling
=maybe
3457 ac_config_commands
="$ac_config_commands default-1"
3460 # Handy for debugging:
3461 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3463 # Are we being configured with some form of cross compiler?
3464 # NB: We don't actually need to know this just now, but when, say, a test
3465 # suite is included, we'll have to know.
3466 if test "$build" != "$host"; then
3467 LIBGFOR_IS_NATIVE
=false
3470 LIBGFOR_IS_NATIVE
=true
3473 DEPDIR
="${am__leading_dot}deps"
3475 ac_config_commands
="$ac_config_commands depfiles"
3478 am_make
=${MAKE-make}
3479 cat > confinc
<< 'END'
3481 @
echo this is the am__doit target
3484 # If we don't find an include directive, just comment out the code.
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3486 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3490 # First try GNU make style include.
3491 echo "include confinc" > confmf
3492 # Ignore all kinds of additional output from `make'.
3493 case `$am_make -s -f confmf 2> /dev/null` in #(
3494 *the\ am__doit\ target
*)
3500 # Now try BSD make style include.
3501 if test "$am__include" = "#"; then
3502 echo '.include "confinc"' > confmf
3503 case `$am_make -s -f confmf 2> /dev/null` in #(
3504 *the\ am__doit\ target
*)
3505 am__include
=.include
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3514 $as_echo "$_am_result" >&6; }
3515 rm -f confinc confmf
3517 # Check whether --enable-dependency-tracking was given.
3518 if test "${enable_dependency_tracking+set}" = set; then :
3519 enableval
=$enable_dependency_tracking;
3522 if test "x$enable_dependency_tracking" != xno
; then
3523 am_depcomp
="$ac_aux_dir/depcomp"
3527 if test "x$enable_dependency_tracking" != xno; then
3537 ac_cpp
='$CPP $CPPFLAGS'
3538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3543 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if test "${ac_cv_prog_CC+set}" = set; then :
3547 $as_echo_n "(cached) " >&6
3549 if test -n "$CC"; then
3550 ac_cv_prog_CC
="$CC" # Let the user override the test.
3552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3556 test -z "$as_dir" && as_dir
=.
3557 for ac_exec_ext
in '' $ac_executable_extensions; do
3558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3559 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 if test -n "$CC"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3572 $as_echo "$CC" >&6; }
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3580 if test -z "$ac_cv_prog_CC"; then
3582 # Extract the first word of "gcc", so it can be a program name with args.
3583 set dummy gcc
; ac_word
=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3587 $as_echo_n "(cached) " >&6
3589 if test -n "$ac_ct_CC"; then
3590 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3596 test -z "$as_dir" && as_dir
=.
3597 for ac_exec_ext
in '' $ac_executable_extensions; do
3598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3599 ac_cv_prog_ac_ct_CC
="gcc"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3610 if test -n "$ac_ct_CC"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3612 $as_echo "$ac_ct_CC" >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3618 if test "x$ac_ct_CC" = x
; then
3621 case $cross_compiling:$ac_tool_warned in
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3625 ac_tool_warned
=yes ;;
3633 if test -z "$CC"; then
3634 if test -n "$ac_tool_prefix"; then
3635 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3636 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if test "${ac_cv_prog_CC+set}" = set; then :
3640 $as_echo_n "(cached) " >&6
3642 if test -n "$CC"; then
3643 ac_cv_prog_CC
="$CC" # Let the user override the test.
3645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir
=.
3650 for ac_exec_ext
in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 if test -n "$CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665 $as_echo "$CC" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3674 if test -z "$CC"; then
3675 # Extract the first word of "cc", so it can be a program name with args.
3676 set dummy cc
; ac_word
=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if test "${ac_cv_prog_CC+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3682 if test -n "$CC"; then
3683 ac_cv_prog_CC
="$CC" # Let the user override the test.
3686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir
=.
3691 for ac_exec_ext
in '' $ac_executable_extensions; do
3692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3694 ac_prog_rejected
=yes
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 if test $ac_prog_rejected = yes; then
3706 # We found a bogon in the path, so make sure we never use it.
3707 set dummy
$ac_cv_prog_CC
3709 if test $# != 0; then
3710 # We chose a different compiler from the bogus one.
3711 # However, it has the same basename, so the bogon will be chosen
3712 # first if we set CC to just the basename; use the full file name.
3714 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3720 if test -n "$CC"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3722 $as_echo "$CC" >&6; }
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3730 if test -z "$CC"; then
3731 if test -n "$ac_tool_prefix"; then
3732 for ac_prog
in cl.exe
3734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3735 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if test "${ac_cv_prog_CC+set}" = set; then :
3739 $as_echo_n "(cached) " >&6
3741 if test -n "$CC"; then
3742 ac_cv_prog_CC
="$CC" # Let the user override the test.
3744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3748 test -z "$as_dir" && as_dir
=.
3749 for ac_exec_ext
in '' $ac_executable_extensions; do
3750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3751 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 if test -n "$CC"; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3764 $as_echo "$CC" >&6; }
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767 $as_echo "no" >&6; }
3771 test -n "$CC" && break
3774 if test -z "$CC"; then
3776 for ac_prog
in cl.exe
3778 # Extract the first word of "$ac_prog", so it can be a program name with args.
3779 set dummy
$ac_prog; ac_word
=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3785 if test -n "$ac_ct_CC"; then
3786 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir
=.
3793 for ac_exec_ext
in '' $ac_executable_extensions; do
3794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3795 ac_cv_prog_ac_ct_CC
="$ac_prog"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3806 if test -n "$ac_ct_CC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3808 $as_echo "$ac_ct_CC" >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3815 test -n "$ac_ct_CC" && break
3818 if test "x$ac_ct_CC" = x
; then
3821 case $cross_compiling:$ac_tool_warned in
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3825 ac_tool_warned
=yes ;;
3834 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 as_fn_error
"no acceptable C compiler found in \$PATH
3837 See \`config.log' for more details." "$LINENO" 5; }
3839 # Provide some information about the compiler.
3840 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3843 for ac_option
in --version -v -V -qversion; do
3844 { { ac_try
="$ac_compiler $ac_option >&5"
3846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3850 $as_echo "$ac_try_echo"; } >&5
3851 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3853 if test -s conftest.err; then
3855 ... rest of stderr output deleted ...
3856 10q' conftest.err >conftest.er1
3857 cat conftest.er1 >&5
3858 rm -f conftest.er1 conftest.err
3860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3861 test $ac_status = 0; }
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3877 (eval $ac_link) 2>&5
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }; then :
3885 if test x$gcc_no_link = xyes; then
3886 # Setting cross_compile will disable run tests; it will
3887 # also disable AC_CHECK_FILE but that's generally
3888 # correct if we can't link.
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3903 ac_clean_files_save=$ac_clean_files
3904 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3905 # Try to create an executable without -o first, disregard a.out.
3906 # It will help us diagnose broken compilers, and finding out an intuition
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3909 $as_echo_n "checking for C compiler default output file name... " >&6; }
3910 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3912 # The possible output files:
3913 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3916 for ac_file in $ac_files
3919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3920 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3925 if { { ac_try="$ac_link_default"
3927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3928 *) ac_try_echo
=$ac_try;;
3930 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3931 $as_echo "$ac_try_echo"; } >&5
3932 (eval "$ac_link_default") 2>&5
3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3935 test $ac_status = 0; }; then :
3936 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3937 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3938 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3939 # so that the user can short-circuit this test for compilers unknown to
3941 for ac_file
in $ac_files ''
3943 test -f "$ac_file" ||
continue
3945 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3948 # We found the default executable, but exeext='' is most
3952 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3954 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3956 # We set ac_cv_exeext here because the later test for it is not
3957 # safe: cross compilers may not add the suffix if given an `-o'
3958 # argument, so we may need to know it at that point already.
3959 # Even if this section looks crufty: it has the advantage of
3966 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3972 $as_echo "$ac_file" >&6; }
3973 if test -z "$ac_file"; then :
3974 $as_echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.
$ac_ext >&5
3977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3979 { as_fn_set_status
77
3980 as_fn_error
"C compiler cannot create executables
3981 See \`config.log' for more details." "$LINENO" 5; }; }
3983 ac_exeext
=$ac_cv_exeext
3985 # Check that the compiler produces executables we can run. If not, either
3986 # the compiler is broken, or we cross compile.
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3988 $as_echo_n "checking whether the C compiler works... " >&6; }
3989 # If not cross compiling, check that we can run a simple program.
3990 if test "$cross_compiling" != yes; then
3991 if { ac_try
='./$ac_file'
3992 { { case "(($ac_try" in
3993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998 (eval "$ac_try") 2>&5
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }; }; then
4004 if test "$cross_compiling" = maybe; then
4007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 as_fn_error "cannot run C compiled programs.
4010 If you meant to cross compile
, use \
`--host'.
4011 See \`config.log
' for more details." "$LINENO" 5; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4016 $as_echo "yes" >&6; }
4018 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4019 ac_clean_files=$ac_clean_files_save
4020 # Check that the compiler produces executables we can run. If not, either
4021 # the compiler is broken, or we cross compile.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4023 $as_echo_n "checking whether we are cross compiling... " >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4025 $as_echo "$cross_compiling" >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4028 $as_echo_n "checking for suffix of executables... " >&6; }
4029 if { { ac_try="$ac_link"
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_link") 2>&5
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }; then :
4040 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4041 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4042 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4044 for ac_file
in conftest.exe conftest conftest.
*; do
4045 test -f "$ac_file" ||
continue
4047 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4048 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4056 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4057 See \`config.log' for more details." "$LINENO" 5; }
4059 rm -f conftest
$ac_cv_exeext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4061 $as_echo "$ac_cv_exeext" >&6; }
4063 rm -f conftest.
$ac_ext
4064 EXEEXT
=$ac_cv_exeext
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4068 $as_echo_n "checking for suffix of object files... " >&6; }
4069 if test "${ac_cv_objext+set}" = set; then :
4070 $as_echo_n "(cached) " >&6
4072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4083 rm -f conftest.o conftest.obj
4084 if { { ac_try
="$ac_compile"
4086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_compile") 2>&5
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }; then :
4095 for ac_file in conftest.o conftest.obj conftest.*; do
4096 test -f "$ac_file" || continue;
4098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4099 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4104 $as_echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.$ac_ext >&5
4107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4109 as_fn_error "cannot compute suffix of object files
: cannot compile
4110 See \
`config.log' for more details." "$LINENO" 5; }
4112 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4115 $as_echo "$ac_cv_objext" >&6; }
4116 OBJEXT=$ac_cv_objext
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4119 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4120 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4121 $as_echo_n "(cached) " >&6
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4137 if ac_fn_c_try_compile "$LINENO"; then :
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4147 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4148 if test $ac_compiler_gnu = yes; then
4153 ac_test_CFLAGS=${CFLAGS+set}
4154 ac_save_CFLAGS=$CFLAGS
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4156 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4157 if test "${ac_cv_prog_cc_g+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4160 ac_save_c_werror_flag=$ac_c_werror_flag
4161 ac_c_werror_flag=yes
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4175 if ac_fn_c_try_compile "$LINENO"; then :
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4190 if ac_fn_c_try_compile "$LINENO"; then :
4193 ac_c_werror_flag=$ac_save_c_werror_flag
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4206 if ac_fn_c_try_compile "$LINENO"; then :
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 ac_c_werror_flag=$ac_save_c_werror_flag
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4217 $as_echo "$ac_cv_prog_cc_g" >&6; }
4218 if test "$ac_test_CFLAGS" = set; then
4219 CFLAGS=$ac_save_CFLAGS
4220 elif test $ac_cv_prog_cc_g = yes; then
4221 if test "$GCC" = yes; then
4227 if test "$GCC" = yes; then
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4234 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4235 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4236 $as_echo_n "(cached) " >&6
4238 ac_cv_prog_cc_c89=no
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4244 #include <sys/types.h>
4245 #include <sys/stat.h>
4246 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4247 struct buf { int x; };
4248 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4249 static char *e (p, i)
4255 static char *f (char * (*g) (char **, int), char **p, ...)
4260 s = g (p, va_arg (v,int));
4265 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4266 function prototypes and stuff, but not '\xHH' hex character constants.
4267 These don't provoke an error unfortunately, instead are silently treated
4268 as 'x'. The following induces an error, until -std is added to get
4269 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4270 array size at least. It's necessary to write '\x00'==0 to get something
4271 that's true only with -std. */
4272 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4274 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4275 inside strings and character constants. */
4277 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4279 int test (int i, double x);
4280 struct s1 {int (*f) (int a);};
4281 struct s2 {int (*f) (double a);};
4282 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4288 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4293 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4294 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4296 CC="$ac_save_CC $ac_arg"
4297 if ac_fn_c_try_compile "$LINENO"; then :
4298 ac_cv_prog_cc_c89=$ac_arg
4300 rm -f core conftest.err conftest.$ac_objext
4301 test "x$ac_cv_prog_cc_c89" != "xno" && break
4303 rm -f conftest.$ac_ext
4308 case "x$ac_cv_prog_cc_c89" in
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4311 $as_echo "none needed" >&6; } ;;
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4314 $as_echo "unsupported" >&6; } ;;
4316 CC="$CC $ac_cv_prog_cc_c89"
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4318 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4320 if test "x$ac_cv_prog_cc_c89" != xno; then :
4325 ac_cpp='$CPP $CPPFLAGS'
4326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4330 depcc="$CC" am_compiler_list=
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4333 $as_echo_n "checking dependency style of $depcc... " >&6; }
4334 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4335 $as_echo_n "(cached) " >&6
4337 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4338 # We make a subdir and do the tests there. Otherwise we can end up
4339 # making bogus files that we don't know about and never remove. For
4340 # instance it was reported that on HP-UX the gcc test will end up
4341 # making a dummy file named `D
' -- because `-MD' means
`put the output
4345 # Copy depcomp to subdir because otherwise we won't find it if we're
4346 # using a relative directory.
4347 cp "$am_depcomp" conftest.dir
4349 # We will build objects and dependencies in a subdirectory because
4350 # it helps to detect inapplicable dependency modes. For instance
4351 # both Tru64's cc and ICC support -MD to output dependencies as a
4352 # side effect of compilation, but ICC will put the dependencies in
4353 # the current directory while Tru64 will put them in the object
4357 am_cv_CC_dependencies_compiler_type=none
4358 if test "$am_compiler_list" = ""; then
4359 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4362 case " $depcc " in #(
4363 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4366 for depmode in $am_compiler_list; do
4367 # Setup a source with many dependencies, because some compilers
4368 # like to wrap large dependency lists on column 80 (with \), and
4369 # we should not choose a depcomp mode which is confused by this.
4371 # We need to recreate these files for each test, as the compiler may
4372 # overwrite some of them when testing with obscure command lines.
4373 # This happens at least with the AIX C compiler.
4375 for i in 1 2 3 4 5 6; do
4376 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4377 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4378 # Solaris 8's
{/usr
,}/bin
/sh.
4379 touch sub
/conftst
$i.h
4381 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4383 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4384 # mode. It turns out that the SunPro C++ compiler does not properly
4385 # handle `-M -o', and we need to detect this. Also, some Intel
4386 # versions had trouble with output in subdirs
4387 am__obj
=sub
/conftest.
${OBJEXT-o}
4388 am__minus_obj
="-o $am__obj"
4391 # This depmode causes a compiler race in universal mode.
4392 test "$am__universal" = false ||
continue
4395 # after this tag, mechanisms are not by side-effect, so they'll
4396 # only be used when explicitly requested
4397 if test "x$enable_dependency_tracking" = xyes
; then
4403 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4404 # This compiler won't grok `-c -o', but also, the minuso test has
4405 # not run yet. These depmodes are late enough in the game, and
4406 # so weak that their functioning should not be impacted.
4407 am__obj
=conftest.
${OBJEXT-o}
4412 if depmode
=$depmode \
4413 source=sub
/conftest.c object
=$am__obj \
4414 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4415 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4416 >/dev
/null
2>conftest.err
&&
4417 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4418 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4419 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4420 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4421 # icc doesn't choke on unknown options, it will just issue warnings
4422 # or remarks (even with -Werror). So we grep stderr for any message
4423 # that says an option was ignored or not supported.
4424 # When given -MP, icc 7.0 and 7.1 complain thusly:
4425 # icc: Command line warning: ignoring option '-M'; no argument required
4426 # The diagnosis changed in icc 8.0:
4427 # icc: Command line remark: option '-MP' not supported
4428 if (grep 'ignoring option' conftest.err ||
4429 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4430 am_cv_CC_dependencies_compiler_type
=$depmode
4439 am_cv_CC_dependencies_compiler_type
=none
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4444 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4445 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4448 test "x$enable_dependency_tracking" != xno \
4449 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4451 am__fastdepCC_FALSE
='#'
4453 am__fastdepCC_TRUE
='#'
4454 am__fastdepCC_FALSE
=
4460 ac_cpp
='$CPP $CPPFLAGS'
4461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4465 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4466 # On Suns, sometimes $CPP names a directory.
4467 if test -n "$CPP" && test -d "$CPP"; then
4470 if test -z "$CPP"; then
4471 if test "${ac_cv_prog_CPP+set}" = set; then :
4472 $as_echo_n "(cached) " >&6
4474 # Double quotes because CPP needs to be expanded
4475 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4478 for ac_c_preproc_warn_flag
in '' yes
4480 # Use a header file that comes with gcc, so configuring glibc
4481 # with a fresh cross-compiler works.
4482 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4483 # <limits.h> exists even on freestanding compilers.
4484 # On the NeXT, cc -E runs the code through the compiler's parser,
4485 # not just through cpp. "Syntax error" is here to catch this case.
4486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4489 # include <limits.h>
4491 # include <assert.h>
4495 if ac_fn_c_try_cpp
"$LINENO"; then :
4498 # Broken: fails on valid input.
4501 rm -f conftest.err conftest.
$ac_ext
4503 # OK, works on sane cases. Now check whether nonexistent headers
4504 # can be detected and how.
4505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4507 #include <ac_nonexistent.h>
4509 if ac_fn_c_try_cpp
"$LINENO"; then :
4510 # Broken: success on invalid input.
4513 # Passes both tests.
4517 rm -f conftest.err conftest.
$ac_ext
4520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4521 rm -f conftest.err conftest.
$ac_ext
4522 if $ac_preproc_ok; then :
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4535 $as_echo "$CPP" >&6; }
4537 for ac_c_preproc_warn_flag
in '' yes
4539 # Use a header file that comes with gcc, so configuring glibc
4540 # with a fresh cross-compiler works.
4541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4542 # <limits.h> exists even on freestanding compilers.
4543 # On the NeXT, cc -E runs the code through the compiler's parser,
4544 # not just through cpp. "Syntax error" is here to catch this case.
4545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4548 # include <limits.h>
4550 # include <assert.h>
4554 if ac_fn_c_try_cpp
"$LINENO"; then :
4557 # Broken: fails on valid input.
4560 rm -f conftest.err conftest.
$ac_ext
4562 # OK, works on sane cases. Now check whether nonexistent headers
4563 # can be detected and how.
4564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4566 #include <ac_nonexistent.h>
4568 if ac_fn_c_try_cpp
"$LINENO"; then :
4569 # Broken: success on invalid input.
4572 # Passes both tests.
4576 rm -f conftest.err conftest.
$ac_ext
4579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4580 rm -f conftest.err conftest.
$ac_ext
4581 if $ac_preproc_ok; then :
4584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4586 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4587 See \`config.log' for more details." "$LINENO" 5; }
4591 ac_cpp
='$CPP $CPPFLAGS'
4592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4598 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4599 if test "${ac_cv_path_GREP+set}" = set; then :
4600 $as_echo_n "(cached) " >&6
4602 if test -z "$GREP"; then
4603 ac_path_GREP_found
=false
4604 # Loop through the user's path and test for each of PROGNAME-LIST
4605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4606 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4609 test -z "$as_dir" && as_dir
=.
4610 for ac_prog
in grep ggrep
; do
4611 for ac_exec_ext
in '' $ac_executable_extensions; do
4612 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4613 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4614 # Check for GNU ac_path_GREP and select it if it is found.
4615 # Check for GNU $ac_path_GREP
4616 case `"$ac_path_GREP" --version 2>&1` in
4618 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4621 $as_echo_n 0123456789 >"conftest.in"
4624 cat "conftest.in" "conftest.in" >"conftest.tmp"
4625 mv "conftest.tmp" "conftest.in"
4626 cp "conftest.in" "conftest.nl"
4627 $as_echo 'GREP' >> "conftest.nl"
4628 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4629 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4630 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4631 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4632 # Best one so far, save it but keep looking for a better one
4633 ac_cv_path_GREP
="$ac_path_GREP"
4634 ac_path_GREP_max
=$ac_count
4636 # 10*(2^10) chars as input seems more than enough
4637 test $ac_count -gt 10 && break
4639 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4642 $ac_path_GREP_found && break 3
4647 if test -z "$ac_cv_path_GREP"; then
4648 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4651 ac_cv_path_GREP
=$GREP
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4656 $as_echo "$ac_cv_path_GREP" >&6; }
4657 GREP
="$ac_cv_path_GREP"
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4661 $as_echo_n "checking for egrep... " >&6; }
4662 if test "${ac_cv_path_EGREP+set}" = set; then :
4663 $as_echo_n "(cached) " >&6
4665 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4666 then ac_cv_path_EGREP
="$GREP -E"
4668 if test -z "$EGREP"; then
4669 ac_path_EGREP_found
=false
4670 # Loop through the user's path and test for each of PROGNAME-LIST
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4672 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4675 test -z "$as_dir" && as_dir
=.
4676 for ac_prog
in egrep; do
4677 for ac_exec_ext
in '' $ac_executable_extensions; do
4678 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4679 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4680 # Check for GNU ac_path_EGREP and select it if it is found.
4681 # Check for GNU $ac_path_EGREP
4682 case `"$ac_path_EGREP" --version 2>&1` in
4684 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4687 $as_echo_n 0123456789 >"conftest.in"
4690 cat "conftest.in" "conftest.in" >"conftest.tmp"
4691 mv "conftest.tmp" "conftest.in"
4692 cp "conftest.in" "conftest.nl"
4693 $as_echo 'EGREP' >> "conftest.nl"
4694 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4695 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4696 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4697 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4698 # Best one so far, save it but keep looking for a better one
4699 ac_cv_path_EGREP
="$ac_path_EGREP"
4700 ac_path_EGREP_max
=$ac_count
4702 # 10*(2^10) chars as input seems more than enough
4703 test $ac_count -gt 10 && break
4705 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4708 $ac_path_EGREP_found && break 3
4713 if test -z "$ac_cv_path_EGREP"; then
4714 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4717 ac_cv_path_EGREP
=$EGREP
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4723 $as_echo "$ac_cv_path_EGREP" >&6; }
4724 EGREP
="$ac_cv_path_EGREP"
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4728 $as_echo_n "checking for ANSI C header files... " >&6; }
4729 if test "${ac_cv_header_stdc+set}" = set; then :
4730 $as_echo_n "(cached) " >&6
4732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4747 if ac_fn_c_try_compile
"$LINENO"; then :
4748 ac_cv_header_stdc
=yes
4750 ac_cv_header_stdc
=no
4752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4754 if test $ac_cv_header_stdc = yes; then
4755 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4757 /* end confdefs.h. */
4761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4762 $EGREP "memchr" >/dev
/null
2>&1; then :
4765 ac_cv_header_stdc
=no
4771 if test $ac_cv_header_stdc = yes; then
4772 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4779 $EGREP "free" >/dev
/null
2>&1; then :
4782 ac_cv_header_stdc
=no
4788 if test $ac_cv_header_stdc = yes; then
4789 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4790 if test "$cross_compiling" = yes; then :
4793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4797 #if ((' ' & 0x0FF) == 0x020)
4798 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4799 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4801 # define ISLOWER(c) \
4802 (('a' <= (c) && (c) <= 'i') \
4803 || ('j' <= (c) && (c) <= 'r') \
4804 || ('s' <= (c) && (c) <= 'z'))
4805 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4808 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4813 for (i = 0; i < 256; i++)
4814 if (XOR (islower (i), ISLOWER (i))
4815 || toupper (i) != TOUPPER (i))
4820 if ac_fn_c_try_run
"$LINENO"; then :
4823 ac_cv_header_stdc
=no
4825 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4826 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4832 $as_echo "$ac_cv_header_stdc" >&6; }
4833 if test $ac_cv_header_stdc = yes; then
4835 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4839 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4840 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4841 inttypes.h stdint.h unistd.h
4843 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4844 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4846 eval as_val
=\$
$as_ac_Header
4847 if test "x$as_val" = x
""yes; then :
4848 cat >>confdefs.h
<<_ACEOF
4849 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4858 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4859 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4866 if test "$MINIX" = yes; then
4868 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4871 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4874 $as_echo "#define _MINIX 1" >>confdefs.h
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4880 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4881 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4882 $as_echo_n "(cached) " >&6
4884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4887 # define __EXTENSIONS__ 1
4888 $ac_includes_default
4897 if ac_fn_c_try_compile
"$LINENO"; then :
4898 ac_cv_safe_to_define___extensions__
=yes
4900 ac_cv_safe_to_define___extensions__
=no
4902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4905 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4906 test $ac_cv_safe_to_define___extensions__ = yes &&
4907 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4909 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4911 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4913 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4915 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4919 # Calculate toolexeclibdir
4920 # Also toolexecdir, though it's only used in toolexeclibdir
4921 case ${version_specific_libs} in
4923 # Need the gcc compiler version to know where to install libraries
4924 # and header files if --enable-version-specific-runtime-libs option
4926 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4927 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4930 if test -n "$with_cross_host" &&
4931 test x
"$with_cross_host" != x
"no"; then
4932 # Install a library built with a cross compiler in tooldir, not libdir.
4933 toolexecdir
='$(exec_prefix)/$(target_alias)'
4934 toolexeclibdir
='$(toolexecdir)/lib'
4936 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4937 toolexeclibdir
='$(libdir)'
4939 multi_os_directory
=`$CC -print-multi-os-directory`
4940 case $multi_os_directory in
4941 .
) ;; # Avoid trailing /.
4942 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4949 # Create a spec file, so that compile/link tests don't fail
4950 test -f libgfortran.spec ||
touch libgfortran.spec
4953 ac_cpp
='$CPP $CPPFLAGS'
4954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4958 # Check the compiler.
4959 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4960 # We must force CC to /not/ be precious variables; otherwise
4961 # the wrong, non-multilib-adjusted value will be used in multilibs.
4962 # As a side effect, we have to subst CFLAGS ourselves.
4967 ac_cpp
='$CPP $CPPFLAGS'
4968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4971 if test -n "$ac_tool_prefix"; then
4972 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4973 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 $as_echo_n "checking for $ac_word... " >&6; }
4976 if test "${ac_cv_prog_CC+set}" = set; then :
4977 $as_echo_n "(cached) " >&6
4979 if test -n "$CC"; then
4980 ac_cv_prog_CC
="$CC" # Let the user override the test.
4982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4986 test -z "$as_dir" && as_dir
=.
4987 for ac_exec_ext
in '' $ac_executable_extensions; do
4988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4989 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 if test -n "$CC"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5002 $as_echo "$CC" >&6; }
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005 $as_echo "no" >&6; }
5010 if test -z "$ac_cv_prog_CC"; then
5012 # Extract the first word of "gcc", so it can be a program name with args.
5013 set dummy gcc
; ac_word
=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5017 $as_echo_n "(cached) " >&6
5019 if test -n "$ac_ct_CC"; then
5020 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5026 test -z "$as_dir" && as_dir
=.
5027 for ac_exec_ext
in '' $ac_executable_extensions; do
5028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 ac_cv_prog_ac_ct_CC
="gcc"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5040 if test -n "$ac_ct_CC"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5042 $as_echo "$ac_ct_CC" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5048 if test "x$ac_ct_CC" = x
; then
5051 case $cross_compiling:$ac_tool_warned in
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5055 ac_tool_warned
=yes ;;
5063 if test -z "$CC"; then
5064 if test -n "$ac_tool_prefix"; then
5065 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5066 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if test "${ac_cv_prog_CC+set}" = set; then :
5070 $as_echo_n "(cached) " >&6
5072 if test -n "$CC"; then
5073 ac_cv_prog_CC
="$CC" # Let the user override the test.
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_exec_ext
in '' $ac_executable_extensions; do
5081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5082 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 if test -n "$CC"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5095 $as_echo "$CC" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5104 if test -z "$CC"; then
5105 # Extract the first word of "cc", so it can be a program name with args.
5106 set dummy cc
; ac_word
=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_CC+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5112 if test -n "$CC"; then
5113 ac_cv_prog_CC
="$CC" # Let the user override the test.
5116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir
=.
5121 for ac_exec_ext
in '' $ac_executable_extensions; do
5122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5123 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5124 ac_prog_rejected
=yes
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 if test $ac_prog_rejected = yes; then
5136 # We found a bogon in the path, so make sure we never use it.
5137 set dummy
$ac_cv_prog_CC
5139 if test $# != 0; then
5140 # We chose a different compiler from the bogus one.
5141 # However, it has the same basename, so the bogon will be chosen
5142 # first if we set CC to just the basename; use the full file name.
5144 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5150 if test -n "$CC"; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5152 $as_echo "$CC" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5160 if test -z "$CC"; then
5161 if test -n "$ac_tool_prefix"; then
5162 for ac_prog
in cl.exe
5164 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5165 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if test "${ac_cv_prog_CC+set}" = set; then :
5169 $as_echo_n "(cached) " >&6
5171 if test -n "$CC"; then
5172 ac_cv_prog_CC
="$CC" # Let the user override the test.
5174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir
=.
5179 for ac_exec_ext
in '' $ac_executable_extensions; do
5180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5181 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 if test -n "$CC"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5194 $as_echo "$CC" >&6; }
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5201 test -n "$CC" && break
5204 if test -z "$CC"; then
5206 for ac_prog
in cl.exe
5208 # Extract the first word of "$ac_prog", so it can be a program name with args.
5209 set dummy
$ac_prog; ac_word
=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5213 $as_echo_n "(cached) " >&6
5215 if test -n "$ac_ct_CC"; then
5216 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5222 test -z "$as_dir" && as_dir
=.
5223 for ac_exec_ext
in '' $ac_executable_extensions; do
5224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225 ac_cv_prog_ac_ct_CC
="$ac_prog"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5236 if test -n "$ac_ct_CC"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5238 $as_echo "$ac_ct_CC" >&6; }
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5245 test -n "$ac_ct_CC" && break
5248 if test "x$ac_ct_CC" = x
; then
5251 case $cross_compiling:$ac_tool_warned in
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5255 ac_tool_warned
=yes ;;
5264 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5266 as_fn_error
"no acceptable C compiler found in \$PATH
5267 See \`config.log' for more details." "$LINENO" 5; }
5269 # Provide some information about the compiler.
5270 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5273 for ac_option
in --version -v -V -qversion; do
5274 { { ac_try
="$ac_compiler $ac_option >&5"
5276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5277 *) ac_try_echo=$ac_try;;
5279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5280 $as_echo "$ac_try_echo"; } >&5
5281 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5283 if test -s conftest.err; then
5285 ... rest of stderr output deleted ...
5286 10q' conftest.err >conftest.er1
5287 cat conftest.er1 >&5
5288 rm -f conftest.er1 conftest.err
5290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5291 test $ac_status = 0; }
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5295 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5296 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5297 $as_echo_n "(cached) " >&6
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5313 if ac_fn_c_try_compile "$LINENO"; then :
5318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5319 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5323 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5324 if test $ac_compiler_gnu = yes; then
5329 ac_test_CFLAGS=${CFLAGS+set}
5330 ac_save_CFLAGS=$CFLAGS
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5332 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5333 if test "${ac_cv_prog_cc_g+set}" = set; then :
5334 $as_echo_n "(cached) " >&6
5336 ac_save_c_werror_flag=$ac_c_werror_flag
5337 ac_c_werror_flag=yes
5340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5341 /* end confdefs.h. */
5351 if ac_fn_c_try_compile "$LINENO"; then :
5355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5356 /* end confdefs.h. */
5366 if ac_fn_c_try_compile "$LINENO"; then :
5369 ac_c_werror_flag=$ac_save_c_werror_flag
5371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5382 if ac_fn_c_try_compile "$LINENO"; then :
5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 ac_c_werror_flag=$ac_save_c_werror_flag
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5393 $as_echo "$ac_cv_prog_cc_g" >&6; }
5394 if test "$ac_test_CFLAGS" = set; then
5395 CFLAGS=$ac_save_CFLAGS
5396 elif test $ac_cv_prog_cc_g = yes; then
5397 if test "$GCC" = yes; then
5403 if test "$GCC" = yes; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5410 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5411 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5412 $as_echo_n "(cached) " >&6
5414 ac_cv_prog_cc_c89=no
5416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5417 /* end confdefs.h. */
5420 #include <sys/types.h>
5421 #include <sys/stat.h>
5422 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5423 struct buf { int x; };
5424 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5425 static char *e (p, i)
5431 static char *f (char * (*g) (char **, int), char **p, ...)
5436 s = g (p, va_arg (v,int));
5441 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5442 function prototypes and stuff, but not '\xHH' hex character constants.
5443 These don't provoke an error unfortunately, instead are silently treated
5444 as 'x'. The following induces an error, until -std is added to get
5445 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5446 array size at least. It's necessary to write '\x00'==0 to get something
5447 that's true only with -std. */
5448 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5450 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5451 inside strings and character constants. */
5453 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5455 int test (int i, double x);
5456 struct s1 {int (*f) (int a);};
5457 struct s2 {int (*f) (double a);};
5458 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5464 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5469 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5470 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5472 CC="$ac_save_CC $ac_arg"
5473 if ac_fn_c_try_compile "$LINENO"; then :
5474 ac_cv_prog_cc_c89=$ac_arg
5476 rm -f core conftest.err conftest.$ac_objext
5477 test "x$ac_cv_prog_cc_c89" != "xno" && break
5479 rm -f conftest.$ac_ext
5484 case "x$ac_cv_prog_cc_c89" in
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5487 $as_echo "none needed" >&6; } ;;
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5490 $as_echo "unsupported" >&6; } ;;
5492 CC="$CC $ac_cv_prog_cc_c89"
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5494 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5496 if test "x$ac_cv_prog_cc_c89" != xno; then :
5501 ac_cpp='$CPP $CPPFLAGS'
5502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5506 depcc="$CC" am_compiler_list=
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5509 $as_echo_n "checking dependency style of $depcc... " >&6; }
5510 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5511 $as_echo_n "(cached) " >&6
5513 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5514 # We make a subdir and do the tests there. Otherwise we can end up
5515 # making bogus files that we don't know about and never remove. For
5516 # instance it was reported that on HP-UX the gcc test will end up
5517 # making a dummy file named `D
' -- because `-MD' means
`put the output
5521 # Copy depcomp to subdir because otherwise we won't find it if we're
5522 # using a relative directory.
5523 cp "$am_depcomp" conftest.dir
5525 # We will build objects and dependencies in a subdirectory because
5526 # it helps to detect inapplicable dependency modes. For instance
5527 # both Tru64's cc and ICC support -MD to output dependencies as a
5528 # side effect of compilation, but ICC will put the dependencies in
5529 # the current directory while Tru64 will put them in the object
5533 am_cv_CC_dependencies_compiler_type=none
5534 if test "$am_compiler_list" = ""; then
5535 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5538 case " $depcc " in #(
5539 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5542 for depmode in $am_compiler_list; do
5543 # Setup a source with many dependencies, because some compilers
5544 # like to wrap large dependency lists on column 80 (with \), and
5545 # we should not choose a depcomp mode which is confused by this.
5547 # We need to recreate these files for each test, as the compiler may
5548 # overwrite some of them when testing with obscure command lines.
5549 # This happens at least with the AIX C compiler.
5551 for i in 1 2 3 4 5 6; do
5552 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5553 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5554 # Solaris 8's
{/usr
,}/bin
/sh.
5555 touch sub
/conftst
$i.h
5557 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5559 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5560 # mode. It turns out that the SunPro C++ compiler does not properly
5561 # handle `-M -o', and we need to detect this. Also, some Intel
5562 # versions had trouble with output in subdirs
5563 am__obj
=sub
/conftest.
${OBJEXT-o}
5564 am__minus_obj
="-o $am__obj"
5567 # This depmode causes a compiler race in universal mode.
5568 test "$am__universal" = false ||
continue
5571 # after this tag, mechanisms are not by side-effect, so they'll
5572 # only be used when explicitly requested
5573 if test "x$enable_dependency_tracking" = xyes
; then
5579 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5580 # This compiler won't grok `-c -o', but also, the minuso test has
5581 # not run yet. These depmodes are late enough in the game, and
5582 # so weak that their functioning should not be impacted.
5583 am__obj
=conftest.
${OBJEXT-o}
5588 if depmode
=$depmode \
5589 source=sub
/conftest.c object
=$am__obj \
5590 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5591 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5592 >/dev
/null
2>conftest.err
&&
5593 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5594 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5595 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5596 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5597 # icc doesn't choke on unknown options, it will just issue warnings
5598 # or remarks (even with -Werror). So we grep stderr for any message
5599 # that says an option was ignored or not supported.
5600 # When given -MP, icc 7.0 and 7.1 complain thusly:
5601 # icc: Command line warning: ignoring option '-M'; no argument required
5602 # The diagnosis changed in icc 8.0:
5603 # icc: Command line remark: option '-MP' not supported
5604 if (grep 'ignoring option' conftest.err ||
5605 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5606 am_cv_CC_dependencies_compiler_type
=$depmode
5615 am_cv_CC_dependencies_compiler_type
=none
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5620 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5621 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5624 test "x$enable_dependency_tracking" != xno \
5625 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5627 am__fastdepCC_FALSE
='#'
5629 am__fastdepCC_TRUE
='#'
5630 am__fastdepCC_FALSE
=
5638 if test "x$CC" != xcc
; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5640 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5643 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5645 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5646 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5647 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5648 $as_echo_n "(cached) " >&6
5650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5651 /* end confdefs.h. */
5661 # Make sure it works both with $CC and with simple cc.
5662 # We do the test twice because some compilers refuse to overwrite an
5663 # existing .o file with -o, though they will create one.
5664 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5666 if { { case "(($ac_try" in
5667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5668 *) ac_try_echo=$ac_try;;
5670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5671 $as_echo "$ac_try_echo"; } >&5
5672 (eval "$ac_try") 2>&5
5674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5675 test $ac_status = 0; } &&
5676 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5678 *) ac_try_echo
=$ac_try;;
5680 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5681 $as_echo "$ac_try_echo"; } >&5
5682 (eval "$ac_try") 2>&5
5684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5685 test $ac_status = 0; };
5687 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5688 if test "x$CC" != xcc
; then
5689 # Test first that cc exists at all.
5690 if { ac_try
='cc -c conftest.$ac_ext >&5'
5691 { { case "(($ac_try" in
5692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5693 *) ac_try_echo=$ac_try;;
5695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5696 $as_echo "$ac_try_echo"; } >&5
5697 (eval "$ac_try") 2>&5
5699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5700 test $ac_status = 0; }; }; then
5701 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5703 if { { case "(($ac_try" in
5704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5705 *) ac_try_echo
=$ac_try;;
5707 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5708 $as_echo "$ac_try_echo"; } >&5
5709 (eval "$ac_try") 2>&5
5711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5712 test $ac_status = 0; } &&
5713 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5715 *) ac_try_echo=$ac_try;;
5717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5718 $as_echo "$ac_try_echo"; } >&5
5719 (eval "$ac_try") 2>&5
5721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5722 test $ac_status = 0; };
5727 # cc exists but doesn't like -o.
5728 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5733 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5735 rm -f core conftest*
5738 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5740 $as_echo "yes" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5745 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5749 # FIXME: we rely on the cache variable name because
5750 # there is no other way.
5752 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5753 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5754 if test "$am_t" != yes; then
5755 # Losing compiler, so override with the script.
5756 # FIXME: It is wrong to rewrite CC.
5757 # But if we don't then we get into trouble of one sort or another.
5758 # A longer-term fix would be to have automake use am__CC in this case,
5759 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5760 CC="$am_aux_dir/compile $CC"
5765 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5766 if test "x$GCC" = "xyes"; then
5767 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5768 ## We like to use C99 routines when available. This makes sure that
5769 ## __STDC_VERSION__ is set such that libc includes make them available.
5770 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5771 ## Compile the following tests with the same system header contents
5772 ## that we'll encounter when compiling our own source files.
5773 CFLAGS="-std=gnu99 $CFLAGS"
5779 # Check for symbol versioning (copied from libssp).
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5781 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5782 # Check whether --enable-symvers was given.
5783 if test "${enable_symvers+set}" = set; then :
5784 enableval=$enable_symvers; gfortran_use_symver=$enableval
5786 gfortran_use_symver=yes
5789 if test "x$gfortran_use_symver" != xno; then
5790 save_LDFLAGS="$LDFLAGS"
5791 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5792 cat > conftest.map <<EOF
5794 global: *foo*; bar; local: *;
5797 if test x$gcc_no_link = xyes; then
5798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5811 if ac_fn_c_try_link "$LINENO"; then :
5812 gfortran_use_symver=gnu
5814 gfortran_use_symver=no
5816 rm -f core conftest.err conftest.$ac_objext \
5817 conftest$ac_exeext conftest.$ac_ext
5818 if test x$gfortran_use_symver = xno; then
5819 case "$target_os" in
5821 LDFLAGS="$save_LDFLAGS"
5822 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5823 # Sun ld cannot handle wildcards and treats all entries as undefined.
5824 cat > conftest.map <<EOF
5826 global: foo; local: *;
5829 if test x$gcc_no_link = xyes; then
5830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5833 /* end confdefs.h. */
5843 if ac_fn_c_try_link "$LINENO"; then :
5844 gfortran_use_symver=sun
5846 gfortran_use_symver=no
5848 rm -f core conftest.err conftest.$ac_objext \
5849 conftest$ac_exeext conftest.$ac_ext
5853 LDFLAGS="$save_LDFLAGS"
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5856 $as_echo "$gfortran_use_symver" >&6; }
5857 if test "x$gfortran_use_symver" != xno; then
5858 LIBGFOR_USE_SYMVER_TRUE=
5859 LIBGFOR_USE_SYMVER_FALSE='#'
5861 LIBGFOR_USE_SYMVER_TRUE='#'
5862 LIBGFOR_USE_SYMVER_FALSE=
5865 if test "x$gfortran_use_symver" = xgnu; then
5866 LIBGFOR_USE_SYMVER_GNU_TRUE=
5867 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5869 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5870 LIBGFOR_USE_SYMVER_GNU_FALSE=
5873 if test "x$gfortran_use_symver" = xsun; then
5874 LIBGFOR_USE_SYMVER_SUN_TRUE=
5875 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5877 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5878 LIBGFOR_USE_SYMVER_SUN_FALSE=
5882 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5883 # similarly to how libstdc++ does it
5884 ac_test_CFLAGS="${CFLAGS+set}"
5885 ac_save_CFLAGS="$CFLAGS"
5887 # Check for -ffunction-sections -fdata-sections
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5889 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5890 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5892 /* end confdefs.h. */
5902 if ac_fn_c_try_compile "$LINENO"; then :
5907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5908 if test "$ac_test_CFLAGS" = set; then
5909 CFLAGS="$ac_save_CFLAGS"
5911 # this is the suspicious part
5914 if test x"$ac_fdsections" = x"yes"; then
5915 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5918 $as_echo "$ac_fdsections" >&6; }
5921 # Find other programs we need.
5922 if test -n "$ac_tool_prefix"; then
5923 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5924 set dummy ${ac_tool_prefix}as; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if test "${ac_cv_prog_AS+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5930 if test -n "$AS"; then
5931 ac_cv_prog_AS="$AS" # Let the user override the test.
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5940 ac_cv_prog_AS="${ac_tool_prefix}as"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 if test -n "$AS"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5953 $as_echo "$AS" >&6; }
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5961 if test -z "$ac_cv_prog_AS"; then
5963 # Extract the first word of "as", so it can be a program name with args.
5964 set dummy as; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5968 $as_echo_n "(cached) " >&6
5970 if test -n "$ac_ct_AS"; then
5971 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5980 ac_cv_prog_ac_ct_AS="as"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5991 if test -n "$ac_ct_AS"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5993 $as_echo "$ac_ct_AS" >&6; }
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
5999 if test "x$ac_ct_AS" = x; then
6002 case $cross_compiling:$ac_tool_warned in
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6006 ac_tool_warned=yes ;;
6014 if test -n "$ac_tool_prefix"; then
6015 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6016 set dummy ${ac_tool_prefix}ar; ac_word=$2
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 $as_echo_n "checking for $ac_word... " >&6; }
6019 if test "${ac_cv_prog_AR+set}" = set; then :
6020 $as_echo_n "(cached) " >&6
6022 if test -n "$AR"; then
6023 ac_cv_prog_AR="$AR" # Let the user override the test.
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6032 ac_cv_prog_AR="${ac_tool_prefix}ar"
6033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 if test -n "$AR"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6045 $as_echo "$AR" >&6; }
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6053 if test -z "$ac_cv_prog_AR"; then
6055 # Extract the first word of "ar", so it can be a program name with args.
6056 set dummy ar; ac_word=$2
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6058 $as_echo_n "checking for $ac_word... " >&6; }
6059 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6060 $as_echo_n "(cached) " >&6
6062 if test -n "$ac_ct_AR"; then
6063 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 test -z "$as_dir" && as_dir=.
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6072 ac_cv_prog_ac_ct_AR="ar"
6073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6083 if test -n "$ac_ct_AR"; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6085 $as_echo "$ac_ct_AR" >&6; }
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6088 $as_echo "no" >&6; }
6091 if test "x$ac_ct_AR" = x; then
6094 case $cross_compiling:$ac_tool_warned in
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6098 ac_tool_warned=yes ;;
6106 if test -n "$ac_tool_prefix"; then
6107 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6108 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6112 $as_echo_n "(cached) " >&6
6114 if test -n "$RANLIB"; then
6115 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6124 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 RANLIB=$ac_cv_prog_RANLIB
6135 if test -n "$RANLIB"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6137 $as_echo "$RANLIB" >&6; }
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6145 if test -z "$ac_cv_prog_RANLIB"; then
6146 ac_ct_RANLIB=$RANLIB
6147 # Extract the first word of "ranlib", so it can be a program name with args.
6148 set dummy ranlib; ac_word=$2
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6150 $as_echo_n "checking for $ac_word... " >&6; }
6151 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6152 $as_echo_n "(cached) " >&6
6154 if test -n "$ac_ct_RANLIB"; then
6155 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 test -z "$as_dir" && as_dir=.
6162 for ac_exec_ext in '' $ac_executable_extensions; do
6163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6164 ac_cv_prog_ac_ct_RANLIB="ranlib"
6165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6174 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6175 if test -n "$ac_ct_RANLIB"; then
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6177 $as_echo "$ac_ct_RANLIB" >&6; }
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6180 $as_echo "no" >&6; }
6183 if test "x$ac_ct_RANLIB" = x; then
6184 RANLIB="ranlib-not-found-in-path-error"
6186 case $cross_compiling:$ac_tool_warned in
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6190 ac_tool_warned=yes ;;
6192 RANLIB=$ac_ct_RANLIB
6195 RANLIB="$ac_cv_prog_RANLIB"
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6199 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6201 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6202 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6203 $as_echo_n "(cached) " >&6
6205 cat >conftest.make <<\_ACEOF
6208 @echo '@@@%%%=$(MAKE)=@@@%%%'
6210 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6211 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6213 eval ac_cv_prog_make_${ac_make}_set=yes;;
6215 eval ac_cv_prog_make_${ac_make}_set=no;;
6219 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6221 $as_echo "yes" >&6; }
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6226 SET_MAKE="MAKE=${MAKE-make}"
6232 #AC_MSG_NOTICE([====== Starting libtool configuration])
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6240 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6245 macro_version='2.2.7a'
6246 macro_revision='1.3134'
6260 ltmain="$ac_aux_dir/ltmain.sh"
6262 # Backslashify metacharacters that are still active within
6263 # double-quoted strings.
6264 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6266 # Same as above, but do not quote variable references.
6267 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6269 # Sed substitution to delay expansion of an escaped shell variable in a
6270 # double_quote_subst'ed string.
6271 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6273 # Sed substitution to delay expansion of an escaped single quote.
6274 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6276 # Sed substitution to avoid accidental globbing in evaled expressions
6277 no_glob_subst='s/\*/\\\*/g'
6279 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6280 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6281 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6284 $as_echo_n "checking how to print
strings...
" >&6; }
6285 # Test print first, because it will be a builtin if present.
6286 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6287 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6289 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6292 # Use this function as a fallback that always works.
6293 func_fallback_echo ()
6295 eval 'cat <<_LTECHO_EOF
6299 ECHO='func_fallback_echo'
6302 # func_echo_all arg...
6303 # Invoke $ECHO with all args, space-separated.
6310 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6311 $as_echo "printf" >&6; } ;;
6312 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6313 $as_echo "print
-r" >&6; } ;;
6314 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6315 $as_echo "cat" >&6; } ;;
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6332 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6333 if test "${ac_cv_path_SED+set}" = set; then :
6334 $as_echo_n "(cached
) " >&6
6336 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6337 for ac_i in 1 2 3 4 5 6 7; do
6338 ac_script="$ac_script$as_nl$ac_script"
6340 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6341 { ac_script=; unset ac_script;}
6342 if test -z "$SED"; then
6343 ac_path_SED_found=false
6344 # Loop through the user's path and test for each of PROGNAME-LIST
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir=.
6350 for ac_prog in sed gsed; do
6351 for ac_exec_ext in '' $ac_executable_extensions; do
6352 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6353 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6354 # Check for GNU ac_path_SED and select it if it is found.
6355 # Check for GNU $ac_path_SED
6356 case `"$ac_path_SED" --version 2>&1` in
6358 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6361 $as_echo_n 0123456789 >"conftest.
in"
6364 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6365 mv "conftest.tmp
" "conftest.
in"
6366 cp "conftest.
in" "conftest.
nl"
6367 $as_echo '' >> "conftest.
nl"
6368 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6369 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6370 as_fn_arith $ac_count + 1 && ac_count=$as_val
6371 if test $ac_count -gt ${ac_path_SED_max-0}; then
6372 # Best one so far, save it but keep looking for a better one
6373 ac_cv_path_SED="$ac_path_SED"
6374 ac_path_SED_max=$ac_count
6376 # 10*(2^10) chars as input seems more than enough
6377 test $ac_count -gt 10 && break
6379 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6382 $ac_path_SED_found && break 3
6387 if test -z "$ac_cv_path_SED"; then
6388 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6396 $as_echo "$ac_cv_path_SED" >&6; }
6397 SED="$ac_cv_path_SED"
6400 test -z "$SED" && SED=sed
6401 Xsed="$SED -e 1s
/^X
//"
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6414 $as_echo_n "checking
for fgrep...
" >&6; }
6415 if test "${ac_cv_path_FGREP+set}" = set; then :
6416 $as_echo_n "(cached
) " >&6
6418 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6419 then ac_cv_path_FGREP="$GREP -F"
6421 if test -z "$FGREP"; then
6422 ac_path_FGREP_found=false
6423 # Loop through the user's path and test for each of PROGNAME-LIST
6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6428 test -z "$as_dir" && as_dir=.
6429 for ac_prog in fgrep; do
6430 for ac_exec_ext in '' $ac_executable_extensions; do
6431 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6432 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6433 # Check for GNU ac_path_FGREP and select it if it is found.
6434 # Check for GNU $ac_path_FGREP
6435 case `"$ac_path_FGREP" --version 2>&1` in
6437 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6440 $as_echo_n 0123456789 >"conftest.
in"
6443 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6444 mv "conftest.tmp
" "conftest.
in"
6445 cp "conftest.
in" "conftest.
nl"
6446 $as_echo 'FGREP' >> "conftest.
nl"
6447 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6448 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6449 as_fn_arith $ac_count + 1 && ac_count=$as_val
6450 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6451 # Best one so far, save it but keep looking for a better one
6452 ac_cv_path_FGREP="$ac_path_FGREP"
6453 ac_path_FGREP_max=$ac_count
6455 # 10*(2^10) chars as input seems more than enough
6456 test $ac_count -gt 10 && break
6458 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6461 $ac_path_FGREP_found && break 3
6466 if test -z "$ac_cv_path_FGREP"; then
6467 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6470 ac_cv_path_FGREP=$FGREP
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6476 $as_echo "$ac_cv_path_FGREP" >&6; }
6477 FGREP="$ac_cv_path_FGREP"
6480 test -z "$GREP" && GREP=grep
6500 # Check whether --with-gnu-ld was given.
6501 if test "${with_gnu_ld+set}" = set; then :
6502 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6508 if test "$GCC" = yes; then
6509 # Check if gcc -print-prog-name=ld gives a path.
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6511 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6514 # gcc leaves a trailing carriage return which upsets mingw
6515 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6517 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6520 # Accept absolute paths.
6522 re_direlt='/[^/][^/]*/\.\./'
6523 # Canonicalize the pathname of ld
6524 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6525 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6526 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6528 test -z "$LD" && LD="$ac_prog"
6531 # If it fails, then pretend we aren't using GCC.
6535 # If it is relative, then search for the first ld in PATH.
6539 elif test "$with_gnu_ld" = yes; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6541 $as_echo_n "checking
for GNU ld...
" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6544 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6546 if test "${lt_cv_path_LD+set}" = set; then :
6547 $as_echo_n "(cached
) " >&6
6549 if test -z "$LD"; then
6550 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6551 for ac_dir in $PATH; do
6553 test -z "$ac_dir" && ac_dir=.
6554 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6555 lt_cv_path_LD="$ac_dir/$ac_prog"
6556 # Check to see if the program is GNU ld. I'd rather use --version,
6557 # but apparently some variants of GNU ld only accept -v.
6558 # Break only if it was the GNU/non-GNU ld that we prefer.
6559 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6560 *GNU* | *'with BFD'*)
6561 test "$with_gnu_ld" != no && break
6564 test "$with_gnu_ld" != yes && break
6571 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6576 if test -n "$LD"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6578 $as_echo "$LD" >&6; }
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6581 $as_echo "no
" >&6; }
6583 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6585 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6586 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6587 $as_echo_n "(cached
) " >&6
6589 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6590 case `$LD -v 2>&1 </dev/null` in
6591 *GNU* | *'with BFD'*)
6592 lt_cv_prog_gnu_ld=yes
6595 lt_cv_prog_gnu_ld=no
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6600 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6601 with_gnu_ld=$lt_cv_prog_gnu_ld
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6612 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6613 if test "${lt_cv_path_NM+set}" = set; then :
6614 $as_echo_n "(cached
) " >&6
6616 if test -n "$NM"; then
6617 # Let the user override the test.
6620 lt_nm_to_check="${ac_tool_prefix}nm
"
6621 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6622 lt_nm_to_check="$lt_nm_to_check nm
"
6624 for lt_tmp_nm in $lt_nm_to_check; do
6625 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6626 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6628 test -z "$ac_dir" && ac_dir=.
6629 tmp_nm="$ac_dir/$lt_tmp_nm"
6630 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6631 # Check to see if the nm accepts a BSD-compat flag.
6632 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6633 # nm: unknown option "B
" ignored
6634 # Tru64's nm complains that /dev/null is an invalid object file
6635 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6636 */dev/null* | *'Invalid file or object type'*)
6637 lt_cv_path_NM="$tmp_nm -B"
6641 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6643 lt_cv_path_NM="$tmp_nm -p"
6647 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6648 continue # so that we can try to find one that supports BSD flags
6657 : ${lt_cv_path_NM=no}
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6661 $as_echo "$lt_cv_path_NM" >&6; }
6662 if test "$lt_cv_path_NM" != "no
"; then
6665 # Didn't find any BSD compatible name lister, look for dumpbin.
6666 if test -n "$DUMPBIN"; then :
6667 # Let the user override the test.
6669 if test -n "$ac_tool_prefix"; then
6670 for ac_prog in dumpbin "link
-dump"
6672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6673 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6675 $as_echo_n "checking
for $ac_word...
" >&6; }
6676 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6677 $as_echo_n "(cached
) " >&6
6679 if test -n "$DUMPBIN"; then
6680 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 test -z "$as_dir" && as_dir=.
6687 for ac_exec_ext in '' $ac_executable_extensions; do
6688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6689 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6690 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6699 DUMPBIN=$ac_cv_prog_DUMPBIN
6700 if test -n "$DUMPBIN"; then
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6702 $as_echo "$DUMPBIN" >&6; }
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6705 $as_echo "no
" >&6; }
6709 test -n "$DUMPBIN" && break
6712 if test -z "$DUMPBIN"; then
6713 ac_ct_DUMPBIN=$DUMPBIN
6714 for ac_prog in dumpbin "link
-dump"
6716 # Extract the first word of "$ac_prog", so it can be a program name with args.
6717 set dummy $ac_prog; ac_word=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6719 $as_echo_n "checking
for $ac_word...
" >&6; }
6720 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6721 $as_echo_n "(cached
) " >&6
6723 if test -n "$ac_ct_DUMPBIN"; then
6724 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir=.
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6733 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6743 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6744 if test -n "$ac_ct_DUMPBIN"; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6746 $as_echo "$ac_ct_DUMPBIN" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6749 $as_echo "no
" >&6; }
6753 test -n "$ac_ct_DUMPBIN" && break
6756 if test "x
$ac_ct_DUMPBIN" = x; then
6759 case $cross_compiling:$ac_tool_warned in
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6762 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6763 ac_tool_warned=yes ;;
6765 DUMPBIN=$ac_ct_DUMPBIN
6769 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6771 DUMPBIN="$DUMPBIN -symbols"
6779 if test "$DUMPBIN" != ":"; then
6783 test -z "$NM" && NM=nm
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6791 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6792 if test "${lt_cv_nm_interface+set}" = set; then :
6793 $as_echo_n "(cached
) " >&6
6795 lt_cv_nm_interface="BSD nm
"
6796 echo "int some_variable
= 0;" > conftest.$ac_ext
6797 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6798 (eval "$ac_compile" 2>conftest.err)
6799 cat conftest.err >&5
6800 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6801 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6802 cat conftest.err >&5
6803 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6804 cat conftest.out >&5
6805 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6806 lt_cv_nm_interface="MS dumpbin
"
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6811 $as_echo "$lt_cv_nm_interface" >&6; }
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6814 $as_echo_n "checking whether
ln -s works...
" >&6; }
6816 if test "$LN_S" = "ln -s"; then
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6818 $as_echo "yes" >&6; }
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6821 $as_echo "no
, using
$LN_S" >&6; }
6824 # find the maximum length of command line arguments
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6826 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6827 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6828 $as_echo_n "(cached
) " >&6
6835 # On DJGPP, this test can blow up pretty badly due to problems in libc
6836 # (any single argument exceeding 2000 bytes causes a buffer overrun
6837 # during glob expansion). Even if it were fixed, the result of this
6838 # check would be larger than it should be.
6839 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6843 # Under GNU Hurd, this test is not required because there is
6844 # no limit to the length of command line arguments.
6845 # Libtool will interpret -1 as no limit whatsoever
6846 lt_cv_sys_max_cmd_len=-1;
6849 cygwin* | mingw* | cegcc*)
6850 # On Win9x/ME, this test blows up -- it succeeds, but takes
6851 # about 5 minutes as the teststring grows exponentially.
6852 # Worse, since 9x/ME are not pre-emptively multitasking,
6853 # you end up with a "frozen
" computer, even though with patience
6854 # the test eventually succeeds (with a max line length of 256k).
6855 # Instead, let's just punt: use the minimum linelength reported by
6856 # all of the supported platforms: 8192 (on NT/2K/XP).
6857 lt_cv_sys_max_cmd_len=8192;
6861 # On MiNT this can take a long time and run out of memory.
6862 lt_cv_sys_max_cmd_len=8192;
6866 # On AmigaOS with pdksh, this test takes hours, literally.
6867 # So we just punt and use a minimum line length of 8192.
6868 lt_cv_sys_max_cmd_len=8192;
6871 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6872 # This has been around since 386BSD, at least. Likely further.
6873 if test -x /sbin/sysctl; then
6874 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6875 elif test -x /usr/sbin/sysctl; then
6876 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6878 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6880 # And add a safety zone
6881 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6882 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6886 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6887 lt_cv_sys_max_cmd_len=196608
6891 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6892 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6893 # nice to cause kernel panics so lets avoid the loop below.
6894 # First set a reasonable default.
6895 lt_cv_sys_max_cmd_len=16384
6897 if test -x /sbin/sysconfig; then
6898 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6899 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6904 lt_cv_sys_max_cmd_len=102400
6906 sysv5* | sco5v6* | sysv4.2uw2*)
6907 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6908 if test -n "$kargmax"; then
6909 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6911 lt_cv_sys_max_cmd_len=32768
6915 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6916 if test -n "$lt_cv_sys_max_cmd_len"; then
6917 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6918 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6920 # Make teststring a little bigger before we do anything with it.
6921 # a 1K string should be a reasonable start.
6922 for i in 1 2 3 4 5 6 7 8 ; do
6923 teststring=$teststring$teststring
6925 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6926 # If test is not a shell built-in, we'll probably end up computing a
6927 # maximum length that is only half of the actual maximum length, but
6929 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6930 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6931 test $i != 17 # 1/2 MB should be enough
6934 teststring=$teststring$teststring
6936 # Only check the string length outside the loop.
6937 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6939 # Add a significant safety factor because C++ compilers can tack on
6940 # massive amounts of additional arguments before passing them to the
6941 # linker. It appears as though 1/2 is a usable value.
6942 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6949 if test -n $lt_cv_sys_max_cmd_len ; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6951 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6954 $as_echo "none
" >&6; }
6956 max_cmd_len=$lt_cv_sys_max_cmd_len
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6968 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6969 # Try some XSI features
6972 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6974 && eval 'test $(( 1 + 1 )) -eq 2 \
6975 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6978 $as_echo "$xsi_shell" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6982 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6984 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6986 && lt_shell_append
=yes
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6988 $as_echo "$lt_shell_append" >&6; }
6991 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7001 # test EBCDIC or ASCII
7002 case `echo X|tr X '\101'` in
7003 A
) # ASCII based system
7004 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7005 lt_SP2NL
='tr \040 \012'
7006 lt_NL2SP
='tr \015\012 \040\040'
7008 *) # EBCDIC based system
7009 lt_SP2NL
='tr \100 \n'
7010 lt_NL2SP
='tr \r\n \100\100'
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7023 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7024 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7025 $as_echo_n "(cached) " >&6
7027 lt_cv_ld_reload_flag
='-r'
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7030 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7031 reload_flag
=$lt_cv_ld_reload_flag
7032 case $reload_flag in
7034 *) reload_flag
=" $reload_flag" ;;
7036 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7039 if test "$GCC" = yes; then
7040 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7042 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7055 if test -n "$ac_tool_prefix"; then
7056 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7057 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 $as_echo_n "checking for $ac_word... " >&6; }
7060 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7061 $as_echo_n "(cached) " >&6
7063 if test -n "$OBJDUMP"; then
7064 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7070 test -z "$as_dir" && as_dir
=.
7071 for ac_exec_ext
in '' $ac_executable_extensions; do
7072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083 OBJDUMP
=$ac_cv_prog_OBJDUMP
7084 if test -n "$OBJDUMP"; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7086 $as_echo "$OBJDUMP" >&6; }
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 $as_echo "no" >&6; }
7094 if test -z "$ac_cv_prog_OBJDUMP"; then
7095 ac_ct_OBJDUMP
=$OBJDUMP
7096 # Extract the first word of "objdump", so it can be a program name with args.
7097 set dummy objdump
; ac_word
=$2
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7099 $as_echo_n "checking for $ac_word... " >&6; }
7100 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7101 $as_echo_n "(cached) " >&6
7103 if test -n "$ac_ct_OBJDUMP"; then
7104 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7110 test -z "$as_dir" && as_dir
=.
7111 for ac_exec_ext
in '' $ac_executable_extensions; do
7112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7113 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7124 if test -n "$ac_ct_OBJDUMP"; then
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7126 $as_echo "$ac_ct_OBJDUMP" >&6; }
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7129 $as_echo "no" >&6; }
7132 if test "x$ac_ct_OBJDUMP" = x
; then
7135 case $cross_compiling:$ac_tool_warned in
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7139 ac_tool_warned
=yes ;;
7141 OBJDUMP
=$ac_ct_OBJDUMP
7144 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7147 test -z "$OBJDUMP" && OBJDUMP
=objdump
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7158 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7159 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7160 $as_echo_n "(cached) " >&6
7162 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7163 lt_cv_file_magic_test_file
=
7164 lt_cv_deplibs_check_method
='unknown'
7165 # Need to set the preceding variable on all platforms that support
7166 # interlibrary dependencies.
7167 # 'none' -- dependencies not supported.
7168 # `unknown' -- same as none, but documents that we really don't know.
7169 # 'pass_all' -- all dependencies passed with no checks.
7170 # 'test_compile' -- check by making test program.
7171 # 'file_magic [[regex]]' -- check by looking for files in library path
7172 # which responds to the $file_magic_cmd with a given extended regex.
7173 # If you have `file' or equivalent on your system and you're not sure
7174 # whether `pass_all' will *always* work, you probably want this one.
7178 lt_cv_deplibs_check_method
=pass_all
7182 lt_cv_deplibs_check_method
=pass_all
7186 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7187 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7188 lt_cv_file_magic_test_file
=/shlib
/libc.so
7192 # func_win32_libid is a shell function defined in ltmain.sh
7193 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7194 lt_cv_file_magic_cmd
='func_win32_libid'
7198 # Base MSYS/MinGW do not provide the 'file' command needed by
7199 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7200 # unless we find 'file', for example because we are cross-compiling.
7201 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7202 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7203 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7204 lt_cv_file_magic_cmd
='func_win32_libid'
7206 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7207 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7212 # use the weaker test based on 'objdump'. See mingw*.
7213 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7214 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7217 darwin
* | rhapsody
*)
7218 lt_cv_deplibs_check_method
=pass_all
7221 freebsd
* | dragonfly
*)
7222 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7225 # Not sure whether the presence of OpenBSD here was a mistake.
7226 # Let's accept both of them until this is cleared up.
7227 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7228 lt_cv_file_magic_cmd
=/usr
/bin
/file
7229 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7233 lt_cv_deplibs_check_method
=pass_all
7238 lt_cv_deplibs_check_method
=pass_all
7242 lt_cv_deplibs_check_method
=pass_all
7245 hpux10.20
* | hpux11
*)
7246 lt_cv_file_magic_cmd
=/usr
/bin
/file
7249 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7250 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7253 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]'
7254 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7257 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7258 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7264 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7265 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7268 irix5
* | irix6
* | nonstopux
*)
7270 *-32|
*"-32 ") libmagic
=32-bit;;
7271 *-n32|
*"-n32 ") libmagic
=N32
;;
7272 *-64|
*"-64 ") libmagic
=64-bit;;
7273 *) libmagic
=never-match
;;
7275 lt_cv_deplibs_check_method
=pass_all
7278 # This must be Linux ELF.
7279 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7280 lt_cv_deplibs_check_method
=pass_all
7284 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7285 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7287 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7292 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7293 lt_cv_file_magic_cmd
=/usr
/bin
/file
7294 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7298 lt_cv_deplibs_check_method
=pass_all
7302 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7303 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7305 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7309 osf3
* | osf4
* | osf5
*)
7310 lt_cv_deplibs_check_method
=pass_all
7314 lt_cv_deplibs_check_method
=pass_all
7318 lt_cv_deplibs_check_method
=pass_all
7321 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7322 lt_cv_deplibs_check_method
=pass_all
7326 case $host_vendor in
7328 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]'
7329 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7332 lt_cv_deplibs_check_method
=pass_all
7335 lt_cv_file_magic_cmd
='/bin/file'
7336 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7339 lt_cv_file_magic_cmd
='/bin/file'
7340 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7341 lt_cv_file_magic_test_file
=/lib
/libc.so
7344 lt_cv_deplibs_check_method
=pass_all
7347 lt_cv_deplibs_check_method
=pass_all
7353 lt_cv_deplibs_check_method
=pass_all
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7359 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7360 file_magic_cmd
=$lt_cv_file_magic_cmd
7361 deplibs_check_method
=$lt_cv_deplibs_check_method
7362 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7375 if test -n "$ac_tool_prefix"; then
7376 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7377 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if test "${ac_cv_prog_AR+set}" = set; then :
7381 $as_echo_n "(cached) " >&6
7383 if test -n "$AR"; then
7384 ac_cv_prog_AR
="$AR" # Let the user override the test.
7386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7390 test -z "$as_dir" && as_dir
=.
7391 for ac_exec_ext
in '' $ac_executable_extensions; do
7392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7404 if test -n "$AR"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7406 $as_echo "$AR" >&6; }
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7414 if test -z "$ac_cv_prog_AR"; then
7416 # Extract the first word of "ar", so it can be a program name with args.
7417 set dummy
ar; ac_word
=$2
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 $as_echo_n "checking for $ac_word... " >&6; }
7420 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7421 $as_echo_n "(cached) " >&6
7423 if test -n "$ac_ct_AR"; then
7424 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7430 test -z "$as_dir" && as_dir
=.
7431 for ac_exec_ext
in '' $ac_executable_extensions; do
7432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7433 ac_cv_prog_ac_ct_AR
="ar"
7434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7443 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7444 if test -n "$ac_ct_AR"; then
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7446 $as_echo "$ac_ct_AR" >&6; }
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 $as_echo "no" >&6; }
7452 if test "x$ac_ct_AR" = x
; then
7455 case $cross_compiling:$ac_tool_warned in
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7459 ac_tool_warned
=yes ;;
7467 test -z "$AR" && AR
=ar
7468 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7480 if test -n "$ac_tool_prefix"; then
7481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7482 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if test "${ac_cv_prog_STRIP+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7488 if test -n "$STRIP"; then
7489 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7495 test -z "$as_dir" && as_dir
=.
7496 for ac_exec_ext
in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 STRIP
=$ac_cv_prog_STRIP
7509 if test -n "$STRIP"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7511 $as_echo "$STRIP" >&6; }
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7519 if test -z "$ac_cv_prog_STRIP"; then
7521 # Extract the first word of "strip", so it can be a program name with args.
7522 set dummy strip
; ac_word
=$2
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7524 $as_echo_n "checking for $ac_word... " >&6; }
7525 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7526 $as_echo_n "(cached) " >&6
7528 if test -n "$ac_ct_STRIP"; then
7529 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7535 test -z "$as_dir" && as_dir
=.
7536 for ac_exec_ext
in '' $ac_executable_extensions; do
7537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7538 ac_cv_prog_ac_ct_STRIP
="strip"
7539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7549 if test -n "$ac_ct_STRIP"; then
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7551 $as_echo "$ac_ct_STRIP" >&6; }
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7554 $as_echo "no" >&6; }
7557 if test "x$ac_ct_STRIP" = x
; then
7560 case $cross_compiling:$ac_tool_warned in
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7564 ac_tool_warned
=yes ;;
7569 STRIP
="$ac_cv_prog_STRIP"
7572 test -z "$STRIP" && STRIP
=:
7579 if test -n "$ac_tool_prefix"; then
7580 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7581 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583 $as_echo_n "checking for $ac_word... " >&6; }
7584 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7585 $as_echo_n "(cached) " >&6
7587 if test -n "$RANLIB"; then
7588 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7594 test -z "$as_dir" && as_dir
=.
7595 for ac_exec_ext
in '' $ac_executable_extensions; do
7596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7597 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 RANLIB
=$ac_cv_prog_RANLIB
7608 if test -n "$RANLIB"; then
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7610 $as_echo "$RANLIB" >&6; }
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 $as_echo "no" >&6; }
7618 if test -z "$ac_cv_prog_RANLIB"; then
7619 ac_ct_RANLIB
=$RANLIB
7620 # Extract the first word of "ranlib", so it can be a program name with args.
7621 set dummy ranlib
; ac_word
=$2
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7623 $as_echo_n "checking for $ac_word... " >&6; }
7624 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7625 $as_echo_n "(cached) " >&6
7627 if test -n "$ac_ct_RANLIB"; then
7628 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7634 test -z "$as_dir" && as_dir
=.
7635 for ac_exec_ext
in '' $ac_executable_extensions; do
7636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7637 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7647 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7648 if test -n "$ac_ct_RANLIB"; then
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7650 $as_echo "$ac_ct_RANLIB" >&6; }
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7653 $as_echo "no" >&6; }
7656 if test "x$ac_ct_RANLIB" = x
; then
7659 case $cross_compiling:$ac_tool_warned in
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7663 ac_tool_warned
=yes ;;
7665 RANLIB
=$ac_ct_RANLIB
7668 RANLIB
="$ac_cv_prog_RANLIB"
7671 test -z "$RANLIB" && RANLIB
=:
7678 # Determine commands to create old-style static archives.
7679 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7680 old_postinstall_cmds
='chmod 644 $oldlib'
7681 old_postuninstall_cmds
=
7683 if test -n "$RANLIB"; then
7686 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7689 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7692 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7697 lock_old_archive_extraction
=yes ;;
7699 lock_old_archive_extraction
=no
;;
7740 # If no C compiler was specified, use CC.
7743 # If no C compiler flags were specified, use CFLAGS.
7744 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7746 # Allow CC to be a program name with arguments.
7750 # Check for command to grab the raw symbol name followed by C symbol from nm.
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7752 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7753 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7754 $as_echo_n "(cached) " >&6
7757 # These are sane defaults that work on at least a few old systems.
7758 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7760 # Character class describing NM global symbol codes.
7761 symcode
='[BCDEGRST]'
7763 # Regexp to match symbols that can be accessed directly from C.
7764 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7766 # Define system-specific variables.
7771 cygwin
* | mingw
* | pw32
* | cegcc
*)
7772 symcode
='[ABCDGISTW]'
7775 if test "$host_cpu" = ia64
; then
7776 symcode
='[ABCDEGRST]'
7780 symcode
='[BCDEGRST]'
7783 symcode
='[BCDEGQRST]'
7794 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7802 # If we're using GNU nm, then use its standard symbol codes.
7803 case `$NM -V 2>&1` in
7804 *GNU
* |
*'with BFD'*)
7805 symcode
='[ABCDGIRSTW]' ;;
7808 # Transform an extracted symbol line into a proper C declaration.
7809 # Some systems (esp. on ia64) link data and code symbols differently,
7810 # so use this general approach.
7811 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7813 # Transform an extracted symbol line into symbol name and symbol address
7814 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7815 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'"
7817 # Handle CRLF in mingw tool chain
7821 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7825 # Try without a prefix underscore, then with it.
7826 for ac_symprfx
in "" "_"; do
7828 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7829 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7831 # Write the raw and C identifiers.
7832 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7833 # Fake it for dumpbin and say T for any non-static function
7834 # and D for any global variable.
7835 # Also find C++ and __fastcall symbols from MSVC++,
7836 # which start with @ or ?.
7837 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7838 " {last_section=section; section=\$ 3};"\
7839 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7840 " \$ 0!~/External *\|/{next};"\
7841 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7842 " {if(hide[section]) next};"\
7843 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7844 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7845 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7846 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7847 " ' prfx=^$ac_symprfx"
7849 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7852 # Check to see that the pipe works correctly.
7856 cat > conftest.
$ac_ext <<_LT_EOF
7861 void nm_test_func(void);
7862 void nm_test_func(void){}
7866 int main(){nm_test_var='a';nm_test_func();return(0);}
7869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7870 (eval $ac_compile) 2>&5
7872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7873 test $ac_status = 0; }; then
7874 # Now try to grab the symbols.
7876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7877 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7880 test $ac_status = 0; } && test -s "$nlist"; then
7881 # Try sorting and uniquifying the output.
7882 if sort "$nlist" |
uniq > "$nlist"T
; then
7883 mv -f "$nlist"T
"$nlist"
7888 # Make sure that we snagged all the symbols we need.
7889 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7890 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7891 cat <<_LT_EOF > conftest.$ac_ext
7897 # Now generate the symbol file.
7898 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7900 cat <<_LT_EOF >> conftest.$ac_ext
7902 /* The mapping between symbol names and symbols. */
7907 lt__PROGRAM__LTX_preloaded_symbols[] =
7909 { "@PROGRAM@", (void *) 0 },
7911 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7912 cat <<\_LT_EOF
>> conftest.
$ac_ext
7916 /* This works around a problem
in FreeBSD linker
*/
7917 #ifdef FREEBSD_WORKAROUND
7918 static const void
*lt_preloaded_setup
() {
7919 return lt__PROGRAM__LTX_preloaded_symbols
;
7927 # Now try linking the two files.
7928 mv conftest.
$ac_objext conftstm.
$ac_objext
7929 lt_save_LIBS
="$LIBS"
7930 lt_save_CFLAGS
="$CFLAGS"
7931 LIBS
="conftstm.$ac_objext"
7932 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7934 (eval $ac_link) 2>&5
7936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7937 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7940 LIBS
="$lt_save_LIBS"
7941 CFLAGS
="$lt_save_CFLAGS"
7943 echo "cannot find nm_test_func in $nlist" >&5
7946 echo "cannot find nm_test_var in $nlist" >&5
7949 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7952 echo "$progname: failed program was:" >&5
7953 cat conftest.
$ac_ext >&5
7955 rm -rf conftest
* conftst
*
7957 # Do not use the global_symbol_pipe unless it works.
7958 if test "$pipe_works" = yes; then
7961 lt_cv_sys_global_symbol_pipe
=
7967 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7968 lt_cv_sys_global_symbol_to_cdecl
=
7970 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7972 $as_echo "failed" >&6; }
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7975 $as_echo "ok" >&6; }
7999 # Check whether --enable-libtool-lock was given.
8000 if test "${enable_libtool_lock+set}" = set; then :
8001 enableval
=$enable_libtool_lock;
8004 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8006 # Some flags need to be propagated to the compiler or linker for good
8010 # Find out which ABI we are using.
8011 echo 'int i;' > conftest.
$ac_ext
8012 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8013 (eval $ac_compile) 2>&5
8015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8016 test $ac_status = 0; }; then
8017 case `/usr/bin/file conftest.$ac_objext` in
8029 # Find out which ABI we are using.
8030 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8032 (eval $ac_compile) 2>&5
8034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8035 test $ac_status = 0; }; then
8036 if test "$lt_cv_prog_gnu_ld" = yes; then
8037 case `/usr/bin/file conftest.$ac_objext` in
8039 LD
="${LD-ld} -melf32bsmip"
8042 LD
="${LD-ld} -melf32bmipn32"
8045 LD
="${LD-ld} -melf64bmip"
8049 case `/usr/bin/file conftest.$ac_objext` in
8065 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8066 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8067 # Find out which ABI we are using.
8068 echo 'int i;' > conftest.
$ac_ext
8069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8070 (eval $ac_compile) 2>&5
8072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8073 test $ac_status = 0; }; then
8074 case `/usr/bin/file conftest.o` in
8077 x86_64-
*kfreebsd
*-gnu)
8078 LD
="${LD-ld} -m elf_i386_fbsd"
8081 case `/usr/bin/file conftest.o` in
8083 LD
="${LD-ld} -m elf32_x86_64"
8086 LD
="${LD-ld} -m elf_i386"
8090 powerpc64le-
*linux
*)
8091 LD
="${LD-ld} -m elf32lppclinux"
8094 LD
="${LD-ld} -m elf32ppclinux"
8097 LD
="${LD-ld} -m elf_s390"
8100 LD
="${LD-ld} -m elf32_sparc"
8106 x86_64-
*kfreebsd
*-gnu)
8107 LD
="${LD-ld} -m elf_x86_64_fbsd"
8110 LD
="${LD-ld} -m elf_x86_64"
8113 LD
="${LD-ld} -m elf64lppc"
8116 LD
="${LD-ld} -m elf64ppc"
8118 s390
*-*linux
*|s390
*-*tpf
*)
8119 LD
="${LD-ld} -m elf64_s390"
8122 LD
="${LD-ld} -m elf64_sparc"
8132 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8133 SAVE_CFLAGS
="$CFLAGS"
8134 CFLAGS
="$CFLAGS -belf"
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8136 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8137 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8138 $as_echo_n "(cached) " >&6
8141 ac_cpp
='$CPP $CPPFLAGS'
8142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8146 if test x
$gcc_no_link = xyes
; then
8147 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8160 if ac_fn_c_try_link
"$LINENO"; then :
8161 lt_cv_cc_needs_belf
=yes
8163 lt_cv_cc_needs_belf
=no
8165 rm -f core conftest.err conftest.
$ac_objext \
8166 conftest
$ac_exeext conftest.
$ac_ext
8168 ac_cpp
='$CPP $CPPFLAGS'
8169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8175 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8176 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8177 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8178 CFLAGS
="$SAVE_CFLAGS"
8182 # Find out which ABI we are using.
8183 echo 'int i;' > conftest.
$ac_ext
8184 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8185 (eval $ac_compile) 2>&5
8187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8188 test $ac_status = 0; }; then
8189 case `/usr/bin/file conftest.o` in
8191 case $lt_cv_prog_gnu_ld in
8192 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8194 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8206 need_locks
="$enable_libtool_lock"
8210 rhapsody
* | darwin
*)
8211 if test -n "$ac_tool_prefix"; then
8212 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8213 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8215 $as_echo_n "checking for $ac_word... " >&6; }
8216 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8217 $as_echo_n "(cached) " >&6
8219 if test -n "$DSYMUTIL"; then
8220 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8226 test -z "$as_dir" && as_dir
=.
8227 for ac_exec_ext
in '' $ac_executable_extensions; do
8228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8229 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8239 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8240 if test -n "$DSYMUTIL"; then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8242 $as_echo "$DSYMUTIL" >&6; }
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8245 $as_echo "no" >&6; }
8250 if test -z "$ac_cv_prog_DSYMUTIL"; then
8251 ac_ct_DSYMUTIL
=$DSYMUTIL
8252 # Extract the first word of "dsymutil", so it can be a program name with args.
8253 set dummy dsymutil
; ac_word
=$2
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8255 $as_echo_n "checking for $ac_word... " >&6; }
8256 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8257 $as_echo_n "(cached) " >&6
8259 if test -n "$ac_ct_DSYMUTIL"; then
8260 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8266 test -z "$as_dir" && as_dir
=.
8267 for ac_exec_ext
in '' $ac_executable_extensions; do
8268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8269 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8279 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8280 if test -n "$ac_ct_DSYMUTIL"; then
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8282 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8285 $as_echo "no" >&6; }
8288 if test "x$ac_ct_DSYMUTIL" = x
; then
8291 case $cross_compiling:$ac_tool_warned in
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8295 ac_tool_warned
=yes ;;
8297 DSYMUTIL
=$ac_ct_DSYMUTIL
8300 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8303 if test -n "$ac_tool_prefix"; then
8304 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8305 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8307 $as_echo_n "checking for $ac_word... " >&6; }
8308 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8309 $as_echo_n "(cached) " >&6
8311 if test -n "$NMEDIT"; then
8312 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8318 test -z "$as_dir" && as_dir
=.
8319 for ac_exec_ext
in '' $ac_executable_extensions; do
8320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8321 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8331 NMEDIT
=$ac_cv_prog_NMEDIT
8332 if test -n "$NMEDIT"; then
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8334 $as_echo "$NMEDIT" >&6; }
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8337 $as_echo "no" >&6; }
8342 if test -z "$ac_cv_prog_NMEDIT"; then
8343 ac_ct_NMEDIT
=$NMEDIT
8344 # Extract the first word of "nmedit", so it can be a program name with args.
8345 set dummy nmedit
; ac_word
=$2
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8347 $as_echo_n "checking for $ac_word... " >&6; }
8348 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8349 $as_echo_n "(cached) " >&6
8351 if test -n "$ac_ct_NMEDIT"; then
8352 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8358 test -z "$as_dir" && as_dir
=.
8359 for ac_exec_ext
in '' $ac_executable_extensions; do
8360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8361 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8371 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8372 if test -n "$ac_ct_NMEDIT"; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8374 $as_echo "$ac_ct_NMEDIT" >&6; }
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8377 $as_echo "no" >&6; }
8380 if test "x$ac_ct_NMEDIT" = x
; then
8383 case $cross_compiling:$ac_tool_warned in
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8387 ac_tool_warned
=yes ;;
8389 NMEDIT
=$ac_ct_NMEDIT
8392 NMEDIT
="$ac_cv_prog_NMEDIT"
8395 if test -n "$ac_tool_prefix"; then
8396 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8397 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8399 $as_echo_n "checking for $ac_word... " >&6; }
8400 if test "${ac_cv_prog_LIPO+set}" = set; then :
8401 $as_echo_n "(cached) " >&6
8403 if test -n "$LIPO"; then
8404 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8410 test -z "$as_dir" && as_dir
=.
8411 for ac_exec_ext
in '' $ac_executable_extensions; do
8412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8413 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8423 LIPO
=$ac_cv_prog_LIPO
8424 if test -n "$LIPO"; then
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8426 $as_echo "$LIPO" >&6; }
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8429 $as_echo "no" >&6; }
8434 if test -z "$ac_cv_prog_LIPO"; then
8436 # Extract the first word of "lipo", so it can be a program name with args.
8437 set dummy lipo
; ac_word
=$2
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8439 $as_echo_n "checking for $ac_word... " >&6; }
8440 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8441 $as_echo_n "(cached) " >&6
8443 if test -n "$ac_ct_LIPO"; then
8444 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8450 test -z "$as_dir" && as_dir
=.
8451 for ac_exec_ext
in '' $ac_executable_extensions; do
8452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8453 ac_cv_prog_ac_ct_LIPO
="lipo"
8454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8463 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8464 if test -n "$ac_ct_LIPO"; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8466 $as_echo "$ac_ct_LIPO" >&6; }
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8469 $as_echo "no" >&6; }
8472 if test "x$ac_ct_LIPO" = x
; then
8475 case $cross_compiling:$ac_tool_warned in
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8479 ac_tool_warned
=yes ;;
8484 LIPO
="$ac_cv_prog_LIPO"
8487 if test -n "$ac_tool_prefix"; then
8488 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8489 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8491 $as_echo_n "checking for $ac_word... " >&6; }
8492 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8493 $as_echo_n "(cached) " >&6
8495 if test -n "$OTOOL"; then
8496 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8502 test -z "$as_dir" && as_dir
=.
8503 for ac_exec_ext
in '' $ac_executable_extensions; do
8504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8505 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8515 OTOOL
=$ac_cv_prog_OTOOL
8516 if test -n "$OTOOL"; then
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8518 $as_echo "$OTOOL" >&6; }
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8521 $as_echo "no" >&6; }
8526 if test -z "$ac_cv_prog_OTOOL"; then
8528 # Extract the first word of "otool", so it can be a program name with args.
8529 set dummy otool
; ac_word
=$2
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8531 $as_echo_n "checking for $ac_word... " >&6; }
8532 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8533 $as_echo_n "(cached) " >&6
8535 if test -n "$ac_ct_OTOOL"; then
8536 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8542 test -z "$as_dir" && as_dir
=.
8543 for ac_exec_ext
in '' $ac_executable_extensions; do
8544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8545 ac_cv_prog_ac_ct_OTOOL
="otool"
8546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8555 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8556 if test -n "$ac_ct_OTOOL"; then
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8558 $as_echo "$ac_ct_OTOOL" >&6; }
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8561 $as_echo "no" >&6; }
8564 if test "x$ac_ct_OTOOL" = x
; then
8567 case $cross_compiling:$ac_tool_warned in
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8571 ac_tool_warned
=yes ;;
8576 OTOOL
="$ac_cv_prog_OTOOL"
8579 if test -n "$ac_tool_prefix"; then
8580 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8581 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8583 $as_echo_n "checking for $ac_word... " >&6; }
8584 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8585 $as_echo_n "(cached) " >&6
8587 if test -n "$OTOOL64"; then
8588 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8594 test -z "$as_dir" && as_dir
=.
8595 for ac_exec_ext
in '' $ac_executable_extensions; do
8596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8597 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8607 OTOOL64
=$ac_cv_prog_OTOOL64
8608 if test -n "$OTOOL64"; then
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8610 $as_echo "$OTOOL64" >&6; }
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8613 $as_echo "no" >&6; }
8618 if test -z "$ac_cv_prog_OTOOL64"; then
8619 ac_ct_OTOOL64
=$OTOOL64
8620 # Extract the first word of "otool64", so it can be a program name with args.
8621 set dummy otool64
; ac_word
=$2
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8623 $as_echo_n "checking for $ac_word... " >&6; }
8624 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8625 $as_echo_n "(cached) " >&6
8627 if test -n "$ac_ct_OTOOL64"; then
8628 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8634 test -z "$as_dir" && as_dir
=.
8635 for ac_exec_ext
in '' $ac_executable_extensions; do
8636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8637 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8647 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8648 if test -n "$ac_ct_OTOOL64"; then
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8650 $as_echo "$ac_ct_OTOOL64" >&6; }
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8653 $as_echo "no" >&6; }
8656 if test "x$ac_ct_OTOOL64" = x
; then
8659 case $cross_compiling:$ac_tool_warned in
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8663 ac_tool_warned
=yes ;;
8665 OTOOL64
=$ac_ct_OTOOL64
8668 OTOOL64
="$ac_cv_prog_OTOOL64"
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8698 $as_echo_n "checking for -single_module linker flag... " >&6; }
8699 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8700 $as_echo_n "(cached) " >&6
8702 lt_cv_apple_cc_single_mod
=no
8703 if test -z "${LT_MULTI_MODULE}"; then
8704 # By default we will add the -single_module flag. You can override
8705 # by either setting the environment variable LT_MULTI_MODULE
8706 # non-empty at configure time, or by adding -multi_module to the
8708 rm -rf libconftest.dylib
*
8709 echo "int foo(void){return 1;}" > conftest.c
8710 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8711 -dynamiclib -Wl,-single_module conftest.c" >&5
8712 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8713 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8715 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8716 lt_cv_apple_cc_single_mod
=yes
8718 cat conftest.err
>&5
8720 rm -rf libconftest.dylib
*
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8725 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8727 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8728 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8729 $as_echo_n "(cached) " >&6
8731 lt_cv_ld_exported_symbols_list
=no
8732 save_LDFLAGS
=$LDFLAGS
8733 echo "_main" > conftest.sym
8734 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8735 if test x
$gcc_no_link = xyes
; then
8736 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8749 if ac_fn_c_try_link
"$LINENO"; then :
8750 lt_cv_ld_exported_symbols_list
=yes
8752 lt_cv_ld_exported_symbols_list
=no
8754 rm -f core conftest.err conftest.
$ac_objext \
8755 conftest
$ac_exeext conftest.
$ac_ext
8756 LDFLAGS
="$save_LDFLAGS"
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8760 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8762 $as_echo_n "checking for -force_load linker flag... " >&6; }
8763 if test "${lt_cv_ld_force_load+set}" = set; then :
8764 $as_echo_n "(cached) " >&6
8766 lt_cv_ld_force_load
=no
8767 cat > conftest.c
<< _LT_EOF
8768 int forced_loaded() { return 2;}
8770 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8771 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8772 echo "$AR cru libconftest.a conftest.o" >&5
8773 $AR cru libconftest.a conftest.o
2>&5
8774 cat > conftest.c
<< _LT_EOF
8775 int main() { return 0;}
8777 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8778 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8780 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8781 lt_cv_ld_force_load
=yes
8783 cat conftest.err
>&5
8785 rm -f conftest.err libconftest.a conftest conftest.c
8786 rm -rf conftest.dSYM
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8790 $as_echo "$lt_cv_ld_force_load" >&6; }
8792 rhapsody
* | darwin1.
[012])
8793 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8795 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8796 darwin
*) # darwin 5.x on
8797 # if running on 10.5 or later, the deployment target defaults
8798 # to the OS version, if on x86, and 10.4, the deployment
8799 # target defaults to 10.4. Don't you love it?
8800 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8801 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8802 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8804 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8806 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8810 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8811 _lt_dar_single_mod
='$single_module'
8813 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8814 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8816 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8818 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8819 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8826 for ac_header
in dlfcn.h
8828 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8830 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8831 cat >>confdefs.h
<<_ACEOF
8832 #define HAVE_DLFCN_H 1
8851 # Check whether --enable-shared was given.
8852 if test "${enable_shared+set}" = set; then :
8853 enableval
=$enable_shared; p
=${PACKAGE-default}
8855 yes) enable_shared
=yes ;;
8856 no
) enable_shared
=no
;;
8859 # Look at the argument we got. We use all the common list separators.
8860 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8861 for pkg
in $enableval; do
8863 if test "X$pkg" = "X$p"; then
8882 # Check whether --enable-static was given.
8883 if test "${enable_static+set}" = set; then :
8884 enableval
=$enable_static; p
=${PACKAGE-default}
8886 yes) enable_static
=yes ;;
8887 no
) enable_static
=no
;;
8890 # Look at the argument we got. We use all the common list separators.
8891 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8892 for pkg
in $enableval; do
8894 if test "X$pkg" = "X$p"; then
8914 # Check whether --with-pic was given.
8915 if test "${with_pic+set}" = set; then :
8916 withval
=$with_pic; pic_mode
="$withval"
8922 test -z "$pic_mode" && pic_mode
=default
8930 # Check whether --enable-fast-install was given.
8931 if test "${enable_fast_install+set}" = set; then :
8932 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8934 yes) enable_fast_install
=yes ;;
8935 no
) enable_fast_install
=no
;;
8937 enable_fast_install
=no
8938 # Look at the argument we got. We use all the common list separators.
8939 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8940 for pkg
in $enableval; do
8942 if test "X$pkg" = "X$p"; then
8943 enable_fast_install
=yes
8950 enable_fast_install
=yes
8963 # This can be used to rebuild libtool when needed
8964 LIBTOOL_DEPS
="$ltmain"
8966 # Always use our own libtool.
8967 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8994 test -z "$LN_S" && LN_S
="ln -s"
9009 if test -n "${ZSH_VERSION+set}" ; then
9010 setopt NO_GLOB_SUBST
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9014 $as_echo_n "checking for objdir... " >&6; }
9015 if test "${lt_cv_objdir+set}" = set; then :
9016 $as_echo_n "(cached) " >&6
9018 rm -f .libs
2>/dev
/null
9019 mkdir .libs
2>/dev
/null
9020 if test -d .libs
; then
9023 # MS-DOS does not allow filenames that begin with a dot.
9026 rmdir .libs
2>/dev
/null
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9029 $as_echo "$lt_cv_objdir" >&6; }
9030 objdir
=$lt_cv_objdir
9036 cat >>confdefs.h
<<_ACEOF
9037 #define LT_OBJDIR "$lt_cv_objdir/"
9045 # AIX sometimes has problems with the GCC collect2 program. For some
9046 # reason, if we set the COLLECT_NAMES environment variable, the problems
9047 # vanish in a puff of smoke.
9048 if test "X${COLLECT_NAMES+set}" != Xset
; then
9050 export COLLECT_NAMES
9057 can_build_shared
=yes
9059 # All known linkers require a `.a' archive for static linking (except MSVC,
9060 # which needs '.lib').
9063 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9066 old_CFLAGS
="$CFLAGS"
9068 # Set sane defaults for various variables
9069 test -z "$CC" && CC
=cc
9070 test -z "$LTCC" && LTCC
=$CC
9071 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9072 test -z "$LD" && LD
=ld
9073 test -z "$ac_objext" && ac_objext
=o
9075 for cc_temp
in $compiler""; do
9077 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9078 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9083 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9086 # Only perform the check for file, if the check method requires it
9087 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9088 case $deplibs_check_method in
9090 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9092 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9093 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9094 $as_echo_n "(cached) " >&6
9098 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9101 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9102 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9103 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9104 for ac_dir
in $ac_dummy; do
9106 test -z "$ac_dir" && ac_dir
=.
9107 if test -f $ac_dir/${ac_tool_prefix}file; then
9108 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9109 if test -n "$file_magic_test_file"; then
9110 case $deplibs_check_method in
9112 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9113 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9114 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9115 $EGREP "$file_magic_regex" > /dev
/null
; then
9120 *** Warning: the command libtool uses to detect shared libraries,
9121 *** $file_magic_cmd, produces output that libtool cannot recognize.
9122 *** The result is that libtool may fail to recognize shared libraries
9123 *** as such. This will affect the creation of libtool libraries that
9124 *** depend on shared libraries, but programs linked with such libtool
9125 *** libraries will work regardless of this problem. Nevertheless, you
9126 *** may want to report the problem to your system manager and/or to
9127 *** bug-libtool@gnu.org
9137 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9142 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9143 if test -n "$MAGIC_CMD"; then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9145 $as_echo "$MAGIC_CMD" >&6; }
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9148 $as_echo "no" >&6; }
9155 if test -z "$lt_cv_path_MAGIC_CMD"; then
9156 if test -n "$ac_tool_prefix"; then
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9158 $as_echo_n "checking for file... " >&6; }
9159 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9160 $as_echo_n "(cached) " >&6
9164 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9167 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9168 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9169 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9170 for ac_dir
in $ac_dummy; do
9172 test -z "$ac_dir" && ac_dir
=.
9173 if test -f $ac_dir/file; then
9174 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9175 if test -n "$file_magic_test_file"; then
9176 case $deplibs_check_method in
9178 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9179 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9180 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9181 $EGREP "$file_magic_regex" > /dev
/null
; then
9186 *** Warning: the command libtool uses to detect shared libraries,
9187 *** $file_magic_cmd, produces output that libtool cannot recognize.
9188 *** The result is that libtool may fail to recognize shared libraries
9189 *** as such. This will affect the creation of libtool libraries that
9190 *** depend on shared libraries, but programs linked with such libtool
9191 *** libraries will work regardless of this problem. Nevertheless, you
9192 *** may want to report the problem to your system manager and/or to
9193 *** bug-libtool@gnu.org
9203 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9208 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9209 if test -n "$MAGIC_CMD"; then
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9211 $as_echo "$MAGIC_CMD" >&6; }
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9214 $as_echo "no" >&6; }
9227 # Use C for the default configuration in the libtool script
9231 ac_cpp
='$CPP $CPPFLAGS'
9232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9237 # Source file extension for C test sources.
9240 # Object file extension for compiled C test sources.
9244 # Code to be used in simple compile tests
9245 lt_simple_compile_test_code
="int some_variable = 0;"
9247 # Code to be used in simple link tests
9248 lt_simple_link_test_code
='int main(){return(0);}'
9256 # If no C compiler was specified, use CC.
9259 # If no C compiler flags were specified, use CFLAGS.
9260 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9262 # Allow CC to be a program name with arguments.
9265 # Save the default compiler, since it gets overwritten when the other
9266 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9267 compiler_DEFAULT
=$CC
9269 # save warnings/boilerplate of simple test code
9270 ac_outfile
=conftest.
$ac_objext
9271 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9272 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9273 _lt_compiler_boilerplate
=`cat conftest.err`
9276 ac_outfile
=conftest.
$ac_objext
9277 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9278 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9279 _lt_linker_boilerplate
=`cat conftest.err`
9284 ## There is no encapsulation within the following macros, do not change
9285 ## the running order or otherwise move them around unless you know exactly
9286 ## what you are doing...
9287 if test -n "$compiler"; then
9289 lt_prog_compiler_no_builtin_flag
=
9291 if test "$GCC" = yes; then
9292 case $cc_basename in
9294 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9296 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9300 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9301 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9302 $as_echo_n "(cached) " >&6
9304 lt_cv_prog_compiler_rtti_exceptions
=no
9305 ac_outfile
=conftest.
$ac_objext
9306 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9307 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9308 # Insert the option either (1) after the last *FLAGS variable, or
9309 # (2) before a word containing "conftest.", or (3) at the end.
9310 # Note that $ac_compile itself does not contain backslashes and begins
9311 # with a dollar sign (not a hyphen), so the echo should work correctly.
9312 # The option is referenced via a variable to avoid confusing sed.
9313 lt_compile
=`echo "$ac_compile" | $SED \
9314 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9315 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9316 -e 's:$: $lt_compiler_flag:'`
9317 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9318 (eval "$lt_compile" 2>conftest.err
)
9320 cat conftest.err
>&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 if (exit $ac_status) && test -s "$ac_outfile"; then
9323 # The compiler can only warn and ignore the option if not recognized
9324 # So say no if there are warnings other than the usual output.
9325 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9326 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9327 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9328 lt_cv_prog_compiler_rtti_exceptions
=yes
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9335 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9337 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9338 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9350 lt_prog_compiler_wl
=
9351 lt_prog_compiler_pic
=
9352 lt_prog_compiler_static
=
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9355 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9357 if test "$GCC" = yes; then
9358 lt_prog_compiler_wl
='-Wl,'
9359 lt_prog_compiler_static
='-static'
9363 # All AIX code is PIC.
9364 if test "$host_cpu" = ia64
; then
9365 # AIX 5 now supports IA64 processor
9366 lt_prog_compiler_static
='-Bstatic'
9368 lt_prog_compiler_pic
='-fPIC'
9374 # see comment about AmigaOS4 .so support
9375 lt_prog_compiler_pic
='-fPIC'
9378 # FIXME: we need at least 68020 code to build shared libraries, but
9379 # adding the `-m68020' flag to GCC prevents building anything better,
9381 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9386 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9387 # PIC is the default for these OSes.
9390 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9391 # This hack is so that the source file can tell whether it is being
9392 # built for inclusion in a dll (and should export symbols for example).
9393 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9394 # (--disable-auto-import) libraries
9395 lt_prog_compiler_pic
='-DDLL_EXPORT'
9398 darwin
* | rhapsody
*)
9399 # PIC is the default on this platform
9400 # Common symbols not allowed in MH_DYLIB files
9401 lt_prog_compiler_pic
='-fno-common'
9405 # PIC is the default for Haiku.
9406 # The "-static" flag exists, but is broken.
9407 lt_prog_compiler_static
=
9411 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9412 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9413 # sets the default TLS model and affects inlining.
9419 lt_prog_compiler_pic
='-fPIC'
9425 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9426 # Instead, we relocate shared libraries at runtime.
9430 # Just because we use GCC doesn't mean we suddenly get shared libraries
9431 # on systems that don't support them.
9432 lt_prog_compiler_can_build_shared
=no
9437 # QNX uses GNU C++, but need to define -shared option too, otherwise
9439 lt_prog_compiler_pic
='-fPIC -shared'
9443 if test -d /usr
/nec
; then
9444 lt_prog_compiler_pic
=-Kconform_pic
9449 lt_prog_compiler_pic
='-fPIC'
9453 case $cc_basename in
9454 nvcc
*) # Cuda Compiler Driver 2.2
9455 lt_prog_compiler_wl
='-Xlinker '
9456 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9460 # PORTME Check for flag to pass linker flags through the system compiler.
9463 lt_prog_compiler_wl
='-Wl,'
9464 if test "$host_cpu" = ia64
; then
9465 # AIX 5 now supports IA64 processor
9466 lt_prog_compiler_static
='-Bstatic'
9468 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9472 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9473 # This hack is so that the source file can tell whether it is being
9474 # built for inclusion in a dll (and should export symbols for example).
9475 lt_prog_compiler_pic
='-DDLL_EXPORT'
9478 hpux9
* | hpux10
* | hpux11
*)
9479 lt_prog_compiler_wl
='-Wl,'
9480 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9487 lt_prog_compiler_pic
='+Z'
9490 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9491 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9494 irix5
* | irix6
* | nonstopux
*)
9495 lt_prog_compiler_wl
='-Wl,'
9496 # PIC (with -KPIC) is the default.
9497 lt_prog_compiler_static
='-non_shared'
9500 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9501 case $cc_basename in
9502 # old Intel for x86_64 which still supported -KPIC.
9504 lt_prog_compiler_wl
='-Wl,'
9505 lt_prog_compiler_pic
='-KPIC'
9506 lt_prog_compiler_static
='-static'
9508 # icc used to be incompatible with GCC.
9509 # ICC 10 doesn't accept -KPIC any more.
9511 lt_prog_compiler_wl
='-Wl,'
9512 lt_prog_compiler_pic
='-fPIC'
9513 lt_prog_compiler_static
='-static'
9515 # Lahey Fortran 8.1.
9517 lt_prog_compiler_wl
='-Wl,'
9518 lt_prog_compiler_pic
='--shared'
9519 lt_prog_compiler_static
='--static'
9521 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9522 # Portland Group compilers (*not* the Pentium gcc compiler,
9523 # which looks to be a dead project)
9524 lt_prog_compiler_wl
='-Wl,'
9525 lt_prog_compiler_pic
='-fpic'
9526 lt_prog_compiler_static
='-Bstatic'
9529 lt_prog_compiler_wl
='-Wl,'
9530 # All Alpha code is PIC.
9531 lt_prog_compiler_static
='-non_shared'
9533 xl
* | bgxl
* | bgf
* | mpixl
*)
9534 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9535 lt_prog_compiler_wl
='-Wl,'
9536 lt_prog_compiler_pic
='-qpic'
9537 lt_prog_compiler_static
='-qstaticlink'
9540 case `$CC -V 2>&1 | sed 5q` in
9541 *Sun\ F
* |
*Sun
*Fortran
*)
9542 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9543 lt_prog_compiler_pic
='-KPIC'
9544 lt_prog_compiler_static
='-Bstatic'
9545 lt_prog_compiler_wl
=''
9549 lt_prog_compiler_pic
='-KPIC'
9550 lt_prog_compiler_static
='-Bstatic'
9551 lt_prog_compiler_wl
='-Wl,'
9559 lt_prog_compiler_pic
='-KPIC'
9560 lt_prog_compiler_static
='-Bstatic'
9564 # QNX uses GNU C++, but need to define -shared option too, otherwise
9566 lt_prog_compiler_pic
='-fPIC -shared'
9569 osf3
* | osf4
* | osf5
*)
9570 lt_prog_compiler_wl
='-Wl,'
9571 # All OSF/1 code is PIC.
9572 lt_prog_compiler_static
='-non_shared'
9576 lt_prog_compiler_static
='-non_shared'
9580 lt_prog_compiler_pic
='-KPIC'
9581 lt_prog_compiler_static
='-Bstatic'
9582 case $cc_basename in
9584 lt_prog_compiler_wl
='-Qoption ld ';;
9586 lt_prog_compiler_wl
='-Wl,';;
9591 lt_prog_compiler_wl
='-Qoption ld '
9592 lt_prog_compiler_pic
='-PIC'
9593 lt_prog_compiler_static
='-Bstatic'
9596 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9597 lt_prog_compiler_wl
='-Wl,'
9598 lt_prog_compiler_pic
='-KPIC'
9599 lt_prog_compiler_static
='-Bstatic'
9603 if test -d /usr
/nec
;then
9604 lt_prog_compiler_pic
='-Kconform_pic'
9605 lt_prog_compiler_static
='-Bstatic'
9609 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9610 lt_prog_compiler_wl
='-Wl,'
9611 lt_prog_compiler_pic
='-KPIC'
9612 lt_prog_compiler_static
='-Bstatic'
9616 lt_prog_compiler_wl
='-Wl,'
9617 lt_prog_compiler_can_build_shared
=no
9621 lt_prog_compiler_pic
='-pic'
9622 lt_prog_compiler_static
='-Bstatic'
9626 lt_prog_compiler_can_build_shared
=no
9632 # For platforms which do not support PIC, -DPIC is meaningless:
9634 lt_prog_compiler_pic
=
9637 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9641 $as_echo "$lt_prog_compiler_pic" >&6; }
9649 # Check to make sure the PIC flag actually works.
9651 if test -n "$lt_prog_compiler_pic"; then
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9653 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9654 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9655 $as_echo_n "(cached) " >&6
9657 lt_cv_prog_compiler_pic_works
=no
9658 ac_outfile
=conftest.
$ac_objext
9659 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9660 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9661 # Insert the option either (1) after the last *FLAGS variable, or
9662 # (2) before a word containing "conftest.", or (3) at the end.
9663 # Note that $ac_compile itself does not contain backslashes and begins
9664 # with a dollar sign (not a hyphen), so the echo should work correctly.
9665 # The option is referenced via a variable to avoid confusing sed.
9666 lt_compile
=`echo "$ac_compile" | $SED \
9667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9669 -e 's:$: $lt_compiler_flag:'`
9670 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9671 (eval "$lt_compile" 2>conftest.err
)
9673 cat conftest.err
>&5
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 if (exit $ac_status) && test -s "$ac_outfile"; then
9676 # The compiler can only warn and ignore the option if not recognized
9677 # So say no if there are warnings other than the usual output.
9678 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9679 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9680 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9681 lt_cv_prog_compiler_pic_works
=yes
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9688 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9690 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9691 case $lt_prog_compiler_pic in
9693 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9696 lt_prog_compiler_pic
=
9697 lt_prog_compiler_can_build_shared
=no
9708 # Check to make sure the static flag actually works.
9710 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9712 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9713 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9714 $as_echo_n "(cached) " >&6
9716 lt_cv_prog_compiler_static_works
=no
9717 save_LDFLAGS
="$LDFLAGS"
9718 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9719 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9720 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9721 # The linker can only warn and ignore the option if not recognized
9722 # So say no if there are warnings
9723 if test -s conftest.err
; then
9724 # Append any errors to the config.log.
9725 cat conftest.err
1>&5
9726 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9727 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9728 if diff conftest.exp conftest.er2
>/dev
/null
; then
9729 lt_cv_prog_compiler_static_works
=yes
9732 lt_cv_prog_compiler_static_works
=yes
9736 LDFLAGS
="$save_LDFLAGS"
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9740 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9742 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9745 lt_prog_compiler_static
=
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9756 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9757 $as_echo_n "(cached) " >&6
9759 lt_cv_prog_compiler_c_o
=no
9760 $RM -r conftest
2>/dev
/null
9764 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9766 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9767 # Insert the option either (1) after the last *FLAGS variable, or
9768 # (2) before a word containing "conftest.", or (3) at the end.
9769 # Note that $ac_compile itself does not contain backslashes and begins
9770 # with a dollar sign (not a hyphen), so the echo should work correctly.
9771 lt_compile
=`echo "$ac_compile" | $SED \
9772 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9774 -e 's:$: $lt_compiler_flag:'`
9775 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9776 (eval "$lt_compile" 2>out
/conftest.err
)
9778 cat out
/conftest.err
>&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9782 # The compiler can only warn and ignore the option if not recognized
9783 # So say no if there are warnings
9784 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9785 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9786 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9787 lt_cv_prog_compiler_c_o
=yes
9792 # SGI C++ compiler will create directory out/ii_files/ for
9793 # template instantiation
9794 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9795 $RM out
/* && rmdir out
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9802 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9811 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9812 $as_echo_n "(cached) " >&6
9814 lt_cv_prog_compiler_c_o
=no
9815 $RM -r conftest
2>/dev
/null
9819 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9821 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9822 # Insert the option either (1) after the last *FLAGS variable, or
9823 # (2) before a word containing "conftest.", or (3) at the end.
9824 # Note that $ac_compile itself does not contain backslashes and begins
9825 # with a dollar sign (not a hyphen), so the echo should work correctly.
9826 lt_compile
=`echo "$ac_compile" | $SED \
9827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9829 -e 's:$: $lt_compiler_flag:'`
9830 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9831 (eval "$lt_compile" 2>out
/conftest.err
)
9833 cat out
/conftest.err
>&5
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9837 # The compiler can only warn and ignore the option if not recognized
9838 # So say no if there are warnings
9839 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9840 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9841 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9842 lt_cv_prog_compiler_c_o
=yes
9847 # SGI C++ compiler will create directory out/ii_files/ for
9848 # template instantiation
9849 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9850 $RM out
/* && rmdir out
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9857 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9862 hard_links
="nottested"
9863 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9864 # do not overwrite the value of need_locks provided by the user
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9866 $as_echo_n "checking if we can lock with hard links... " >&6; }
9869 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9871 ln conftest.a conftest.b
2>&5 || hard_links
=no
9872 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9874 $as_echo "$hard_links" >&6; }
9875 if test "$hard_links" = no
; then
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9877 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9890 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9893 allow_undefined_flag
=
9894 always_export_symbols
=no
9896 archive_expsym_cmds
=
9897 compiler_needs_object
=no
9898 enable_shared_with_static_runtimes
=no
9899 export_dynamic_flag_spec
=
9900 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9901 hardcode_automatic
=no
9903 hardcode_direct_absolute
=no
9904 hardcode_libdir_flag_spec
=
9905 hardcode_libdir_flag_spec_ld
=
9906 hardcode_libdir_separator
=
9908 hardcode_shlibpath_var
=unsupported
9910 link_all_deplibs
=unknown
9913 old_archive_from_new_cmds
=
9914 old_archive_from_expsyms_cmds
=
9915 thread_safe_flag_spec
=
9916 whole_archive_flag_spec
=
9917 # include_expsyms should be a list of space-separated symbols to be *always*
9918 # included in the symbol list
9920 # exclude_expsyms can be an extended regexp of symbols to exclude
9921 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9922 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9923 # as well as any symbol that contains `d'.
9924 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9925 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9926 # platforms (ab)use it in PIC code, but their linkers get confused if
9927 # the symbol is explicitly referenced. Since portable code cannot
9928 # rely on this symbol name, it's probably fine to never include it in
9929 # preloaded symbol tables.
9930 # Exclude shared library initialization/finalization symbols.
9931 extract_expsyms_cmds
=
9934 cygwin
* | mingw
* | pw32
* | cegcc
*)
9935 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9936 # When not using gcc, we currently assume that we are using
9937 # Microsoft Visual C++.
9938 if test "$GCC" != yes; then
9943 # we just hope/assume this is gcc and not c89 (= MSVC++)
9953 # On some targets, GNU ld is compatible enough with the native linker
9954 # that we're better off using the native interface for both.
9955 lt_use_gnu_ld_interface
=no
9956 if test "$with_gnu_ld" = yes; then
9959 # The AIX port of GNU ld has always aspired to compatibility
9960 # with the native linker. However, as the warning in the GNU ld
9961 # block says, versions before 2.19.5* couldn't really create working
9962 # shared libraries, regardless of the interface used.
9963 case `$LD -v 2>&1` in
9964 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9965 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9966 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9968 lt_use_gnu_ld_interface
=yes
9973 lt_use_gnu_ld_interface
=yes
9978 if test "$lt_use_gnu_ld_interface" = yes; then
9979 # If archive_cmds runs LD, not CC, wlarc should be empty
9982 # Set some defaults for GNU ld with shared library support. These
9983 # are reset later if shared libraries are not supported. Putting them
9984 # here allows them to be overridden if necessary.
9985 runpath_var
=LD_RUN_PATH
9986 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9987 export_dynamic_flag_spec
='${wl}--export-dynamic'
9988 # ancient GNU ld didn't support --whole-archive et. al.
9989 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9990 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9992 whole_archive_flag_spec
=
9994 supports_anon_versioning
=no
9995 case `$LD -v 2>&1` in
9996 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9997 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9998 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9999 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10000 *\
2.11.
*) ;; # other 2.11 versions
10001 *) supports_anon_versioning
=yes ;;
10004 # See if GNU ld supports shared libraries.
10007 # On AIX/PPC, the GNU linker is very broken
10008 if test "$host_cpu" != ia64
; then
10012 *** Warning: the GNU linker, at least up to release 2.19, is reported
10013 *** to be unable to reliably create shared libraries on AIX.
10014 *** Therefore, libtool is disabling shared libraries support. If you
10015 *** really care for shared libraries, you may want to install binutils
10016 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10017 *** You will then need to restart the configuration process.
10026 # see comment about AmigaOS4 .so support
10027 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10028 archive_expsym_cmds
=''
10031 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)'
10032 hardcode_libdir_flag_spec
='-L$libdir'
10033 hardcode_minus_L
=yes
10039 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10040 allow_undefined_flag
=unsupported
10041 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10042 # support --undefined. This deserves some investigation. FIXME
10043 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10049 cygwin
* | mingw
* | pw32
* | cegcc
*)
10050 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10051 # as there is no search path for DLLs.
10052 hardcode_libdir_flag_spec
='-L$libdir'
10053 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10054 allow_undefined_flag
=unsupported
10055 always_export_symbols
=no
10056 enable_shared_with_static_runtimes
=yes
10057 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10059 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10060 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10061 # If the export-symbols file already is a .def file (1st line
10062 # is EXPORTS), use it as is; otherwise, prepend...
10063 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10064 cp $export_symbols $output_objdir/$soname.def;
10066 echo EXPORTS > $output_objdir/$soname.def;
10067 cat $export_symbols >> $output_objdir/$soname.def;
10069 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10076 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10077 link_all_deplibs
=yes
10082 hardcode_shlibpath_var
=no
10083 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10084 export_dynamic_flag_spec
='${wl}-E'
10085 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10086 # Instead, shared libraries are loaded at an image base (0x10000000 by
10087 # default) and relocated if they conflict, which is a slow very memory
10088 # consuming and fragmenting process. To avoid this, we pick a random,
10089 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10090 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10091 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10092 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'
10095 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10097 if test "$host_os" = linux-dietlibc
; then
10098 case $cc_basename in
10099 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10102 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10103 && test "$tmp_diet" = no
10106 tmp_sharedflag
='-shared'
10107 case $cc_basename,$host_cpu in
10108 pgcc
*) # Portland Group C compiler
10109 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'
10110 tmp_addflag
=' $pic_flag'
10112 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10113 # Portland Group f77 and f90 compilers
10114 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'
10115 tmp_addflag
=' $pic_flag -Mnomain' ;;
10116 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10117 tmp_addflag
=' -i_dynamic' ;;
10118 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10119 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10120 ifc
* | ifort
*) # Intel Fortran compiler
10121 tmp_addflag
=' -nofor_main' ;;
10122 lf95
*) # Lahey Fortran 8.1
10123 whole_archive_flag_spec
=
10124 tmp_sharedflag
='--shared' ;;
10125 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10126 tmp_sharedflag
='-qmkshrobj'
10128 nvcc
*) # Cuda Compiler Driver 2.2
10129 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'
10130 compiler_needs_object
=yes
10133 case `$CC -V 2>&1 | sed 5q` in
10134 *Sun\ C
*) # Sun C 5.9
10135 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'
10136 compiler_needs_object
=yes
10137 tmp_sharedflag
='-G' ;;
10138 *Sun\ F
*) # Sun Fortran 8.3
10139 tmp_sharedflag
='-G' ;;
10141 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10143 if test "x$supports_anon_versioning" = xyes
; then
10144 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10145 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10146 echo "local: *; };" >> $output_objdir/$libname.ver~
10147 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10150 case $cc_basename in
10151 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10152 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10153 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10154 hardcode_libdir_flag_spec
=
10155 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10156 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10157 if test "x$supports_anon_versioning" = xyes
; then
10158 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10159 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10160 echo "local: *; };" >> $output_objdir/$libname.ver~
10161 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10171 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10172 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10175 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10176 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10181 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10185 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10186 *** create shared libraries on Solaris systems. Therefore, libtool
10187 *** is disabling shared libraries support. We urge you to upgrade GNU
10188 *** binutils to release 2.9.1 or newer. Another option is to modify
10189 *** your PATH or compiler configuration so that the native linker is
10190 *** used, and then restart.
10193 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10194 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10195 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10201 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10202 case `$LD -v 2>&1` in
10203 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10207 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10208 *** reliably create shared libraries on SCO systems. Therefore, libtool
10209 *** is disabling shared libraries support. We urge you to upgrade GNU
10210 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10211 *** your PATH or compiler configuration so that the native linker is
10212 *** used, and then restart.
10217 # For security reasons, it is highly recommended that you always
10218 # use absolute paths for naming shared libraries, and exclude the
10219 # DT_RUNPATH tag from executables and libraries. But doing so
10220 # requires that you compile everything twice, which is a pain.
10221 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10222 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10223 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10224 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10233 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10235 hardcode_direct
=yes
10236 hardcode_shlibpath_var
=no
10240 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10241 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10242 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10249 if test "$ld_shlibs" = no
; then
10251 hardcode_libdir_flag_spec
=
10252 export_dynamic_flag_spec
=
10253 whole_archive_flag_spec
=
10256 # PORTME fill in a description of your system's linker (not GNU ld)
10259 allow_undefined_flag
=unsupported
10260 always_export_symbols
=yes
10261 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'
10262 # Note: this linker hardcodes the directories in LIBPATH if there
10263 # are no directories specified by -L.
10264 hardcode_minus_L
=yes
10265 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10266 # Neither direct hardcoding nor static linking is supported with a
10268 hardcode_direct
=unsupported
10273 if test "$host_cpu" = ia64
; then
10274 # On IA64, the linker does run time linking by default, so we don't
10275 # have to do anything special.
10276 aix_use_runtimelinking
=no
10277 exp_sym_flag
='-Bexport'
10280 # If we're using GNU nm, then we don't want the "-C" option.
10281 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10282 # Also, AIX nm treats weak defined symbols like other global
10283 # defined symbols, whereas GNU nm marks them as "W".
10284 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10285 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'
10287 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'
10289 aix_use_runtimelinking
=no
10291 # Test if we are trying to use run time linking or normal
10292 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10293 # need to do runtime linking.
10294 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10295 for ld_flag
in $LDFLAGS; do
10296 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10297 aix_use_runtimelinking
=yes
10304 exp_sym_flag
='-bexport'
10305 no_entry_flag
='-bnoentry'
10308 # When large executables or shared objects are built, AIX ld can
10309 # have problems creating the table of contents. If linking a library
10310 # or program results in "error TOC overflow" add -mminimal-toc to
10311 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10312 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10315 hardcode_direct
=yes
10316 hardcode_direct_absolute
=yes
10317 hardcode_libdir_separator
=':'
10318 link_all_deplibs
=yes
10319 file_list_spec
='${wl}-f,'
10321 if test "$GCC" = yes; then
10322 case $host_os in aix4.
[012]|aix4.
[012].
*)
10323 # We only want to do this on AIX 4.2 and lower, the check
10324 # below for broken collect2 doesn't work under 4.3+
10325 collect2name
=`${CC} -print-prog-name=collect2`
10326 if test -f "$collect2name" &&
10327 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10329 # We have reworked collect2
10332 # We have old collect2
10333 hardcode_direct
=unsupported
10334 # It fails to find uninstalled libraries when the uninstalled
10335 # path is not listed in the libpath. Setting hardcode_minus_L
10336 # to unsupported forces relinking
10337 hardcode_minus_L
=yes
10338 hardcode_libdir_flag_spec
='-L$libdir'
10339 hardcode_libdir_separator
=
10343 shared_flag
='-shared'
10344 if test "$aix_use_runtimelinking" = yes; then
10345 shared_flag
="$shared_flag "'${wl}-G'
10349 if test "$host_cpu" = ia64
; then
10350 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10351 # chokes on -Wl,-G. The following line is correct:
10354 if test "$aix_use_runtimelinking" = yes; then
10355 shared_flag
='${wl}-G'
10357 shared_flag
='${wl}-bM:SRE'
10362 export_dynamic_flag_spec
='${wl}-bexpall'
10363 # It seems that -bexpall does not export symbols beginning with
10364 # underscore (_), so it is better to generate a list of symbols to export.
10365 always_export_symbols
=yes
10366 if test "$aix_use_runtimelinking" = yes; then
10367 # Warning - without using the other runtime loading flags (-brtl),
10368 # -berok will link without error, but may produce a broken library.
10369 allow_undefined_flag
='-berok'
10370 # Determine the default libpath from the value encoded in an
10371 # empty executable.
10372 if test x
$gcc_no_link = xyes
; then
10373 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10386 if ac_fn_c_try_link
"$LINENO"; then :
10388 lt_aix_libpath_sed
='
10389 /Import File Strings/,/^$/ {
10395 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10396 # Check for a 64-bit object if we didn't find anything.
10397 if test -z "$aix_libpath"; then
10398 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10401 rm -f core conftest.err conftest.
$ac_objext \
10402 conftest
$ac_exeext conftest.
$ac_ext
10403 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10405 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10406 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"
10408 if test "$host_cpu" = ia64
; then
10409 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10410 allow_undefined_flag
="-z nodefs"
10411 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"
10413 # Determine the default libpath from the value encoded in an
10414 # empty executable.
10415 if test x
$gcc_no_link = xyes
; then
10416 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10429 if ac_fn_c_try_link
"$LINENO"; then :
10431 lt_aix_libpath_sed
='
10432 /Import File Strings/,/^$/ {
10438 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10439 # Check for a 64-bit object if we didn't find anything.
10440 if test -z "$aix_libpath"; then
10441 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10444 rm -f core conftest.err conftest.
$ac_objext \
10445 conftest
$ac_exeext conftest.
$ac_ext
10446 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10448 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10449 # Warning - without using the other run time loading flags,
10450 # -berok will link without error, but may produce a broken library.
10451 no_undefined_flag
=' ${wl}-bernotok'
10452 allow_undefined_flag
=' ${wl}-berok'
10453 if test "$with_gnu_ld" = yes; then
10454 # We only use this code for GNU lds that support --whole-archive.
10455 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10457 # Exported symbols can be pulled into shared objects from archives
10458 whole_archive_flag_spec
='$convenience'
10460 archive_cmds_need_lc
=yes
10461 # This is similar to how AIX traditionally builds its shared libraries.
10462 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'
10470 # see comment about AmigaOS4 .so support
10471 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10472 archive_expsym_cmds
=''
10475 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)'
10476 hardcode_libdir_flag_spec
='-L$libdir'
10477 hardcode_minus_L
=yes
10483 export_dynamic_flag_spec
=-rdynamic
10486 cygwin
* | mingw
* | pw32
* | cegcc
*)
10487 # When not using gcc, we currently assume that we are using
10488 # Microsoft Visual C++.
10489 # hardcode_libdir_flag_spec is actually meaningless, as there is
10490 # no search path for DLLs.
10491 hardcode_libdir_flag_spec
=' '
10492 allow_undefined_flag
=unsupported
10493 # Tell ltmain to make .lib files, not .a files.
10495 # Tell ltmain to make .dll files, not .so files.
10497 # FIXME: Setting linknames here is a bad hack.
10498 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10499 # The linker will automatically build a .lib file if we build a DLL.
10500 old_archive_from_new_cmds
='true'
10501 # FIXME: Should let the user specify the lib program.
10502 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10503 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10504 enable_shared_with_static_runtimes
=yes
10507 darwin
* | rhapsody
*)
10510 archive_cmds_need_lc
=no
10512 hardcode_automatic
=yes
10513 hardcode_shlibpath_var
=unsupported
10514 if test "$lt_cv_ld_force_load" = "yes"; then
10515 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\"`'
10517 whole_archive_flag_spec
=''
10519 link_all_deplibs
=yes
10520 allow_undefined_flag
="$_lt_dar_allow_undefined"
10521 case $cc_basename in
10522 ifort
*) _lt_dar_can_shared
=yes ;;
10523 *) _lt_dar_can_shared
=$GCC ;;
10525 if test "$_lt_dar_can_shared" = "yes"; then
10526 output_verbose_link_cmd
=func_echo_all
10527 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10528 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10529 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}"
10530 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}"
10539 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10540 hardcode_libdir_flag_spec
='-L$libdir'
10541 hardcode_shlibpath_var
=no
10544 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10545 # support. Future versions do this automatically, but an explicit c++rt0.o
10546 # does not break anything, and helps significantly (at the cost of a little
10549 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10550 hardcode_libdir_flag_spec
='-R$libdir'
10551 hardcode_direct
=yes
10552 hardcode_shlibpath_var
=no
10555 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10557 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10558 hardcode_direct
=yes
10559 hardcode_minus_L
=yes
10560 hardcode_shlibpath_var
=no
10563 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10564 freebsd
* | dragonfly
*)
10565 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10566 hardcode_libdir_flag_spec
='-R$libdir'
10567 hardcode_direct
=yes
10568 hardcode_shlibpath_var
=no
10572 if test "$GCC" = yes; then
10573 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'
10575 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'
10577 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10578 hardcode_libdir_separator
=:
10579 hardcode_direct
=yes
10581 # hardcode_minus_L: Not really in the search PATH,
10582 # but as the default location of the library.
10583 hardcode_minus_L
=yes
10584 export_dynamic_flag_spec
='${wl}-E'
10588 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10589 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10591 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10593 if test "$with_gnu_ld" = no
; then
10594 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10595 hardcode_libdir_flag_spec_ld
='+b $libdir'
10596 hardcode_libdir_separator
=:
10597 hardcode_direct
=yes
10598 hardcode_direct_absolute
=yes
10599 export_dynamic_flag_spec
='${wl}-E'
10600 # hardcode_minus_L: Not really in the search PATH,
10601 # but as the default location of the library.
10602 hardcode_minus_L
=yes
10607 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10610 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10613 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10616 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10622 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10625 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10629 # Older versions of the 11.00 compiler do not understand -b yet
10630 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10632 $as_echo_n "checking if $CC understands -b... " >&6; }
10633 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10634 $as_echo_n "(cached) " >&6
10636 lt_cv_prog_compiler__b
=no
10637 save_LDFLAGS
="$LDFLAGS"
10638 LDFLAGS
="$LDFLAGS -b"
10639 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10640 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10641 # The linker can only warn and ignore the option if not recognized
10642 # So say no if there are warnings
10643 if test -s conftest.err
; then
10644 # Append any errors to the config.log.
10645 cat conftest.err
1>&5
10646 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10647 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10648 if diff conftest.exp conftest.er2
>/dev
/null
; then
10649 lt_cv_prog_compiler__b
=yes
10652 lt_cv_prog_compiler__b
=yes
10656 LDFLAGS
="$save_LDFLAGS"
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10660 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10662 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10663 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10665 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10671 if test "$with_gnu_ld" = no
; then
10672 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10673 hardcode_libdir_separator
=:
10678 hardcode_shlibpath_var
=no
10681 hardcode_direct
=yes
10682 hardcode_direct_absolute
=yes
10683 export_dynamic_flag_spec
='${wl}-E'
10685 # hardcode_minus_L: Not really in the search PATH,
10686 # but as the default location of the library.
10687 hardcode_minus_L
=yes
10693 irix5
* | irix6
* | nonstopux
*)
10694 if test "$GCC" = yes; then
10695 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'
10696 # Try to use the -exported_symbol ld option, if it does not
10697 # work, assume that -exports_file does not work either and
10698 # implicitly export all symbols.
10699 save_LDFLAGS
="$LDFLAGS"
10700 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10701 if test x
$gcc_no_link = xyes
; then
10702 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10705 /* end confdefs.h. */
10708 if ac_fn_c_try_link
"$LINENO"; then :
10709 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'
10712 rm -f core conftest.err conftest.
$ac_objext \
10713 conftest
$ac_exeext conftest.
$ac_ext
10714 LDFLAGS
="$save_LDFLAGS"
10716 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'
10717 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'
10719 archive_cmds_need_lc
='no'
10720 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10721 hardcode_libdir_separator
=:
10723 link_all_deplibs
=yes
10727 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10728 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10730 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10732 hardcode_libdir_flag_spec
='-R$libdir'
10733 hardcode_direct
=yes
10734 hardcode_shlibpath_var
=no
10738 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10739 hardcode_direct
=yes
10740 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10741 hardcode_libdir_separator
=:
10742 hardcode_shlibpath_var
=no
10749 if test -f /usr
/libexec
/ld.so
; then
10750 hardcode_direct
=yes
10751 hardcode_shlibpath_var
=no
10752 hardcode_direct_absolute
=yes
10753 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10754 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10755 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10756 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10757 export_dynamic_flag_spec
='${wl}-E'
10760 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10761 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10762 hardcode_libdir_flag_spec
='-R$libdir'
10765 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10766 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10776 hardcode_libdir_flag_spec
='-L$libdir'
10777 hardcode_minus_L
=yes
10778 allow_undefined_flag
=unsupported
10779 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'
10780 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10784 if test "$GCC" = yes; then
10785 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10786 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'
10788 allow_undefined_flag
=' -expect_unresolved \*'
10789 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'
10791 archive_cmds_need_lc
='no'
10792 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10793 hardcode_libdir_separator
=:
10796 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10797 if test "$GCC" = yes; then
10798 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10799 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'
10800 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10802 allow_undefined_flag
=' -expect_unresolved \*'
10803 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'
10804 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~
10805 $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'
10807 # Both c and cxx compiler support -rpath directly
10808 hardcode_libdir_flag_spec
='-rpath $libdir'
10810 archive_cmds_need_lc
='no'
10811 hardcode_libdir_separator
=:
10815 no_undefined_flag
=' -z defs'
10816 if test "$GCC" = yes; then
10818 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10819 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10820 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10822 case `$CC -V 2>&1` in
10825 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10826 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10827 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10831 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10832 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10833 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10837 hardcode_libdir_flag_spec
='-R$libdir'
10838 hardcode_shlibpath_var
=no
10840 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10842 # The compiler driver will combine and reorder linker options,
10843 # but understands `-z linker_flag'. GCC discards it without `$wl',
10844 # but is careful enough not to reorder.
10845 # Supported since Solaris 2.6 (maybe 2.5.1?)
10846 if test "$GCC" = yes; then
10847 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10849 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10853 link_all_deplibs
=yes
10857 if test "x$host_vendor" = xsequent
; then
10858 # Use $CC to link under sequent, because it throws in some extra .o
10859 # files that make .init and .fini sections work.
10860 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10862 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10864 hardcode_libdir_flag_spec
='-L$libdir'
10865 hardcode_direct
=yes
10866 hardcode_minus_L
=yes
10867 hardcode_shlibpath_var
=no
10871 case $host_vendor in
10873 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10874 hardcode_direct
=yes # is this really true???
10877 ## LD is ld it makes a PLAMLIB
10878 ## CC just makes a GrossModule.
10879 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10880 reload_cmds
='$CC -r -o $output$reload_objs'
10884 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10885 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10888 runpath_var
='LD_RUN_PATH'
10889 hardcode_shlibpath_var
=no
10893 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10894 hardcode_shlibpath_var
=no
10895 export_dynamic_flag_spec
='-Bexport'
10899 if test -d /usr
/nec
; then
10900 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10901 hardcode_shlibpath_var
=no
10902 runpath_var
=LD_RUN_PATH
10903 hardcode_runpath_var
=yes
10908 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10909 no_undefined_flag
='${wl}-z,text'
10910 archive_cmds_need_lc
=no
10911 hardcode_shlibpath_var
=no
10912 runpath_var
='LD_RUN_PATH'
10914 if test "$GCC" = yes; then
10915 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10916 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10918 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10919 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10923 sysv5
* | sco3.2v5
* | sco5v6
*)
10924 # Note: We can NOT use -z defs as we might desire, because we do not
10925 # link with -lc, and that would cause any symbols used from libc to
10926 # always be unresolved, which means just about no library would
10927 # ever link correctly. If we're not using GNU ld we use -z text
10928 # though, which does catch some bad symbols but isn't as heavy-handed
10930 no_undefined_flag
='${wl}-z,text'
10931 allow_undefined_flag
='${wl}-z,nodefs'
10932 archive_cmds_need_lc
=no
10933 hardcode_shlibpath_var
=no
10934 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10935 hardcode_libdir_separator
=':'
10936 link_all_deplibs
=yes
10937 export_dynamic_flag_spec
='${wl}-Bexport'
10938 runpath_var
='LD_RUN_PATH'
10940 if test "$GCC" = yes; then
10941 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10942 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10944 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10945 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10951 hardcode_libdir_flag_spec
='-L$libdir'
10952 hardcode_shlibpath_var
=no
10960 if test x
$host_vendor = xsni
; then
10962 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10963 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10970 $as_echo "$ld_shlibs" >&6; }
10971 test "$ld_shlibs" = no
&& can_build_shared
=no
10973 with_gnu_ld
=$with_gnu_ld
10990 # Do we need to explicitly link libc?
10992 case "x$archive_cmds_need_lc" in
10994 # Assume -lc should be added
10995 archive_cmds_need_lc
=yes
10997 if test "$enable_shared" = yes && test "$GCC" = yes; then
10998 case $archive_cmds in
11000 # FIXME: we may have to deal with multi-command sequences.
11003 # Test whether the compiler implicitly links with -lc since on some
11004 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11005 # to ld, don't add -lc before -lgcc.
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11007 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11008 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11009 $as_echo_n "(cached) " >&6
11012 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11014 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11015 (eval $ac_compile) 2>&5
11017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11018 test $ac_status = 0; } 2>conftest.err
; then
11021 libobjs
=conftest.
$ac_objext
11023 wl
=$lt_prog_compiler_wl
11024 pic_flag
=$lt_prog_compiler_pic
11030 lt_save_allow_undefined_flag
=$allow_undefined_flag
11031 allow_undefined_flag
=
11032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11033 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11036 test $ac_status = 0; }
11038 lt_cv_archive_cmds_need_lc
=no
11040 lt_cv_archive_cmds_need_lc
=yes
11042 allow_undefined_flag
=$lt_save_allow_undefined_flag
11044 cat conftest.err
1>&5
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11050 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11051 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11215 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11217 if test "$GCC" = yes; then
11219 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11220 *) lt_awk_arg
="/^libraries:/" ;;
11223 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11224 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11226 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11227 case $lt_search_path_spec in
11229 # if the path contains ";" then we assume it to be the separator
11230 # otherwise default to the standard path separator (i.e. ":") - it is
11231 # assumed that no part of a normal pathname contains ";" but that should
11232 # okay in the real world where ";" in dirpaths is itself problematic.
11233 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11236 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11239 # Ok, now we have the path, separated by spaces, we can step through it
11240 # and add multilib dir if necessary.
11241 lt_tmp_lt_search_path_spec
=
11242 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11243 for lt_sys_path
in $lt_search_path_spec; do
11244 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11245 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11247 test -d "$lt_sys_path" && \
11248 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11251 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11252 BEGIN {RS=" "; FS="/|\n";} {
11255 for (lt_i = NF; lt_i > 0; lt_i--) {
11256 if ($lt_i != "" && $lt_i != ".") {
11257 if ($lt_i == "..") {
11260 if (lt_count == 0) {
11261 lt_foo="/" $lt_i lt_foo;
11268 if (lt_foo != "") { lt_freq[lt_foo]++; }
11269 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11271 # AWK program above erroneously prepends '/' to C:/dos/paths
11274 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11275 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11277 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11279 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11281 library_names_spec
=
11282 libname_spec
='lib$name'
11286 postuninstall_cmds
=
11290 shlibpath_overrides_runpath
=unknown
11292 dynamic_linker
="$host_os ld.so"
11293 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11294 need_lib_prefix
=unknown
11295 hardcode_into_libs
=no
11297 # when you set need_version to no, make sure it does not cause -set_version
11298 # flags to be left without arguments
11299 need_version
=unknown
11304 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11305 shlibpath_var
=LIBPATH
11307 # AIX 3 has no versioning support, so we append a major version to the name.
11308 soname_spec
='${libname}${release}${shared_ext}$major'
11315 hardcode_into_libs
=yes
11316 if test "$host_cpu" = ia64
; then
11317 # AIX 5 supports IA64
11318 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11319 shlibpath_var
=LD_LIBRARY_PATH
11321 # With GCC up to 2.95.x, collect2 would create an import file
11322 # for dependence libraries. The import file would start with
11323 # the line `#! .'. This would cause the generated library to
11324 # depend on `.', always an invalid library. This was fixed in
11325 # development snapshots of GCC prior to 3.0.
11327 aix4 | aix4.
[01] | aix4.
[01].
*)
11328 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11330 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11333 can_build_shared
=no
11337 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11338 # soname into executable. Probably we can add versioning support to
11339 # collect2, so additional links can be useful in future.
11340 if test "$aix_use_runtimelinking" = yes; then
11341 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11342 # instead of lib<name>.a to let people know that these are not
11343 # typical AIX shared libraries.
11344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 # We preserve .a as extension for shared libraries through AIX4.2
11347 # and later when we are not doing run time linking.
11348 library_names_spec
='${libname}${release}.a $libname.a'
11349 soname_spec
='${libname}${release}${shared_ext}$major'
11351 shlibpath_var
=LIBPATH
11358 # Since July 2007 AmigaOS4 officially supports .so libraries.
11359 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11363 library_names_spec
='$libname.ixlibrary $libname.a'
11364 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11365 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'
11371 library_names_spec
='${libname}${shared_ext}'
11372 dynamic_linker
="$host_os ld.so"
11373 shlibpath_var
=LIBRARY_PATH
11379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11380 soname_spec
='${libname}${release}${shared_ext}$major'
11381 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11382 shlibpath_var
=LD_LIBRARY_PATH
11383 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11384 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11385 # the default ld.so.conf also contains /usr/contrib/lib and
11386 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11387 # libtool to hard-code these into programs
11390 cygwin
* | mingw
* | pw32
* | cegcc
*)
11391 version_type
=windows
11396 case $GCC,$host_os in
11397 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11398 library_names_spec
='$libname.dll.a'
11399 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11400 postinstall_cmds
='base_file=`basename \${file}`~
11401 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11402 dldir=$destdir/`dirname \$dlpath`~
11403 test -d \$dldir || mkdir -p \$dldir~
11404 $install_prog $dir/$dlname \$dldir/$dlname~
11405 chmod a+x \$dldir/$dlname~
11406 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11407 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11409 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11410 dlpath=$dir/\$dldll~
11412 shlibpath_overrides_runpath
=yes
11416 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11417 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11419 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11422 # MinGW DLLs use traditional 'lib' prefix
11423 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11426 # pw32 DLLs use 'pw' prefix rather than 'lib'
11427 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11433 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11436 dynamic_linker
='Win32 ld.exe'
11437 # FIXME: first we should search . and the directory the executable is in
11441 darwin
* | rhapsody
*)
11442 dynamic_linker
="$host_os dyld"
11443 version_type
=darwin
11446 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11447 soname_spec
='${libname}${release}${major}$shared_ext'
11448 shlibpath_overrides_runpath
=yes
11449 shlibpath_var
=DYLD_LIBRARY_PATH
11450 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11452 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11453 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11461 soname_spec
='${libname}${release}${shared_ext}$major'
11462 shlibpath_var
=LD_LIBRARY_PATH
11465 freebsd
* | dragonfly
*)
11466 # DragonFly does not have aout. When/if they implement a new
11467 # versioning mechanism, adjust this.
11468 if test -x /usr
/bin
/objformat
; then
11469 objformat
=`/usr/bin/objformat`
11472 freebsd
[23].
*) objformat
=aout
;;
11473 *) objformat
=elf
;;
11476 version_type
=freebsd-
$objformat
11477 case $version_type in
11479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11484 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11488 shlibpath_var
=LD_LIBRARY_PATH
11491 shlibpath_overrides_runpath
=yes
11493 freebsd3.
[01]* | freebsdelf3.
[01]*)
11494 shlibpath_overrides_runpath
=yes
11495 hardcode_into_libs
=yes
11497 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11498 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11499 shlibpath_overrides_runpath
=no
11500 hardcode_into_libs
=yes
11502 *) # from 4.6 on, and DragonFly
11503 shlibpath_overrides_runpath
=yes
11504 hardcode_into_libs
=yes
11513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11514 soname_spec
='${libname}${release}${shared_ext}$major'
11515 shlibpath_var
=LD_LIBRARY_PATH
11516 hardcode_into_libs
=yes
11523 dynamic_linker
="$host_os runtime_loader"
11524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11525 soname_spec
='${libname}${release}${shared_ext}$major'
11526 shlibpath_var
=LIBRARY_PATH
11527 shlibpath_overrides_runpath
=yes
11528 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11529 hardcode_into_libs
=yes
11532 hpux9
* | hpux10
* | hpux11
*)
11533 # Give a soname corresponding to the major version so that dld.sl refuses to
11534 # link against other versions.
11541 hardcode_into_libs
=yes
11542 dynamic_linker
="$host_os dld.so"
11543 shlibpath_var
=LD_LIBRARY_PATH
11544 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11546 soname_spec
='${libname}${release}${shared_ext}$major'
11547 if test "X$HPUX_IA64_MODE" = X32
; then
11548 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11550 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11552 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11556 hardcode_into_libs
=yes
11557 dynamic_linker
="$host_os dld.sl"
11558 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11559 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11561 soname_spec
='${libname}${release}${shared_ext}$major'
11562 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11563 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11567 dynamic_linker
="$host_os dld.sl"
11568 shlibpath_var
=SHLIB_PATH
11569 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571 soname_spec
='${libname}${release}${shared_ext}$major'
11574 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11575 postinstall_cmds
='chmod 555 $lib'
11576 # or fails outright, so override atomically:
11577 install_override_mode
=555
11584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11585 soname_spec
='${libname}${release}${shared_ext}$major'
11586 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11587 shlibpath_var
=LD_LIBRARY_PATH
11588 shlibpath_overrides_runpath
=no
11589 hardcode_into_libs
=yes
11592 irix5
* | irix6
* | nonstopux
*)
11594 nonstopux
*) version_type
=nonstopux
;;
11596 if test "$lt_cv_prog_gnu_ld" = yes; then
11604 soname_spec
='${libname}${release}${shared_ext}$major'
11605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11607 irix5
* | nonstopux
*)
11608 libsuff
= shlibsuff
=
11611 case $LD in # libtool.m4 will add one of these switches to LD
11612 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11613 libsuff
= shlibsuff
= libmagic
=32-bit;;
11614 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11615 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11616 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11617 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11618 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11622 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11623 shlibpath_overrides_runpath
=no
11624 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11625 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11626 hardcode_into_libs
=yes
11629 # No shared lib support for Linux oldld, aout, or coff.
11630 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11634 # This must be Linux ELF.
11635 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11640 soname_spec
='${libname}${release}${shared_ext}$major'
11641 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11642 shlibpath_var
=LD_LIBRARY_PATH
11643 shlibpath_overrides_runpath
=no
11645 # Some binutils ld are patched to set DT_RUNPATH
11646 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11647 $as_echo_n "(cached) " >&6
11649 lt_cv_shlibpath_overrides_runpath
=no
11650 save_LDFLAGS
=$LDFLAGS
11651 save_libdir
=$libdir
11652 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11653 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11654 if test x
$gcc_no_link = xyes
; then
11655 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11668 if ac_fn_c_try_link
"$LINENO"; then :
11669 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11670 lt_cv_shlibpath_overrides_runpath
=yes
11673 rm -f core conftest.err conftest.
$ac_objext \
11674 conftest
$ac_exeext conftest.
$ac_ext
11675 LDFLAGS
=$save_LDFLAGS
11676 libdir
=$save_libdir
11680 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11682 # This implies no fast_install, which is unacceptable.
11683 # Some rework will be needed to allow for fast_install
11684 # before this can be enabled.
11685 hardcode_into_libs
=yes
11687 # Append ld.so.conf contents to the search path
11688 if test -f /etc
/ld.so.conf
; then
11689 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' ' '`
11690 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11693 # We used to test for /lib/ld.so.1 and disable shared libraries on
11694 # powerpc, because MkLinux only supported shared libraries with the
11695 # GNU dynamic linker. Since this was broken with cross compilers,
11696 # most powerpc-linux boxes support dynamic linking these days and
11697 # people can always --disable-shared, the test was removed, and we
11698 # assume the GNU/Linux dynamic linker is in use.
11699 dynamic_linker
='GNU/Linux ld.so'
11706 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11708 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11709 dynamic_linker
='NetBSD (a.out) ld.so'
11711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11712 soname_spec
='${libname}${release}${shared_ext}$major'
11713 dynamic_linker
='NetBSD ld.elf_so'
11715 shlibpath_var
=LD_LIBRARY_PATH
11716 shlibpath_overrides_runpath
=yes
11717 hardcode_into_libs
=yes
11722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11723 shlibpath_var
=LD_LIBRARY_PATH
11724 shlibpath_overrides_runpath
=yes
11731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11732 soname_spec
='${libname}${release}${shared_ext}$major'
11733 shlibpath_var
=LD_LIBRARY_PATH
11734 shlibpath_overrides_runpath
=no
11735 hardcode_into_libs
=yes
11736 dynamic_linker
='ldqnx.so'
11741 sys_lib_dlsearch_path_spec
="/usr/lib"
11743 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11745 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11746 *) need_version
=no
;;
11748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11749 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11750 shlibpath_var
=LD_LIBRARY_PATH
11751 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11753 openbsd2.
[89] | openbsd2.
[89].
*)
11754 shlibpath_overrides_runpath
=no
11757 shlibpath_overrides_runpath
=yes
11761 shlibpath_overrides_runpath
=yes
11766 libname_spec
='$name'
11769 library_names_spec
='$libname${shared_ext} $libname.a'
11770 dynamic_linker
='OS/2 ld.exe'
11771 shlibpath_var
=LIBPATH
11774 osf3
* | osf4
* | osf5
*)
11778 soname_spec
='${libname}${release}${shared_ext}$major'
11779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11780 shlibpath_var
=LD_LIBRARY_PATH
11781 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11782 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11794 soname_spec
='${libname}${release}${shared_ext}$major'
11795 shlibpath_var
=LD_LIBRARY_PATH
11796 shlibpath_overrides_runpath
=yes
11797 hardcode_into_libs
=yes
11798 # ldd complains unless libraries are executable
11799 postinstall_cmds
='chmod +x $lib'
11804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11805 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11806 shlibpath_var
=LD_LIBRARY_PATH
11807 shlibpath_overrides_runpath
=yes
11808 if test "$with_gnu_ld" = yes; then
11816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11817 soname_spec
='${libname}${release}${shared_ext}$major'
11818 shlibpath_var
=LD_LIBRARY_PATH
11819 case $host_vendor in
11821 shlibpath_overrides_runpath
=no
11823 runpath_var
=LD_RUN_PATH
11831 shlibpath_overrides_runpath
=no
11832 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11838 if test -d /usr
/nec
;then
11840 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11841 soname_spec
='$libname${shared_ext}.$major'
11842 shlibpath_var
=LD_LIBRARY_PATH
11846 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11847 version_type
=freebsd-elf
11850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11851 soname_spec
='${libname}${release}${shared_ext}$major'
11852 shlibpath_var
=LD_LIBRARY_PATH
11853 shlibpath_overrides_runpath
=yes
11854 hardcode_into_libs
=yes
11855 if test "$with_gnu_ld" = yes; then
11856 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11858 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11861 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11865 sys_lib_dlsearch_path_spec
='/usr/lib'
11869 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11874 shlibpath_var
=LD_LIBRARY_PATH
11875 shlibpath_overrides_runpath
=no
11876 hardcode_into_libs
=yes
11881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11882 soname_spec
='${libname}${release}${shared_ext}$major'
11883 shlibpath_var
=LD_LIBRARY_PATH
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11891 $as_echo "$dynamic_linker" >&6; }
11892 test "$dynamic_linker" = no
&& can_build_shared
=no
11894 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11895 if test "$GCC" = yes; then
11896 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11899 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11900 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11902 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11903 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11998 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12000 if test -n "$hardcode_libdir_flag_spec" ||
12001 test -n "$runpath_var" ||
12002 test "X$hardcode_automatic" = "Xyes" ; then
12004 # We can hardcode non-existent directories.
12005 if test "$hardcode_direct" != no
&&
12006 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12007 # have to relink, otherwise we might link with an installed library
12008 # when we should be linking with a yet-to-be-installed one
12009 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12010 test "$hardcode_minus_L" != no
; then
12011 # Linking always hardcodes the temporary library directory.
12012 hardcode_action
=relink
12014 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12015 hardcode_action
=immediate
12018 # We cannot hardcode anything, or else we can only hardcode existing
12020 hardcode_action
=unsupported
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12023 $as_echo "$hardcode_action" >&6; }
12025 if test "$hardcode_action" = relink ||
12026 test "$inherit_rpath" = yes; then
12027 # Fast installation is not supported
12028 enable_fast_install
=no
12029 elif test "$shlibpath_overrides_runpath" = yes ||
12030 test "$enable_shared" = no
; then
12031 # Fast installation is not necessary
12032 enable_fast_install
=needless
12040 if test "x$enable_dlopen" != xyes
; then
12041 enable_dlopen
=unknown
12042 enable_dlopen_self
=unknown
12043 enable_dlopen_self_static
=unknown
12050 lt_cv_dlopen
="load_add_on"
12052 lt_cv_dlopen_self
=yes
12055 mingw
* | pw32
* | cegcc
*)
12056 lt_cv_dlopen
="LoadLibrary"
12061 lt_cv_dlopen
="dlopen"
12066 # if libdl is installed we need to link against it
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12068 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12069 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12070 $as_echo_n "(cached) " >&6
12072 ac_check_lib_save_LIBS
=$LIBS
12074 if test x
$gcc_no_link = xyes
; then
12075 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 /* Override any GCC internal prototype to avoid an error.
12081 Use char because int might match the return type of a GCC
12082 builtin and then its argument prototype would still apply. */
12095 if ac_fn_c_try_link
"$LINENO"; then :
12096 ac_cv_lib_dl_dlopen
=yes
12098 ac_cv_lib_dl_dlopen
=no
12100 rm -f core conftest.err conftest.
$ac_objext \
12101 conftest
$ac_exeext conftest.
$ac_ext
12102 LIBS
=$ac_check_lib_save_LIBS
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12105 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12106 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12107 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12110 lt_cv_dlopen
="dyld"
12112 lt_cv_dlopen_self
=yes
12119 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12120 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12121 lt_cv_dlopen
="shl_load"
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12124 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12125 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12126 $as_echo_n "(cached) " >&6
12128 ac_check_lib_save_LIBS
=$LIBS
12130 if test x
$gcc_no_link = xyes
; then
12131 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12146 return shl_load ();
12151 if ac_fn_c_try_link
"$LINENO"; then :
12152 ac_cv_lib_dld_shl_load
=yes
12154 ac_cv_lib_dld_shl_load
=no
12156 rm -f core conftest.err conftest.
$ac_objext \
12157 conftest
$ac_exeext conftest.
$ac_ext
12158 LIBS
=$ac_check_lib_save_LIBS
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12161 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12162 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12163 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12165 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12166 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12167 lt_cv_dlopen
="dlopen"
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12170 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12171 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12172 $as_echo_n "(cached) " >&6
12174 ac_check_lib_save_LIBS
=$LIBS
12176 if test x
$gcc_no_link = xyes
; then
12177 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12182 /* Override any GCC internal prototype to avoid an error.
12183 Use char because int might match the return type of a GCC
12184 builtin and then its argument prototype would still apply. */
12197 if ac_fn_c_try_link
"$LINENO"; then :
12198 ac_cv_lib_dl_dlopen
=yes
12200 ac_cv_lib_dl_dlopen
=no
12202 rm -f core conftest.err conftest.
$ac_objext \
12203 conftest
$ac_exeext conftest.
$ac_ext
12204 LIBS
=$ac_check_lib_save_LIBS
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12207 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12208 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12209 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12212 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12213 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12214 $as_echo_n "(cached) " >&6
12216 ac_check_lib_save_LIBS
=$LIBS
12217 LIBS
="-lsvld $LIBS"
12218 if test x
$gcc_no_link = xyes
; then
12219 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12224 /* Override any GCC internal prototype to avoid an error.
12225 Use char because int might match the return type of a GCC
12226 builtin and then its argument prototype would still apply. */
12239 if ac_fn_c_try_link
"$LINENO"; then :
12240 ac_cv_lib_svld_dlopen
=yes
12242 ac_cv_lib_svld_dlopen
=no
12244 rm -f core conftest.err conftest.
$ac_objext \
12245 conftest
$ac_exeext conftest.
$ac_ext
12246 LIBS
=$ac_check_lib_save_LIBS
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12249 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12250 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12251 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12254 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12255 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12256 $as_echo_n "(cached) " >&6
12258 ac_check_lib_save_LIBS
=$LIBS
12260 if test x
$gcc_no_link = xyes
; then
12261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12266 /* Override any GCC internal prototype to avoid an error.
12267 Use char because int might match the return type of a GCC
12268 builtin and then its argument prototype would still apply. */
12276 return dld_link ();
12281 if ac_fn_c_try_link
"$LINENO"; then :
12282 ac_cv_lib_dld_dld_link
=yes
12284 ac_cv_lib_dld_dld_link
=no
12286 rm -f core conftest.err conftest.
$ac_objext \
12287 conftest
$ac_exeext conftest.
$ac_ext
12288 LIBS
=$ac_check_lib_save_LIBS
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12291 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12292 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12293 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12314 if test "x$lt_cv_dlopen" != xno
; then
12320 case $lt_cv_dlopen in
12322 save_CPPFLAGS
="$CPPFLAGS"
12323 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12325 save_LDFLAGS
="$LDFLAGS"
12326 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12329 LIBS
="$lt_cv_dlopen_libs $LIBS"
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12332 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12333 if test "${lt_cv_dlopen_self+set}" = set; then :
12334 $as_echo_n "(cached) " >&6
12336 if test "$cross_compiling" = yes; then :
12337 lt_cv_dlopen_self
=cross
12339 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12340 lt_status
=$lt_dlunknown
12341 cat > conftest.
$ac_ext <<_LT_EOF
12342 #line 12342 "configure"
12343 #include "confdefs.h"
12352 # define LT_DLGLOBAL RTLD_GLOBAL
12355 # define LT_DLGLOBAL DL_GLOBAL
12357 # define LT_DLGLOBAL 0
12361 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12362 find out it does not work in some platform. */
12363 #ifndef LT_DLLAZY_OR_NOW
12365 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12368 # define LT_DLLAZY_OR_NOW DL_LAZY
12371 # define LT_DLLAZY_OR_NOW RTLD_NOW
12374 # define LT_DLLAZY_OR_NOW DL_NOW
12376 # define LT_DLLAZY_OR_NOW 0
12383 /* When -fvisbility=hidden is used, assume the code has been annotated
12384 correspondingly for the symbols needed. */
12385 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12386 void fnord () __attribute__((visibility("default")));
12389 void fnord () { int i=42; }
12392 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12393 int status = $lt_dlunknown;
12397 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12400 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12401 else puts (dlerror ());
12403 /* dlclose (self); */
12411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12412 (eval $ac_link) 2>&5
12414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12415 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12416 (.
/conftest
; exit; ) >&5 2>/dev
/null
12418 case x
$lt_status in
12419 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12420 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12421 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12424 # compilation failed
12425 lt_cv_dlopen_self
=no
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12433 $as_echo "$lt_cv_dlopen_self" >&6; }
12435 if test "x$lt_cv_dlopen_self" = xyes
; then
12436 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12438 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12439 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12440 $as_echo_n "(cached) " >&6
12442 if test "$cross_compiling" = yes; then :
12443 lt_cv_dlopen_self_static
=cross
12445 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12446 lt_status
=$lt_dlunknown
12447 cat > conftest.
$ac_ext <<_LT_EOF
12448 #line 12448 "configure"
12449 #include "confdefs.h"
12458 # define LT_DLGLOBAL RTLD_GLOBAL
12461 # define LT_DLGLOBAL DL_GLOBAL
12463 # define LT_DLGLOBAL 0
12467 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12468 find out it does not work in some platform. */
12469 #ifndef LT_DLLAZY_OR_NOW
12471 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12474 # define LT_DLLAZY_OR_NOW DL_LAZY
12477 # define LT_DLLAZY_OR_NOW RTLD_NOW
12480 # define LT_DLLAZY_OR_NOW DL_NOW
12482 # define LT_DLLAZY_OR_NOW 0
12489 /* When -fvisbility=hidden is used, assume the code has been annotated
12490 correspondingly for the symbols needed. */
12491 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12492 void fnord () __attribute__((visibility("default")));
12495 void fnord () { int i=42; }
12498 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12499 int status = $lt_dlunknown;
12503 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12506 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12507 else puts (dlerror ());
12509 /* dlclose (self); */
12517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12518 (eval $ac_link) 2>&5
12520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12521 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12522 (.
/conftest
; exit; ) >&5 2>/dev
/null
12524 case x
$lt_status in
12525 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12526 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12527 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12530 # compilation failed
12531 lt_cv_dlopen_self_static
=no
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12539 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12542 CPPFLAGS
="$save_CPPFLAGS"
12543 LDFLAGS
="$save_LDFLAGS"
12548 case $lt_cv_dlopen_self in
12549 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12550 *) enable_dlopen_self
=unknown
;;
12553 case $lt_cv_dlopen_self_static in
12554 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12555 *) enable_dlopen_self_static
=unknown
;;
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12578 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12579 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12580 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12581 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12583 $as_echo "yes" >&6; }
12585 # FIXME - insert some real tests, host_os isn't really good enough
12588 if test -n "$STRIP" ; then
12589 striplib
="$STRIP -x"
12590 old_striplib
="$STRIP -S"
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12592 $as_echo "yes" >&6; }
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12595 $as_echo "no" >&6; }
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12600 $as_echo "no" >&6; }
12616 # Report which library types will actually be built
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12618 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12620 $as_echo "$can_build_shared" >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12623 $as_echo_n "checking whether to build shared libraries... " >&6; }
12624 test "$can_build_shared" = "no" && enable_shared
=no
12626 # On AIX, shared libraries and static libraries use the same namespace, and
12627 # are all built from PIC.
12630 test "$enable_shared" = yes && enable_static
=no
12631 if test -n "$RANLIB"; then
12632 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12633 postinstall_cmds
='$RANLIB $lib'
12638 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12639 test "$enable_shared" = yes && enable_static
=no
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12644 $as_echo "$enable_shared" >&6; }
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12647 $as_echo_n "checking whether to build static libraries... " >&6; }
12648 # Make sure either enable_shared or enable_static is yes.
12649 test "$enable_shared" = yes || enable_static
=yes
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12651 $as_echo "$enable_static" >&6; }
12658 ac_cpp
='$CPP $CPPFLAGS'
12659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12677 ac_config_commands
="$ac_config_commands libtool"
12682 # Only expand once:
12689 *-cygwin* |
*-mingw*)
12690 # 'host' will be top-level target in the case of a target lib,
12691 # we must compare to with_cross_host to decide if this is a native
12692 # or cross-compiler and select where to install dlls appropriately.
12693 if test -n "$with_cross_host" &&
12694 test x
"$with_cross_host" != x
"no"; then
12695 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12697 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12709 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12711 # We need gfortran to compile parts of the library
12712 #AC_PROG_FC(gfortran)
12714 ac_ext
=${ac_fc_srcext-f}
12715 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12716 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12717 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12718 if test -n "$ac_tool_prefix"; then
12719 for ac_prog
in gfortran
12721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12722 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12724 $as_echo_n "checking for $ac_word... " >&6; }
12725 if test "${ac_cv_prog_FC+set}" = set; then :
12726 $as_echo_n "(cached) " >&6
12728 if test -n "$FC"; then
12729 ac_cv_prog_FC
="$FC" # Let the user override the test.
12731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12732 for as_dir
in $PATH
12735 test -z "$as_dir" && as_dir
=.
12736 for ac_exec_ext
in '' $ac_executable_extensions; do
12737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12738 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12749 if test -n "$FC"; then
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12751 $as_echo "$FC" >&6; }
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12754 $as_echo "no" >&6; }
12758 test -n "$FC" && break
12761 if test -z "$FC"; then
12763 for ac_prog
in gfortran
12765 # Extract the first word of "$ac_prog", so it can be a program name with args.
12766 set dummy
$ac_prog; ac_word
=$2
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12768 $as_echo_n "checking for $ac_word... " >&6; }
12769 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12770 $as_echo_n "(cached) " >&6
12772 if test -n "$ac_ct_FC"; then
12773 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12776 for as_dir
in $PATH
12779 test -z "$as_dir" && as_dir
=.
12780 for ac_exec_ext
in '' $ac_executable_extensions; do
12781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12782 ac_cv_prog_ac_ct_FC
="$ac_prog"
12783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12792 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12793 if test -n "$ac_ct_FC"; then
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12795 $as_echo "$ac_ct_FC" >&6; }
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12798 $as_echo "no" >&6; }
12802 test -n "$ac_ct_FC" && break
12805 if test "x$ac_ct_FC" = x
; then
12808 case $cross_compiling:$ac_tool_warned in
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12812 ac_tool_warned
=yes ;;
12819 # Provide some information about the compiler.
12820 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12823 for ac_option
in --version -v -V -qversion; do
12824 { { ac_try
="$ac_compiler $ac_option >&5"
12825 case "(($ac_try" in
12826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12827 *) ac_try_echo=$ac_try;;
12829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12830 $as_echo "$ac_try_echo"; } >&5
12831 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12833 if test -s conftest.err; then
12835 ... rest of stderr output deleted ...
12836 10q' conftest.err >conftest.er1
12837 cat conftest.er1 >&5
12838 rm -f conftest.er1 conftest.err
12840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12841 test $ac_status = 0; }
12845 # If we don't use `.F
' as extension, the preprocessor is not run on the
12846 # input file. (Note that this only needs to work for GNU compilers.)
12847 ac_save_ext=$ac_ext
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12850 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12851 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12852 $as_echo_n "(cached) " >&6
12854 cat > conftest.$ac_ext <<_ACEOF
12862 if ac_fn_fc_try_compile "$LINENO"; then :
12863 ac_compiler_gnu=yes
12867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12868 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12872 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12873 ac_ext=$ac_save_ext
12874 ac_test_FCFLAGS=${FCFLAGS+set}
12875 ac_save_FCFLAGS=$FCFLAGS
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12878 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12879 if test "${ac_cv_prog_fc_g+set}" = set; then :
12880 $as_echo_n "(cached) " >&6
12883 cat > conftest.$ac_ext <<_ACEOF
12888 if ac_fn_fc_try_compile "$LINENO"; then :
12889 ac_cv_prog_fc_g=yes
12893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12897 $as_echo "$ac_cv_prog_fc_g" >&6; }
12898 if test "$ac_test_FCFLAGS" = set; then
12899 FCFLAGS=$ac_save_FCFLAGS
12900 elif test $ac_cv_prog_fc_g = yes; then
12901 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12907 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12915 ac_cpp='$CPP $CPPFLAGS'
12916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12917 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12920 ac_ext=${ac_fc_srcext-f}
12921 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12922 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12923 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12926 if test -z "$FC" || test "X$FC" = "Xno"; then
12930 archive_cmds_need_lc_FC=no
12931 allow_undefined_flag_FC=
12932 always_export_symbols_FC=no
12933 archive_expsym_cmds_FC=
12934 export_dynamic_flag_spec_FC=
12935 hardcode_direct_FC=no
12936 hardcode_direct_absolute_FC=no
12937 hardcode_libdir_flag_spec_FC=
12938 hardcode_libdir_flag_spec_ld_FC=
12939 hardcode_libdir_separator_FC=
12940 hardcode_minus_L_FC=no
12941 hardcode_automatic_FC=no
12942 inherit_rpath_FC=no
12944 module_expsym_cmds_FC=
12945 link_all_deplibs_FC=unknown
12946 old_archive_cmds_FC=$old_archive_cmds
12947 reload_flag_FC=$reload_flag
12948 reload_cmds_FC=$reload_cmds
12949 no_undefined_flag_FC=
12950 whole_archive_flag_spec_FC=
12951 enable_shared_with_static_runtimes_FC=no
12953 # Source file extension for fc test sources.
12954 ac_ext=${ac_fc_srcext-f}
12956 # Object file extension for compiled fc test sources.
12960 # No sense in running all these tests if we already determined that
12961 # the FC compiler isn't working. Some variables
(like enable_shared
)
12962 # are currently assumed to apply to all compilers on this platform,
12963 # and will be corrupted by setting them based on a non-working compiler.
12964 if test "$_lt_disable_FC" != yes; then
12965 # Code to be used in simple compile tests
12966 lt_simple_compile_test_code
="\
12972 # Code to be used in simple link tests
12973 lt_simple_link_test_code
="\
12978 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12985 # If no C compiler was specified, use CC.
12988 # If no C compiler flags were specified, use CFLAGS.
12989 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12991 # Allow CC to be a program name with arguments.
12995 # save warnings/boilerplate of simple test code
12996 ac_outfile
=conftest.
$ac_objext
12997 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12998 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12999 _lt_compiler_boilerplate
=`cat conftest.err`
13002 ac_outfile
=conftest.
$ac_objext
13003 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13004 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13005 _lt_linker_boilerplate
=`cat conftest.err`
13009 # Allow CC to be a program name with arguments.
13014 GCC
=$ac_cv_fc_compiler_gnu
13017 for cc_temp
in $compiler""; do
13019 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13020 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13025 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13028 if test -n "$compiler"; then
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13030 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13032 $as_echo "$can_build_shared" >&6; }
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13035 $as_echo_n "checking whether to build shared libraries... " >&6; }
13036 test "$can_build_shared" = "no" && enable_shared
=no
13038 # On AIX, shared libraries and static libraries use the same namespace, and
13039 # are all built from PIC.
13042 test "$enable_shared" = yes && enable_static
=no
13043 if test -n "$RANLIB"; then
13044 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13045 postinstall_cmds
='$RANLIB $lib'
13049 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13050 test "$enable_shared" = yes && enable_static
=no
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13055 $as_echo "$enable_shared" >&6; }
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13058 $as_echo_n "checking whether to build static libraries... " >&6; }
13059 # Make sure either enable_shared or enable_static is yes.
13060 test "$enable_shared" = yes || enable_static
=yes
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13062 $as_echo "$enable_static" >&6; }
13064 GCC_FC
="$ac_cv_fc_compiler_gnu"
13068 ## There is no encapsulation within the following macros, do not change
13069 ## the running order or otherwise move them around unless you know exactly
13070 ## what you are doing...
13071 # Dependencies to place before and after the object being linked:
13073 postdep_objects_FC
=
13076 compiler_lib_search_path_FC
=
13078 cat > conftest.
$ac_ext <<_LT_EOF
13087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13088 (eval $ac_compile) 2>&5
13090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13091 test $ac_status = 0; }; then
13092 # Parse the compiler output and extract the necessary
13093 # objects, libraries and library flags.
13095 # Sentinel used to keep track of whether or not we are before
13096 # the conftest object file.
13097 pre_test_object_deps_done
=no
13099 for p
in `eval "$output_verbose_link_cmd"`; do
13103 # Some compilers place space between "-{L,R}" and the path.
13104 # Remove the space.
13105 if test $p = "-L" ||
13106 test $p = "-R"; then
13113 if test "$pre_test_object_deps_done" = no
; then
13116 # Internal compiler library paths should come after those
13117 # provided the user. The postdeps already come after the
13118 # user supplied libs so there is no need to process them.
13119 if test -z "$compiler_lib_search_path_FC"; then
13120 compiler_lib_search_path_FC
="${prev}${p}"
13122 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13125 # The "-l" case would never come before the object being
13126 # linked, so don't bother handling this case.
13129 if test -z "$postdeps_FC"; then
13130 postdeps_FC
="${prev}${p}"
13132 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13138 # This assumes that the test object file only shows up
13139 # once in the compiler output.
13140 if test "$p" = "conftest.$objext"; then
13141 pre_test_object_deps_done
=yes
13145 if test "$pre_test_object_deps_done" = no
; then
13146 if test -z "$predep_objects_FC"; then
13147 predep_objects_FC
="$p"
13149 predep_objects_FC
="$predep_objects_FC $p"
13152 if test -z "$postdep_objects_FC"; then
13153 postdep_objects_FC
="$p"
13155 postdep_objects_FC
="$postdep_objects_FC $p"
13160 *) ;; # Ignore the rest.
13168 echo "libtool.m4: error: problem compiling FC test program"
13171 $RM -f confest.
$objext
13173 # PORTME: override above test on systems where it is broken
13176 case " $postdeps_FC " in
13177 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13179 compiler_lib_search_dirs_FC
=
13180 if test -n "${compiler_lib_search_path_FC}"; then
13181 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13214 lt_prog_compiler_wl_FC
=
13215 lt_prog_compiler_pic_FC
=
13216 lt_prog_compiler_static_FC
=
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13219 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13221 if test "$GCC" = yes; then
13222 lt_prog_compiler_wl_FC
='-Wl,'
13223 lt_prog_compiler_static_FC
='-static'
13227 # All AIX code is PIC.
13228 if test "$host_cpu" = ia64
; then
13229 # AIX 5 now supports IA64 processor
13230 lt_prog_compiler_static_FC
='-Bstatic'
13232 lt_prog_compiler_pic_FC
='-fPIC'
13238 # see comment about AmigaOS4 .so support
13239 lt_prog_compiler_pic_FC
='-fPIC'
13242 # FIXME: we need at least 68020 code to build shared libraries, but
13243 # adding the `-m68020' flag to GCC prevents building anything better,
13245 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13250 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13251 # PIC is the default for these OSes.
13254 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13255 # This hack is so that the source file can tell whether it is being
13256 # built for inclusion in a dll (and should export symbols for example).
13257 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13258 # (--disable-auto-import) libraries
13259 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13262 darwin
* | rhapsody
*)
13263 # PIC is the default on this platform
13264 # Common symbols not allowed in MH_DYLIB files
13265 lt_prog_compiler_pic_FC
='-fno-common'
13269 # PIC is the default for Haiku.
13270 # The "-static" flag exists, but is broken.
13271 lt_prog_compiler_static_FC
=
13275 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13276 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13277 # sets the default TLS model and affects inlining.
13283 lt_prog_compiler_pic_FC
='-fPIC'
13289 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13290 # Instead, we relocate shared libraries at runtime.
13294 # Just because we use GCC doesn't mean we suddenly get shared libraries
13295 # on systems that don't support them.
13296 lt_prog_compiler_can_build_shared_FC
=no
13301 # QNX uses GNU C++, but need to define -shared option too, otherwise
13302 # it will coredump.
13303 lt_prog_compiler_pic_FC
='-fPIC -shared'
13307 if test -d /usr
/nec
; then
13308 lt_prog_compiler_pic_FC
=-Kconform_pic
13313 lt_prog_compiler_pic_FC
='-fPIC'
13317 case $cc_basename in
13318 nvcc
*) # Cuda Compiler Driver 2.2
13319 lt_prog_compiler_wl_FC
='-Xlinker '
13320 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13324 # PORTME Check for flag to pass linker flags through the system compiler.
13327 lt_prog_compiler_wl_FC
='-Wl,'
13328 if test "$host_cpu" = ia64
; then
13329 # AIX 5 now supports IA64 processor
13330 lt_prog_compiler_static_FC
='-Bstatic'
13332 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13336 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13337 # This hack is so that the source file can tell whether it is being
13338 # built for inclusion in a dll (and should export symbols for example).
13339 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13342 hpux9
* | hpux10
* | hpux11
*)
13343 lt_prog_compiler_wl_FC
='-Wl,'
13344 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13345 # not for PA HP-UX.
13351 lt_prog_compiler_pic_FC
='+Z'
13354 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13355 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13358 irix5
* | irix6
* | nonstopux
*)
13359 lt_prog_compiler_wl_FC
='-Wl,'
13360 # PIC (with -KPIC) is the default.
13361 lt_prog_compiler_static_FC
='-non_shared'
13364 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13365 case $cc_basename in
13366 # old Intel for x86_64 which still supported -KPIC.
13368 lt_prog_compiler_wl_FC
='-Wl,'
13369 lt_prog_compiler_pic_FC
='-KPIC'
13370 lt_prog_compiler_static_FC
='-static'
13372 # icc used to be incompatible with GCC.
13373 # ICC 10 doesn't accept -KPIC any more.
13375 lt_prog_compiler_wl_FC
='-Wl,'
13376 lt_prog_compiler_pic_FC
='-fPIC'
13377 lt_prog_compiler_static_FC
='-static'
13379 # Lahey Fortran 8.1.
13381 lt_prog_compiler_wl_FC
='-Wl,'
13382 lt_prog_compiler_pic_FC
='--shared'
13383 lt_prog_compiler_static_FC
='--static'
13385 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13386 # Portland Group compilers (*not* the Pentium gcc compiler,
13387 # which looks to be a dead project)
13388 lt_prog_compiler_wl_FC
='-Wl,'
13389 lt_prog_compiler_pic_FC
='-fpic'
13390 lt_prog_compiler_static_FC
='-Bstatic'
13393 lt_prog_compiler_wl_FC
='-Wl,'
13394 # All Alpha code is PIC.
13395 lt_prog_compiler_static_FC
='-non_shared'
13397 xl
* | bgxl
* | bgf
* | mpixl
*)
13398 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13399 lt_prog_compiler_wl_FC
='-Wl,'
13400 lt_prog_compiler_pic_FC
='-qpic'
13401 lt_prog_compiler_static_FC
='-qstaticlink'
13404 case `$CC -V 2>&1 | sed 5q` in
13405 *Sun\ F
* |
*Sun
*Fortran
*)
13406 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13407 lt_prog_compiler_pic_FC
='-KPIC'
13408 lt_prog_compiler_static_FC
='-Bstatic'
13409 lt_prog_compiler_wl_FC
=''
13413 lt_prog_compiler_pic_FC
='-KPIC'
13414 lt_prog_compiler_static_FC
='-Bstatic'
13415 lt_prog_compiler_wl_FC
='-Wl,'
13423 lt_prog_compiler_pic_FC
='-KPIC'
13424 lt_prog_compiler_static_FC
='-Bstatic'
13428 # QNX uses GNU C++, but need to define -shared option too, otherwise
13429 # it will coredump.
13430 lt_prog_compiler_pic_FC
='-fPIC -shared'
13433 osf3
* | osf4
* | osf5
*)
13434 lt_prog_compiler_wl_FC
='-Wl,'
13435 # All OSF/1 code is PIC.
13436 lt_prog_compiler_static_FC
='-non_shared'
13440 lt_prog_compiler_static_FC
='-non_shared'
13444 lt_prog_compiler_pic_FC
='-KPIC'
13445 lt_prog_compiler_static_FC
='-Bstatic'
13446 case $cc_basename in
13447 f77
* | f90
* | f95
*)
13448 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13450 lt_prog_compiler_wl_FC
='-Wl,';;
13455 lt_prog_compiler_wl_FC
='-Qoption ld '
13456 lt_prog_compiler_pic_FC
='-PIC'
13457 lt_prog_compiler_static_FC
='-Bstatic'
13460 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13461 lt_prog_compiler_wl_FC
='-Wl,'
13462 lt_prog_compiler_pic_FC
='-KPIC'
13463 lt_prog_compiler_static_FC
='-Bstatic'
13467 if test -d /usr
/nec
;then
13468 lt_prog_compiler_pic_FC
='-Kconform_pic'
13469 lt_prog_compiler_static_FC
='-Bstatic'
13473 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13474 lt_prog_compiler_wl_FC
='-Wl,'
13475 lt_prog_compiler_pic_FC
='-KPIC'
13476 lt_prog_compiler_static_FC
='-Bstatic'
13480 lt_prog_compiler_wl_FC
='-Wl,'
13481 lt_prog_compiler_can_build_shared_FC
=no
13485 lt_prog_compiler_pic_FC
='-pic'
13486 lt_prog_compiler_static_FC
='-Bstatic'
13490 lt_prog_compiler_can_build_shared_FC
=no
13496 # For platforms which do not support PIC, -DPIC is meaningless:
13498 lt_prog_compiler_pic_FC
=
13501 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13505 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13510 # Check to make sure the PIC flag actually works.
13512 if test -n "$lt_prog_compiler_pic_FC"; then
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13514 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13515 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13516 $as_echo_n "(cached) " >&6
13518 lt_cv_prog_compiler_pic_works_FC
=no
13519 ac_outfile
=conftest.
$ac_objext
13520 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13521 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13522 # Insert the option either (1) after the last *FLAGS variable, or
13523 # (2) before a word containing "conftest.", or (3) at the end.
13524 # Note that $ac_compile itself does not contain backslashes and begins
13525 # with a dollar sign (not a hyphen), so the echo should work correctly.
13526 # The option is referenced via a variable to avoid confusing sed.
13527 lt_compile
=`echo "$ac_compile" | $SED \
13528 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13530 -e 's:$: $lt_compiler_flag:'`
13531 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13532 (eval "$lt_compile" 2>conftest.err
)
13534 cat conftest.err
>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 if (exit $ac_status) && test -s "$ac_outfile"; then
13537 # The compiler can only warn and ignore the option if not recognized
13538 # So say no if there are warnings other than the usual output.
13539 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13540 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13541 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13542 lt_cv_prog_compiler_pic_works_FC
=yes
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13549 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13551 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13552 case $lt_prog_compiler_pic_FC in
13554 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13557 lt_prog_compiler_pic_FC
=
13558 lt_prog_compiler_can_build_shared_FC
=no
13566 # Check to make sure the static flag actually works.
13568 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13570 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13571 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13572 $as_echo_n "(cached) " >&6
13574 lt_cv_prog_compiler_static_works_FC
=no
13575 save_LDFLAGS
="$LDFLAGS"
13576 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13577 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13578 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13579 # The linker can only warn and ignore the option if not recognized
13580 # So say no if there are warnings
13581 if test -s conftest.err
; then
13582 # Append any errors to the config.log.
13583 cat conftest.err
1>&5
13584 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13585 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13586 if diff conftest.exp conftest.er2
>/dev
/null
; then
13587 lt_cv_prog_compiler_static_works_FC
=yes
13590 lt_cv_prog_compiler_static_works_FC
=yes
13594 LDFLAGS
="$save_LDFLAGS"
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13598 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13600 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13603 lt_prog_compiler_static_FC
=
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13610 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13611 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13612 $as_echo_n "(cached) " >&6
13614 lt_cv_prog_compiler_c_o_FC
=no
13615 $RM -r conftest
2>/dev
/null
13619 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13621 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13622 # Insert the option either (1) after the last *FLAGS variable, or
13623 # (2) before a word containing "conftest.", or (3) at the end.
13624 # Note that $ac_compile itself does not contain backslashes and begins
13625 # with a dollar sign (not a hyphen), so the echo should work correctly.
13626 lt_compile
=`echo "$ac_compile" | $SED \
13627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13629 -e 's:$: $lt_compiler_flag:'`
13630 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13631 (eval "$lt_compile" 2>out
/conftest.err
)
13633 cat out
/conftest.err
>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13637 # The compiler can only warn and ignore the option if not recognized
13638 # So say no if there are warnings
13639 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13640 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13641 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13642 lt_cv_prog_compiler_c_o_FC
=yes
13647 # SGI C++ compiler will create directory out/ii_files/ for
13648 # template instantiation
13649 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13650 $RM out
/* && rmdir out
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13657 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13662 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13663 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13664 $as_echo_n "(cached) " >&6
13666 lt_cv_prog_compiler_c_o_FC
=no
13667 $RM -r conftest
2>/dev
/null
13671 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13673 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13674 # Insert the option either (1) after the last *FLAGS variable, or
13675 # (2) before a word containing "conftest.", or (3) at the end.
13676 # Note that $ac_compile itself does not contain backslashes and begins
13677 # with a dollar sign (not a hyphen), so the echo should work correctly.
13678 lt_compile
=`echo "$ac_compile" | $SED \
13679 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13681 -e 's:$: $lt_compiler_flag:'`
13682 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13683 (eval "$lt_compile" 2>out
/conftest.err
)
13685 cat out
/conftest.err
>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13689 # The compiler can only warn and ignore the option if not recognized
13690 # So say no if there are warnings
13691 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13692 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13693 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13694 lt_cv_prog_compiler_c_o_FC
=yes
13699 # SGI C++ compiler will create directory out/ii_files/ for
13700 # template instantiation
13701 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13702 $RM out
/* && rmdir out
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13709 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13714 hard_links
="nottested"
13715 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13716 # do not overwrite the value of need_locks provided by the user
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13718 $as_echo_n "checking if we can lock with hard links... " >&6; }
13721 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13723 ln conftest.a conftest.b
2>&5 || hard_links
=no
13724 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13726 $as_echo "$hard_links" >&6; }
13727 if test "$hard_links" = no
; then
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13729 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13739 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13742 allow_undefined_flag_FC
=
13743 always_export_symbols_FC
=no
13745 archive_expsym_cmds_FC
=
13746 compiler_needs_object_FC
=no
13747 enable_shared_with_static_runtimes_FC
=no
13748 export_dynamic_flag_spec_FC
=
13749 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13750 hardcode_automatic_FC
=no
13751 hardcode_direct_FC
=no
13752 hardcode_direct_absolute_FC
=no
13753 hardcode_libdir_flag_spec_FC
=
13754 hardcode_libdir_flag_spec_ld_FC
=
13755 hardcode_libdir_separator_FC
=
13756 hardcode_minus_L_FC
=no
13757 hardcode_shlibpath_var_FC
=unsupported
13758 inherit_rpath_FC
=no
13759 link_all_deplibs_FC
=unknown
13761 module_expsym_cmds_FC
=
13762 old_archive_from_new_cmds_FC
=
13763 old_archive_from_expsyms_cmds_FC
=
13764 thread_safe_flag_spec_FC
=
13765 whole_archive_flag_spec_FC
=
13766 # include_expsyms should be a list of space-separated symbols to be *always*
13767 # included in the symbol list
13768 include_expsyms_FC
=
13769 # exclude_expsyms can be an extended regexp of symbols to exclude
13770 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13771 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13772 # as well as any symbol that contains `d'.
13773 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13774 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13775 # platforms (ab)use it in PIC code, but their linkers get confused if
13776 # the symbol is explicitly referenced. Since portable code cannot
13777 # rely on this symbol name, it's probably fine to never include it in
13778 # preloaded symbol tables.
13779 # Exclude shared library initialization/finalization symbols.
13780 extract_expsyms_cmds
=
13783 cygwin
* | mingw
* | pw32
* | cegcc
*)
13784 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13785 # When not using gcc, we currently assume that we are using
13786 # Microsoft Visual C++.
13787 if test "$GCC" != yes; then
13792 # we just hope/assume this is gcc and not c89 (= MSVC++)
13802 # On some targets, GNU ld is compatible enough with the native linker
13803 # that we're better off using the native interface for both.
13804 lt_use_gnu_ld_interface
=no
13805 if test "$with_gnu_ld" = yes; then
13808 # The AIX port of GNU ld has always aspired to compatibility
13809 # with the native linker. However, as the warning in the GNU ld
13810 # block says, versions before 2.19.5* couldn't really create working
13811 # shared libraries, regardless of the interface used.
13812 case `$LD -v 2>&1` in
13813 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13814 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13815 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13817 lt_use_gnu_ld_interface
=yes
13822 lt_use_gnu_ld_interface
=yes
13827 if test "$lt_use_gnu_ld_interface" = yes; then
13828 # If archive_cmds runs LD, not CC, wlarc should be empty
13831 # Set some defaults for GNU ld with shared library support. These
13832 # are reset later if shared libraries are not supported. Putting them
13833 # here allows them to be overridden if necessary.
13834 runpath_var
=LD_RUN_PATH
13835 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13836 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13837 # ancient GNU ld didn't support --whole-archive et. al.
13838 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13839 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13841 whole_archive_flag_spec_FC
=
13843 supports_anon_versioning
=no
13844 case `$LD -v 2>&1` in
13845 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13846 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13847 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13848 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13849 *\
2.11.
*) ;; # other 2.11 versions
13850 *) supports_anon_versioning
=yes ;;
13853 # See if GNU ld supports shared libraries.
13856 # On AIX/PPC, the GNU linker is very broken
13857 if test "$host_cpu" != ia64
; then
13861 *** Warning: the GNU linker, at least up to release 2.19, is reported
13862 *** to be unable to reliably create shared libraries on AIX.
13863 *** Therefore, libtool is disabling shared libraries support. If you
13864 *** really care for shared libraries, you may want to install binutils
13865 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13866 *** You will then need to restart the configuration process.
13875 # see comment about AmigaOS4 .so support
13876 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13877 archive_expsym_cmds_FC
=''
13880 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)'
13881 hardcode_libdir_flag_spec_FC
='-L$libdir'
13882 hardcode_minus_L_FC
=yes
13888 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13889 allow_undefined_flag_FC
=unsupported
13890 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13891 # support --undefined. This deserves some investigation. FIXME
13892 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13898 cygwin
* | mingw
* | pw32
* | cegcc
*)
13899 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13900 # as there is no search path for DLLs.
13901 hardcode_libdir_flag_spec_FC
='-L$libdir'
13902 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13903 allow_undefined_flag_FC
=unsupported
13904 always_export_symbols_FC
=no
13905 enable_shared_with_static_runtimes_FC
=yes
13906 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13908 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13909 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13910 # If the export-symbols file already is a .def file (1st line
13911 # is EXPORTS), use it as is; otherwise, prepend...
13912 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13913 cp $export_symbols $output_objdir/$soname.def;
13915 echo EXPORTS > $output_objdir/$soname.def;
13916 cat $export_symbols >> $output_objdir/$soname.def;
13918 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13925 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13926 link_all_deplibs_FC
=yes
13930 hardcode_direct_FC
=no
13931 hardcode_shlibpath_var_FC
=no
13932 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13933 export_dynamic_flag_spec_FC
='${wl}-E'
13934 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13935 # Instead, shared libraries are loaded at an image base (0x10000000 by
13936 # default) and relocated if they conflict, which is a slow very memory
13937 # consuming and fragmenting process. To avoid this, we pick a random,
13938 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13939 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13940 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'
13941 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'
13944 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13946 if test "$host_os" = linux-dietlibc
; then
13947 case $cc_basename in
13948 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13951 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13952 && test "$tmp_diet" = no
13955 tmp_sharedflag
='-shared'
13956 case $cc_basename,$host_cpu in
13957 pgcc
*) # Portland Group C compiler
13958 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'
13959 tmp_addflag
=' $pic_flag'
13961 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13962 # Portland Group f77 and f90 compilers
13963 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'
13964 tmp_addflag
=' $pic_flag -Mnomain' ;;
13965 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13966 tmp_addflag
=' -i_dynamic' ;;
13967 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13968 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13969 ifc
* | ifort
*) # Intel Fortran compiler
13970 tmp_addflag
=' -nofor_main' ;;
13971 lf95
*) # Lahey Fortran 8.1
13972 whole_archive_flag_spec_FC
=
13973 tmp_sharedflag
='--shared' ;;
13974 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13975 tmp_sharedflag
='-qmkshrobj'
13977 nvcc
*) # Cuda Compiler Driver 2.2
13978 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'
13979 compiler_needs_object_FC
=yes
13982 case `$CC -V 2>&1 | sed 5q` in
13983 *Sun\ C
*) # Sun C 5.9
13984 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'
13985 compiler_needs_object_FC
=yes
13986 tmp_sharedflag
='-G' ;;
13987 *Sun\ F
*) # Sun Fortran 8.3
13988 tmp_sharedflag
='-G' ;;
13990 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13992 if test "x$supports_anon_versioning" = xyes
; then
13993 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13994 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13995 echo "local: *; };" >> $output_objdir/$libname.ver~
13996 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13999 case $cc_basename in
14000 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14001 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14002 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14003 hardcode_libdir_flag_spec_FC
=
14004 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14005 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14006 if test "x$supports_anon_versioning" = xyes
; then
14007 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14008 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14009 echo "local: *; };" >> $output_objdir/$libname.ver~
14010 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14020 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14021 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14024 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14025 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14030 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14034 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14035 *** create shared libraries on Solaris systems. Therefore, libtool
14036 *** is disabling shared libraries support. We urge you to upgrade GNU
14037 *** binutils to release 2.9.1 or newer. Another option is to modify
14038 *** your PATH or compiler configuration so that the native linker is
14039 *** used, and then restart.
14042 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14043 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14044 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14050 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14051 case `$LD -v 2>&1` in
14052 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14056 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14057 *** reliably create shared libraries on SCO systems. Therefore, libtool
14058 *** is disabling shared libraries support. We urge you to upgrade GNU
14059 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14060 *** your PATH or compiler configuration so that the native linker is
14061 *** used, and then restart.
14066 # For security reasons, it is highly recommended that you always
14067 # use absolute paths for naming shared libraries, and exclude the
14068 # DT_RUNPATH tag from executables and libraries. But doing so
14069 # requires that you compile everything twice, which is a pain.
14070 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14071 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14072 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14073 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14082 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14084 hardcode_direct_FC
=yes
14085 hardcode_shlibpath_var_FC
=no
14089 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14090 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14091 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14098 if test "$ld_shlibs_FC" = no
; then
14100 hardcode_libdir_flag_spec_FC
=
14101 export_dynamic_flag_spec_FC
=
14102 whole_archive_flag_spec_FC
=
14105 # PORTME fill in a description of your system's linker (not GNU ld)
14108 allow_undefined_flag_FC
=unsupported
14109 always_export_symbols_FC
=yes
14110 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'
14111 # Note: this linker hardcodes the directories in LIBPATH if there
14112 # are no directories specified by -L.
14113 hardcode_minus_L_FC
=yes
14114 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14115 # Neither direct hardcoding nor static linking is supported with a
14117 hardcode_direct_FC
=unsupported
14122 if test "$host_cpu" = ia64
; then
14123 # On IA64, the linker does run time linking by default, so we don't
14124 # have to do anything special.
14125 aix_use_runtimelinking
=no
14126 exp_sym_flag
='-Bexport'
14129 # If we're using GNU nm, then we don't want the "-C" option.
14130 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14131 # Also, AIX nm treats weak defined symbols like other global
14132 # defined symbols, whereas GNU nm marks them as "W".
14133 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14134 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'
14136 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'
14138 aix_use_runtimelinking
=no
14140 # Test if we are trying to use run time linking or normal
14141 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14142 # need to do runtime linking.
14143 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14144 for ld_flag
in $LDFLAGS; do
14145 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14146 aix_use_runtimelinking
=yes
14153 exp_sym_flag
='-bexport'
14154 no_entry_flag
='-bnoentry'
14157 # When large executables or shared objects are built, AIX ld can
14158 # have problems creating the table of contents. If linking a library
14159 # or program results in "error TOC overflow" add -mminimal-toc to
14160 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14161 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14164 hardcode_direct_FC
=yes
14165 hardcode_direct_absolute_FC
=yes
14166 hardcode_libdir_separator_FC
=':'
14167 link_all_deplibs_FC
=yes
14168 file_list_spec_FC
='${wl}-f,'
14170 if test "$GCC" = yes; then
14171 case $host_os in aix4.
[012]|aix4.
[012].
*)
14172 # We only want to do this on AIX 4.2 and lower, the check
14173 # below for broken collect2 doesn't work under 4.3+
14174 collect2name
=`${CC} -print-prog-name=collect2`
14175 if test -f "$collect2name" &&
14176 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14178 # We have reworked collect2
14181 # We have old collect2
14182 hardcode_direct_FC
=unsupported
14183 # It fails to find uninstalled libraries when the uninstalled
14184 # path is not listed in the libpath. Setting hardcode_minus_L
14185 # to unsupported forces relinking
14186 hardcode_minus_L_FC
=yes
14187 hardcode_libdir_flag_spec_FC
='-L$libdir'
14188 hardcode_libdir_separator_FC
=
14192 shared_flag
='-shared'
14193 if test "$aix_use_runtimelinking" = yes; then
14194 shared_flag
="$shared_flag "'${wl}-G'
14198 if test "$host_cpu" = ia64
; then
14199 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14200 # chokes on -Wl,-G. The following line is correct:
14203 if test "$aix_use_runtimelinking" = yes; then
14204 shared_flag
='${wl}-G'
14206 shared_flag
='${wl}-bM:SRE'
14211 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14212 # It seems that -bexpall does not export symbols beginning with
14213 # underscore (_), so it is better to generate a list of symbols to export.
14214 always_export_symbols_FC
=yes
14215 if test "$aix_use_runtimelinking" = yes; then
14216 # Warning - without using the other runtime loading flags (-brtl),
14217 # -berok will link without error, but may produce a broken library.
14218 allow_undefined_flag_FC
='-berok'
14219 # Determine the default libpath from the value encoded in an
14220 # empty executable.
14221 if test x
$gcc_no_link = xyes
; then
14222 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14224 cat > conftest.
$ac_ext <<_ACEOF
14229 if ac_fn_fc_try_link
"$LINENO"; then :
14231 lt_aix_libpath_sed
='
14232 /Import File Strings/,/^$/ {
14238 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14239 # Check for a 64-bit object if we didn't find anything.
14240 if test -z "$aix_libpath"; then
14241 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14244 rm -f core conftest.err conftest.
$ac_objext \
14245 conftest
$ac_exeext conftest.
$ac_ext
14246 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14248 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14249 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"
14251 if test "$host_cpu" = ia64
; then
14252 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14253 allow_undefined_flag_FC
="-z nodefs"
14254 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"
14256 # Determine the default libpath from the value encoded in an
14257 # empty executable.
14258 if test x
$gcc_no_link = xyes
; then
14259 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14261 cat > conftest.
$ac_ext <<_ACEOF
14266 if ac_fn_fc_try_link
"$LINENO"; then :
14268 lt_aix_libpath_sed
='
14269 /Import File Strings/,/^$/ {
14275 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14276 # Check for a 64-bit object if we didn't find anything.
14277 if test -z "$aix_libpath"; then
14278 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14281 rm -f core conftest.err conftest.
$ac_objext \
14282 conftest
$ac_exeext conftest.
$ac_ext
14283 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14285 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14286 # Warning - without using the other run time loading flags,
14287 # -berok will link without error, but may produce a broken library.
14288 no_undefined_flag_FC
=' ${wl}-bernotok'
14289 allow_undefined_flag_FC
=' ${wl}-berok'
14290 if test "$with_gnu_ld" = yes; then
14291 # We only use this code for GNU lds that support --whole-archive.
14292 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14294 # Exported symbols can be pulled into shared objects from archives
14295 whole_archive_flag_spec_FC
='$convenience'
14297 archive_cmds_need_lc_FC
=yes
14298 # This is similar to how AIX traditionally builds its shared libraries.
14299 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'
14307 # see comment about AmigaOS4 .so support
14308 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14309 archive_expsym_cmds_FC
=''
14312 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)'
14313 hardcode_libdir_flag_spec_FC
='-L$libdir'
14314 hardcode_minus_L_FC
=yes
14320 export_dynamic_flag_spec_FC
=-rdynamic
14323 cygwin
* | mingw
* | pw32
* | cegcc
*)
14324 # When not using gcc, we currently assume that we are using
14325 # Microsoft Visual C++.
14326 # hardcode_libdir_flag_spec is actually meaningless, as there is
14327 # no search path for DLLs.
14328 hardcode_libdir_flag_spec_FC
=' '
14329 allow_undefined_flag_FC
=unsupported
14330 # Tell ltmain to make .lib files, not .a files.
14332 # Tell ltmain to make .dll files, not .so files.
14334 # FIXME: Setting linknames here is a bad hack.
14335 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14336 # The linker will automatically build a .lib file if we build a DLL.
14337 old_archive_from_new_cmds_FC
='true'
14338 # FIXME: Should let the user specify the lib program.
14339 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14340 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14341 enable_shared_with_static_runtimes_FC
=yes
14344 darwin
* | rhapsody
*)
14347 archive_cmds_need_lc_FC
=no
14348 hardcode_direct_FC
=no
14349 hardcode_automatic_FC
=yes
14350 hardcode_shlibpath_var_FC
=unsupported
14351 if test "$lt_cv_ld_force_load" = "yes"; then
14352 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\"`'
14354 whole_archive_flag_spec_FC
=''
14356 link_all_deplibs_FC
=yes
14357 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14358 case $cc_basename in
14359 ifort
*) _lt_dar_can_shared
=yes ;;
14360 *) _lt_dar_can_shared
=$GCC ;;
14362 if test "$_lt_dar_can_shared" = "yes"; then
14363 output_verbose_link_cmd
=func_echo_all
14364 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}"
14365 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14366 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}"
14367 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}"
14376 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14377 hardcode_libdir_flag_spec_FC
='-L$libdir'
14378 hardcode_shlibpath_var_FC
=no
14381 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14382 # support. Future versions do this automatically, but an explicit c++rt0.o
14383 # does not break anything, and helps significantly (at the cost of a little
14386 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14387 hardcode_libdir_flag_spec_FC
='-R$libdir'
14388 hardcode_direct_FC
=yes
14389 hardcode_shlibpath_var_FC
=no
14392 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14394 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14395 hardcode_direct_FC
=yes
14396 hardcode_minus_L_FC
=yes
14397 hardcode_shlibpath_var_FC
=no
14400 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14401 freebsd
* | dragonfly
*)
14402 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14403 hardcode_libdir_flag_spec_FC
='-R$libdir'
14404 hardcode_direct_FC
=yes
14405 hardcode_shlibpath_var_FC
=no
14409 if test "$GCC" = yes; then
14410 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'
14412 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'
14414 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14415 hardcode_libdir_separator_FC
=:
14416 hardcode_direct_FC
=yes
14418 # hardcode_minus_L: Not really in the search PATH,
14419 # but as the default location of the library.
14420 hardcode_minus_L_FC
=yes
14421 export_dynamic_flag_spec_FC
='${wl}-E'
14425 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14426 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14428 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14430 if test "$with_gnu_ld" = no
; then
14431 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14432 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14433 hardcode_libdir_separator_FC
=:
14434 hardcode_direct_FC
=yes
14435 hardcode_direct_absolute_FC
=yes
14436 export_dynamic_flag_spec_FC
='${wl}-E'
14437 # hardcode_minus_L: Not really in the search PATH,
14438 # but as the default location of the library.
14439 hardcode_minus_L_FC
=yes
14444 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14447 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14450 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14453 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14459 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14462 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14465 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14469 if test "$with_gnu_ld" = no
; then
14470 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14471 hardcode_libdir_separator_FC
=:
14475 hardcode_direct_FC
=no
14476 hardcode_shlibpath_var_FC
=no
14479 hardcode_direct_FC
=yes
14480 hardcode_direct_absolute_FC
=yes
14481 export_dynamic_flag_spec_FC
='${wl}-E'
14483 # hardcode_minus_L: Not really in the search PATH,
14484 # but as the default location of the library.
14485 hardcode_minus_L_FC
=yes
14491 irix5
* | irix6
* | nonstopux
*)
14492 if test "$GCC" = yes; then
14493 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'
14494 # Try to use the -exported_symbol ld option, if it does not
14495 # work, assume that -exports_file does not work either and
14496 # implicitly export all symbols.
14497 save_LDFLAGS
="$LDFLAGS"
14498 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14499 if test x
$gcc_no_link = xyes
; then
14500 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14502 cat > conftest.
$ac_ext <<_ACEOF
14505 if ac_fn_fc_try_link
"$LINENO"; then :
14506 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'
14509 rm -f core conftest.err conftest.
$ac_objext \
14510 conftest
$ac_exeext conftest.
$ac_ext
14511 LDFLAGS
="$save_LDFLAGS"
14513 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'
14514 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'
14516 archive_cmds_need_lc_FC
='no'
14517 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14518 hardcode_libdir_separator_FC
=:
14519 inherit_rpath_FC
=yes
14520 link_all_deplibs_FC
=yes
14524 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14525 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14527 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14529 hardcode_libdir_flag_spec_FC
='-R$libdir'
14530 hardcode_direct_FC
=yes
14531 hardcode_shlibpath_var_FC
=no
14535 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14536 hardcode_direct_FC
=yes
14537 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14538 hardcode_libdir_separator_FC
=:
14539 hardcode_shlibpath_var_FC
=no
14546 if test -f /usr
/libexec
/ld.so
; then
14547 hardcode_direct_FC
=yes
14548 hardcode_shlibpath_var_FC
=no
14549 hardcode_direct_absolute_FC
=yes
14550 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14551 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14552 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14553 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14554 export_dynamic_flag_spec_FC
='${wl}-E'
14557 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14558 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14559 hardcode_libdir_flag_spec_FC
='-R$libdir'
14562 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14563 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14573 hardcode_libdir_flag_spec_FC
='-L$libdir'
14574 hardcode_minus_L_FC
=yes
14575 allow_undefined_flag_FC
=unsupported
14576 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'
14577 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14581 if test "$GCC" = yes; then
14582 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14583 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'
14585 allow_undefined_flag_FC
=' -expect_unresolved \*'
14586 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'
14588 archive_cmds_need_lc_FC
='no'
14589 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14590 hardcode_libdir_separator_FC
=:
14593 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14594 if test "$GCC" = yes; then
14595 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14596 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'
14597 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14599 allow_undefined_flag_FC
=' -expect_unresolved \*'
14600 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'
14601 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~
14602 $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'
14604 # Both c and cxx compiler support -rpath directly
14605 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14607 archive_cmds_need_lc_FC
='no'
14608 hardcode_libdir_separator_FC
=:
14612 no_undefined_flag_FC
=' -z defs'
14613 if test "$GCC" = yes; then
14615 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14616 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14617 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14619 case `$CC -V 2>&1` in
14622 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14623 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14624 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14628 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14629 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14630 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14634 hardcode_libdir_flag_spec_FC
='-R$libdir'
14635 hardcode_shlibpath_var_FC
=no
14637 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14639 # The compiler driver will combine and reorder linker options,
14640 # but understands `-z linker_flag'. GCC discards it without `$wl',
14641 # but is careful enough not to reorder.
14642 # Supported since Solaris 2.6 (maybe 2.5.1?)
14643 if test "$GCC" = yes; then
14644 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14646 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14650 link_all_deplibs_FC
=yes
14654 if test "x$host_vendor" = xsequent
; then
14655 # Use $CC to link under sequent, because it throws in some extra .o
14656 # files that make .init and .fini sections work.
14657 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14659 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14661 hardcode_libdir_flag_spec_FC
='-L$libdir'
14662 hardcode_direct_FC
=yes
14663 hardcode_minus_L_FC
=yes
14664 hardcode_shlibpath_var_FC
=no
14668 case $host_vendor in
14670 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14671 hardcode_direct_FC
=yes # is this really true???
14674 ## LD is ld it makes a PLAMLIB
14675 ## CC just makes a GrossModule.
14676 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14677 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14678 hardcode_direct_FC
=no
14681 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14682 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14685 runpath_var
='LD_RUN_PATH'
14686 hardcode_shlibpath_var_FC
=no
14690 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14691 hardcode_shlibpath_var_FC
=no
14692 export_dynamic_flag_spec_FC
='-Bexport'
14696 if test -d /usr
/nec
; then
14697 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14698 hardcode_shlibpath_var_FC
=no
14699 runpath_var
=LD_RUN_PATH
14700 hardcode_runpath_var
=yes
14705 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14706 no_undefined_flag_FC
='${wl}-z,text'
14707 archive_cmds_need_lc_FC
=no
14708 hardcode_shlibpath_var_FC
=no
14709 runpath_var
='LD_RUN_PATH'
14711 if test "$GCC" = yes; then
14712 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14713 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14715 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14716 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14720 sysv5
* | sco3.2v5
* | sco5v6
*)
14721 # Note: We can NOT use -z defs as we might desire, because we do not
14722 # link with -lc, and that would cause any symbols used from libc to
14723 # always be unresolved, which means just about no library would
14724 # ever link correctly. If we're not using GNU ld we use -z text
14725 # though, which does catch some bad symbols but isn't as heavy-handed
14727 no_undefined_flag_FC
='${wl}-z,text'
14728 allow_undefined_flag_FC
='${wl}-z,nodefs'
14729 archive_cmds_need_lc_FC
=no
14730 hardcode_shlibpath_var_FC
=no
14731 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14732 hardcode_libdir_separator_FC
=':'
14733 link_all_deplibs_FC
=yes
14734 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14735 runpath_var
='LD_RUN_PATH'
14737 if test "$GCC" = yes; then
14738 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14739 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14741 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14742 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14747 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14748 hardcode_libdir_flag_spec_FC
='-L$libdir'
14749 hardcode_shlibpath_var_FC
=no
14757 if test x
$host_vendor = xsni
; then
14759 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14760 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14767 $as_echo "$ld_shlibs_FC" >&6; }
14768 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14770 with_gnu_ld_FC
=$with_gnu_ld
14778 # Do we need to explicitly link libc?
14780 case "x$archive_cmds_need_lc_FC" in
14782 # Assume -lc should be added
14783 archive_cmds_need_lc_FC
=yes
14785 if test "$enable_shared" = yes && test "$GCC" = yes; then
14786 case $archive_cmds_FC in
14788 # FIXME: we may have to deal with multi-command sequences.
14791 # Test whether the compiler implicitly links with -lc since on some
14792 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14793 # to ld, don't add -lc before -lgcc.
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14795 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14796 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14797 $as_echo_n "(cached) " >&6
14800 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14802 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14803 (eval $ac_compile) 2>&5
14805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14806 test $ac_status = 0; } 2>conftest.err
; then
14809 libobjs
=conftest.
$ac_objext
14811 wl
=$lt_prog_compiler_wl_FC
14812 pic_flag
=$lt_prog_compiler_pic_FC
14818 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14819 allow_undefined_flag_FC
=
14820 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14821 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14824 test $ac_status = 0; }
14826 lt_cv_archive_cmds_need_lc_FC
=no
14828 lt_cv_archive_cmds_need_lc_FC
=yes
14830 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14832 cat conftest.err
1>&5
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14838 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14839 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14910 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14912 library_names_spec
=
14913 libname_spec
='lib$name'
14917 postuninstall_cmds
=
14921 shlibpath_overrides_runpath
=unknown
14923 dynamic_linker
="$host_os ld.so"
14924 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14925 need_lib_prefix
=unknown
14926 hardcode_into_libs
=no
14928 # when you set need_version to no, make sure it does not cause -set_version
14929 # flags to be left without arguments
14930 need_version
=unknown
14935 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14936 shlibpath_var
=LIBPATH
14938 # AIX 3 has no versioning support, so we append a major version to the name.
14939 soname_spec
='${libname}${release}${shared_ext}$major'
14946 hardcode_into_libs
=yes
14947 if test "$host_cpu" = ia64
; then
14948 # AIX 5 supports IA64
14949 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14950 shlibpath_var
=LD_LIBRARY_PATH
14952 # With GCC up to 2.95.x, collect2 would create an import file
14953 # for dependence libraries. The import file would start with
14954 # the line `#! .'. This would cause the generated library to
14955 # depend on `.', always an invalid library. This was fixed in
14956 # development snapshots of GCC prior to 3.0.
14958 aix4 | aix4.
[01] | aix4.
[01].
*)
14959 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14961 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14964 can_build_shared
=no
14968 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14969 # soname into executable. Probably we can add versioning support to
14970 # collect2, so additional links can be useful in future.
14971 if test "$aix_use_runtimelinking" = yes; then
14972 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14973 # instead of lib<name>.a to let people know that these are not
14974 # typical AIX shared libraries.
14975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14977 # We preserve .a as extension for shared libraries through AIX4.2
14978 # and later when we are not doing run time linking.
14979 library_names_spec
='${libname}${release}.a $libname.a'
14980 soname_spec
='${libname}${release}${shared_ext}$major'
14982 shlibpath_var
=LIBPATH
14989 # Since July 2007 AmigaOS4 officially supports .so libraries.
14990 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14994 library_names_spec
='$libname.ixlibrary $libname.a'
14995 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14996 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'
15002 library_names_spec
='${libname}${shared_ext}'
15003 dynamic_linker
="$host_os ld.so"
15004 shlibpath_var
=LIBRARY_PATH
15010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15011 soname_spec
='${libname}${release}${shared_ext}$major'
15012 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15013 shlibpath_var
=LD_LIBRARY_PATH
15014 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15015 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15016 # the default ld.so.conf also contains /usr/contrib/lib and
15017 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15018 # libtool to hard-code these into programs
15021 cygwin
* | mingw
* | pw32
* | cegcc
*)
15022 version_type
=windows
15027 case $GCC,$host_os in
15028 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15029 library_names_spec
='$libname.dll.a'
15030 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15031 postinstall_cmds
='base_file=`basename \${file}`~
15032 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15033 dldir=$destdir/`dirname \$dlpath`~
15034 test -d \$dldir || mkdir -p \$dldir~
15035 $install_prog $dir/$dlname \$dldir/$dlname~
15036 chmod a+x \$dldir/$dlname~
15037 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15038 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15040 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15041 dlpath=$dir/\$dldll~
15043 shlibpath_overrides_runpath
=yes
15047 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15048 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15052 # MinGW DLLs use traditional 'lib' prefix
15053 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15056 # pw32 DLLs use 'pw' prefix rather than 'lib'
15057 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15063 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15066 dynamic_linker
='Win32 ld.exe'
15067 # FIXME: first we should search . and the directory the executable is in
15071 darwin
* | rhapsody
*)
15072 dynamic_linker
="$host_os dyld"
15073 version_type
=darwin
15076 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15077 soname_spec
='${libname}${release}${major}$shared_ext'
15078 shlibpath_overrides_runpath
=yes
15079 shlibpath_var
=DYLD_LIBRARY_PATH
15080 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15082 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15090 soname_spec
='${libname}${release}${shared_ext}$major'
15091 shlibpath_var
=LD_LIBRARY_PATH
15094 freebsd
* | dragonfly
*)
15095 # DragonFly does not have aout. When/if they implement a new
15096 # versioning mechanism, adjust this.
15097 if test -x /usr
/bin
/objformat
; then
15098 objformat
=`/usr/bin/objformat`
15101 freebsd
[23].
*) objformat
=aout
;;
15102 *) objformat
=elf
;;
15105 version_type
=freebsd-
$objformat
15106 case $version_type in
15108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15113 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15117 shlibpath_var
=LD_LIBRARY_PATH
15120 shlibpath_overrides_runpath
=yes
15122 freebsd3.
[01]* | freebsdelf3.
[01]*)
15123 shlibpath_overrides_runpath
=yes
15124 hardcode_into_libs
=yes
15126 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15127 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15128 shlibpath_overrides_runpath
=no
15129 hardcode_into_libs
=yes
15131 *) # from 4.6 on, and DragonFly
15132 shlibpath_overrides_runpath
=yes
15133 hardcode_into_libs
=yes
15142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15143 soname_spec
='${libname}${release}${shared_ext}$major'
15144 shlibpath_var
=LD_LIBRARY_PATH
15145 hardcode_into_libs
=yes
15152 dynamic_linker
="$host_os runtime_loader"
15153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15154 soname_spec
='${libname}${release}${shared_ext}$major'
15155 shlibpath_var
=LIBRARY_PATH
15156 shlibpath_overrides_runpath
=yes
15157 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15158 hardcode_into_libs
=yes
15161 hpux9
* | hpux10
* | hpux11
*)
15162 # Give a soname corresponding to the major version so that dld.sl refuses to
15163 # link against other versions.
15170 hardcode_into_libs
=yes
15171 dynamic_linker
="$host_os dld.so"
15172 shlibpath_var
=LD_LIBRARY_PATH
15173 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15175 soname_spec
='${libname}${release}${shared_ext}$major'
15176 if test "X$HPUX_IA64_MODE" = X32
; then
15177 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15179 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15181 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15185 hardcode_into_libs
=yes
15186 dynamic_linker
="$host_os dld.sl"
15187 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15188 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15190 soname_spec
='${libname}${release}${shared_ext}$major'
15191 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15192 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15196 dynamic_linker
="$host_os dld.sl"
15197 shlibpath_var
=SHLIB_PATH
15198 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15200 soname_spec
='${libname}${release}${shared_ext}$major'
15203 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15204 postinstall_cmds
='chmod 555 $lib'
15205 # or fails outright, so override atomically:
15206 install_override_mode
=555
15213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15214 soname_spec
='${libname}${release}${shared_ext}$major'
15215 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15216 shlibpath_var
=LD_LIBRARY_PATH
15217 shlibpath_overrides_runpath
=no
15218 hardcode_into_libs
=yes
15221 irix5
* | irix6
* | nonstopux
*)
15223 nonstopux
*) version_type
=nonstopux
;;
15225 if test "$lt_cv_prog_gnu_ld" = yes; then
15233 soname_spec
='${libname}${release}${shared_ext}$major'
15234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15236 irix5
* | nonstopux
*)
15237 libsuff
= shlibsuff
=
15240 case $LD in # libtool.m4 will add one of these switches to LD
15241 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15242 libsuff
= shlibsuff
= libmagic
=32-bit;;
15243 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15244 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15245 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15246 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15247 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15251 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15252 shlibpath_overrides_runpath
=no
15253 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15254 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15255 hardcode_into_libs
=yes
15258 # No shared lib support for Linux oldld, aout, or coff.
15259 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15263 # This must be Linux ELF.
15264 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15269 soname_spec
='${libname}${release}${shared_ext}$major'
15270 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15271 shlibpath_var
=LD_LIBRARY_PATH
15272 shlibpath_overrides_runpath
=no
15274 # Some binutils ld are patched to set DT_RUNPATH
15275 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15276 $as_echo_n "(cached) " >&6
15278 lt_cv_shlibpath_overrides_runpath
=no
15279 save_LDFLAGS
=$LDFLAGS
15280 save_libdir
=$libdir
15281 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15282 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15283 if test x
$gcc_no_link = xyes
; then
15284 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15286 cat > conftest.
$ac_ext <<_ACEOF
15291 if ac_fn_fc_try_link
"$LINENO"; then :
15292 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15293 lt_cv_shlibpath_overrides_runpath
=yes
15296 rm -f core conftest.err conftest.
$ac_objext \
15297 conftest
$ac_exeext conftest.
$ac_ext
15298 LDFLAGS
=$save_LDFLAGS
15299 libdir
=$save_libdir
15303 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15305 # This implies no fast_install, which is unacceptable.
15306 # Some rework will be needed to allow for fast_install
15307 # before this can be enabled.
15308 hardcode_into_libs
=yes
15310 # Append ld.so.conf contents to the search path
15311 if test -f /etc
/ld.so.conf
; then
15312 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' ' '`
15313 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15316 # We used to test for /lib/ld.so.1 and disable shared libraries on
15317 # powerpc, because MkLinux only supported shared libraries with the
15318 # GNU dynamic linker. Since this was broken with cross compilers,
15319 # most powerpc-linux boxes support dynamic linking these days and
15320 # people can always --disable-shared, the test was removed, and we
15321 # assume the GNU/Linux dynamic linker is in use.
15322 dynamic_linker
='GNU/Linux ld.so'
15329 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15331 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15332 dynamic_linker
='NetBSD (a.out) ld.so'
15334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15335 soname_spec
='${libname}${release}${shared_ext}$major'
15336 dynamic_linker
='NetBSD ld.elf_so'
15338 shlibpath_var
=LD_LIBRARY_PATH
15339 shlibpath_overrides_runpath
=yes
15340 hardcode_into_libs
=yes
15345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15346 shlibpath_var
=LD_LIBRARY_PATH
15347 shlibpath_overrides_runpath
=yes
15354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15355 soname_spec
='${libname}${release}${shared_ext}$major'
15356 shlibpath_var
=LD_LIBRARY_PATH
15357 shlibpath_overrides_runpath
=no
15358 hardcode_into_libs
=yes
15359 dynamic_linker
='ldqnx.so'
15364 sys_lib_dlsearch_path_spec
="/usr/lib"
15366 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15368 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15369 *) need_version
=no
;;
15371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15372 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15373 shlibpath_var
=LD_LIBRARY_PATH
15374 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15376 openbsd2.
[89] | openbsd2.
[89].
*)
15377 shlibpath_overrides_runpath
=no
15380 shlibpath_overrides_runpath
=yes
15384 shlibpath_overrides_runpath
=yes
15389 libname_spec
='$name'
15392 library_names_spec
='$libname${shared_ext} $libname.a'
15393 dynamic_linker
='OS/2 ld.exe'
15394 shlibpath_var
=LIBPATH
15397 osf3
* | osf4
* | osf5
*)
15401 soname_spec
='${libname}${release}${shared_ext}$major'
15402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15403 shlibpath_var
=LD_LIBRARY_PATH
15404 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15405 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15417 soname_spec
='${libname}${release}${shared_ext}$major'
15418 shlibpath_var
=LD_LIBRARY_PATH
15419 shlibpath_overrides_runpath
=yes
15420 hardcode_into_libs
=yes
15421 # ldd complains unless libraries are executable
15422 postinstall_cmds
='chmod +x $lib'
15427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15428 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15429 shlibpath_var
=LD_LIBRARY_PATH
15430 shlibpath_overrides_runpath
=yes
15431 if test "$with_gnu_ld" = yes; then
15439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15440 soname_spec
='${libname}${release}${shared_ext}$major'
15441 shlibpath_var
=LD_LIBRARY_PATH
15442 case $host_vendor in
15444 shlibpath_overrides_runpath
=no
15446 runpath_var
=LD_RUN_PATH
15454 shlibpath_overrides_runpath
=no
15455 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15461 if test -d /usr
/nec
;then
15463 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15464 soname_spec
='$libname${shared_ext}.$major'
15465 shlibpath_var
=LD_LIBRARY_PATH
15469 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15470 version_type
=freebsd-elf
15473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15474 soname_spec
='${libname}${release}${shared_ext}$major'
15475 shlibpath_var
=LD_LIBRARY_PATH
15476 shlibpath_overrides_runpath
=yes
15477 hardcode_into_libs
=yes
15478 if test "$with_gnu_ld" = yes; then
15479 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15481 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15484 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15488 sys_lib_dlsearch_path_spec
='/usr/lib'
15492 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15497 shlibpath_var
=LD_LIBRARY_PATH
15498 shlibpath_overrides_runpath
=no
15499 hardcode_into_libs
=yes
15504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15505 soname_spec
='${libname}${release}${shared_ext}$major'
15506 shlibpath_var
=LD_LIBRARY_PATH
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15514 $as_echo "$dynamic_linker" >&6; }
15515 test "$dynamic_linker" = no
&& can_build_shared
=no
15517 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15518 if test "$GCC" = yes; then
15519 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15522 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15523 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15525 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15526 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15567 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15568 hardcode_action_FC
=
15569 if test -n "$hardcode_libdir_flag_spec_FC" ||
15570 test -n "$runpath_var_FC" ||
15571 test "X$hardcode_automatic_FC" = "Xyes" ; then
15573 # We can hardcode non-existent directories.
15574 if test "$hardcode_direct_FC" != no
&&
15575 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15576 # have to relink, otherwise we might link with an installed library
15577 # when we should be linking with a yet-to-be-installed one
15578 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15579 test "$hardcode_minus_L_FC" != no
; then
15580 # Linking always hardcodes the temporary library directory.
15581 hardcode_action_FC
=relink
15583 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15584 hardcode_action_FC
=immediate
15587 # We cannot hardcode anything, or else we can only hardcode existing
15589 hardcode_action_FC
=unsupported
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15592 $as_echo "$hardcode_action_FC" >&6; }
15594 if test "$hardcode_action_FC" = relink ||
15595 test "$inherit_rpath_FC" = yes; then
15596 # Fast installation is not supported
15597 enable_fast_install
=no
15598 elif test "$shlibpath_overrides_runpath" = yes ||
15599 test "$enable_shared" = no
; then
15600 # Fast installation is not necessary
15601 enable_fast_install
=needless
15610 fi # test -n "$compiler"
15614 fi # test "$_lt_disable_FC" != yes
15617 ac_cpp
='$CPP $CPPFLAGS'
15618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15624 # extra LD Flags which are required for targets
15627 # Darwin needs -single_module when linking libgfortran
15628 extra_ldflags_libgfortran
=-Wl,-single_module
15633 # We need a working compiler at that point, otherwise give a clear
15634 # error message and bail out.
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15637 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15638 ac_ext
=${ac_fc_srcext-f}
15639 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15640 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15641 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15643 cat > conftest.
$ac_ext <<_ACEOF
15646 real, parameter :: bar = sin (12.34 / 2.5)
15649 if ac_fn_fc_try_compile
"$LINENO"; then :
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15651 $as_echo "yes" >&6; }
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15654 $as_echo "no" >&6; }
15655 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15660 ac_cpp
='$CPP $CPPFLAGS'
15661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15667 # Check whether --enable-largefile was given.
15668 if test "${enable_largefile+set}" = set; then :
15669 enableval
=$enable_largefile;
15672 if test "$enable_largefile" != no
; then
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15675 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15676 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15677 $as_echo_n "(cached) " >&6
15679 ac_cv_sys_largefile_CC
=no
15680 if test "$GCC" != yes; then
15683 # IRIX 6.2 and later do not support large files by default,
15684 # so use the C compiler's -n32 option if that helps.
15685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15687 #include <sys/types.h>
15688 /* Check that off_t can represent 2**63 - 1 correctly.
15689 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15690 since some C++ compilers masquerading as C compilers
15691 incorrectly reject 9223372036854775807. */
15692 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15693 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15694 && LARGE_OFF_T % 2147483647 == 1)
15704 if ac_fn_c_try_compile
"$LINENO"; then :
15707 rm -f core conftest.err conftest.
$ac_objext
15709 if ac_fn_c_try_compile
"$LINENO"; then :
15710 ac_cv_sys_largefile_CC
=' -n32'; break
15712 rm -f core conftest.err conftest.
$ac_objext
15716 rm -f conftest.
$ac_ext
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15720 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15721 if test "$ac_cv_sys_largefile_CC" != no
; then
15722 CC
=$CC$ac_cv_sys_largefile_CC
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15726 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15727 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15728 $as_echo_n "(cached) " >&6
15731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15732 /* end confdefs.h. */
15733 #include <sys/types.h>
15734 /* Check that off_t can represent 2**63 - 1 correctly.
15735 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15736 since some C++ compilers masquerading as C compilers
15737 incorrectly reject 9223372036854775807. */
15738 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15739 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15740 && LARGE_OFF_T % 2147483647 == 1)
15750 if ac_fn_c_try_compile
"$LINENO"; then :
15751 ac_cv_sys_file_offset_bits
=no
; break
15753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15756 #define _FILE_OFFSET_BITS 64
15757 #include <sys/types.h>
15758 /* Check that off_t can represent 2**63 - 1 correctly.
15759 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15760 since some C++ compilers masquerading as C compilers
15761 incorrectly reject 9223372036854775807. */
15762 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15763 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15764 && LARGE_OFF_T % 2147483647 == 1)
15774 if ac_fn_c_try_compile
"$LINENO"; then :
15775 ac_cv_sys_file_offset_bits
=64; break
15777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15778 ac_cv_sys_file_offset_bits
=unknown
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15783 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15784 case $ac_cv_sys_file_offset_bits in #(
15787 cat >>confdefs.h
<<_ACEOF
15788 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15793 if test $ac_cv_sys_file_offset_bits = unknown
; then
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15795 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15796 if test "${ac_cv_sys_large_files+set}" = set; then :
15797 $as_echo_n "(cached) " >&6
15800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15801 /* end confdefs.h. */
15802 #include <sys/types.h>
15803 /* Check that off_t can represent 2**63 - 1 correctly.
15804 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15805 since some C++ compilers masquerading as C compilers
15806 incorrectly reject 9223372036854775807. */
15807 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15808 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15809 && LARGE_OFF_T % 2147483647 == 1)
15819 if ac_fn_c_try_compile
"$LINENO"; then :
15820 ac_cv_sys_large_files
=no
; break
15822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15824 /* end confdefs.h. */
15825 #define _LARGE_FILES 1
15826 #include <sys/types.h>
15827 /* Check that off_t can represent 2**63 - 1 correctly.
15828 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15829 since some C++ compilers masquerading as C compilers
15830 incorrectly reject 9223372036854775807. */
15831 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15832 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15833 && LARGE_OFF_T % 2147483647 == 1)
15843 if ac_fn_c_try_compile
"$LINENO"; then :
15844 ac_cv_sys_large_files
=1; break
15846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15847 ac_cv_sys_large_files
=unknown
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15852 $as_echo "$ac_cv_sys_large_files" >&6; }
15853 case $ac_cv_sys_large_files in #(
15856 cat >>confdefs.h
<<_ACEOF
15857 #define _LARGE_FILES $ac_cv_sys_large_files
15867 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15868 if test "x$ac_cv_type_off_t" = x
""yes; then :
15872 cat >>confdefs.h
<<_ACEOF
15873 #define off_t long int
15879 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15880 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15882 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15885 for ac_type
in 'int' 'long int' 'long long int'; do
15886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15887 /* end confdefs.h. */
15888 $ac_includes_default
15892 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15899 if ac_fn_c_try_compile
"$LINENO"; then :
15901 cat >>confdefs.h
<<_ACEOF
15902 #define intptr_t $ac_type
15907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15908 test -z "$ac_type" && break
15914 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15915 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15917 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15920 for ac_type
in 'unsigned int' 'unsigned long int' \
15921 'unsigned long long int'; do
15922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15923 /* end confdefs.h. */
15924 $ac_includes_default
15928 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15935 if ac_fn_c_try_compile
"$LINENO"; then :
15937 cat >>confdefs.h
<<_ACEOF
15938 #define uintptr_t $ac_type
15943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15944 test -z "$ac_type" && break
15949 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15950 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15952 cat >>confdefs.h
<<_ACEOF
15953 #define HAVE_PTRDIFF_T 1
15960 # check header files (we assume C89 is available, so don't check for that)
15964 for ac_header
in $ac_header_list
15966 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15967 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15969 eval as_val
=\$
$as_ac_Header
15970 if test "x$as_val" = x
""yes; then :
15971 cat >>confdefs.h
<<_ACEOF
15972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16009 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16011 acx_cv_header_stdint
=stddef.h
16012 acx_cv_header_stdint_kind
="(already complete)"
16013 for i
in stdint.h
$inttype_headers; do
16014 unset ac_cv_type_uintptr_t
16015 unset ac_cv_type_uintmax_t
16016 unset ac_cv_type_int_least32_t
16017 unset ac_cv_type_int_fast32_t
16018 unset ac_cv_type_uint64_t
16019 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16020 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16023 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16024 acx_cv_header_stdint
=$i
16029 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16032 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16035 acx_cv_header_stdint_kind
="(mostly complete)"
16038 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16041 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16044 acx_cv_header_stdint_kind
="(mostly complete)"
16047 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16050 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16053 acx_cv_header_stdint_kind
="(mostly complete)"
16056 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16059 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16062 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16067 if test "$acx_cv_header_stdint" = stddef.h
; then
16068 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16069 for i
in stdint.h
$inttype_headers; do
16070 unset ac_cv_type_uintptr_t
16071 unset ac_cv_type_uint32_t
16072 unset ac_cv_type_uint64_t
16073 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16074 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16077 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16078 acx_cv_header_stdint
=$i
16083 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16086 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16090 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16093 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16100 if test "$acx_cv_header_stdint" = stddef.h
; then
16101 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16102 for i
in sys
/types.h
$inttype_headers; do
16103 unset ac_cv_type_u_int32_t
16104 unset ac_cv_type_u_int64_t
16105 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16106 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16109 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16110 acx_cv_header_stdint
=$i
16115 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16118 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16125 if test "$acx_cv_header_stdint" = stddef.h
; then
16126 acx_cv_header_stdint_kind
="(using manual detection)"
16129 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16130 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16131 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16132 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16133 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16135 # ----------------- Summarize what we found so far
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16138 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16140 case `$as_basename -- gstdint.h ||
16141 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16142 Xgstdint.h : 'X\(//\)$' \| \
16143 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16144 $as_echo X/gstdint.h |
16145 sed '/^.*\/\([^/][^/]*\)\/*$/{
16158 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16159 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16160 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16161 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16166 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16168 # ----------------- done included file, check C basic types --------
16170 # Lacking an uintptr_t? Test size of void *
16171 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16172 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16175 # This bug is HP SR number 8606223364.
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16177 $as_echo_n "checking size of void *... " >&6; }
16178 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16179 $as_echo_n "(cached) " >&6
16181 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16184 if test "$ac_cv_type_void_p" = yes; then
16185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16187 { as_fn_set_status
77
16188 as_fn_error
"cannot compute sizeof (void *)
16189 See \`config.log' for more details." "$LINENO" 5; }; }
16191 ac_cv_sizeof_void_p
=0
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16197 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16201 cat >>confdefs.h
<<_ACEOF
16202 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16208 # Lacking an uint64_t? Test size of long
16209 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16210 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16211 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16212 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16213 # This bug is HP SR number 8606223364.
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16215 $as_echo_n "checking size of long... " >&6; }
16216 if test "${ac_cv_sizeof_long+set}" = set; then :
16217 $as_echo_n "(cached) " >&6
16219 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16222 if test "$ac_cv_type_long" = yes; then
16223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16225 { as_fn_set_status
77
16226 as_fn_error
"cannot compute sizeof (long)
16227 See \`config.log' for more details." "$LINENO" 5; }; }
16229 ac_cv_sizeof_long
=0
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16235 $as_echo "$ac_cv_sizeof_long" >&6; }
16239 cat >>confdefs.h
<<_ACEOF
16240 #define SIZEOF_LONG $ac_cv_sizeof_long
16246 if test $acx_cv_header_stdint = stddef.h
; then
16247 # Lacking a good header? Test size of everything and deduce all types.
16248 # The cast to long int works around a bug in the HP C Compiler
16249 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16250 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16251 # This bug is HP SR number 8606223364.
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16253 $as_echo_n "checking size of int... " >&6; }
16254 if test "${ac_cv_sizeof_int+set}" = set; then :
16255 $as_echo_n "(cached) " >&6
16257 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16260 if test "$ac_cv_type_int" = yes; then
16261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16263 { as_fn_set_status
77
16264 as_fn_error
"cannot compute sizeof (int)
16265 See \`config.log' for more details." "$LINENO" 5; }; }
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16273 $as_echo "$ac_cv_sizeof_int" >&6; }
16277 cat >>confdefs.h
<<_ACEOF
16278 #define SIZEOF_INT $ac_cv_sizeof_int
16282 # The cast to long int works around a bug in the HP C Compiler
16283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16285 # This bug is HP SR number 8606223364.
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16287 $as_echo_n "checking size of short... " >&6; }
16288 if test "${ac_cv_sizeof_short+set}" = set; then :
16289 $as_echo_n "(cached) " >&6
16291 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16294 if test "$ac_cv_type_short" = yes; then
16295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16297 { as_fn_set_status
77
16298 as_fn_error
"cannot compute sizeof (short)
16299 See \`config.log' for more details." "$LINENO" 5; }; }
16301 ac_cv_sizeof_short
=0
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16307 $as_echo "$ac_cv_sizeof_short" >&6; }
16311 cat >>confdefs.h
<<_ACEOF
16312 #define SIZEOF_SHORT $ac_cv_sizeof_short
16316 # The cast to long int works around a bug in the HP C Compiler
16317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16319 # This bug is HP SR number 8606223364.
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16321 $as_echo_n "checking size of char... " >&6; }
16322 if test "${ac_cv_sizeof_char+set}" = set; then :
16323 $as_echo_n "(cached) " >&6
16325 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16328 if test "$ac_cv_type_char" = yes; then
16329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16331 { as_fn_set_status
77
16332 as_fn_error
"cannot compute sizeof (char)
16333 See \`config.log' for more details." "$LINENO" 5; }; }
16335 ac_cv_sizeof_char
=0
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16341 $as_echo "$ac_cv_sizeof_char" >&6; }
16345 cat >>confdefs.h
<<_ACEOF
16346 #define SIZEOF_CHAR $ac_cv_sizeof_char
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16352 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16353 case "$ac_cv_sizeof_char" in
16354 1) acx_cv_type_int8_t
=char
;;
16355 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16358 $as_echo "$acx_cv_type_int8_t" >&6; }
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16361 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16362 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16363 2:*) acx_cv_type_int16_t
=int
;;
16364 *:2) acx_cv_type_int16_t
=short
;;
16365 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16368 $as_echo "$acx_cv_type_int16_t" >&6; }
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16371 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16372 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16373 4:*) acx_cv_type_int32_t
=int
;;
16374 *:4) acx_cv_type_int32_t
=long
;;
16375 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16378 $as_echo "$acx_cv_type_int32_t" >&6; }
16381 # These tests are here to make the output prettier
16383 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16384 case "$ac_cv_sizeof_long" in
16385 8) acx_cv_type_int64_t
=long
;;
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16388 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16390 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16393 # Now we can use the above types
16395 if test "$ac_cv_type_uintptr_t" != yes; then
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16397 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16398 case $ac_cv_sizeof_void_p in
16399 2) acx_cv_type_intptr_t
=int16_t
;;
16400 4) acx_cv_type_intptr_t
=int32_t
;;
16401 8) acx_cv_type_intptr_t
=int64_t
;;
16402 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16405 $as_echo "$acx_cv_type_intptr_t" >&6; }
16408 # ----------------- done all checks, emit header -------------
16409 ac_config_commands
="$ac_config_commands gstdint.h"
16414 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16415 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16417 cat >>confdefs.h
<<_ACEOF
16418 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16423 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16424 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16426 cat >>confdefs.h
<<_ACEOF
16427 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16432 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16433 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16435 cat >>confdefs.h
<<_ACEOF
16436 #define HAVE_STRUCT_STAT_ST_RDEV 1
16443 # Check for library functions.
16447 for ac_func
in $ac_func_list
16449 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16450 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16451 eval as_val
=\$
$as_ac_var
16452 if test "x$as_val" = x
""yes; then :
16453 cat >>confdefs.h
<<_ACEOF
16454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16564 # Check strerror_r, cannot be above as versions with two and three arguments exist
16566 ac_save_CFLAGS
="$CFLAGS"
16567 CFLAGS
="-Wimplicit-function-declaration -Werror"
16568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16570 #define _GNU_SOURCE 1
16571 #include <string.h>
16572 #include <locale.h>
16576 char s[128]; strerror_r(5, s, 128);
16581 if ac_fn_c_try_compile
"$LINENO"; then :
16583 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16587 CFLAGS
="$ac_save_CFLAGS"
16589 ac_save_CFLAGS
="$CFLAGS"
16590 CFLAGS
="-Wimplicit-function-declaration -Werror"
16591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16593 #define _GNU_SOURCE 1
16594 #include <string.h>
16595 #include <locale.h>
16599 char s[128]; strerror_r(5, s);
16604 if ac_fn_c_try_compile
"$LINENO"; then :
16606 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16610 CFLAGS
="$ac_save_CFLAGS"
16613 # Check for C99 (and other IEEE) math functions
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16615 $as_echo_n "checking for sin in -lm... " >&6; }
16616 if test "${ac_cv_lib_m_sin+set}" = set; then :
16617 $as_echo_n "(cached) " >&6
16619 ac_check_lib_save_LIBS
=$LIBS
16621 if test x
$gcc_no_link = xyes
; then
16622 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16627 /* Override any GCC internal prototype to avoid an error.
16628 Use char because int might match the return type of a GCC
16629 builtin and then its argument prototype would still apply. */
16642 if ac_fn_c_try_link
"$LINENO"; then :
16643 ac_cv_lib_m_sin
=yes
16647 rm -f core conftest.err conftest.
$ac_objext \
16648 conftest
$ac_exeext conftest.
$ac_ext
16649 LIBS
=$ac_check_lib_save_LIBS
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16652 $as_echo "$ac_cv_lib_m_sin" >&6; }
16653 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16654 cat >>confdefs.h
<<_ACEOF
16655 #define HAVE_LIBM 1
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16669 $as_echo_n "checking for acosf... " >&6; }
16670 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16671 $as_echo_n "(cached) " >&6
16673 if test x
$gcc_no_link = xyes
; then
16674 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16679 #ifdef HAVE_COMPLEX_H
16680 #include <complex.h>
16686 int (*ptr)() = (int (*)())acosf;
16695 if ac_fn_c_try_link
"$LINENO"; then :
16696 gcc_cv_math_func_acosf
=yes
16698 gcc_cv_math_func_acosf
=no
16700 rm -f core conftest.err conftest.
$ac_objext \
16701 conftest
$ac_exeext conftest.
$ac_ext
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16704 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16705 if test $gcc_cv_math_func_acosf = yes; then
16707 cat >>confdefs.h
<<_ACEOF
16708 #define HAVE_ACOSF 1
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16717 $as_echo_n "checking for acos... " >&6; }
16718 if test "${gcc_cv_math_func_acos+set}" = set; then :
16719 $as_echo_n "(cached) " >&6
16721 if test x
$gcc_no_link = xyes
; then
16722 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16727 #ifdef HAVE_COMPLEX_H
16728 #include <complex.h>
16734 int (*ptr)() = (int (*)())acos;
16743 if ac_fn_c_try_link
"$LINENO"; then :
16744 gcc_cv_math_func_acos
=yes
16746 gcc_cv_math_func_acos
=no
16748 rm -f core conftest.err conftest.
$ac_objext \
16749 conftest
$ac_exeext conftest.
$ac_ext
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16752 $as_echo "$gcc_cv_math_func_acos" >&6; }
16753 if test $gcc_cv_math_func_acos = yes; then
16755 cat >>confdefs.h
<<_ACEOF
16756 #define HAVE_ACOS 1
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16765 $as_echo_n "checking for acosl... " >&6; }
16766 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16767 $as_echo_n "(cached) " >&6
16769 if test x
$gcc_no_link = xyes
; then
16770 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16773 /* end confdefs.h. */
16775 #ifdef HAVE_COMPLEX_H
16776 #include <complex.h>
16782 int (*ptr)() = (int (*)())acosl;
16791 if ac_fn_c_try_link
"$LINENO"; then :
16792 gcc_cv_math_func_acosl
=yes
16794 gcc_cv_math_func_acosl
=no
16796 rm -f core conftest.err conftest.
$ac_objext \
16797 conftest
$ac_exeext conftest.
$ac_ext
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16800 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16801 if test $gcc_cv_math_func_acosl = yes; then
16803 cat >>confdefs.h
<<_ACEOF
16804 #define HAVE_ACOSL 1
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16813 $as_echo_n "checking for acoshf... " >&6; }
16814 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16815 $as_echo_n "(cached) " >&6
16817 if test x
$gcc_no_link = xyes
; then
16818 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16823 #ifdef HAVE_COMPLEX_H
16824 #include <complex.h>
16830 int (*ptr)() = (int (*)())acoshf;
16839 if ac_fn_c_try_link
"$LINENO"; then :
16840 gcc_cv_math_func_acoshf
=yes
16842 gcc_cv_math_func_acoshf
=no
16844 rm -f core conftest.err conftest.
$ac_objext \
16845 conftest
$ac_exeext conftest.
$ac_ext
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16848 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16849 if test $gcc_cv_math_func_acoshf = yes; then
16851 cat >>confdefs.h
<<_ACEOF
16852 #define HAVE_ACOSHF 1
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16861 $as_echo_n "checking for acosh... " >&6; }
16862 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16863 $as_echo_n "(cached) " >&6
16865 if test x
$gcc_no_link = xyes
; then
16866 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16871 #ifdef HAVE_COMPLEX_H
16872 #include <complex.h>
16878 int (*ptr)() = (int (*)())acosh;
16887 if ac_fn_c_try_link
"$LINENO"; then :
16888 gcc_cv_math_func_acosh
=yes
16890 gcc_cv_math_func_acosh
=no
16892 rm -f core conftest.err conftest.
$ac_objext \
16893 conftest
$ac_exeext conftest.
$ac_ext
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16896 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16897 if test $gcc_cv_math_func_acosh = yes; then
16899 cat >>confdefs.h
<<_ACEOF
16900 #define HAVE_ACOSH 1
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16909 $as_echo_n "checking for acoshl... " >&6; }
16910 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16911 $as_echo_n "(cached) " >&6
16913 if test x
$gcc_no_link = xyes
; then
16914 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16917 /* end confdefs.h. */
16919 #ifdef HAVE_COMPLEX_H
16920 #include <complex.h>
16926 int (*ptr)() = (int (*)())acoshl;
16935 if ac_fn_c_try_link
"$LINENO"; then :
16936 gcc_cv_math_func_acoshl
=yes
16938 gcc_cv_math_func_acoshl
=no
16940 rm -f core conftest.err conftest.
$ac_objext \
16941 conftest
$ac_exeext conftest.
$ac_ext
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16944 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16945 if test $gcc_cv_math_func_acoshl = yes; then
16947 cat >>confdefs.h
<<_ACEOF
16948 #define HAVE_ACOSHL 1
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
16957 $as_echo_n "checking for asinf... " >&6; }
16958 if test "${gcc_cv_math_func_asinf+set}" = set; then :
16959 $as_echo_n "(cached) " >&6
16961 if test x
$gcc_no_link = xyes
; then
16962 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16967 #ifdef HAVE_COMPLEX_H
16968 #include <complex.h>
16974 int (*ptr)() = (int (*)())asinf;
16983 if ac_fn_c_try_link
"$LINENO"; then :
16984 gcc_cv_math_func_asinf
=yes
16986 gcc_cv_math_func_asinf
=no
16988 rm -f core conftest.err conftest.
$ac_objext \
16989 conftest
$ac_exeext conftest.
$ac_ext
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
16992 $as_echo "$gcc_cv_math_func_asinf" >&6; }
16993 if test $gcc_cv_math_func_asinf = yes; then
16995 cat >>confdefs.h
<<_ACEOF
16996 #define HAVE_ASINF 1
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17005 $as_echo_n "checking for asin... " >&6; }
17006 if test "${gcc_cv_math_func_asin+set}" = set; then :
17007 $as_echo_n "(cached) " >&6
17009 if test x
$gcc_no_link = xyes
; then
17010 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17015 #ifdef HAVE_COMPLEX_H
17016 #include <complex.h>
17022 int (*ptr)() = (int (*)())asin;
17031 if ac_fn_c_try_link
"$LINENO"; then :
17032 gcc_cv_math_func_asin
=yes
17034 gcc_cv_math_func_asin
=no
17036 rm -f core conftest.err conftest.
$ac_objext \
17037 conftest
$ac_exeext conftest.
$ac_ext
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17040 $as_echo "$gcc_cv_math_func_asin" >&6; }
17041 if test $gcc_cv_math_func_asin = yes; then
17043 cat >>confdefs.h
<<_ACEOF
17044 #define HAVE_ASIN 1
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17053 $as_echo_n "checking for asinl... " >&6; }
17054 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17055 $as_echo_n "(cached) " >&6
17057 if test x
$gcc_no_link = xyes
; then
17058 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17063 #ifdef HAVE_COMPLEX_H
17064 #include <complex.h>
17070 int (*ptr)() = (int (*)())asinl;
17079 if ac_fn_c_try_link
"$LINENO"; then :
17080 gcc_cv_math_func_asinl
=yes
17082 gcc_cv_math_func_asinl
=no
17084 rm -f core conftest.err conftest.
$ac_objext \
17085 conftest
$ac_exeext conftest.
$ac_ext
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17088 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17089 if test $gcc_cv_math_func_asinl = yes; then
17091 cat >>confdefs.h
<<_ACEOF
17092 #define HAVE_ASINL 1
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17101 $as_echo_n "checking for asinhf... " >&6; }
17102 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17103 $as_echo_n "(cached) " >&6
17105 if test x
$gcc_no_link = xyes
; then
17106 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17111 #ifdef HAVE_COMPLEX_H
17112 #include <complex.h>
17118 int (*ptr)() = (int (*)())asinhf;
17127 if ac_fn_c_try_link
"$LINENO"; then :
17128 gcc_cv_math_func_asinhf
=yes
17130 gcc_cv_math_func_asinhf
=no
17132 rm -f core conftest.err conftest.
$ac_objext \
17133 conftest
$ac_exeext conftest.
$ac_ext
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17136 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17137 if test $gcc_cv_math_func_asinhf = yes; then
17139 cat >>confdefs.h
<<_ACEOF
17140 #define HAVE_ASINHF 1
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17149 $as_echo_n "checking for asinh... " >&6; }
17150 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17151 $as_echo_n "(cached) " >&6
17153 if test x
$gcc_no_link = xyes
; then
17154 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17159 #ifdef HAVE_COMPLEX_H
17160 #include <complex.h>
17166 int (*ptr)() = (int (*)())asinh;
17175 if ac_fn_c_try_link
"$LINENO"; then :
17176 gcc_cv_math_func_asinh
=yes
17178 gcc_cv_math_func_asinh
=no
17180 rm -f core conftest.err conftest.
$ac_objext \
17181 conftest
$ac_exeext conftest.
$ac_ext
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17184 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17185 if test $gcc_cv_math_func_asinh = yes; then
17187 cat >>confdefs.h
<<_ACEOF
17188 #define HAVE_ASINH 1
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17197 $as_echo_n "checking for asinhl... " >&6; }
17198 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17199 $as_echo_n "(cached) " >&6
17201 if test x
$gcc_no_link = xyes
; then
17202 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17207 #ifdef HAVE_COMPLEX_H
17208 #include <complex.h>
17214 int (*ptr)() = (int (*)())asinhl;
17223 if ac_fn_c_try_link
"$LINENO"; then :
17224 gcc_cv_math_func_asinhl
=yes
17226 gcc_cv_math_func_asinhl
=no
17228 rm -f core conftest.err conftest.
$ac_objext \
17229 conftest
$ac_exeext conftest.
$ac_ext
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17232 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17233 if test $gcc_cv_math_func_asinhl = yes; then
17235 cat >>confdefs.h
<<_ACEOF
17236 #define HAVE_ASINHL 1
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17245 $as_echo_n "checking for atan2f... " >&6; }
17246 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17247 $as_echo_n "(cached) " >&6
17249 if test x
$gcc_no_link = xyes
; then
17250 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17255 #ifdef HAVE_COMPLEX_H
17256 #include <complex.h>
17262 int (*ptr)() = (int (*)())atan2f;
17271 if ac_fn_c_try_link
"$LINENO"; then :
17272 gcc_cv_math_func_atan2f
=yes
17274 gcc_cv_math_func_atan2f
=no
17276 rm -f core conftest.err conftest.
$ac_objext \
17277 conftest
$ac_exeext conftest.
$ac_ext
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17280 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17281 if test $gcc_cv_math_func_atan2f = yes; then
17283 cat >>confdefs.h
<<_ACEOF
17284 #define HAVE_ATAN2F 1
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17293 $as_echo_n "checking for atan2... " >&6; }
17294 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17295 $as_echo_n "(cached) " >&6
17297 if test x
$gcc_no_link = xyes
; then
17298 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17301 /* end confdefs.h. */
17303 #ifdef HAVE_COMPLEX_H
17304 #include <complex.h>
17310 int (*ptr)() = (int (*)())atan2;
17319 if ac_fn_c_try_link
"$LINENO"; then :
17320 gcc_cv_math_func_atan2
=yes
17322 gcc_cv_math_func_atan2
=no
17324 rm -f core conftest.err conftest.
$ac_objext \
17325 conftest
$ac_exeext conftest.
$ac_ext
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17328 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17329 if test $gcc_cv_math_func_atan2 = yes; then
17331 cat >>confdefs.h
<<_ACEOF
17332 #define HAVE_ATAN2 1
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17341 $as_echo_n "checking for atan2l... " >&6; }
17342 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17343 $as_echo_n "(cached) " >&6
17345 if test x
$gcc_no_link = xyes
; then
17346 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17351 #ifdef HAVE_COMPLEX_H
17352 #include <complex.h>
17358 int (*ptr)() = (int (*)())atan2l;
17367 if ac_fn_c_try_link
"$LINENO"; then :
17368 gcc_cv_math_func_atan2l
=yes
17370 gcc_cv_math_func_atan2l
=no
17372 rm -f core conftest.err conftest.
$ac_objext \
17373 conftest
$ac_exeext conftest.
$ac_ext
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17376 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17377 if test $gcc_cv_math_func_atan2l = yes; then
17379 cat >>confdefs.h
<<_ACEOF
17380 #define HAVE_ATAN2L 1
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17389 $as_echo_n "checking for atanf... " >&6; }
17390 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17391 $as_echo_n "(cached) " >&6
17393 if test x
$gcc_no_link = xyes
; then
17394 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17399 #ifdef HAVE_COMPLEX_H
17400 #include <complex.h>
17406 int (*ptr)() = (int (*)())atanf;
17415 if ac_fn_c_try_link
"$LINENO"; then :
17416 gcc_cv_math_func_atanf
=yes
17418 gcc_cv_math_func_atanf
=no
17420 rm -f core conftest.err conftest.
$ac_objext \
17421 conftest
$ac_exeext conftest.
$ac_ext
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17424 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17425 if test $gcc_cv_math_func_atanf = yes; then
17427 cat >>confdefs.h
<<_ACEOF
17428 #define HAVE_ATANF 1
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17437 $as_echo_n "checking for atan... " >&6; }
17438 if test "${gcc_cv_math_func_atan+set}" = set; then :
17439 $as_echo_n "(cached) " >&6
17441 if test x
$gcc_no_link = xyes
; then
17442 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17445 /* end confdefs.h. */
17447 #ifdef HAVE_COMPLEX_H
17448 #include <complex.h>
17454 int (*ptr)() = (int (*)())atan;
17463 if ac_fn_c_try_link
"$LINENO"; then :
17464 gcc_cv_math_func_atan
=yes
17466 gcc_cv_math_func_atan
=no
17468 rm -f core conftest.err conftest.
$ac_objext \
17469 conftest
$ac_exeext conftest.
$ac_ext
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17472 $as_echo "$gcc_cv_math_func_atan" >&6; }
17473 if test $gcc_cv_math_func_atan = yes; then
17475 cat >>confdefs.h
<<_ACEOF
17476 #define HAVE_ATAN 1
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17485 $as_echo_n "checking for atanl... " >&6; }
17486 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17487 $as_echo_n "(cached) " >&6
17489 if test x
$gcc_no_link = xyes
; then
17490 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17495 #ifdef HAVE_COMPLEX_H
17496 #include <complex.h>
17502 int (*ptr)() = (int (*)())atanl;
17511 if ac_fn_c_try_link
"$LINENO"; then :
17512 gcc_cv_math_func_atanl
=yes
17514 gcc_cv_math_func_atanl
=no
17516 rm -f core conftest.err conftest.
$ac_objext \
17517 conftest
$ac_exeext conftest.
$ac_ext
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17520 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17521 if test $gcc_cv_math_func_atanl = yes; then
17523 cat >>confdefs.h
<<_ACEOF
17524 #define HAVE_ATANL 1
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17533 $as_echo_n "checking for atanhf... " >&6; }
17534 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17535 $as_echo_n "(cached) " >&6
17537 if test x
$gcc_no_link = xyes
; then
17538 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17543 #ifdef HAVE_COMPLEX_H
17544 #include <complex.h>
17550 int (*ptr)() = (int (*)())atanhf;
17559 if ac_fn_c_try_link
"$LINENO"; then :
17560 gcc_cv_math_func_atanhf
=yes
17562 gcc_cv_math_func_atanhf
=no
17564 rm -f core conftest.err conftest.
$ac_objext \
17565 conftest
$ac_exeext conftest.
$ac_ext
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17568 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17569 if test $gcc_cv_math_func_atanhf = yes; then
17571 cat >>confdefs.h
<<_ACEOF
17572 #define HAVE_ATANHF 1
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17581 $as_echo_n "checking for atanh... " >&6; }
17582 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17583 $as_echo_n "(cached) " >&6
17585 if test x
$gcc_no_link = xyes
; then
17586 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17591 #ifdef HAVE_COMPLEX_H
17592 #include <complex.h>
17598 int (*ptr)() = (int (*)())atanh;
17607 if ac_fn_c_try_link
"$LINENO"; then :
17608 gcc_cv_math_func_atanh
=yes
17610 gcc_cv_math_func_atanh
=no
17612 rm -f core conftest.err conftest.
$ac_objext \
17613 conftest
$ac_exeext conftest.
$ac_ext
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17616 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17617 if test $gcc_cv_math_func_atanh = yes; then
17619 cat >>confdefs.h
<<_ACEOF
17620 #define HAVE_ATANH 1
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17629 $as_echo_n "checking for atanhl... " >&6; }
17630 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17631 $as_echo_n "(cached) " >&6
17633 if test x
$gcc_no_link = xyes
; then
17634 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17637 /* end confdefs.h. */
17639 #ifdef HAVE_COMPLEX_H
17640 #include <complex.h>
17646 int (*ptr)() = (int (*)())atanhl;
17655 if ac_fn_c_try_link
"$LINENO"; then :
17656 gcc_cv_math_func_atanhl
=yes
17658 gcc_cv_math_func_atanhl
=no
17660 rm -f core conftest.err conftest.
$ac_objext \
17661 conftest
$ac_exeext conftest.
$ac_ext
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17664 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17665 if test $gcc_cv_math_func_atanhl = yes; then
17667 cat >>confdefs.h
<<_ACEOF
17668 #define HAVE_ATANHL 1
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17677 $as_echo_n "checking for cargf... " >&6; }
17678 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17679 $as_echo_n "(cached) " >&6
17681 if test x
$gcc_no_link = xyes
; then
17682 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17687 #ifdef HAVE_COMPLEX_H
17688 #include <complex.h>
17694 int (*ptr)() = (int (*)())cargf;
17703 if ac_fn_c_try_link
"$LINENO"; then :
17704 gcc_cv_math_func_cargf
=yes
17706 gcc_cv_math_func_cargf
=no
17708 rm -f core conftest.err conftest.
$ac_objext \
17709 conftest
$ac_exeext conftest.
$ac_ext
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17712 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17713 if test $gcc_cv_math_func_cargf = yes; then
17715 cat >>confdefs.h
<<_ACEOF
17716 #define HAVE_CARGF 1
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17725 $as_echo_n "checking for carg... " >&6; }
17726 if test "${gcc_cv_math_func_carg+set}" = set; then :
17727 $as_echo_n "(cached) " >&6
17729 if test x
$gcc_no_link = xyes
; then
17730 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17735 #ifdef HAVE_COMPLEX_H
17736 #include <complex.h>
17742 int (*ptr)() = (int (*)())carg;
17751 if ac_fn_c_try_link
"$LINENO"; then :
17752 gcc_cv_math_func_carg
=yes
17754 gcc_cv_math_func_carg
=no
17756 rm -f core conftest.err conftest.
$ac_objext \
17757 conftest
$ac_exeext conftest.
$ac_ext
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17760 $as_echo "$gcc_cv_math_func_carg" >&6; }
17761 if test $gcc_cv_math_func_carg = yes; then
17763 cat >>confdefs.h
<<_ACEOF
17764 #define HAVE_CARG 1
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17773 $as_echo_n "checking for cargl... " >&6; }
17774 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17775 $as_echo_n "(cached) " >&6
17777 if test x
$gcc_no_link = xyes
; then
17778 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17783 #ifdef HAVE_COMPLEX_H
17784 #include <complex.h>
17790 int (*ptr)() = (int (*)())cargl;
17799 if ac_fn_c_try_link
"$LINENO"; then :
17800 gcc_cv_math_func_cargl
=yes
17802 gcc_cv_math_func_cargl
=no
17804 rm -f core conftest.err conftest.
$ac_objext \
17805 conftest
$ac_exeext conftest.
$ac_ext
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17808 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17809 if test $gcc_cv_math_func_cargl = yes; then
17811 cat >>confdefs.h
<<_ACEOF
17812 #define HAVE_CARGL 1
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17821 $as_echo_n "checking for ceilf... " >&6; }
17822 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17823 $as_echo_n "(cached) " >&6
17825 if test x
$gcc_no_link = xyes
; then
17826 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h. */
17831 #ifdef HAVE_COMPLEX_H
17832 #include <complex.h>
17838 int (*ptr)() = (int (*)())ceilf;
17847 if ac_fn_c_try_link
"$LINENO"; then :
17848 gcc_cv_math_func_ceilf
=yes
17850 gcc_cv_math_func_ceilf
=no
17852 rm -f core conftest.err conftest.
$ac_objext \
17853 conftest
$ac_exeext conftest.
$ac_ext
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17856 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17857 if test $gcc_cv_math_func_ceilf = yes; then
17859 cat >>confdefs.h
<<_ACEOF
17860 #define HAVE_CEILF 1
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17869 $as_echo_n "checking for ceil... " >&6; }
17870 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17871 $as_echo_n "(cached) " >&6
17873 if test x
$gcc_no_link = xyes
; then
17874 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17877 /* end confdefs.h. */
17879 #ifdef HAVE_COMPLEX_H
17880 #include <complex.h>
17886 int (*ptr)() = (int (*)())ceil;
17895 if ac_fn_c_try_link
"$LINENO"; then :
17896 gcc_cv_math_func_ceil
=yes
17898 gcc_cv_math_func_ceil
=no
17900 rm -f core conftest.err conftest.
$ac_objext \
17901 conftest
$ac_exeext conftest.
$ac_ext
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17904 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17905 if test $gcc_cv_math_func_ceil = yes; then
17907 cat >>confdefs.h
<<_ACEOF
17908 #define HAVE_CEIL 1
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17917 $as_echo_n "checking for ceill... " >&6; }
17918 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17919 $as_echo_n "(cached) " >&6
17921 if test x
$gcc_no_link = xyes
; then
17922 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17927 #ifdef HAVE_COMPLEX_H
17928 #include <complex.h>
17934 int (*ptr)() = (int (*)())ceill;
17943 if ac_fn_c_try_link
"$LINENO"; then :
17944 gcc_cv_math_func_ceill
=yes
17946 gcc_cv_math_func_ceill
=no
17948 rm -f core conftest.err conftest.
$ac_objext \
17949 conftest
$ac_exeext conftest.
$ac_ext
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17952 $as_echo "$gcc_cv_math_func_ceill" >&6; }
17953 if test $gcc_cv_math_func_ceill = yes; then
17955 cat >>confdefs.h
<<_ACEOF
17956 #define HAVE_CEILL 1
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
17965 $as_echo_n "checking for copysignf... " >&6; }
17966 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
17967 $as_echo_n "(cached) " >&6
17969 if test x
$gcc_no_link = xyes
; then
17970 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17973 /* end confdefs.h. */
17975 #ifdef HAVE_COMPLEX_H
17976 #include <complex.h>
17982 int (*ptr)() = (int (*)())copysignf;
17991 if ac_fn_c_try_link
"$LINENO"; then :
17992 gcc_cv_math_func_copysignf
=yes
17994 gcc_cv_math_func_copysignf
=no
17996 rm -f core conftest.err conftest.
$ac_objext \
17997 conftest
$ac_exeext conftest.
$ac_ext
17999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18000 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18001 if test $gcc_cv_math_func_copysignf = yes; then
18003 cat >>confdefs.h
<<_ACEOF
18004 #define HAVE_COPYSIGNF 1
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18013 $as_echo_n "checking for copysign... " >&6; }
18014 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18015 $as_echo_n "(cached) " >&6
18017 if test x
$gcc_no_link = xyes
; then
18018 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18023 #ifdef HAVE_COMPLEX_H
18024 #include <complex.h>
18030 int (*ptr)() = (int (*)())copysign;
18039 if ac_fn_c_try_link
"$LINENO"; then :
18040 gcc_cv_math_func_copysign
=yes
18042 gcc_cv_math_func_copysign
=no
18044 rm -f core conftest.err conftest.
$ac_objext \
18045 conftest
$ac_exeext conftest.
$ac_ext
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18048 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18049 if test $gcc_cv_math_func_copysign = yes; then
18051 cat >>confdefs.h
<<_ACEOF
18052 #define HAVE_COPYSIGN 1
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18061 $as_echo_n "checking for copysignl... " >&6; }
18062 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18063 $as_echo_n "(cached) " >&6
18065 if test x
$gcc_no_link = xyes
; then
18066 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18071 #ifdef HAVE_COMPLEX_H
18072 #include <complex.h>
18078 int (*ptr)() = (int (*)())copysignl;
18087 if ac_fn_c_try_link
"$LINENO"; then :
18088 gcc_cv_math_func_copysignl
=yes
18090 gcc_cv_math_func_copysignl
=no
18092 rm -f core conftest.err conftest.
$ac_objext \
18093 conftest
$ac_exeext conftest.
$ac_ext
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18096 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18097 if test $gcc_cv_math_func_copysignl = yes; then
18099 cat >>confdefs.h
<<_ACEOF
18100 #define HAVE_COPYSIGNL 1
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18109 $as_echo_n "checking for cosf... " >&6; }
18110 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18111 $as_echo_n "(cached) " >&6
18113 if test x
$gcc_no_link = xyes
; then
18114 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18119 #ifdef HAVE_COMPLEX_H
18120 #include <complex.h>
18126 int (*ptr)() = (int (*)())cosf;
18135 if ac_fn_c_try_link
"$LINENO"; then :
18136 gcc_cv_math_func_cosf
=yes
18138 gcc_cv_math_func_cosf
=no
18140 rm -f core conftest.err conftest.
$ac_objext \
18141 conftest
$ac_exeext conftest.
$ac_ext
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18144 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18145 if test $gcc_cv_math_func_cosf = yes; then
18147 cat >>confdefs.h
<<_ACEOF
18148 #define HAVE_COSF 1
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18157 $as_echo_n "checking for cos... " >&6; }
18158 if test "${gcc_cv_math_func_cos+set}" = set; then :
18159 $as_echo_n "(cached) " >&6
18161 if test x
$gcc_no_link = xyes
; then
18162 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18167 #ifdef HAVE_COMPLEX_H
18168 #include <complex.h>
18174 int (*ptr)() = (int (*)())cos;
18183 if ac_fn_c_try_link
"$LINENO"; then :
18184 gcc_cv_math_func_cos
=yes
18186 gcc_cv_math_func_cos
=no
18188 rm -f core conftest.err conftest.
$ac_objext \
18189 conftest
$ac_exeext conftest.
$ac_ext
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18192 $as_echo "$gcc_cv_math_func_cos" >&6; }
18193 if test $gcc_cv_math_func_cos = yes; then
18195 cat >>confdefs.h
<<_ACEOF
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18205 $as_echo_n "checking for cosl... " >&6; }
18206 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18207 $as_echo_n "(cached) " >&6
18209 if test x
$gcc_no_link = xyes
; then
18210 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18213 /* end confdefs.h. */
18215 #ifdef HAVE_COMPLEX_H
18216 #include <complex.h>
18222 int (*ptr)() = (int (*)())cosl;
18231 if ac_fn_c_try_link
"$LINENO"; then :
18232 gcc_cv_math_func_cosl
=yes
18234 gcc_cv_math_func_cosl
=no
18236 rm -f core conftest.err conftest.
$ac_objext \
18237 conftest
$ac_exeext conftest.
$ac_ext
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18240 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18241 if test $gcc_cv_math_func_cosl = yes; then
18243 cat >>confdefs.h
<<_ACEOF
18244 #define HAVE_COSL 1
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18253 $as_echo_n "checking for ccosf... " >&6; }
18254 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18255 $as_echo_n "(cached) " >&6
18257 if test x
$gcc_no_link = xyes
; then
18258 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18261 /* end confdefs.h. */
18263 #ifdef HAVE_COMPLEX_H
18264 #include <complex.h>
18270 int (*ptr)() = (int (*)())ccosf;
18279 if ac_fn_c_try_link
"$LINENO"; then :
18280 gcc_cv_math_func_ccosf
=yes
18282 gcc_cv_math_func_ccosf
=no
18284 rm -f core conftest.err conftest.
$ac_objext \
18285 conftest
$ac_exeext conftest.
$ac_ext
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18288 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18289 if test $gcc_cv_math_func_ccosf = yes; then
18291 cat >>confdefs.h
<<_ACEOF
18292 #define HAVE_CCOSF 1
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18301 $as_echo_n "checking for ccos... " >&6; }
18302 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18303 $as_echo_n "(cached) " >&6
18305 if test x
$gcc_no_link = xyes
; then
18306 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18311 #ifdef HAVE_COMPLEX_H
18312 #include <complex.h>
18318 int (*ptr)() = (int (*)())ccos;
18327 if ac_fn_c_try_link
"$LINENO"; then :
18328 gcc_cv_math_func_ccos
=yes
18330 gcc_cv_math_func_ccos
=no
18332 rm -f core conftest.err conftest.
$ac_objext \
18333 conftest
$ac_exeext conftest.
$ac_ext
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18336 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18337 if test $gcc_cv_math_func_ccos = yes; then
18339 cat >>confdefs.h
<<_ACEOF
18340 #define HAVE_CCOS 1
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18349 $as_echo_n "checking for ccosl... " >&6; }
18350 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18351 $as_echo_n "(cached) " >&6
18353 if test x
$gcc_no_link = xyes
; then
18354 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18357 /* end confdefs.h. */
18359 #ifdef HAVE_COMPLEX_H
18360 #include <complex.h>
18366 int (*ptr)() = (int (*)())ccosl;
18375 if ac_fn_c_try_link
"$LINENO"; then :
18376 gcc_cv_math_func_ccosl
=yes
18378 gcc_cv_math_func_ccosl
=no
18380 rm -f core conftest.err conftest.
$ac_objext \
18381 conftest
$ac_exeext conftest.
$ac_ext
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18384 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18385 if test $gcc_cv_math_func_ccosl = yes; then
18387 cat >>confdefs.h
<<_ACEOF
18388 #define HAVE_CCOSL 1
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18397 $as_echo_n "checking for coshf... " >&6; }
18398 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18399 $as_echo_n "(cached) " >&6
18401 if test x
$gcc_no_link = xyes
; then
18402 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18407 #ifdef HAVE_COMPLEX_H
18408 #include <complex.h>
18414 int (*ptr)() = (int (*)())coshf;
18423 if ac_fn_c_try_link
"$LINENO"; then :
18424 gcc_cv_math_func_coshf
=yes
18426 gcc_cv_math_func_coshf
=no
18428 rm -f core conftest.err conftest.
$ac_objext \
18429 conftest
$ac_exeext conftest.
$ac_ext
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18432 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18433 if test $gcc_cv_math_func_coshf = yes; then
18435 cat >>confdefs.h
<<_ACEOF
18436 #define HAVE_COSHF 1
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18445 $as_echo_n "checking for cosh... " >&6; }
18446 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18447 $as_echo_n "(cached) " >&6
18449 if test x
$gcc_no_link = xyes
; then
18450 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18453 /* end confdefs.h. */
18455 #ifdef HAVE_COMPLEX_H
18456 #include <complex.h>
18462 int (*ptr)() = (int (*)())cosh;
18471 if ac_fn_c_try_link
"$LINENO"; then :
18472 gcc_cv_math_func_cosh
=yes
18474 gcc_cv_math_func_cosh
=no
18476 rm -f core conftest.err conftest.
$ac_objext \
18477 conftest
$ac_exeext conftest.
$ac_ext
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18480 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18481 if test $gcc_cv_math_func_cosh = yes; then
18483 cat >>confdefs.h
<<_ACEOF
18484 #define HAVE_COSH 1
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18493 $as_echo_n "checking for coshl... " >&6; }
18494 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18495 $as_echo_n "(cached) " >&6
18497 if test x
$gcc_no_link = xyes
; then
18498 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18501 /* end confdefs.h. */
18503 #ifdef HAVE_COMPLEX_H
18504 #include <complex.h>
18510 int (*ptr)() = (int (*)())coshl;
18519 if ac_fn_c_try_link
"$LINENO"; then :
18520 gcc_cv_math_func_coshl
=yes
18522 gcc_cv_math_func_coshl
=no
18524 rm -f core conftest.err conftest.
$ac_objext \
18525 conftest
$ac_exeext conftest.
$ac_ext
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18528 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18529 if test $gcc_cv_math_func_coshl = yes; then
18531 cat >>confdefs.h
<<_ACEOF
18532 #define HAVE_COSHL 1
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18541 $as_echo_n "checking for ccoshf... " >&6; }
18542 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18543 $as_echo_n "(cached) " >&6
18545 if test x
$gcc_no_link = xyes
; then
18546 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18549 /* end confdefs.h. */
18551 #ifdef HAVE_COMPLEX_H
18552 #include <complex.h>
18558 int (*ptr)() = (int (*)())ccoshf;
18567 if ac_fn_c_try_link
"$LINENO"; then :
18568 gcc_cv_math_func_ccoshf
=yes
18570 gcc_cv_math_func_ccoshf
=no
18572 rm -f core conftest.err conftest.
$ac_objext \
18573 conftest
$ac_exeext conftest.
$ac_ext
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18576 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18577 if test $gcc_cv_math_func_ccoshf = yes; then
18579 cat >>confdefs.h
<<_ACEOF
18580 #define HAVE_CCOSHF 1
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18589 $as_echo_n "checking for ccosh... " >&6; }
18590 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18591 $as_echo_n "(cached) " >&6
18593 if test x
$gcc_no_link = xyes
; then
18594 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18599 #ifdef HAVE_COMPLEX_H
18600 #include <complex.h>
18606 int (*ptr)() = (int (*)())ccosh;
18615 if ac_fn_c_try_link
"$LINENO"; then :
18616 gcc_cv_math_func_ccosh
=yes
18618 gcc_cv_math_func_ccosh
=no
18620 rm -f core conftest.err conftest.
$ac_objext \
18621 conftest
$ac_exeext conftest.
$ac_ext
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18624 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18625 if test $gcc_cv_math_func_ccosh = yes; then
18627 cat >>confdefs.h
<<_ACEOF
18628 #define HAVE_CCOSH 1
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18637 $as_echo_n "checking for ccoshl... " >&6; }
18638 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18639 $as_echo_n "(cached) " >&6
18641 if test x
$gcc_no_link = xyes
; then
18642 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18647 #ifdef HAVE_COMPLEX_H
18648 #include <complex.h>
18654 int (*ptr)() = (int (*)())ccoshl;
18663 if ac_fn_c_try_link
"$LINENO"; then :
18664 gcc_cv_math_func_ccoshl
=yes
18666 gcc_cv_math_func_ccoshl
=no
18668 rm -f core conftest.err conftest.
$ac_objext \
18669 conftest
$ac_exeext conftest.
$ac_ext
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18672 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18673 if test $gcc_cv_math_func_ccoshl = yes; then
18675 cat >>confdefs.h
<<_ACEOF
18676 #define HAVE_CCOSHL 1
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18685 $as_echo_n "checking for expf... " >&6; }
18686 if test "${gcc_cv_math_func_expf+set}" = set; then :
18687 $as_echo_n "(cached) " >&6
18689 if test x
$gcc_no_link = xyes
; then
18690 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18695 #ifdef HAVE_COMPLEX_H
18696 #include <complex.h>
18702 int (*ptr)() = (int (*)())expf;
18711 if ac_fn_c_try_link
"$LINENO"; then :
18712 gcc_cv_math_func_expf
=yes
18714 gcc_cv_math_func_expf
=no
18716 rm -f core conftest.err conftest.
$ac_objext \
18717 conftest
$ac_exeext conftest.
$ac_ext
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18720 $as_echo "$gcc_cv_math_func_expf" >&6; }
18721 if test $gcc_cv_math_func_expf = yes; then
18723 cat >>confdefs.h
<<_ACEOF
18724 #define HAVE_EXPF 1
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18733 $as_echo_n "checking for exp... " >&6; }
18734 if test "${gcc_cv_math_func_exp+set}" = set; then :
18735 $as_echo_n "(cached) " >&6
18737 if test x
$gcc_no_link = xyes
; then
18738 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18741 /* end confdefs.h. */
18743 #ifdef HAVE_COMPLEX_H
18744 #include <complex.h>
18750 int (*ptr)() = (int (*)())exp;
18759 if ac_fn_c_try_link
"$LINENO"; then :
18760 gcc_cv_math_func_exp
=yes
18762 gcc_cv_math_func_exp
=no
18764 rm -f core conftest.err conftest.
$ac_objext \
18765 conftest
$ac_exeext conftest.
$ac_ext
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18768 $as_echo "$gcc_cv_math_func_exp" >&6; }
18769 if test $gcc_cv_math_func_exp = yes; then
18771 cat >>confdefs.h
<<_ACEOF
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18781 $as_echo_n "checking for expl... " >&6; }
18782 if test "${gcc_cv_math_func_expl+set}" = set; then :
18783 $as_echo_n "(cached) " >&6
18785 if test x
$gcc_no_link = xyes
; then
18786 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18789 /* end confdefs.h. */
18791 #ifdef HAVE_COMPLEX_H
18792 #include <complex.h>
18798 int (*ptr)() = (int (*)())expl;
18807 if ac_fn_c_try_link
"$LINENO"; then :
18808 gcc_cv_math_func_expl
=yes
18810 gcc_cv_math_func_expl
=no
18812 rm -f core conftest.err conftest.
$ac_objext \
18813 conftest
$ac_exeext conftest.
$ac_ext
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18816 $as_echo "$gcc_cv_math_func_expl" >&6; }
18817 if test $gcc_cv_math_func_expl = yes; then
18819 cat >>confdefs.h
<<_ACEOF
18820 #define HAVE_EXPL 1
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18829 $as_echo_n "checking for cexpf... " >&6; }
18830 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18831 $as_echo_n "(cached) " >&6
18833 if test x
$gcc_no_link = xyes
; then
18834 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18839 #ifdef HAVE_COMPLEX_H
18840 #include <complex.h>
18846 int (*ptr)() = (int (*)())cexpf;
18855 if ac_fn_c_try_link
"$LINENO"; then :
18856 gcc_cv_math_func_cexpf
=yes
18858 gcc_cv_math_func_cexpf
=no
18860 rm -f core conftest.err conftest.
$ac_objext \
18861 conftest
$ac_exeext conftest.
$ac_ext
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18864 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18865 if test $gcc_cv_math_func_cexpf = yes; then
18867 cat >>confdefs.h
<<_ACEOF
18868 #define HAVE_CEXPF 1
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18877 $as_echo_n "checking for cexp... " >&6; }
18878 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18879 $as_echo_n "(cached) " >&6
18881 if test x
$gcc_no_link = xyes
; then
18882 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18887 #ifdef HAVE_COMPLEX_H
18888 #include <complex.h>
18894 int (*ptr)() = (int (*)())cexp;
18903 if ac_fn_c_try_link
"$LINENO"; then :
18904 gcc_cv_math_func_cexp
=yes
18906 gcc_cv_math_func_cexp
=no
18908 rm -f core conftest.err conftest.
$ac_objext \
18909 conftest
$ac_exeext conftest.
$ac_ext
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18912 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18913 if test $gcc_cv_math_func_cexp = yes; then
18915 cat >>confdefs.h
<<_ACEOF
18916 #define HAVE_CEXP 1
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18925 $as_echo_n "checking for cexpl... " >&6; }
18926 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18927 $as_echo_n "(cached) " >&6
18929 if test x
$gcc_no_link = xyes
; then
18930 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18935 #ifdef HAVE_COMPLEX_H
18936 #include <complex.h>
18942 int (*ptr)() = (int (*)())cexpl;
18951 if ac_fn_c_try_link
"$LINENO"; then :
18952 gcc_cv_math_func_cexpl
=yes
18954 gcc_cv_math_func_cexpl
=no
18956 rm -f core conftest.err conftest.
$ac_objext \
18957 conftest
$ac_exeext conftest.
$ac_ext
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
18960 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
18961 if test $gcc_cv_math_func_cexpl = yes; then
18963 cat >>confdefs.h
<<_ACEOF
18964 #define HAVE_CEXPL 1
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
18973 $as_echo_n "checking for fabsf... " >&6; }
18974 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
18975 $as_echo_n "(cached) " >&6
18977 if test x
$gcc_no_link = xyes
; then
18978 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18981 /* end confdefs.h. */
18983 #ifdef HAVE_COMPLEX_H
18984 #include <complex.h>
18990 int (*ptr)() = (int (*)())fabsf;
18999 if ac_fn_c_try_link
"$LINENO"; then :
19000 gcc_cv_math_func_fabsf
=yes
19002 gcc_cv_math_func_fabsf
=no
19004 rm -f core conftest.err conftest.
$ac_objext \
19005 conftest
$ac_exeext conftest.
$ac_ext
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19008 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19009 if test $gcc_cv_math_func_fabsf = yes; then
19011 cat >>confdefs.h
<<_ACEOF
19012 #define HAVE_FABSF 1
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19021 $as_echo_n "checking for fabs... " >&6; }
19022 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19023 $as_echo_n "(cached) " >&6
19025 if test x
$gcc_no_link = xyes
; then
19026 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h. */
19031 #ifdef HAVE_COMPLEX_H
19032 #include <complex.h>
19038 int (*ptr)() = (int (*)())fabs;
19047 if ac_fn_c_try_link
"$LINENO"; then :
19048 gcc_cv_math_func_fabs
=yes
19050 gcc_cv_math_func_fabs
=no
19052 rm -f core conftest.err conftest.
$ac_objext \
19053 conftest
$ac_exeext conftest.
$ac_ext
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19056 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19057 if test $gcc_cv_math_func_fabs = yes; then
19059 cat >>confdefs.h
<<_ACEOF
19060 #define HAVE_FABS 1
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19069 $as_echo_n "checking for fabsl... " >&6; }
19070 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19071 $as_echo_n "(cached) " >&6
19073 if test x
$gcc_no_link = xyes
; then
19074 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19077 /* end confdefs.h. */
19079 #ifdef HAVE_COMPLEX_H
19080 #include <complex.h>
19086 int (*ptr)() = (int (*)())fabsl;
19095 if ac_fn_c_try_link
"$LINENO"; then :
19096 gcc_cv_math_func_fabsl
=yes
19098 gcc_cv_math_func_fabsl
=no
19100 rm -f core conftest.err conftest.
$ac_objext \
19101 conftest
$ac_exeext conftest.
$ac_ext
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19104 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19105 if test $gcc_cv_math_func_fabsl = yes; then
19107 cat >>confdefs.h
<<_ACEOF
19108 #define HAVE_FABSL 1
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19117 $as_echo_n "checking for cabsf... " >&6; }
19118 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19119 $as_echo_n "(cached) " >&6
19121 if test x
$gcc_no_link = xyes
; then
19122 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19127 #ifdef HAVE_COMPLEX_H
19128 #include <complex.h>
19134 int (*ptr)() = (int (*)())cabsf;
19143 if ac_fn_c_try_link
"$LINENO"; then :
19144 gcc_cv_math_func_cabsf
=yes
19146 gcc_cv_math_func_cabsf
=no
19148 rm -f core conftest.err conftest.
$ac_objext \
19149 conftest
$ac_exeext conftest.
$ac_ext
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19152 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19153 if test $gcc_cv_math_func_cabsf = yes; then
19155 cat >>confdefs.h
<<_ACEOF
19156 #define HAVE_CABSF 1
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19165 $as_echo_n "checking for cabs... " >&6; }
19166 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19167 $as_echo_n "(cached) " >&6
19169 if test x
$gcc_no_link = xyes
; then
19170 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19173 /* end confdefs.h. */
19175 #ifdef HAVE_COMPLEX_H
19176 #include <complex.h>
19182 int (*ptr)() = (int (*)())cabs;
19191 if ac_fn_c_try_link
"$LINENO"; then :
19192 gcc_cv_math_func_cabs
=yes
19194 gcc_cv_math_func_cabs
=no
19196 rm -f core conftest.err conftest.
$ac_objext \
19197 conftest
$ac_exeext conftest.
$ac_ext
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19200 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19201 if test $gcc_cv_math_func_cabs = yes; then
19203 cat >>confdefs.h
<<_ACEOF
19204 #define HAVE_CABS 1
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19213 $as_echo_n "checking for cabsl... " >&6; }
19214 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19215 $as_echo_n "(cached) " >&6
19217 if test x
$gcc_no_link = xyes
; then
19218 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h. */
19223 #ifdef HAVE_COMPLEX_H
19224 #include <complex.h>
19230 int (*ptr)() = (int (*)())cabsl;
19239 if ac_fn_c_try_link
"$LINENO"; then :
19240 gcc_cv_math_func_cabsl
=yes
19242 gcc_cv_math_func_cabsl
=no
19244 rm -f core conftest.err conftest.
$ac_objext \
19245 conftest
$ac_exeext conftest.
$ac_ext
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19248 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19249 if test $gcc_cv_math_func_cabsl = yes; then
19251 cat >>confdefs.h
<<_ACEOF
19252 #define HAVE_CABSL 1
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19261 $as_echo_n "checking for floorf... " >&6; }
19262 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19263 $as_echo_n "(cached) " >&6
19265 if test x
$gcc_no_link = xyes
; then
19266 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19269 /* end confdefs.h. */
19271 #ifdef HAVE_COMPLEX_H
19272 #include <complex.h>
19278 int (*ptr)() = (int (*)())floorf;
19287 if ac_fn_c_try_link
"$LINENO"; then :
19288 gcc_cv_math_func_floorf
=yes
19290 gcc_cv_math_func_floorf
=no
19292 rm -f core conftest.err conftest.
$ac_objext \
19293 conftest
$ac_exeext conftest.
$ac_ext
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19296 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19297 if test $gcc_cv_math_func_floorf = yes; then
19299 cat >>confdefs.h
<<_ACEOF
19300 #define HAVE_FLOORF 1
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19309 $as_echo_n "checking for floor... " >&6; }
19310 if test "${gcc_cv_math_func_floor+set}" = set; then :
19311 $as_echo_n "(cached) " >&6
19313 if test x
$gcc_no_link = xyes
; then
19314 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19317 /* end confdefs.h. */
19319 #ifdef HAVE_COMPLEX_H
19320 #include <complex.h>
19326 int (*ptr)() = (int (*)())floor;
19335 if ac_fn_c_try_link
"$LINENO"; then :
19336 gcc_cv_math_func_floor
=yes
19338 gcc_cv_math_func_floor
=no
19340 rm -f core conftest.err conftest.
$ac_objext \
19341 conftest
$ac_exeext conftest.
$ac_ext
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19344 $as_echo "$gcc_cv_math_func_floor" >&6; }
19345 if test $gcc_cv_math_func_floor = yes; then
19347 cat >>confdefs.h
<<_ACEOF
19348 #define HAVE_FLOOR 1
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19357 $as_echo_n "checking for floorl... " >&6; }
19358 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19359 $as_echo_n "(cached) " >&6
19361 if test x
$gcc_no_link = xyes
; then
19362 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19365 /* end confdefs.h. */
19367 #ifdef HAVE_COMPLEX_H
19368 #include <complex.h>
19374 int (*ptr)() = (int (*)())floorl;
19383 if ac_fn_c_try_link
"$LINENO"; then :
19384 gcc_cv_math_func_floorl
=yes
19386 gcc_cv_math_func_floorl
=no
19388 rm -f core conftest.err conftest.
$ac_objext \
19389 conftest
$ac_exeext conftest.
$ac_ext
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19392 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19393 if test $gcc_cv_math_func_floorl = yes; then
19395 cat >>confdefs.h
<<_ACEOF
19396 #define HAVE_FLOORL 1
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19405 $as_echo_n "checking for fmodf... " >&6; }
19406 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19407 $as_echo_n "(cached) " >&6
19409 if test x
$gcc_no_link = xyes
; then
19410 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19413 /* end confdefs.h. */
19415 #ifdef HAVE_COMPLEX_H
19416 #include <complex.h>
19422 int (*ptr)() = (int (*)())fmodf;
19431 if ac_fn_c_try_link
"$LINENO"; then :
19432 gcc_cv_math_func_fmodf
=yes
19434 gcc_cv_math_func_fmodf
=no
19436 rm -f core conftest.err conftest.
$ac_objext \
19437 conftest
$ac_exeext conftest.
$ac_ext
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19440 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19441 if test $gcc_cv_math_func_fmodf = yes; then
19443 cat >>confdefs.h
<<_ACEOF
19444 #define HAVE_FMODF 1
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19453 $as_echo_n "checking for fmod... " >&6; }
19454 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19455 $as_echo_n "(cached) " >&6
19457 if test x
$gcc_no_link = xyes
; then
19458 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19461 /* end confdefs.h. */
19463 #ifdef HAVE_COMPLEX_H
19464 #include <complex.h>
19470 int (*ptr)() = (int (*)())fmod;
19479 if ac_fn_c_try_link
"$LINENO"; then :
19480 gcc_cv_math_func_fmod
=yes
19482 gcc_cv_math_func_fmod
=no
19484 rm -f core conftest.err conftest.
$ac_objext \
19485 conftest
$ac_exeext conftest.
$ac_ext
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19488 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19489 if test $gcc_cv_math_func_fmod = yes; then
19491 cat >>confdefs.h
<<_ACEOF
19492 #define HAVE_FMOD 1
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19501 $as_echo_n "checking for fmodl... " >&6; }
19502 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19503 $as_echo_n "(cached) " >&6
19505 if test x
$gcc_no_link = xyes
; then
19506 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19511 #ifdef HAVE_COMPLEX_H
19512 #include <complex.h>
19518 int (*ptr)() = (int (*)())fmodl;
19527 if ac_fn_c_try_link
"$LINENO"; then :
19528 gcc_cv_math_func_fmodl
=yes
19530 gcc_cv_math_func_fmodl
=no
19532 rm -f core conftest.err conftest.
$ac_objext \
19533 conftest
$ac_exeext conftest.
$ac_ext
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19536 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19537 if test $gcc_cv_math_func_fmodl = yes; then
19539 cat >>confdefs.h
<<_ACEOF
19540 #define HAVE_FMODL 1
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19549 $as_echo_n "checking for frexpf... " >&6; }
19550 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19551 $as_echo_n "(cached) " >&6
19553 if test x
$gcc_no_link = xyes
; then
19554 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19559 #ifdef HAVE_COMPLEX_H
19560 #include <complex.h>
19566 int (*ptr)() = (int (*)())frexpf;
19575 if ac_fn_c_try_link
"$LINENO"; then :
19576 gcc_cv_math_func_frexpf
=yes
19578 gcc_cv_math_func_frexpf
=no
19580 rm -f core conftest.err conftest.
$ac_objext \
19581 conftest
$ac_exeext conftest.
$ac_ext
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19584 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19585 if test $gcc_cv_math_func_frexpf = yes; then
19587 cat >>confdefs.h
<<_ACEOF
19588 #define HAVE_FREXPF 1
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19597 $as_echo_n "checking for frexp... " >&6; }
19598 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19599 $as_echo_n "(cached) " >&6
19601 if test x
$gcc_no_link = xyes
; then
19602 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19605 /* end confdefs.h. */
19607 #ifdef HAVE_COMPLEX_H
19608 #include <complex.h>
19614 int (*ptr)() = (int (*)())frexp;
19623 if ac_fn_c_try_link
"$LINENO"; then :
19624 gcc_cv_math_func_frexp
=yes
19626 gcc_cv_math_func_frexp
=no
19628 rm -f core conftest.err conftest.
$ac_objext \
19629 conftest
$ac_exeext conftest.
$ac_ext
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19632 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19633 if test $gcc_cv_math_func_frexp = yes; then
19635 cat >>confdefs.h
<<_ACEOF
19636 #define HAVE_FREXP 1
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19645 $as_echo_n "checking for frexpl... " >&6; }
19646 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19647 $as_echo_n "(cached) " >&6
19649 if test x
$gcc_no_link = xyes
; then
19650 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19653 /* end confdefs.h. */
19655 #ifdef HAVE_COMPLEX_H
19656 #include <complex.h>
19662 int (*ptr)() = (int (*)())frexpl;
19671 if ac_fn_c_try_link
"$LINENO"; then :
19672 gcc_cv_math_func_frexpl
=yes
19674 gcc_cv_math_func_frexpl
=no
19676 rm -f core conftest.err conftest.
$ac_objext \
19677 conftest
$ac_exeext conftest.
$ac_ext
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19680 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19681 if test $gcc_cv_math_func_frexpl = yes; then
19683 cat >>confdefs.h
<<_ACEOF
19684 #define HAVE_FREXPL 1
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19693 $as_echo_n "checking for hypotf... " >&6; }
19694 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19695 $as_echo_n "(cached) " >&6
19697 if test x
$gcc_no_link = xyes
; then
19698 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19701 /* end confdefs.h. */
19703 #ifdef HAVE_COMPLEX_H
19704 #include <complex.h>
19710 int (*ptr)() = (int (*)())hypotf;
19719 if ac_fn_c_try_link
"$LINENO"; then :
19720 gcc_cv_math_func_hypotf
=yes
19722 gcc_cv_math_func_hypotf
=no
19724 rm -f core conftest.err conftest.
$ac_objext \
19725 conftest
$ac_exeext conftest.
$ac_ext
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19728 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19729 if test $gcc_cv_math_func_hypotf = yes; then
19731 cat >>confdefs.h
<<_ACEOF
19732 #define HAVE_HYPOTF 1
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19741 $as_echo_n "checking for hypot... " >&6; }
19742 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19743 $as_echo_n "(cached) " >&6
19745 if test x
$gcc_no_link = xyes
; then
19746 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19749 /* end confdefs.h. */
19751 #ifdef HAVE_COMPLEX_H
19752 #include <complex.h>
19758 int (*ptr)() = (int (*)())hypot;
19767 if ac_fn_c_try_link
"$LINENO"; then :
19768 gcc_cv_math_func_hypot
=yes
19770 gcc_cv_math_func_hypot
=no
19772 rm -f core conftest.err conftest.
$ac_objext \
19773 conftest
$ac_exeext conftest.
$ac_ext
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19776 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19777 if test $gcc_cv_math_func_hypot = yes; then
19779 cat >>confdefs.h
<<_ACEOF
19780 #define HAVE_HYPOT 1
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19789 $as_echo_n "checking for hypotl... " >&6; }
19790 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19791 $as_echo_n "(cached) " >&6
19793 if test x
$gcc_no_link = xyes
; then
19794 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19797 /* end confdefs.h. */
19799 #ifdef HAVE_COMPLEX_H
19800 #include <complex.h>
19806 int (*ptr)() = (int (*)())hypotl;
19815 if ac_fn_c_try_link
"$LINENO"; then :
19816 gcc_cv_math_func_hypotl
=yes
19818 gcc_cv_math_func_hypotl
=no
19820 rm -f core conftest.err conftest.
$ac_objext \
19821 conftest
$ac_exeext conftest.
$ac_ext
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19824 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19825 if test $gcc_cv_math_func_hypotl = yes; then
19827 cat >>confdefs.h
<<_ACEOF
19828 #define HAVE_HYPOTL 1
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19837 $as_echo_n "checking for ldexpf... " >&6; }
19838 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19839 $as_echo_n "(cached) " >&6
19841 if test x
$gcc_no_link = xyes
; then
19842 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19845 /* end confdefs.h. */
19847 #ifdef HAVE_COMPLEX_H
19848 #include <complex.h>
19854 int (*ptr)() = (int (*)())ldexpf;
19863 if ac_fn_c_try_link
"$LINENO"; then :
19864 gcc_cv_math_func_ldexpf
=yes
19866 gcc_cv_math_func_ldexpf
=no
19868 rm -f core conftest.err conftest.
$ac_objext \
19869 conftest
$ac_exeext conftest.
$ac_ext
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19872 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19873 if test $gcc_cv_math_func_ldexpf = yes; then
19875 cat >>confdefs.h
<<_ACEOF
19876 #define HAVE_LDEXPF 1
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19885 $as_echo_n "checking for ldexp... " >&6; }
19886 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19887 $as_echo_n "(cached) " >&6
19889 if test x
$gcc_no_link = xyes
; then
19890 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19895 #ifdef HAVE_COMPLEX_H
19896 #include <complex.h>
19902 int (*ptr)() = (int (*)())ldexp;
19911 if ac_fn_c_try_link
"$LINENO"; then :
19912 gcc_cv_math_func_ldexp
=yes
19914 gcc_cv_math_func_ldexp
=no
19916 rm -f core conftest.err conftest.
$ac_objext \
19917 conftest
$ac_exeext conftest.
$ac_ext
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19920 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19921 if test $gcc_cv_math_func_ldexp = yes; then
19923 cat >>confdefs.h
<<_ACEOF
19924 #define HAVE_LDEXP 1
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19933 $as_echo_n "checking for ldexpl... " >&6; }
19934 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19935 $as_echo_n "(cached) " >&6
19937 if test x
$gcc_no_link = xyes
; then
19938 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19941 /* end confdefs.h. */
19943 #ifdef HAVE_COMPLEX_H
19944 #include <complex.h>
19950 int (*ptr)() = (int (*)())ldexpl;
19959 if ac_fn_c_try_link
"$LINENO"; then :
19960 gcc_cv_math_func_ldexpl
=yes
19962 gcc_cv_math_func_ldexpl
=no
19964 rm -f core conftest.err conftest.
$ac_objext \
19965 conftest
$ac_exeext conftest.
$ac_ext
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
19968 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
19969 if test $gcc_cv_math_func_ldexpl = yes; then
19971 cat >>confdefs.h
<<_ACEOF
19972 #define HAVE_LDEXPL 1
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
19981 $as_echo_n "checking for logf... " >&6; }
19982 if test "${gcc_cv_math_func_logf+set}" = set; then :
19983 $as_echo_n "(cached) " >&6
19985 if test x
$gcc_no_link = xyes
; then
19986 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19989 /* end confdefs.h. */
19991 #ifdef HAVE_COMPLEX_H
19992 #include <complex.h>
19998 int (*ptr)() = (int (*)())logf;
20007 if ac_fn_c_try_link
"$LINENO"; then :
20008 gcc_cv_math_func_logf
=yes
20010 gcc_cv_math_func_logf
=no
20012 rm -f core conftest.err conftest.
$ac_objext \
20013 conftest
$ac_exeext conftest.
$ac_ext
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20016 $as_echo "$gcc_cv_math_func_logf" >&6; }
20017 if test $gcc_cv_math_func_logf = yes; then
20019 cat >>confdefs.h
<<_ACEOF
20020 #define HAVE_LOGF 1
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20029 $as_echo_n "checking for log... " >&6; }
20030 if test "${gcc_cv_math_func_log+set}" = set; then :
20031 $as_echo_n "(cached) " >&6
20033 if test x
$gcc_no_link = xyes
; then
20034 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20037 /* end confdefs.h. */
20039 #ifdef HAVE_COMPLEX_H
20040 #include <complex.h>
20046 int (*ptr)() = (int (*)())log;
20055 if ac_fn_c_try_link
"$LINENO"; then :
20056 gcc_cv_math_func_log
=yes
20058 gcc_cv_math_func_log
=no
20060 rm -f core conftest.err conftest.
$ac_objext \
20061 conftest
$ac_exeext conftest.
$ac_ext
20063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20064 $as_echo "$gcc_cv_math_func_log" >&6; }
20065 if test $gcc_cv_math_func_log = yes; then
20067 cat >>confdefs.h
<<_ACEOF
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20077 $as_echo_n "checking for logl... " >&6; }
20078 if test "${gcc_cv_math_func_logl+set}" = set; then :
20079 $as_echo_n "(cached) " >&6
20081 if test x
$gcc_no_link = xyes
; then
20082 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20085 /* end confdefs.h. */
20087 #ifdef HAVE_COMPLEX_H
20088 #include <complex.h>
20094 int (*ptr)() = (int (*)())logl;
20103 if ac_fn_c_try_link
"$LINENO"; then :
20104 gcc_cv_math_func_logl
=yes
20106 gcc_cv_math_func_logl
=no
20108 rm -f core conftest.err conftest.
$ac_objext \
20109 conftest
$ac_exeext conftest.
$ac_ext
20111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20112 $as_echo "$gcc_cv_math_func_logl" >&6; }
20113 if test $gcc_cv_math_func_logl = yes; then
20115 cat >>confdefs.h
<<_ACEOF
20116 #define HAVE_LOGL 1
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20125 $as_echo_n "checking for clogf... " >&6; }
20126 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20127 $as_echo_n "(cached) " >&6
20129 if test x
$gcc_no_link = xyes
; then
20130 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20133 /* end confdefs.h. */
20135 #ifdef HAVE_COMPLEX_H
20136 #include <complex.h>
20142 int (*ptr)() = (int (*)())clogf;
20151 if ac_fn_c_try_link
"$LINENO"; then :
20152 gcc_cv_math_func_clogf
=yes
20154 gcc_cv_math_func_clogf
=no
20156 rm -f core conftest.err conftest.
$ac_objext \
20157 conftest
$ac_exeext conftest.
$ac_ext
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20160 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20161 if test $gcc_cv_math_func_clogf = yes; then
20163 cat >>confdefs.h
<<_ACEOF
20164 #define HAVE_CLOGF 1
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20173 $as_echo_n "checking for clog... " >&6; }
20174 if test "${gcc_cv_math_func_clog+set}" = set; then :
20175 $as_echo_n "(cached) " >&6
20177 if test x
$gcc_no_link = xyes
; then
20178 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20183 #ifdef HAVE_COMPLEX_H
20184 #include <complex.h>
20190 int (*ptr)() = (int (*)())clog;
20199 if ac_fn_c_try_link
"$LINENO"; then :
20200 gcc_cv_math_func_clog
=yes
20202 gcc_cv_math_func_clog
=no
20204 rm -f core conftest.err conftest.
$ac_objext \
20205 conftest
$ac_exeext conftest.
$ac_ext
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20208 $as_echo "$gcc_cv_math_func_clog" >&6; }
20209 if test $gcc_cv_math_func_clog = yes; then
20211 cat >>confdefs.h
<<_ACEOF
20212 #define HAVE_CLOG 1
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20221 $as_echo_n "checking for clogl... " >&6; }
20222 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20223 $as_echo_n "(cached) " >&6
20225 if test x
$gcc_no_link = xyes
; then
20226 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20229 /* end confdefs.h. */
20231 #ifdef HAVE_COMPLEX_H
20232 #include <complex.h>
20238 int (*ptr)() = (int (*)())clogl;
20247 if ac_fn_c_try_link
"$LINENO"; then :
20248 gcc_cv_math_func_clogl
=yes
20250 gcc_cv_math_func_clogl
=no
20252 rm -f core conftest.err conftest.
$ac_objext \
20253 conftest
$ac_exeext conftest.
$ac_ext
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20256 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20257 if test $gcc_cv_math_func_clogl = yes; then
20259 cat >>confdefs.h
<<_ACEOF
20260 #define HAVE_CLOGL 1
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20269 $as_echo_n "checking for log10f... " >&6; }
20270 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20271 $as_echo_n "(cached) " >&6
20273 if test x
$gcc_no_link = xyes
; then
20274 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20277 /* end confdefs.h. */
20279 #ifdef HAVE_COMPLEX_H
20280 #include <complex.h>
20286 int (*ptr)() = (int (*)())log10f;
20295 if ac_fn_c_try_link
"$LINENO"; then :
20296 gcc_cv_math_func_log10f
=yes
20298 gcc_cv_math_func_log10f
=no
20300 rm -f core conftest.err conftest.
$ac_objext \
20301 conftest
$ac_exeext conftest.
$ac_ext
20303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20304 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20305 if test $gcc_cv_math_func_log10f = yes; then
20307 cat >>confdefs.h
<<_ACEOF
20308 #define HAVE_LOG10F 1
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20317 $as_echo_n "checking for log10... " >&6; }
20318 if test "${gcc_cv_math_func_log10+set}" = set; then :
20319 $as_echo_n "(cached) " >&6
20321 if test x
$gcc_no_link = xyes
; then
20322 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20325 /* end confdefs.h. */
20327 #ifdef HAVE_COMPLEX_H
20328 #include <complex.h>
20334 int (*ptr)() = (int (*)())log10;
20343 if ac_fn_c_try_link
"$LINENO"; then :
20344 gcc_cv_math_func_log10
=yes
20346 gcc_cv_math_func_log10
=no
20348 rm -f core conftest.err conftest.
$ac_objext \
20349 conftest
$ac_exeext conftest.
$ac_ext
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20352 $as_echo "$gcc_cv_math_func_log10" >&6; }
20353 if test $gcc_cv_math_func_log10 = yes; then
20355 cat >>confdefs.h
<<_ACEOF
20356 #define HAVE_LOG10 1
20364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20365 $as_echo_n "checking for log10l... " >&6; }
20366 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20367 $as_echo_n "(cached) " >&6
20369 if test x
$gcc_no_link = xyes
; then
20370 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20373 /* end confdefs.h. */
20375 #ifdef HAVE_COMPLEX_H
20376 #include <complex.h>
20382 int (*ptr)() = (int (*)())log10l;
20391 if ac_fn_c_try_link
"$LINENO"; then :
20392 gcc_cv_math_func_log10l
=yes
20394 gcc_cv_math_func_log10l
=no
20396 rm -f core conftest.err conftest.
$ac_objext \
20397 conftest
$ac_exeext conftest.
$ac_ext
20399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20400 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20401 if test $gcc_cv_math_func_log10l = yes; then
20403 cat >>confdefs.h
<<_ACEOF
20404 #define HAVE_LOG10L 1
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20413 $as_echo_n "checking for clog10f... " >&6; }
20414 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20415 $as_echo_n "(cached) " >&6
20417 if test x
$gcc_no_link = xyes
; then
20418 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20421 /* end confdefs.h. */
20423 #ifdef HAVE_COMPLEX_H
20424 #include <complex.h>
20430 int (*ptr)() = (int (*)())clog10f;
20439 if ac_fn_c_try_link
"$LINENO"; then :
20440 gcc_cv_math_func_clog10f
=yes
20442 gcc_cv_math_func_clog10f
=no
20444 rm -f core conftest.err conftest.
$ac_objext \
20445 conftest
$ac_exeext conftest.
$ac_ext
20447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20448 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20449 if test $gcc_cv_math_func_clog10f = yes; then
20451 cat >>confdefs.h
<<_ACEOF
20452 #define HAVE_CLOG10F 1
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20461 $as_echo_n "checking for clog10... " >&6; }
20462 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20463 $as_echo_n "(cached) " >&6
20465 if test x
$gcc_no_link = xyes
; then
20466 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20469 /* end confdefs.h. */
20471 #ifdef HAVE_COMPLEX_H
20472 #include <complex.h>
20478 int (*ptr)() = (int (*)())clog10;
20487 if ac_fn_c_try_link
"$LINENO"; then :
20488 gcc_cv_math_func_clog10
=yes
20490 gcc_cv_math_func_clog10
=no
20492 rm -f core conftest.err conftest.
$ac_objext \
20493 conftest
$ac_exeext conftest.
$ac_ext
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20496 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20497 if test $gcc_cv_math_func_clog10 = yes; then
20499 cat >>confdefs.h
<<_ACEOF
20500 #define HAVE_CLOG10 1
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20509 $as_echo_n "checking for clog10l... " >&6; }
20510 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20511 $as_echo_n "(cached) " >&6
20513 if test x
$gcc_no_link = xyes
; then
20514 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20517 /* end confdefs.h. */
20519 #ifdef HAVE_COMPLEX_H
20520 #include <complex.h>
20526 int (*ptr)() = (int (*)())clog10l;
20535 if ac_fn_c_try_link
"$LINENO"; then :
20536 gcc_cv_math_func_clog10l
=yes
20538 gcc_cv_math_func_clog10l
=no
20540 rm -f core conftest.err conftest.
$ac_objext \
20541 conftest
$ac_exeext conftest.
$ac_ext
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20544 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20545 if test $gcc_cv_math_func_clog10l = yes; then
20547 cat >>confdefs.h
<<_ACEOF
20548 #define HAVE_CLOG10L 1
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20557 $as_echo_n "checking for nextafterf... " >&6; }
20558 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20559 $as_echo_n "(cached) " >&6
20561 if test x
$gcc_no_link = xyes
; then
20562 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20565 /* end confdefs.h. */
20567 #ifdef HAVE_COMPLEX_H
20568 #include <complex.h>
20574 int (*ptr)() = (int (*)())nextafterf;
20583 if ac_fn_c_try_link
"$LINENO"; then :
20584 gcc_cv_math_func_nextafterf
=yes
20586 gcc_cv_math_func_nextafterf
=no
20588 rm -f core conftest.err conftest.
$ac_objext \
20589 conftest
$ac_exeext conftest.
$ac_ext
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20592 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20593 if test $gcc_cv_math_func_nextafterf = yes; then
20595 cat >>confdefs.h
<<_ACEOF
20596 #define HAVE_NEXTAFTERF 1
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20605 $as_echo_n "checking for nextafter... " >&6; }
20606 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20607 $as_echo_n "(cached) " >&6
20609 if test x
$gcc_no_link = xyes
; then
20610 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20613 /* end confdefs.h. */
20615 #ifdef HAVE_COMPLEX_H
20616 #include <complex.h>
20622 int (*ptr)() = (int (*)())nextafter;
20631 if ac_fn_c_try_link
"$LINENO"; then :
20632 gcc_cv_math_func_nextafter
=yes
20634 gcc_cv_math_func_nextafter
=no
20636 rm -f core conftest.err conftest.
$ac_objext \
20637 conftest
$ac_exeext conftest.
$ac_ext
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20640 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20641 if test $gcc_cv_math_func_nextafter = yes; then
20643 cat >>confdefs.h
<<_ACEOF
20644 #define HAVE_NEXTAFTER 1
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20653 $as_echo_n "checking for nextafterl... " >&6; }
20654 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20655 $as_echo_n "(cached) " >&6
20657 if test x
$gcc_no_link = xyes
; then
20658 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20663 #ifdef HAVE_COMPLEX_H
20664 #include <complex.h>
20670 int (*ptr)() = (int (*)())nextafterl;
20679 if ac_fn_c_try_link
"$LINENO"; then :
20680 gcc_cv_math_func_nextafterl
=yes
20682 gcc_cv_math_func_nextafterl
=no
20684 rm -f core conftest.err conftest.
$ac_objext \
20685 conftest
$ac_exeext conftest.
$ac_ext
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20688 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20689 if test $gcc_cv_math_func_nextafterl = yes; then
20691 cat >>confdefs.h
<<_ACEOF
20692 #define HAVE_NEXTAFTERL 1
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20701 $as_echo_n "checking for powf... " >&6; }
20702 if test "${gcc_cv_math_func_powf+set}" = set; then :
20703 $as_echo_n "(cached) " >&6
20705 if test x
$gcc_no_link = xyes
; then
20706 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20709 /* end confdefs.h. */
20711 #ifdef HAVE_COMPLEX_H
20712 #include <complex.h>
20718 int (*ptr)() = (int (*)())powf;
20727 if ac_fn_c_try_link
"$LINENO"; then :
20728 gcc_cv_math_func_powf
=yes
20730 gcc_cv_math_func_powf
=no
20732 rm -f core conftest.err conftest.
$ac_objext \
20733 conftest
$ac_exeext conftest.
$ac_ext
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20736 $as_echo "$gcc_cv_math_func_powf" >&6; }
20737 if test $gcc_cv_math_func_powf = yes; then
20739 cat >>confdefs.h
<<_ACEOF
20740 #define HAVE_POWF 1
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20749 $as_echo_n "checking for pow... " >&6; }
20750 if test "${gcc_cv_math_func_pow+set}" = set; then :
20751 $as_echo_n "(cached) " >&6
20753 if test x
$gcc_no_link = xyes
; then
20754 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20757 /* end confdefs.h. */
20759 #ifdef HAVE_COMPLEX_H
20760 #include <complex.h>
20766 int (*ptr)() = (int (*)())pow;
20775 if ac_fn_c_try_link
"$LINENO"; then :
20776 gcc_cv_math_func_pow
=yes
20778 gcc_cv_math_func_pow
=no
20780 rm -f core conftest.err conftest.
$ac_objext \
20781 conftest
$ac_exeext conftest.
$ac_ext
20783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20784 $as_echo "$gcc_cv_math_func_pow" >&6; }
20785 if test $gcc_cv_math_func_pow = yes; then
20787 cat >>confdefs.h
<<_ACEOF
20796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20797 $as_echo_n "checking for powl... " >&6; }
20798 if test "${gcc_cv_math_func_powl+set}" = set; then :
20799 $as_echo_n "(cached) " >&6
20801 if test x
$gcc_no_link = xyes
; then
20802 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h. */
20807 #ifdef HAVE_COMPLEX_H
20808 #include <complex.h>
20814 int (*ptr)() = (int (*)())powl;
20823 if ac_fn_c_try_link
"$LINENO"; then :
20824 gcc_cv_math_func_powl
=yes
20826 gcc_cv_math_func_powl
=no
20828 rm -f core conftest.err conftest.
$ac_objext \
20829 conftest
$ac_exeext conftest.
$ac_ext
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20832 $as_echo "$gcc_cv_math_func_powl" >&6; }
20833 if test $gcc_cv_math_func_powl = yes; then
20835 cat >>confdefs.h
<<_ACEOF
20836 #define HAVE_POWL 1
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20845 $as_echo_n "checking for cpowf... " >&6; }
20846 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20847 $as_echo_n "(cached) " >&6
20849 if test x
$gcc_no_link = xyes
; then
20850 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20853 /* end confdefs.h. */
20855 #ifdef HAVE_COMPLEX_H
20856 #include <complex.h>
20862 int (*ptr)() = (int (*)())cpowf;
20871 if ac_fn_c_try_link
"$LINENO"; then :
20872 gcc_cv_math_func_cpowf
=yes
20874 gcc_cv_math_func_cpowf
=no
20876 rm -f core conftest.err conftest.
$ac_objext \
20877 conftest
$ac_exeext conftest.
$ac_ext
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20880 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20881 if test $gcc_cv_math_func_cpowf = yes; then
20883 cat >>confdefs.h
<<_ACEOF
20884 #define HAVE_CPOWF 1
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20893 $as_echo_n "checking for cpow... " >&6; }
20894 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20895 $as_echo_n "(cached) " >&6
20897 if test x
$gcc_no_link = xyes
; then
20898 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20901 /* end confdefs.h. */
20903 #ifdef HAVE_COMPLEX_H
20904 #include <complex.h>
20910 int (*ptr)() = (int (*)())cpow;
20919 if ac_fn_c_try_link
"$LINENO"; then :
20920 gcc_cv_math_func_cpow
=yes
20922 gcc_cv_math_func_cpow
=no
20924 rm -f core conftest.err conftest.
$ac_objext \
20925 conftest
$ac_exeext conftest.
$ac_ext
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20928 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20929 if test $gcc_cv_math_func_cpow = yes; then
20931 cat >>confdefs.h
<<_ACEOF
20932 #define HAVE_CPOW 1
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20941 $as_echo_n "checking for cpowl... " >&6; }
20942 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20943 $as_echo_n "(cached) " >&6
20945 if test x
$gcc_no_link = xyes
; then
20946 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20949 /* end confdefs.h. */
20951 #ifdef HAVE_COMPLEX_H
20952 #include <complex.h>
20958 int (*ptr)() = (int (*)())cpowl;
20967 if ac_fn_c_try_link
"$LINENO"; then :
20968 gcc_cv_math_func_cpowl
=yes
20970 gcc_cv_math_func_cpowl
=no
20972 rm -f core conftest.err conftest.
$ac_objext \
20973 conftest
$ac_exeext conftest.
$ac_ext
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
20976 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
20977 if test $gcc_cv_math_func_cpowl = yes; then
20979 cat >>confdefs.h
<<_ACEOF
20980 #define HAVE_CPOWL 1
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
20989 $as_echo_n "checking for roundf... " >&6; }
20990 if test "${gcc_cv_math_func_roundf+set}" = set; then :
20991 $as_echo_n "(cached) " >&6
20993 if test x
$gcc_no_link = xyes
; then
20994 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20997 /* end confdefs.h. */
20999 #ifdef HAVE_COMPLEX_H
21000 #include <complex.h>
21006 int (*ptr)() = (int (*)())roundf;
21015 if ac_fn_c_try_link
"$LINENO"; then :
21016 gcc_cv_math_func_roundf
=yes
21018 gcc_cv_math_func_roundf
=no
21020 rm -f core conftest.err conftest.
$ac_objext \
21021 conftest
$ac_exeext conftest.
$ac_ext
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21024 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21025 if test $gcc_cv_math_func_roundf = yes; then
21027 cat >>confdefs.h
<<_ACEOF
21028 #define HAVE_ROUNDF 1
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21037 $as_echo_n "checking for round... " >&6; }
21038 if test "${gcc_cv_math_func_round+set}" = set; then :
21039 $as_echo_n "(cached) " >&6
21041 if test x
$gcc_no_link = xyes
; then
21042 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21047 #ifdef HAVE_COMPLEX_H
21048 #include <complex.h>
21054 int (*ptr)() = (int (*)())round;
21063 if ac_fn_c_try_link
"$LINENO"; then :
21064 gcc_cv_math_func_round
=yes
21066 gcc_cv_math_func_round
=no
21068 rm -f core conftest.err conftest.
$ac_objext \
21069 conftest
$ac_exeext conftest.
$ac_ext
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21072 $as_echo "$gcc_cv_math_func_round" >&6; }
21073 if test $gcc_cv_math_func_round = yes; then
21075 cat >>confdefs.h
<<_ACEOF
21076 #define HAVE_ROUND 1
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21085 $as_echo_n "checking for roundl... " >&6; }
21086 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21087 $as_echo_n "(cached) " >&6
21089 if test x
$gcc_no_link = xyes
; then
21090 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21093 /* end confdefs.h. */
21095 #ifdef HAVE_COMPLEX_H
21096 #include <complex.h>
21102 int (*ptr)() = (int (*)())roundl;
21111 if ac_fn_c_try_link
"$LINENO"; then :
21112 gcc_cv_math_func_roundl
=yes
21114 gcc_cv_math_func_roundl
=no
21116 rm -f core conftest.err conftest.
$ac_objext \
21117 conftest
$ac_exeext conftest.
$ac_ext
21119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21120 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21121 if test $gcc_cv_math_func_roundl = yes; then
21123 cat >>confdefs.h
<<_ACEOF
21124 #define HAVE_ROUNDL 1
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21133 $as_echo_n "checking for lroundf... " >&6; }
21134 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21135 $as_echo_n "(cached) " >&6
21137 if test x
$gcc_no_link = xyes
; then
21138 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21141 /* end confdefs.h. */
21143 #ifdef HAVE_COMPLEX_H
21144 #include <complex.h>
21150 int (*ptr)() = (int (*)())lroundf;
21159 if ac_fn_c_try_link
"$LINENO"; then :
21160 gcc_cv_math_func_lroundf
=yes
21162 gcc_cv_math_func_lroundf
=no
21164 rm -f core conftest.err conftest.
$ac_objext \
21165 conftest
$ac_exeext conftest.
$ac_ext
21167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21168 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21169 if test $gcc_cv_math_func_lroundf = yes; then
21171 cat >>confdefs.h
<<_ACEOF
21172 #define HAVE_LROUNDF 1
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21181 $as_echo_n "checking for lround... " >&6; }
21182 if test "${gcc_cv_math_func_lround+set}" = set; then :
21183 $as_echo_n "(cached) " >&6
21185 if test x
$gcc_no_link = xyes
; then
21186 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21189 /* end confdefs.h. */
21191 #ifdef HAVE_COMPLEX_H
21192 #include <complex.h>
21198 int (*ptr)() = (int (*)())lround;
21207 if ac_fn_c_try_link
"$LINENO"; then :
21208 gcc_cv_math_func_lround
=yes
21210 gcc_cv_math_func_lround
=no
21212 rm -f core conftest.err conftest.
$ac_objext \
21213 conftest
$ac_exeext conftest.
$ac_ext
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21216 $as_echo "$gcc_cv_math_func_lround" >&6; }
21217 if test $gcc_cv_math_func_lround = yes; then
21219 cat >>confdefs.h
<<_ACEOF
21220 #define HAVE_LROUND 1
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21229 $as_echo_n "checking for lroundl... " >&6; }
21230 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21231 $as_echo_n "(cached) " >&6
21233 if test x
$gcc_no_link = xyes
; then
21234 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21237 /* end confdefs.h. */
21239 #ifdef HAVE_COMPLEX_H
21240 #include <complex.h>
21246 int (*ptr)() = (int (*)())lroundl;
21255 if ac_fn_c_try_link
"$LINENO"; then :
21256 gcc_cv_math_func_lroundl
=yes
21258 gcc_cv_math_func_lroundl
=no
21260 rm -f core conftest.err conftest.
$ac_objext \
21261 conftest
$ac_exeext conftest.
$ac_ext
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21264 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21265 if test $gcc_cv_math_func_lroundl = yes; then
21267 cat >>confdefs.h
<<_ACEOF
21268 #define HAVE_LROUNDL 1
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21277 $as_echo_n "checking for llroundf... " >&6; }
21278 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21279 $as_echo_n "(cached) " >&6
21281 if test x
$gcc_no_link = xyes
; then
21282 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21285 /* end confdefs.h. */
21287 #ifdef HAVE_COMPLEX_H
21288 #include <complex.h>
21294 int (*ptr)() = (int (*)())llroundf;
21303 if ac_fn_c_try_link
"$LINENO"; then :
21304 gcc_cv_math_func_llroundf
=yes
21306 gcc_cv_math_func_llroundf
=no
21308 rm -f core conftest.err conftest.
$ac_objext \
21309 conftest
$ac_exeext conftest.
$ac_ext
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21312 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21313 if test $gcc_cv_math_func_llroundf = yes; then
21315 cat >>confdefs.h
<<_ACEOF
21316 #define HAVE_LLROUNDF 1
21324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21325 $as_echo_n "checking for llround... " >&6; }
21326 if test "${gcc_cv_math_func_llround+set}" = set; then :
21327 $as_echo_n "(cached) " >&6
21329 if test x
$gcc_no_link = xyes
; then
21330 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21333 /* end confdefs.h. */
21335 #ifdef HAVE_COMPLEX_H
21336 #include <complex.h>
21342 int (*ptr)() = (int (*)())llround;
21351 if ac_fn_c_try_link
"$LINENO"; then :
21352 gcc_cv_math_func_llround
=yes
21354 gcc_cv_math_func_llround
=no
21356 rm -f core conftest.err conftest.
$ac_objext \
21357 conftest
$ac_exeext conftest.
$ac_ext
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21360 $as_echo "$gcc_cv_math_func_llround" >&6; }
21361 if test $gcc_cv_math_func_llround = yes; then
21363 cat >>confdefs.h
<<_ACEOF
21364 #define HAVE_LLROUND 1
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21373 $as_echo_n "checking for llroundl... " >&6; }
21374 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21375 $as_echo_n "(cached) " >&6
21377 if test x
$gcc_no_link = xyes
; then
21378 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21381 /* end confdefs.h. */
21383 #ifdef HAVE_COMPLEX_H
21384 #include <complex.h>
21390 int (*ptr)() = (int (*)())llroundl;
21399 if ac_fn_c_try_link
"$LINENO"; then :
21400 gcc_cv_math_func_llroundl
=yes
21402 gcc_cv_math_func_llroundl
=no
21404 rm -f core conftest.err conftest.
$ac_objext \
21405 conftest
$ac_exeext conftest.
$ac_ext
21407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21408 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21409 if test $gcc_cv_math_func_llroundl = yes; then
21411 cat >>confdefs.h
<<_ACEOF
21412 #define HAVE_LLROUNDL 1
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21421 $as_echo_n "checking for scalbnf... " >&6; }
21422 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21423 $as_echo_n "(cached) " >&6
21425 if test x
$gcc_no_link = xyes
; then
21426 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21429 /* end confdefs.h. */
21431 #ifdef HAVE_COMPLEX_H
21432 #include <complex.h>
21438 int (*ptr)() = (int (*)())scalbnf;
21447 if ac_fn_c_try_link
"$LINENO"; then :
21448 gcc_cv_math_func_scalbnf
=yes
21450 gcc_cv_math_func_scalbnf
=no
21452 rm -f core conftest.err conftest.
$ac_objext \
21453 conftest
$ac_exeext conftest.
$ac_ext
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21456 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21457 if test $gcc_cv_math_func_scalbnf = yes; then
21459 cat >>confdefs.h
<<_ACEOF
21460 #define HAVE_SCALBNF 1
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21469 $as_echo_n "checking for scalbn... " >&6; }
21470 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21471 $as_echo_n "(cached) " >&6
21473 if test x
$gcc_no_link = xyes
; then
21474 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21477 /* end confdefs.h. */
21479 #ifdef HAVE_COMPLEX_H
21480 #include <complex.h>
21486 int (*ptr)() = (int (*)())scalbn;
21495 if ac_fn_c_try_link
"$LINENO"; then :
21496 gcc_cv_math_func_scalbn
=yes
21498 gcc_cv_math_func_scalbn
=no
21500 rm -f core conftest.err conftest.
$ac_objext \
21501 conftest
$ac_exeext conftest.
$ac_ext
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21504 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21505 if test $gcc_cv_math_func_scalbn = yes; then
21507 cat >>confdefs.h
<<_ACEOF
21508 #define HAVE_SCALBN 1
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21517 $as_echo_n "checking for scalbnl... " >&6; }
21518 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21519 $as_echo_n "(cached) " >&6
21521 if test x
$gcc_no_link = xyes
; then
21522 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21525 /* end confdefs.h. */
21527 #ifdef HAVE_COMPLEX_H
21528 #include <complex.h>
21534 int (*ptr)() = (int (*)())scalbnl;
21543 if ac_fn_c_try_link
"$LINENO"; then :
21544 gcc_cv_math_func_scalbnl
=yes
21546 gcc_cv_math_func_scalbnl
=no
21548 rm -f core conftest.err conftest.
$ac_objext \
21549 conftest
$ac_exeext conftest.
$ac_ext
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21552 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21553 if test $gcc_cv_math_func_scalbnl = yes; then
21555 cat >>confdefs.h
<<_ACEOF
21556 #define HAVE_SCALBNL 1
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21565 $as_echo_n "checking for sinf... " >&6; }
21566 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21567 $as_echo_n "(cached) " >&6
21569 if test x
$gcc_no_link = xyes
; then
21570 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21573 /* end confdefs.h. */
21575 #ifdef HAVE_COMPLEX_H
21576 #include <complex.h>
21582 int (*ptr)() = (int (*)())sinf;
21591 if ac_fn_c_try_link
"$LINENO"; then :
21592 gcc_cv_math_func_sinf
=yes
21594 gcc_cv_math_func_sinf
=no
21596 rm -f core conftest.err conftest.
$ac_objext \
21597 conftest
$ac_exeext conftest.
$ac_ext
21599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21600 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21601 if test $gcc_cv_math_func_sinf = yes; then
21603 cat >>confdefs.h
<<_ACEOF
21604 #define HAVE_SINF 1
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21613 $as_echo_n "checking for sin... " >&6; }
21614 if test "${gcc_cv_math_func_sin+set}" = set; then :
21615 $as_echo_n "(cached) " >&6
21617 if test x
$gcc_no_link = xyes
; then
21618 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21621 /* end confdefs.h. */
21623 #ifdef HAVE_COMPLEX_H
21624 #include <complex.h>
21630 int (*ptr)() = (int (*)())sin;
21639 if ac_fn_c_try_link
"$LINENO"; then :
21640 gcc_cv_math_func_sin
=yes
21642 gcc_cv_math_func_sin
=no
21644 rm -f core conftest.err conftest.
$ac_objext \
21645 conftest
$ac_exeext conftest.
$ac_ext
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21648 $as_echo "$gcc_cv_math_func_sin" >&6; }
21649 if test $gcc_cv_math_func_sin = yes; then
21651 cat >>confdefs.h
<<_ACEOF
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21661 $as_echo_n "checking for sinl... " >&6; }
21662 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21663 $as_echo_n "(cached) " >&6
21665 if test x
$gcc_no_link = xyes
; then
21666 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21669 /* end confdefs.h. */
21671 #ifdef HAVE_COMPLEX_H
21672 #include <complex.h>
21678 int (*ptr)() = (int (*)())sinl;
21687 if ac_fn_c_try_link
"$LINENO"; then :
21688 gcc_cv_math_func_sinl
=yes
21690 gcc_cv_math_func_sinl
=no
21692 rm -f core conftest.err conftest.
$ac_objext \
21693 conftest
$ac_exeext conftest.
$ac_ext
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21696 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21697 if test $gcc_cv_math_func_sinl = yes; then
21699 cat >>confdefs.h
<<_ACEOF
21700 #define HAVE_SINL 1
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21709 $as_echo_n "checking for csinf... " >&6; }
21710 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21711 $as_echo_n "(cached) " >&6
21713 if test x
$gcc_no_link = xyes
; then
21714 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21717 /* end confdefs.h. */
21719 #ifdef HAVE_COMPLEX_H
21720 #include <complex.h>
21726 int (*ptr)() = (int (*)())csinf;
21735 if ac_fn_c_try_link
"$LINENO"; then :
21736 gcc_cv_math_func_csinf
=yes
21738 gcc_cv_math_func_csinf
=no
21740 rm -f core conftest.err conftest.
$ac_objext \
21741 conftest
$ac_exeext conftest.
$ac_ext
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21744 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21745 if test $gcc_cv_math_func_csinf = yes; then
21747 cat >>confdefs.h
<<_ACEOF
21748 #define HAVE_CSINF 1
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21757 $as_echo_n "checking for csin... " >&6; }
21758 if test "${gcc_cv_math_func_csin+set}" = set; then :
21759 $as_echo_n "(cached) " >&6
21761 if test x
$gcc_no_link = xyes
; then
21762 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21765 /* end confdefs.h. */
21767 #ifdef HAVE_COMPLEX_H
21768 #include <complex.h>
21774 int (*ptr)() = (int (*)())csin;
21783 if ac_fn_c_try_link
"$LINENO"; then :
21784 gcc_cv_math_func_csin
=yes
21786 gcc_cv_math_func_csin
=no
21788 rm -f core conftest.err conftest.
$ac_objext \
21789 conftest
$ac_exeext conftest.
$ac_ext
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21792 $as_echo "$gcc_cv_math_func_csin" >&6; }
21793 if test $gcc_cv_math_func_csin = yes; then
21795 cat >>confdefs.h
<<_ACEOF
21796 #define HAVE_CSIN 1
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21805 $as_echo_n "checking for csinl... " >&6; }
21806 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21807 $as_echo_n "(cached) " >&6
21809 if test x
$gcc_no_link = xyes
; then
21810 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21813 /* end confdefs.h. */
21815 #ifdef HAVE_COMPLEX_H
21816 #include <complex.h>
21822 int (*ptr)() = (int (*)())csinl;
21831 if ac_fn_c_try_link
"$LINENO"; then :
21832 gcc_cv_math_func_csinl
=yes
21834 gcc_cv_math_func_csinl
=no
21836 rm -f core conftest.err conftest.
$ac_objext \
21837 conftest
$ac_exeext conftest.
$ac_ext
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21840 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21841 if test $gcc_cv_math_func_csinl = yes; then
21843 cat >>confdefs.h
<<_ACEOF
21844 #define HAVE_CSINL 1
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21853 $as_echo_n "checking for sinhf... " >&6; }
21854 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21855 $as_echo_n "(cached) " >&6
21857 if test x
$gcc_no_link = xyes
; then
21858 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21861 /* end confdefs.h. */
21863 #ifdef HAVE_COMPLEX_H
21864 #include <complex.h>
21870 int (*ptr)() = (int (*)())sinhf;
21879 if ac_fn_c_try_link
"$LINENO"; then :
21880 gcc_cv_math_func_sinhf
=yes
21882 gcc_cv_math_func_sinhf
=no
21884 rm -f core conftest.err conftest.
$ac_objext \
21885 conftest
$ac_exeext conftest.
$ac_ext
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21888 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21889 if test $gcc_cv_math_func_sinhf = yes; then
21891 cat >>confdefs.h
<<_ACEOF
21892 #define HAVE_SINHF 1
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21901 $as_echo_n "checking for sinh... " >&6; }
21902 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21903 $as_echo_n "(cached) " >&6
21905 if test x
$gcc_no_link = xyes
; then
21906 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21909 /* end confdefs.h. */
21911 #ifdef HAVE_COMPLEX_H
21912 #include <complex.h>
21918 int (*ptr)() = (int (*)())sinh;
21927 if ac_fn_c_try_link
"$LINENO"; then :
21928 gcc_cv_math_func_sinh
=yes
21930 gcc_cv_math_func_sinh
=no
21932 rm -f core conftest.err conftest.
$ac_objext \
21933 conftest
$ac_exeext conftest.
$ac_ext
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21936 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21937 if test $gcc_cv_math_func_sinh = yes; then
21939 cat >>confdefs.h
<<_ACEOF
21940 #define HAVE_SINH 1
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21949 $as_echo_n "checking for sinhl... " >&6; }
21950 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21951 $as_echo_n "(cached) " >&6
21953 if test x
$gcc_no_link = xyes
; then
21954 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21957 /* end confdefs.h. */
21959 #ifdef HAVE_COMPLEX_H
21960 #include <complex.h>
21966 int (*ptr)() = (int (*)())sinhl;
21975 if ac_fn_c_try_link
"$LINENO"; then :
21976 gcc_cv_math_func_sinhl
=yes
21978 gcc_cv_math_func_sinhl
=no
21980 rm -f core conftest.err conftest.
$ac_objext \
21981 conftest
$ac_exeext conftest.
$ac_ext
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
21984 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
21985 if test $gcc_cv_math_func_sinhl = yes; then
21987 cat >>confdefs.h
<<_ACEOF
21988 #define HAVE_SINHL 1
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
21997 $as_echo_n "checking for csinhf... " >&6; }
21998 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
21999 $as_echo_n "(cached) " >&6
22001 if test x
$gcc_no_link = xyes
; then
22002 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22005 /* end confdefs.h. */
22007 #ifdef HAVE_COMPLEX_H
22008 #include <complex.h>
22014 int (*ptr)() = (int (*)())csinhf;
22023 if ac_fn_c_try_link
"$LINENO"; then :
22024 gcc_cv_math_func_csinhf
=yes
22026 gcc_cv_math_func_csinhf
=no
22028 rm -f core conftest.err conftest.
$ac_objext \
22029 conftest
$ac_exeext conftest.
$ac_ext
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22032 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22033 if test $gcc_cv_math_func_csinhf = yes; then
22035 cat >>confdefs.h
<<_ACEOF
22036 #define HAVE_CSINHF 1
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22045 $as_echo_n "checking for csinh... " >&6; }
22046 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22047 $as_echo_n "(cached) " >&6
22049 if test x
$gcc_no_link = xyes
; then
22050 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22053 /* end confdefs.h. */
22055 #ifdef HAVE_COMPLEX_H
22056 #include <complex.h>
22062 int (*ptr)() = (int (*)())csinh;
22071 if ac_fn_c_try_link
"$LINENO"; then :
22072 gcc_cv_math_func_csinh
=yes
22074 gcc_cv_math_func_csinh
=no
22076 rm -f core conftest.err conftest.
$ac_objext \
22077 conftest
$ac_exeext conftest.
$ac_ext
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22080 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22081 if test $gcc_cv_math_func_csinh = yes; then
22083 cat >>confdefs.h
<<_ACEOF
22084 #define HAVE_CSINH 1
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22093 $as_echo_n "checking for csinhl... " >&6; }
22094 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22095 $as_echo_n "(cached) " >&6
22097 if test x
$gcc_no_link = xyes
; then
22098 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22101 /* end confdefs.h. */
22103 #ifdef HAVE_COMPLEX_H
22104 #include <complex.h>
22110 int (*ptr)() = (int (*)())csinhl;
22119 if ac_fn_c_try_link
"$LINENO"; then :
22120 gcc_cv_math_func_csinhl
=yes
22122 gcc_cv_math_func_csinhl
=no
22124 rm -f core conftest.err conftest.
$ac_objext \
22125 conftest
$ac_exeext conftest.
$ac_ext
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22128 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22129 if test $gcc_cv_math_func_csinhl = yes; then
22131 cat >>confdefs.h
<<_ACEOF
22132 #define HAVE_CSINHL 1
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22141 $as_echo_n "checking for sqrtf... " >&6; }
22142 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22143 $as_echo_n "(cached) " >&6
22145 if test x
$gcc_no_link = xyes
; then
22146 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22149 /* end confdefs.h. */
22151 #ifdef HAVE_COMPLEX_H
22152 #include <complex.h>
22158 int (*ptr)() = (int (*)())sqrtf;
22167 if ac_fn_c_try_link
"$LINENO"; then :
22168 gcc_cv_math_func_sqrtf
=yes
22170 gcc_cv_math_func_sqrtf
=no
22172 rm -f core conftest.err conftest.
$ac_objext \
22173 conftest
$ac_exeext conftest.
$ac_ext
22175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22176 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22177 if test $gcc_cv_math_func_sqrtf = yes; then
22179 cat >>confdefs.h
<<_ACEOF
22180 #define HAVE_SQRTF 1
22188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22189 $as_echo_n "checking for sqrt... " >&6; }
22190 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22191 $as_echo_n "(cached) " >&6
22193 if test x
$gcc_no_link = xyes
; then
22194 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22197 /* end confdefs.h. */
22199 #ifdef HAVE_COMPLEX_H
22200 #include <complex.h>
22206 int (*ptr)() = (int (*)())sqrt;
22215 if ac_fn_c_try_link
"$LINENO"; then :
22216 gcc_cv_math_func_sqrt
=yes
22218 gcc_cv_math_func_sqrt
=no
22220 rm -f core conftest.err conftest.
$ac_objext \
22221 conftest
$ac_exeext conftest.
$ac_ext
22223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22224 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22225 if test $gcc_cv_math_func_sqrt = yes; then
22227 cat >>confdefs.h
<<_ACEOF
22228 #define HAVE_SQRT 1
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22237 $as_echo_n "checking for sqrtl... " >&6; }
22238 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22239 $as_echo_n "(cached) " >&6
22241 if test x
$gcc_no_link = xyes
; then
22242 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22245 /* end confdefs.h. */
22247 #ifdef HAVE_COMPLEX_H
22248 #include <complex.h>
22254 int (*ptr)() = (int (*)())sqrtl;
22263 if ac_fn_c_try_link
"$LINENO"; then :
22264 gcc_cv_math_func_sqrtl
=yes
22266 gcc_cv_math_func_sqrtl
=no
22268 rm -f core conftest.err conftest.
$ac_objext \
22269 conftest
$ac_exeext conftest.
$ac_ext
22271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22272 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22273 if test $gcc_cv_math_func_sqrtl = yes; then
22275 cat >>confdefs.h
<<_ACEOF
22276 #define HAVE_SQRTL 1
22284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22285 $as_echo_n "checking for csqrtf... " >&6; }
22286 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22287 $as_echo_n "(cached) " >&6
22289 if test x
$gcc_no_link = xyes
; then
22290 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22293 /* end confdefs.h. */
22295 #ifdef HAVE_COMPLEX_H
22296 #include <complex.h>
22302 int (*ptr)() = (int (*)())csqrtf;
22311 if ac_fn_c_try_link
"$LINENO"; then :
22312 gcc_cv_math_func_csqrtf
=yes
22314 gcc_cv_math_func_csqrtf
=no
22316 rm -f core conftest.err conftest.
$ac_objext \
22317 conftest
$ac_exeext conftest.
$ac_ext
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22320 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22321 if test $gcc_cv_math_func_csqrtf = yes; then
22323 cat >>confdefs.h
<<_ACEOF
22324 #define HAVE_CSQRTF 1
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22333 $as_echo_n "checking for csqrt... " >&6; }
22334 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22335 $as_echo_n "(cached) " >&6
22337 if test x
$gcc_no_link = xyes
; then
22338 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22341 /* end confdefs.h. */
22343 #ifdef HAVE_COMPLEX_H
22344 #include <complex.h>
22350 int (*ptr)() = (int (*)())csqrt;
22359 if ac_fn_c_try_link
"$LINENO"; then :
22360 gcc_cv_math_func_csqrt
=yes
22362 gcc_cv_math_func_csqrt
=no
22364 rm -f core conftest.err conftest.
$ac_objext \
22365 conftest
$ac_exeext conftest.
$ac_ext
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22368 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22369 if test $gcc_cv_math_func_csqrt = yes; then
22371 cat >>confdefs.h
<<_ACEOF
22372 #define HAVE_CSQRT 1
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22381 $as_echo_n "checking for csqrtl... " >&6; }
22382 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22383 $as_echo_n "(cached) " >&6
22385 if test x
$gcc_no_link = xyes
; then
22386 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22389 /* end confdefs.h. */
22391 #ifdef HAVE_COMPLEX_H
22392 #include <complex.h>
22398 int (*ptr)() = (int (*)())csqrtl;
22407 if ac_fn_c_try_link
"$LINENO"; then :
22408 gcc_cv_math_func_csqrtl
=yes
22410 gcc_cv_math_func_csqrtl
=no
22412 rm -f core conftest.err conftest.
$ac_objext \
22413 conftest
$ac_exeext conftest.
$ac_ext
22415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22416 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22417 if test $gcc_cv_math_func_csqrtl = yes; then
22419 cat >>confdefs.h
<<_ACEOF
22420 #define HAVE_CSQRTL 1
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22429 $as_echo_n "checking for tanf... " >&6; }
22430 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22431 $as_echo_n "(cached) " >&6
22433 if test x
$gcc_no_link = xyes
; then
22434 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22437 /* end confdefs.h. */
22439 #ifdef HAVE_COMPLEX_H
22440 #include <complex.h>
22446 int (*ptr)() = (int (*)())tanf;
22455 if ac_fn_c_try_link
"$LINENO"; then :
22456 gcc_cv_math_func_tanf
=yes
22458 gcc_cv_math_func_tanf
=no
22460 rm -f core conftest.err conftest.
$ac_objext \
22461 conftest
$ac_exeext conftest.
$ac_ext
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22464 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22465 if test $gcc_cv_math_func_tanf = yes; then
22467 cat >>confdefs.h
<<_ACEOF
22468 #define HAVE_TANF 1
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22477 $as_echo_n "checking for tan... " >&6; }
22478 if test "${gcc_cv_math_func_tan+set}" = set; then :
22479 $as_echo_n "(cached) " >&6
22481 if test x
$gcc_no_link = xyes
; then
22482 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22485 /* end confdefs.h. */
22487 #ifdef HAVE_COMPLEX_H
22488 #include <complex.h>
22494 int (*ptr)() = (int (*)())tan;
22503 if ac_fn_c_try_link
"$LINENO"; then :
22504 gcc_cv_math_func_tan
=yes
22506 gcc_cv_math_func_tan
=no
22508 rm -f core conftest.err conftest.
$ac_objext \
22509 conftest
$ac_exeext conftest.
$ac_ext
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22512 $as_echo "$gcc_cv_math_func_tan" >&6; }
22513 if test $gcc_cv_math_func_tan = yes; then
22515 cat >>confdefs.h
<<_ACEOF
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22525 $as_echo_n "checking for tanl... " >&6; }
22526 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22527 $as_echo_n "(cached) " >&6
22529 if test x
$gcc_no_link = xyes
; then
22530 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22533 /* end confdefs.h. */
22535 #ifdef HAVE_COMPLEX_H
22536 #include <complex.h>
22542 int (*ptr)() = (int (*)())tanl;
22551 if ac_fn_c_try_link
"$LINENO"; then :
22552 gcc_cv_math_func_tanl
=yes
22554 gcc_cv_math_func_tanl
=no
22556 rm -f core conftest.err conftest.
$ac_objext \
22557 conftest
$ac_exeext conftest.
$ac_ext
22559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22560 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22561 if test $gcc_cv_math_func_tanl = yes; then
22563 cat >>confdefs.h
<<_ACEOF
22564 #define HAVE_TANL 1
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22573 $as_echo_n "checking for ctanf... " >&6; }
22574 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22575 $as_echo_n "(cached) " >&6
22577 if test x
$gcc_no_link = xyes
; then
22578 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22581 /* end confdefs.h. */
22583 #ifdef HAVE_COMPLEX_H
22584 #include <complex.h>
22590 int (*ptr)() = (int (*)())ctanf;
22599 if ac_fn_c_try_link
"$LINENO"; then :
22600 gcc_cv_math_func_ctanf
=yes
22602 gcc_cv_math_func_ctanf
=no
22604 rm -f core conftest.err conftest.
$ac_objext \
22605 conftest
$ac_exeext conftest.
$ac_ext
22607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22608 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22609 if test $gcc_cv_math_func_ctanf = yes; then
22611 cat >>confdefs.h
<<_ACEOF
22612 #define HAVE_CTANF 1
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22621 $as_echo_n "checking for ctan... " >&6; }
22622 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22623 $as_echo_n "(cached) " >&6
22625 if test x
$gcc_no_link = xyes
; then
22626 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22629 /* end confdefs.h. */
22631 #ifdef HAVE_COMPLEX_H
22632 #include <complex.h>
22638 int (*ptr)() = (int (*)())ctan;
22647 if ac_fn_c_try_link
"$LINENO"; then :
22648 gcc_cv_math_func_ctan
=yes
22650 gcc_cv_math_func_ctan
=no
22652 rm -f core conftest.err conftest.
$ac_objext \
22653 conftest
$ac_exeext conftest.
$ac_ext
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22656 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22657 if test $gcc_cv_math_func_ctan = yes; then
22659 cat >>confdefs.h
<<_ACEOF
22660 #define HAVE_CTAN 1
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22669 $as_echo_n "checking for ctanl... " >&6; }
22670 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22671 $as_echo_n "(cached) " >&6
22673 if test x
$gcc_no_link = xyes
; then
22674 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22677 /* end confdefs.h. */
22679 #ifdef HAVE_COMPLEX_H
22680 #include <complex.h>
22686 int (*ptr)() = (int (*)())ctanl;
22695 if ac_fn_c_try_link
"$LINENO"; then :
22696 gcc_cv_math_func_ctanl
=yes
22698 gcc_cv_math_func_ctanl
=no
22700 rm -f core conftest.err conftest.
$ac_objext \
22701 conftest
$ac_exeext conftest.
$ac_ext
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22704 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22705 if test $gcc_cv_math_func_ctanl = yes; then
22707 cat >>confdefs.h
<<_ACEOF
22708 #define HAVE_CTANL 1
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22717 $as_echo_n "checking for tanhf... " >&6; }
22718 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22719 $as_echo_n "(cached) " >&6
22721 if test x
$gcc_no_link = xyes
; then
22722 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22725 /* end confdefs.h. */
22727 #ifdef HAVE_COMPLEX_H
22728 #include <complex.h>
22734 int (*ptr)() = (int (*)())tanhf;
22743 if ac_fn_c_try_link
"$LINENO"; then :
22744 gcc_cv_math_func_tanhf
=yes
22746 gcc_cv_math_func_tanhf
=no
22748 rm -f core conftest.err conftest.
$ac_objext \
22749 conftest
$ac_exeext conftest.
$ac_ext
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22752 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22753 if test $gcc_cv_math_func_tanhf = yes; then
22755 cat >>confdefs.h
<<_ACEOF
22756 #define HAVE_TANHF 1
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22765 $as_echo_n "checking for tanh... " >&6; }
22766 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22767 $as_echo_n "(cached) " >&6
22769 if test x
$gcc_no_link = xyes
; then
22770 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22773 /* end confdefs.h. */
22775 #ifdef HAVE_COMPLEX_H
22776 #include <complex.h>
22782 int (*ptr)() = (int (*)())tanh;
22791 if ac_fn_c_try_link
"$LINENO"; then :
22792 gcc_cv_math_func_tanh
=yes
22794 gcc_cv_math_func_tanh
=no
22796 rm -f core conftest.err conftest.
$ac_objext \
22797 conftest
$ac_exeext conftest.
$ac_ext
22799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22800 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22801 if test $gcc_cv_math_func_tanh = yes; then
22803 cat >>confdefs.h
<<_ACEOF
22804 #define HAVE_TANH 1
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22813 $as_echo_n "checking for tanhl... " >&6; }
22814 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22815 $as_echo_n "(cached) " >&6
22817 if test x
$gcc_no_link = xyes
; then
22818 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22821 /* end confdefs.h. */
22823 #ifdef HAVE_COMPLEX_H
22824 #include <complex.h>
22830 int (*ptr)() = (int (*)())tanhl;
22839 if ac_fn_c_try_link
"$LINENO"; then :
22840 gcc_cv_math_func_tanhl
=yes
22842 gcc_cv_math_func_tanhl
=no
22844 rm -f core conftest.err conftest.
$ac_objext \
22845 conftest
$ac_exeext conftest.
$ac_ext
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22848 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22849 if test $gcc_cv_math_func_tanhl = yes; then
22851 cat >>confdefs.h
<<_ACEOF
22852 #define HAVE_TANHL 1
22860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22861 $as_echo_n "checking for ctanhf... " >&6; }
22862 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22863 $as_echo_n "(cached) " >&6
22865 if test x
$gcc_no_link = xyes
; then
22866 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22869 /* end confdefs.h. */
22871 #ifdef HAVE_COMPLEX_H
22872 #include <complex.h>
22878 int (*ptr)() = (int (*)())ctanhf;
22887 if ac_fn_c_try_link
"$LINENO"; then :
22888 gcc_cv_math_func_ctanhf
=yes
22890 gcc_cv_math_func_ctanhf
=no
22892 rm -f core conftest.err conftest.
$ac_objext \
22893 conftest
$ac_exeext conftest.
$ac_ext
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22896 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22897 if test $gcc_cv_math_func_ctanhf = yes; then
22899 cat >>confdefs.h
<<_ACEOF
22900 #define HAVE_CTANHF 1
22908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22909 $as_echo_n "checking for ctanh... " >&6; }
22910 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22911 $as_echo_n "(cached) " >&6
22913 if test x
$gcc_no_link = xyes
; then
22914 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22917 /* end confdefs.h. */
22919 #ifdef HAVE_COMPLEX_H
22920 #include <complex.h>
22926 int (*ptr)() = (int (*)())ctanh;
22935 if ac_fn_c_try_link
"$LINENO"; then :
22936 gcc_cv_math_func_ctanh
=yes
22938 gcc_cv_math_func_ctanh
=no
22940 rm -f core conftest.err conftest.
$ac_objext \
22941 conftest
$ac_exeext conftest.
$ac_ext
22943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22944 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22945 if test $gcc_cv_math_func_ctanh = yes; then
22947 cat >>confdefs.h
<<_ACEOF
22948 #define HAVE_CTANH 1
22956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
22957 $as_echo_n "checking for ctanhl... " >&6; }
22958 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
22959 $as_echo_n "(cached) " >&6
22961 if test x
$gcc_no_link = xyes
; then
22962 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22965 /* end confdefs.h. */
22967 #ifdef HAVE_COMPLEX_H
22968 #include <complex.h>
22974 int (*ptr)() = (int (*)())ctanhl;
22983 if ac_fn_c_try_link
"$LINENO"; then :
22984 gcc_cv_math_func_ctanhl
=yes
22986 gcc_cv_math_func_ctanhl
=no
22988 rm -f core conftest.err conftest.
$ac_objext \
22989 conftest
$ac_exeext conftest.
$ac_ext
22991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
22992 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
22993 if test $gcc_cv_math_func_ctanhl = yes; then
22995 cat >>confdefs.h
<<_ACEOF
22996 #define HAVE_CTANHL 1
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23005 $as_echo_n "checking for truncf... " >&6; }
23006 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23007 $as_echo_n "(cached) " >&6
23009 if test x
$gcc_no_link = xyes
; then
23010 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23013 /* end confdefs.h. */
23015 #ifdef HAVE_COMPLEX_H
23016 #include <complex.h>
23022 int (*ptr)() = (int (*)())truncf;
23031 if ac_fn_c_try_link
"$LINENO"; then :
23032 gcc_cv_math_func_truncf
=yes
23034 gcc_cv_math_func_truncf
=no
23036 rm -f core conftest.err conftest.
$ac_objext \
23037 conftest
$ac_exeext conftest.
$ac_ext
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23040 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23041 if test $gcc_cv_math_func_truncf = yes; then
23043 cat >>confdefs.h
<<_ACEOF
23044 #define HAVE_TRUNCF 1
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23053 $as_echo_n "checking for trunc... " >&6; }
23054 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23055 $as_echo_n "(cached) " >&6
23057 if test x
$gcc_no_link = xyes
; then
23058 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23061 /* end confdefs.h. */
23063 #ifdef HAVE_COMPLEX_H
23064 #include <complex.h>
23070 int (*ptr)() = (int (*)())trunc;
23079 if ac_fn_c_try_link
"$LINENO"; then :
23080 gcc_cv_math_func_trunc
=yes
23082 gcc_cv_math_func_trunc
=no
23084 rm -f core conftest.err conftest.
$ac_objext \
23085 conftest
$ac_exeext conftest.
$ac_ext
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23088 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23089 if test $gcc_cv_math_func_trunc = yes; then
23091 cat >>confdefs.h
<<_ACEOF
23092 #define HAVE_TRUNC 1
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23101 $as_echo_n "checking for truncl... " >&6; }
23102 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23103 $as_echo_n "(cached) " >&6
23105 if test x
$gcc_no_link = xyes
; then
23106 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23109 /* end confdefs.h. */
23111 #ifdef HAVE_COMPLEX_H
23112 #include <complex.h>
23118 int (*ptr)() = (int (*)())truncl;
23127 if ac_fn_c_try_link
"$LINENO"; then :
23128 gcc_cv_math_func_truncl
=yes
23130 gcc_cv_math_func_truncl
=no
23132 rm -f core conftest.err conftest.
$ac_objext \
23133 conftest
$ac_exeext conftest.
$ac_ext
23135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23136 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23137 if test $gcc_cv_math_func_truncl = yes; then
23139 cat >>confdefs.h
<<_ACEOF
23140 #define HAVE_TRUNCL 1
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23149 $as_echo_n "checking for erff... " >&6; }
23150 if test "${gcc_cv_math_func_erff+set}" = set; then :
23151 $as_echo_n "(cached) " >&6
23153 if test x
$gcc_no_link = xyes
; then
23154 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23157 /* end confdefs.h. */
23159 #ifdef HAVE_COMPLEX_H
23160 #include <complex.h>
23166 int (*ptr)() = (int (*)())erff;
23175 if ac_fn_c_try_link
"$LINENO"; then :
23176 gcc_cv_math_func_erff
=yes
23178 gcc_cv_math_func_erff
=no
23180 rm -f core conftest.err conftest.
$ac_objext \
23181 conftest
$ac_exeext conftest.
$ac_ext
23183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23184 $as_echo "$gcc_cv_math_func_erff" >&6; }
23185 if test $gcc_cv_math_func_erff = yes; then
23187 cat >>confdefs.h
<<_ACEOF
23188 #define HAVE_ERFF 1
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23197 $as_echo_n "checking for erf... " >&6; }
23198 if test "${gcc_cv_math_func_erf+set}" = set; then :
23199 $as_echo_n "(cached) " >&6
23201 if test x
$gcc_no_link = xyes
; then
23202 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23205 /* end confdefs.h. */
23207 #ifdef HAVE_COMPLEX_H
23208 #include <complex.h>
23214 int (*ptr)() = (int (*)())erf;
23223 if ac_fn_c_try_link
"$LINENO"; then :
23224 gcc_cv_math_func_erf
=yes
23226 gcc_cv_math_func_erf
=no
23228 rm -f core conftest.err conftest.
$ac_objext \
23229 conftest
$ac_exeext conftest.
$ac_ext
23231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23232 $as_echo "$gcc_cv_math_func_erf" >&6; }
23233 if test $gcc_cv_math_func_erf = yes; then
23235 cat >>confdefs.h
<<_ACEOF
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23245 $as_echo_n "checking for erfl... " >&6; }
23246 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23247 $as_echo_n "(cached) " >&6
23249 if test x
$gcc_no_link = xyes
; then
23250 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23253 /* end confdefs.h. */
23255 #ifdef HAVE_COMPLEX_H
23256 #include <complex.h>
23262 int (*ptr)() = (int (*)())erfl;
23271 if ac_fn_c_try_link
"$LINENO"; then :
23272 gcc_cv_math_func_erfl
=yes
23274 gcc_cv_math_func_erfl
=no
23276 rm -f core conftest.err conftest.
$ac_objext \
23277 conftest
$ac_exeext conftest.
$ac_ext
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23280 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23281 if test $gcc_cv_math_func_erfl = yes; then
23283 cat >>confdefs.h
<<_ACEOF
23284 #define HAVE_ERFL 1
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23293 $as_echo_n "checking for erfcf... " >&6; }
23294 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23295 $as_echo_n "(cached) " >&6
23297 if test x
$gcc_no_link = xyes
; then
23298 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23301 /* end confdefs.h. */
23303 #ifdef HAVE_COMPLEX_H
23304 #include <complex.h>
23310 int (*ptr)() = (int (*)())erfcf;
23319 if ac_fn_c_try_link
"$LINENO"; then :
23320 gcc_cv_math_func_erfcf
=yes
23322 gcc_cv_math_func_erfcf
=no
23324 rm -f core conftest.err conftest.
$ac_objext \
23325 conftest
$ac_exeext conftest.
$ac_ext
23327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23328 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23329 if test $gcc_cv_math_func_erfcf = yes; then
23331 cat >>confdefs.h
<<_ACEOF
23332 #define HAVE_ERFCF 1
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23341 $as_echo_n "checking for erfc... " >&6; }
23342 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23343 $as_echo_n "(cached) " >&6
23345 if test x
$gcc_no_link = xyes
; then
23346 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23349 /* end confdefs.h. */
23351 #ifdef HAVE_COMPLEX_H
23352 #include <complex.h>
23358 int (*ptr)() = (int (*)())erfc;
23367 if ac_fn_c_try_link
"$LINENO"; then :
23368 gcc_cv_math_func_erfc
=yes
23370 gcc_cv_math_func_erfc
=no
23372 rm -f core conftest.err conftest.
$ac_objext \
23373 conftest
$ac_exeext conftest.
$ac_ext
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23376 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23377 if test $gcc_cv_math_func_erfc = yes; then
23379 cat >>confdefs.h
<<_ACEOF
23380 #define HAVE_ERFC 1
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23389 $as_echo_n "checking for erfcl... " >&6; }
23390 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23391 $as_echo_n "(cached) " >&6
23393 if test x
$gcc_no_link = xyes
; then
23394 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23397 /* end confdefs.h. */
23399 #ifdef HAVE_COMPLEX_H
23400 #include <complex.h>
23406 int (*ptr)() = (int (*)())erfcl;
23415 if ac_fn_c_try_link
"$LINENO"; then :
23416 gcc_cv_math_func_erfcl
=yes
23418 gcc_cv_math_func_erfcl
=no
23420 rm -f core conftest.err conftest.
$ac_objext \
23421 conftest
$ac_exeext conftest.
$ac_ext
23423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23424 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23425 if test $gcc_cv_math_func_erfcl = yes; then
23427 cat >>confdefs.h
<<_ACEOF
23428 #define HAVE_ERFCL 1
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23437 $as_echo_n "checking for j0f... " >&6; }
23438 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23439 $as_echo_n "(cached) " >&6
23441 if test x
$gcc_no_link = xyes
; then
23442 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23445 /* end confdefs.h. */
23447 #ifdef HAVE_COMPLEX_H
23448 #include <complex.h>
23454 int (*ptr)() = (int (*)())j0f;
23463 if ac_fn_c_try_link
"$LINENO"; then :
23464 gcc_cv_math_func_j0f
=yes
23466 gcc_cv_math_func_j0f
=no
23468 rm -f core conftest.err conftest.
$ac_objext \
23469 conftest
$ac_exeext conftest.
$ac_ext
23471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23472 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23473 if test $gcc_cv_math_func_j0f = yes; then
23475 cat >>confdefs.h
<<_ACEOF
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23485 $as_echo_n "checking for j0... " >&6; }
23486 if test "${gcc_cv_math_func_j0+set}" = set; then :
23487 $as_echo_n "(cached) " >&6
23489 if test x
$gcc_no_link = xyes
; then
23490 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23493 /* end confdefs.h. */
23495 #ifdef HAVE_COMPLEX_H
23496 #include <complex.h>
23502 int (*ptr)() = (int (*)())j0;
23511 if ac_fn_c_try_link
"$LINENO"; then :
23512 gcc_cv_math_func_j0
=yes
23514 gcc_cv_math_func_j0
=no
23516 rm -f core conftest.err conftest.
$ac_objext \
23517 conftest
$ac_exeext conftest.
$ac_ext
23519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23520 $as_echo "$gcc_cv_math_func_j0" >&6; }
23521 if test $gcc_cv_math_func_j0 = yes; then
23523 cat >>confdefs.h
<<_ACEOF
23532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23533 $as_echo_n "checking for j0l... " >&6; }
23534 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23535 $as_echo_n "(cached) " >&6
23537 if test x
$gcc_no_link = xyes
; then
23538 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23541 /* end confdefs.h. */
23543 #ifdef HAVE_COMPLEX_H
23544 #include <complex.h>
23550 int (*ptr)() = (int (*)())j0l;
23559 if ac_fn_c_try_link
"$LINENO"; then :
23560 gcc_cv_math_func_j0l
=yes
23562 gcc_cv_math_func_j0l
=no
23564 rm -f core conftest.err conftest.
$ac_objext \
23565 conftest
$ac_exeext conftest.
$ac_ext
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23568 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23569 if test $gcc_cv_math_func_j0l = yes; then
23571 cat >>confdefs.h
<<_ACEOF
23580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23581 $as_echo_n "checking for j1f... " >&6; }
23582 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23583 $as_echo_n "(cached) " >&6
23585 if test x
$gcc_no_link = xyes
; then
23586 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23589 /* end confdefs.h. */
23591 #ifdef HAVE_COMPLEX_H
23592 #include <complex.h>
23598 int (*ptr)() = (int (*)())j1f;
23607 if ac_fn_c_try_link
"$LINENO"; then :
23608 gcc_cv_math_func_j1f
=yes
23610 gcc_cv_math_func_j1f
=no
23612 rm -f core conftest.err conftest.
$ac_objext \
23613 conftest
$ac_exeext conftest.
$ac_ext
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23616 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23617 if test $gcc_cv_math_func_j1f = yes; then
23619 cat >>confdefs.h
<<_ACEOF
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23629 $as_echo_n "checking for j1... " >&6; }
23630 if test "${gcc_cv_math_func_j1+set}" = set; then :
23631 $as_echo_n "(cached) " >&6
23633 if test x
$gcc_no_link = xyes
; then
23634 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23637 /* end confdefs.h. */
23639 #ifdef HAVE_COMPLEX_H
23640 #include <complex.h>
23646 int (*ptr)() = (int (*)())j1;
23655 if ac_fn_c_try_link
"$LINENO"; then :
23656 gcc_cv_math_func_j1
=yes
23658 gcc_cv_math_func_j1
=no
23660 rm -f core conftest.err conftest.
$ac_objext \
23661 conftest
$ac_exeext conftest.
$ac_ext
23663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23664 $as_echo "$gcc_cv_math_func_j1" >&6; }
23665 if test $gcc_cv_math_func_j1 = yes; then
23667 cat >>confdefs.h
<<_ACEOF
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23677 $as_echo_n "checking for j1l... " >&6; }
23678 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23679 $as_echo_n "(cached) " >&6
23681 if test x
$gcc_no_link = xyes
; then
23682 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23685 /* end confdefs.h. */
23687 #ifdef HAVE_COMPLEX_H
23688 #include <complex.h>
23694 int (*ptr)() = (int (*)())j1l;
23703 if ac_fn_c_try_link
"$LINENO"; then :
23704 gcc_cv_math_func_j1l
=yes
23706 gcc_cv_math_func_j1l
=no
23708 rm -f core conftest.err conftest.
$ac_objext \
23709 conftest
$ac_exeext conftest.
$ac_ext
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23712 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23713 if test $gcc_cv_math_func_j1l = yes; then
23715 cat >>confdefs.h
<<_ACEOF
23724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23725 $as_echo_n "checking for jnf... " >&6; }
23726 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23727 $as_echo_n "(cached) " >&6
23729 if test x
$gcc_no_link = xyes
; then
23730 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23733 /* end confdefs.h. */
23735 #ifdef HAVE_COMPLEX_H
23736 #include <complex.h>
23742 int (*ptr)() = (int (*)())jnf;
23751 if ac_fn_c_try_link
"$LINENO"; then :
23752 gcc_cv_math_func_jnf
=yes
23754 gcc_cv_math_func_jnf
=no
23756 rm -f core conftest.err conftest.
$ac_objext \
23757 conftest
$ac_exeext conftest.
$ac_ext
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23760 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23761 if test $gcc_cv_math_func_jnf = yes; then
23763 cat >>confdefs.h
<<_ACEOF
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23773 $as_echo_n "checking for jn... " >&6; }
23774 if test "${gcc_cv_math_func_jn+set}" = set; then :
23775 $as_echo_n "(cached) " >&6
23777 if test x
$gcc_no_link = xyes
; then
23778 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23781 /* end confdefs.h. */
23783 #ifdef HAVE_COMPLEX_H
23784 #include <complex.h>
23790 int (*ptr)() = (int (*)())jn;
23799 if ac_fn_c_try_link
"$LINENO"; then :
23800 gcc_cv_math_func_jn
=yes
23802 gcc_cv_math_func_jn
=no
23804 rm -f core conftest.err conftest.
$ac_objext \
23805 conftest
$ac_exeext conftest.
$ac_ext
23807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23808 $as_echo "$gcc_cv_math_func_jn" >&6; }
23809 if test $gcc_cv_math_func_jn = yes; then
23811 cat >>confdefs.h
<<_ACEOF
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23821 $as_echo_n "checking for jnl... " >&6; }
23822 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23823 $as_echo_n "(cached) " >&6
23825 if test x
$gcc_no_link = xyes
; then
23826 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23829 /* end confdefs.h. */
23831 #ifdef HAVE_COMPLEX_H
23832 #include <complex.h>
23838 int (*ptr)() = (int (*)())jnl;
23847 if ac_fn_c_try_link
"$LINENO"; then :
23848 gcc_cv_math_func_jnl
=yes
23850 gcc_cv_math_func_jnl
=no
23852 rm -f core conftest.err conftest.
$ac_objext \
23853 conftest
$ac_exeext conftest.
$ac_ext
23855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23856 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23857 if test $gcc_cv_math_func_jnl = yes; then
23859 cat >>confdefs.h
<<_ACEOF
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23869 $as_echo_n "checking for y0f... " >&6; }
23870 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23871 $as_echo_n "(cached) " >&6
23873 if test x
$gcc_no_link = xyes
; then
23874 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23877 /* end confdefs.h. */
23879 #ifdef HAVE_COMPLEX_H
23880 #include <complex.h>
23886 int (*ptr)() = (int (*)())y0f;
23895 if ac_fn_c_try_link
"$LINENO"; then :
23896 gcc_cv_math_func_y0f
=yes
23898 gcc_cv_math_func_y0f
=no
23900 rm -f core conftest.err conftest.
$ac_objext \
23901 conftest
$ac_exeext conftest.
$ac_ext
23903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23904 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23905 if test $gcc_cv_math_func_y0f = yes; then
23907 cat >>confdefs.h
<<_ACEOF
23916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23917 $as_echo_n "checking for y0... " >&6; }
23918 if test "${gcc_cv_math_func_y0+set}" = set; then :
23919 $as_echo_n "(cached) " >&6
23921 if test x
$gcc_no_link = xyes
; then
23922 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23925 /* end confdefs.h. */
23927 #ifdef HAVE_COMPLEX_H
23928 #include <complex.h>
23934 int (*ptr)() = (int (*)())y0;
23943 if ac_fn_c_try_link
"$LINENO"; then :
23944 gcc_cv_math_func_y0
=yes
23946 gcc_cv_math_func_y0
=no
23948 rm -f core conftest.err conftest.
$ac_objext \
23949 conftest
$ac_exeext conftest.
$ac_ext
23951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23952 $as_echo "$gcc_cv_math_func_y0" >&6; }
23953 if test $gcc_cv_math_func_y0 = yes; then
23955 cat >>confdefs.h
<<_ACEOF
23964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
23965 $as_echo_n "checking for y0l... " >&6; }
23966 if test "${gcc_cv_math_func_y0l+set}" = set; then :
23967 $as_echo_n "(cached) " >&6
23969 if test x
$gcc_no_link = xyes
; then
23970 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23973 /* end confdefs.h. */
23975 #ifdef HAVE_COMPLEX_H
23976 #include <complex.h>
23982 int (*ptr)() = (int (*)())y0l;
23991 if ac_fn_c_try_link
"$LINENO"; then :
23992 gcc_cv_math_func_y0l
=yes
23994 gcc_cv_math_func_y0l
=no
23996 rm -f core conftest.err conftest.
$ac_objext \
23997 conftest
$ac_exeext conftest.
$ac_ext
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24000 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24001 if test $gcc_cv_math_func_y0l = yes; then
24003 cat >>confdefs.h
<<_ACEOF
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24013 $as_echo_n "checking for y1f... " >&6; }
24014 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24015 $as_echo_n "(cached) " >&6
24017 if test x
$gcc_no_link = xyes
; then
24018 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24021 /* end confdefs.h. */
24023 #ifdef HAVE_COMPLEX_H
24024 #include <complex.h>
24030 int (*ptr)() = (int (*)())y1f;
24039 if ac_fn_c_try_link
"$LINENO"; then :
24040 gcc_cv_math_func_y1f
=yes
24042 gcc_cv_math_func_y1f
=no
24044 rm -f core conftest.err conftest.
$ac_objext \
24045 conftest
$ac_exeext conftest.
$ac_ext
24047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24048 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24049 if test $gcc_cv_math_func_y1f = yes; then
24051 cat >>confdefs.h
<<_ACEOF
24060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24061 $as_echo_n "checking for y1... " >&6; }
24062 if test "${gcc_cv_math_func_y1+set}" = set; then :
24063 $as_echo_n "(cached) " >&6
24065 if test x
$gcc_no_link = xyes
; then
24066 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24069 /* end confdefs.h. */
24071 #ifdef HAVE_COMPLEX_H
24072 #include <complex.h>
24078 int (*ptr)() = (int (*)())y1;
24087 if ac_fn_c_try_link
"$LINENO"; then :
24088 gcc_cv_math_func_y1
=yes
24090 gcc_cv_math_func_y1
=no
24092 rm -f core conftest.err conftest.
$ac_objext \
24093 conftest
$ac_exeext conftest.
$ac_ext
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24096 $as_echo "$gcc_cv_math_func_y1" >&6; }
24097 if test $gcc_cv_math_func_y1 = yes; then
24099 cat >>confdefs.h
<<_ACEOF
24108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24109 $as_echo_n "checking for y1l... " >&6; }
24110 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24111 $as_echo_n "(cached) " >&6
24113 if test x
$gcc_no_link = xyes
; then
24114 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24117 /* end confdefs.h. */
24119 #ifdef HAVE_COMPLEX_H
24120 #include <complex.h>
24126 int (*ptr)() = (int (*)())y1l;
24135 if ac_fn_c_try_link
"$LINENO"; then :
24136 gcc_cv_math_func_y1l
=yes
24138 gcc_cv_math_func_y1l
=no
24140 rm -f core conftest.err conftest.
$ac_objext \
24141 conftest
$ac_exeext conftest.
$ac_ext
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24144 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24145 if test $gcc_cv_math_func_y1l = yes; then
24147 cat >>confdefs.h
<<_ACEOF
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24157 $as_echo_n "checking for ynf... " >&6; }
24158 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24159 $as_echo_n "(cached) " >&6
24161 if test x
$gcc_no_link = xyes
; then
24162 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24165 /* end confdefs.h. */
24167 #ifdef HAVE_COMPLEX_H
24168 #include <complex.h>
24174 int (*ptr)() = (int (*)())ynf;
24183 if ac_fn_c_try_link
"$LINENO"; then :
24184 gcc_cv_math_func_ynf
=yes
24186 gcc_cv_math_func_ynf
=no
24188 rm -f core conftest.err conftest.
$ac_objext \
24189 conftest
$ac_exeext conftest.
$ac_ext
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24192 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24193 if test $gcc_cv_math_func_ynf = yes; then
24195 cat >>confdefs.h
<<_ACEOF
24204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24205 $as_echo_n "checking for yn... " >&6; }
24206 if test "${gcc_cv_math_func_yn+set}" = set; then :
24207 $as_echo_n "(cached) " >&6
24209 if test x
$gcc_no_link = xyes
; then
24210 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24213 /* end confdefs.h. */
24215 #ifdef HAVE_COMPLEX_H
24216 #include <complex.h>
24222 int (*ptr)() = (int (*)())yn;
24231 if ac_fn_c_try_link
"$LINENO"; then :
24232 gcc_cv_math_func_yn
=yes
24234 gcc_cv_math_func_yn
=no
24236 rm -f core conftest.err conftest.
$ac_objext \
24237 conftest
$ac_exeext conftest.
$ac_ext
24239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24240 $as_echo "$gcc_cv_math_func_yn" >&6; }
24241 if test $gcc_cv_math_func_yn = yes; then
24243 cat >>confdefs.h
<<_ACEOF
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24253 $as_echo_n "checking for ynl... " >&6; }
24254 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24255 $as_echo_n "(cached) " >&6
24257 if test x
$gcc_no_link = xyes
; then
24258 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24261 /* end confdefs.h. */
24263 #ifdef HAVE_COMPLEX_H
24264 #include <complex.h>
24270 int (*ptr)() = (int (*)())ynl;
24279 if ac_fn_c_try_link
"$LINENO"; then :
24280 gcc_cv_math_func_ynl
=yes
24282 gcc_cv_math_func_ynl
=no
24284 rm -f core conftest.err conftest.
$ac_objext \
24285 conftest
$ac_exeext conftest.
$ac_ext
24287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24288 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24289 if test $gcc_cv_math_func_ynl = yes; then
24291 cat >>confdefs.h
<<_ACEOF
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24301 $as_echo_n "checking for tgamma... " >&6; }
24302 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24303 $as_echo_n "(cached) " >&6
24305 if test x
$gcc_no_link = xyes
; then
24306 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24309 /* end confdefs.h. */
24311 #ifdef HAVE_COMPLEX_H
24312 #include <complex.h>
24318 int (*ptr)() = (int (*)())tgamma;
24327 if ac_fn_c_try_link
"$LINENO"; then :
24328 gcc_cv_math_func_tgamma
=yes
24330 gcc_cv_math_func_tgamma
=no
24332 rm -f core conftest.err conftest.
$ac_objext \
24333 conftest
$ac_exeext conftest.
$ac_ext
24335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24336 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24337 if test $gcc_cv_math_func_tgamma = yes; then
24339 cat >>confdefs.h
<<_ACEOF
24340 #define HAVE_TGAMMA 1
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24349 $as_echo_n "checking for tgammaf... " >&6; }
24350 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24351 $as_echo_n "(cached) " >&6
24353 if test x
$gcc_no_link = xyes
; then
24354 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24357 /* end confdefs.h. */
24359 #ifdef HAVE_COMPLEX_H
24360 #include <complex.h>
24366 int (*ptr)() = (int (*)())tgammaf;
24375 if ac_fn_c_try_link
"$LINENO"; then :
24376 gcc_cv_math_func_tgammaf
=yes
24378 gcc_cv_math_func_tgammaf
=no
24380 rm -f core conftest.err conftest.
$ac_objext \
24381 conftest
$ac_exeext conftest.
$ac_ext
24383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24384 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24385 if test $gcc_cv_math_func_tgammaf = yes; then
24387 cat >>confdefs.h
<<_ACEOF
24388 #define HAVE_TGAMMAF 1
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24397 $as_echo_n "checking for tgammal... " >&6; }
24398 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24399 $as_echo_n "(cached) " >&6
24401 if test x
$gcc_no_link = xyes
; then
24402 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24405 /* end confdefs.h. */
24407 #ifdef HAVE_COMPLEX_H
24408 #include <complex.h>
24414 int (*ptr)() = (int (*)())tgammal;
24423 if ac_fn_c_try_link
"$LINENO"; then :
24424 gcc_cv_math_func_tgammal
=yes
24426 gcc_cv_math_func_tgammal
=no
24428 rm -f core conftest.err conftest.
$ac_objext \
24429 conftest
$ac_exeext conftest.
$ac_ext
24431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24432 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24433 if test $gcc_cv_math_func_tgammal = yes; then
24435 cat >>confdefs.h
<<_ACEOF
24436 #define HAVE_TGAMMAL 1
24444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24445 $as_echo_n "checking for lgamma... " >&6; }
24446 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24447 $as_echo_n "(cached) " >&6
24449 if test x
$gcc_no_link = xyes
; then
24450 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24453 /* end confdefs.h. */
24455 #ifdef HAVE_COMPLEX_H
24456 #include <complex.h>
24462 int (*ptr)() = (int (*)())lgamma;
24471 if ac_fn_c_try_link
"$LINENO"; then :
24472 gcc_cv_math_func_lgamma
=yes
24474 gcc_cv_math_func_lgamma
=no
24476 rm -f core conftest.err conftest.
$ac_objext \
24477 conftest
$ac_exeext conftest.
$ac_ext
24479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24480 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24481 if test $gcc_cv_math_func_lgamma = yes; then
24483 cat >>confdefs.h
<<_ACEOF
24484 #define HAVE_LGAMMA 1
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24493 $as_echo_n "checking for lgammaf... " >&6; }
24494 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24495 $as_echo_n "(cached) " >&6
24497 if test x
$gcc_no_link = xyes
; then
24498 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24501 /* end confdefs.h. */
24503 #ifdef HAVE_COMPLEX_H
24504 #include <complex.h>
24510 int (*ptr)() = (int (*)())lgammaf;
24519 if ac_fn_c_try_link
"$LINENO"; then :
24520 gcc_cv_math_func_lgammaf
=yes
24522 gcc_cv_math_func_lgammaf
=no
24524 rm -f core conftest.err conftest.
$ac_objext \
24525 conftest
$ac_exeext conftest.
$ac_ext
24527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24528 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24529 if test $gcc_cv_math_func_lgammaf = yes; then
24531 cat >>confdefs.h
<<_ACEOF
24532 #define HAVE_LGAMMAF 1
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24541 $as_echo_n "checking for lgammal... " >&6; }
24542 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24543 $as_echo_n "(cached) " >&6
24545 if test x
$gcc_no_link = xyes
; then
24546 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24549 /* end confdefs.h. */
24551 #ifdef HAVE_COMPLEX_H
24552 #include <complex.h>
24558 int (*ptr)() = (int (*)())lgammal;
24567 if ac_fn_c_try_link
"$LINENO"; then :
24568 gcc_cv_math_func_lgammal
=yes
24570 gcc_cv_math_func_lgammal
=no
24572 rm -f core conftest.err conftest.
$ac_objext \
24573 conftest
$ac_exeext conftest.
$ac_ext
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24576 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24577 if test $gcc_cv_math_func_lgammal = yes; then
24579 cat >>confdefs.h
<<_ACEOF
24580 #define HAVE_LGAMMAL 1
24586 # Check for GFORTRAN_C99_1.1 funcs
24590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24591 $as_echo_n "checking for cacos... " >&6; }
24592 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24593 $as_echo_n "(cached) " >&6
24595 if test x
$gcc_no_link = xyes
; then
24596 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24599 /* end confdefs.h. */
24601 #ifdef HAVE_COMPLEX_H
24602 #include <complex.h>
24608 int (*ptr)() = (int (*)())cacos;
24617 if ac_fn_c_try_link
"$LINENO"; then :
24618 gcc_cv_math_func_cacos
=yes
24620 gcc_cv_math_func_cacos
=no
24622 rm -f core conftest.err conftest.
$ac_objext \
24623 conftest
$ac_exeext conftest.
$ac_ext
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24626 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24627 if test $gcc_cv_math_func_cacos = yes; then
24629 cat >>confdefs.h
<<_ACEOF
24630 #define HAVE_CACOS 1
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24639 $as_echo_n "checking for cacosf... " >&6; }
24640 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24641 $as_echo_n "(cached) " >&6
24643 if test x
$gcc_no_link = xyes
; then
24644 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24647 /* end confdefs.h. */
24649 #ifdef HAVE_COMPLEX_H
24650 #include <complex.h>
24656 int (*ptr)() = (int (*)())cacosf;
24665 if ac_fn_c_try_link
"$LINENO"; then :
24666 gcc_cv_math_func_cacosf
=yes
24668 gcc_cv_math_func_cacosf
=no
24670 rm -f core conftest.err conftest.
$ac_objext \
24671 conftest
$ac_exeext conftest.
$ac_ext
24673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24674 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24675 if test $gcc_cv_math_func_cacosf = yes; then
24677 cat >>confdefs.h
<<_ACEOF
24678 #define HAVE_CACOSF 1
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24687 $as_echo_n "checking for cacosh... " >&6; }
24688 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24689 $as_echo_n "(cached) " >&6
24691 if test x
$gcc_no_link = xyes
; then
24692 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24695 /* end confdefs.h. */
24697 #ifdef HAVE_COMPLEX_H
24698 #include <complex.h>
24704 int (*ptr)() = (int (*)())cacosh;
24713 if ac_fn_c_try_link
"$LINENO"; then :
24714 gcc_cv_math_func_cacosh
=yes
24716 gcc_cv_math_func_cacosh
=no
24718 rm -f core conftest.err conftest.
$ac_objext \
24719 conftest
$ac_exeext conftest.
$ac_ext
24721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24722 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24723 if test $gcc_cv_math_func_cacosh = yes; then
24725 cat >>confdefs.h
<<_ACEOF
24726 #define HAVE_CACOSH 1
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24735 $as_echo_n "checking for cacoshf... " >&6; }
24736 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24737 $as_echo_n "(cached) " >&6
24739 if test x
$gcc_no_link = xyes
; then
24740 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24743 /* end confdefs.h. */
24745 #ifdef HAVE_COMPLEX_H
24746 #include <complex.h>
24752 int (*ptr)() = (int (*)())cacoshf;
24761 if ac_fn_c_try_link
"$LINENO"; then :
24762 gcc_cv_math_func_cacoshf
=yes
24764 gcc_cv_math_func_cacoshf
=no
24766 rm -f core conftest.err conftest.
$ac_objext \
24767 conftest
$ac_exeext conftest.
$ac_ext
24769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24770 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24771 if test $gcc_cv_math_func_cacoshf = yes; then
24773 cat >>confdefs.h
<<_ACEOF
24774 #define HAVE_CACOSHF 1
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24783 $as_echo_n "checking for cacoshl... " >&6; }
24784 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24785 $as_echo_n "(cached) " >&6
24787 if test x
$gcc_no_link = xyes
; then
24788 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24791 /* end confdefs.h. */
24793 #ifdef HAVE_COMPLEX_H
24794 #include <complex.h>
24800 int (*ptr)() = (int (*)())cacoshl;
24809 if ac_fn_c_try_link
"$LINENO"; then :
24810 gcc_cv_math_func_cacoshl
=yes
24812 gcc_cv_math_func_cacoshl
=no
24814 rm -f core conftest.err conftest.
$ac_objext \
24815 conftest
$ac_exeext conftest.
$ac_ext
24817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24818 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24819 if test $gcc_cv_math_func_cacoshl = yes; then
24821 cat >>confdefs.h
<<_ACEOF
24822 #define HAVE_CACOSHL 1
24830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24831 $as_echo_n "checking for cacosl... " >&6; }
24832 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24833 $as_echo_n "(cached) " >&6
24835 if test x
$gcc_no_link = xyes
; then
24836 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24839 /* end confdefs.h. */
24841 #ifdef HAVE_COMPLEX_H
24842 #include <complex.h>
24848 int (*ptr)() = (int (*)())cacosl;
24857 if ac_fn_c_try_link
"$LINENO"; then :
24858 gcc_cv_math_func_cacosl
=yes
24860 gcc_cv_math_func_cacosl
=no
24862 rm -f core conftest.err conftest.
$ac_objext \
24863 conftest
$ac_exeext conftest.
$ac_ext
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24866 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24867 if test $gcc_cv_math_func_cacosl = yes; then
24869 cat >>confdefs.h
<<_ACEOF
24870 #define HAVE_CACOSL 1
24878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24879 $as_echo_n "checking for casin... " >&6; }
24880 if test "${gcc_cv_math_func_casin+set}" = set; then :
24881 $as_echo_n "(cached) " >&6
24883 if test x
$gcc_no_link = xyes
; then
24884 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24887 /* end confdefs.h. */
24889 #ifdef HAVE_COMPLEX_H
24890 #include <complex.h>
24896 int (*ptr)() = (int (*)())casin;
24905 if ac_fn_c_try_link
"$LINENO"; then :
24906 gcc_cv_math_func_casin
=yes
24908 gcc_cv_math_func_casin
=no
24910 rm -f core conftest.err conftest.
$ac_objext \
24911 conftest
$ac_exeext conftest.
$ac_ext
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24914 $as_echo "$gcc_cv_math_func_casin" >&6; }
24915 if test $gcc_cv_math_func_casin = yes; then
24917 cat >>confdefs.h
<<_ACEOF
24918 #define HAVE_CASIN 1
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24927 $as_echo_n "checking for casinf... " >&6; }
24928 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24929 $as_echo_n "(cached) " >&6
24931 if test x
$gcc_no_link = xyes
; then
24932 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24935 /* end confdefs.h. */
24937 #ifdef HAVE_COMPLEX_H
24938 #include <complex.h>
24944 int (*ptr)() = (int (*)())casinf;
24953 if ac_fn_c_try_link
"$LINENO"; then :
24954 gcc_cv_math_func_casinf
=yes
24956 gcc_cv_math_func_casinf
=no
24958 rm -f core conftest.err conftest.
$ac_objext \
24959 conftest
$ac_exeext conftest.
$ac_ext
24961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24962 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24963 if test $gcc_cv_math_func_casinf = yes; then
24965 cat >>confdefs.h
<<_ACEOF
24966 #define HAVE_CASINF 1
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24975 $as_echo_n "checking for casinh... " >&6; }
24976 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24977 $as_echo_n "(cached) " >&6
24979 if test x
$gcc_no_link = xyes
; then
24980 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24983 /* end confdefs.h. */
24985 #ifdef HAVE_COMPLEX_H
24986 #include <complex.h>
24992 int (*ptr)() = (int (*)())casinh;
25001 if ac_fn_c_try_link
"$LINENO"; then :
25002 gcc_cv_math_func_casinh
=yes
25004 gcc_cv_math_func_casinh
=no
25006 rm -f core conftest.err conftest.
$ac_objext \
25007 conftest
$ac_exeext conftest.
$ac_ext
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25010 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25011 if test $gcc_cv_math_func_casinh = yes; then
25013 cat >>confdefs.h
<<_ACEOF
25014 #define HAVE_CASINH 1
25022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25023 $as_echo_n "checking for casinhf... " >&6; }
25024 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25025 $as_echo_n "(cached) " >&6
25027 if test x
$gcc_no_link = xyes
; then
25028 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25031 /* end confdefs.h. */
25033 #ifdef HAVE_COMPLEX_H
25034 #include <complex.h>
25040 int (*ptr)() = (int (*)())casinhf;
25049 if ac_fn_c_try_link
"$LINENO"; then :
25050 gcc_cv_math_func_casinhf
=yes
25052 gcc_cv_math_func_casinhf
=no
25054 rm -f core conftest.err conftest.
$ac_objext \
25055 conftest
$ac_exeext conftest.
$ac_ext
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25058 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25059 if test $gcc_cv_math_func_casinhf = yes; then
25061 cat >>confdefs.h
<<_ACEOF
25062 #define HAVE_CASINHF 1
25070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25071 $as_echo_n "checking for casinhl... " >&6; }
25072 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25073 $as_echo_n "(cached) " >&6
25075 if test x
$gcc_no_link = xyes
; then
25076 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25079 /* end confdefs.h. */
25081 #ifdef HAVE_COMPLEX_H
25082 #include <complex.h>
25088 int (*ptr)() = (int (*)())casinhl;
25097 if ac_fn_c_try_link
"$LINENO"; then :
25098 gcc_cv_math_func_casinhl
=yes
25100 gcc_cv_math_func_casinhl
=no
25102 rm -f core conftest.err conftest.
$ac_objext \
25103 conftest
$ac_exeext conftest.
$ac_ext
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25106 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25107 if test $gcc_cv_math_func_casinhl = yes; then
25109 cat >>confdefs.h
<<_ACEOF
25110 #define HAVE_CASINHL 1
25118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25119 $as_echo_n "checking for casinl... " >&6; }
25120 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25121 $as_echo_n "(cached) " >&6
25123 if test x
$gcc_no_link = xyes
; then
25124 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25127 /* end confdefs.h. */
25129 #ifdef HAVE_COMPLEX_H
25130 #include <complex.h>
25136 int (*ptr)() = (int (*)())casinl;
25145 if ac_fn_c_try_link
"$LINENO"; then :
25146 gcc_cv_math_func_casinl
=yes
25148 gcc_cv_math_func_casinl
=no
25150 rm -f core conftest.err conftest.
$ac_objext \
25151 conftest
$ac_exeext conftest.
$ac_ext
25153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25154 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25155 if test $gcc_cv_math_func_casinl = yes; then
25157 cat >>confdefs.h
<<_ACEOF
25158 #define HAVE_CASINL 1
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25167 $as_echo_n "checking for catan... " >&6; }
25168 if test "${gcc_cv_math_func_catan+set}" = set; then :
25169 $as_echo_n "(cached) " >&6
25171 if test x
$gcc_no_link = xyes
; then
25172 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25175 /* end confdefs.h. */
25177 #ifdef HAVE_COMPLEX_H
25178 #include <complex.h>
25184 int (*ptr)() = (int (*)())catan;
25193 if ac_fn_c_try_link
"$LINENO"; then :
25194 gcc_cv_math_func_catan
=yes
25196 gcc_cv_math_func_catan
=no
25198 rm -f core conftest.err conftest.
$ac_objext \
25199 conftest
$ac_exeext conftest.
$ac_ext
25201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25202 $as_echo "$gcc_cv_math_func_catan" >&6; }
25203 if test $gcc_cv_math_func_catan = yes; then
25205 cat >>confdefs.h
<<_ACEOF
25206 #define HAVE_CATAN 1
25214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25215 $as_echo_n "checking for catanf... " >&6; }
25216 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25217 $as_echo_n "(cached) " >&6
25219 if test x
$gcc_no_link = xyes
; then
25220 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25223 /* end confdefs.h. */
25225 #ifdef HAVE_COMPLEX_H
25226 #include <complex.h>
25232 int (*ptr)() = (int (*)())catanf;
25241 if ac_fn_c_try_link
"$LINENO"; then :
25242 gcc_cv_math_func_catanf
=yes
25244 gcc_cv_math_func_catanf
=no
25246 rm -f core conftest.err conftest.
$ac_objext \
25247 conftest
$ac_exeext conftest.
$ac_ext
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25250 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25251 if test $gcc_cv_math_func_catanf = yes; then
25253 cat >>confdefs.h
<<_ACEOF
25254 #define HAVE_CATANF 1
25262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25263 $as_echo_n "checking for catanh... " >&6; }
25264 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25265 $as_echo_n "(cached) " >&6
25267 if test x
$gcc_no_link = xyes
; then
25268 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h. */
25273 #ifdef HAVE_COMPLEX_H
25274 #include <complex.h>
25280 int (*ptr)() = (int (*)())catanh;
25289 if ac_fn_c_try_link
"$LINENO"; then :
25290 gcc_cv_math_func_catanh
=yes
25292 gcc_cv_math_func_catanh
=no
25294 rm -f core conftest.err conftest.
$ac_objext \
25295 conftest
$ac_exeext conftest.
$ac_ext
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25298 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25299 if test $gcc_cv_math_func_catanh = yes; then
25301 cat >>confdefs.h
<<_ACEOF
25302 #define HAVE_CATANH 1
25310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25311 $as_echo_n "checking for catanhf... " >&6; }
25312 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25313 $as_echo_n "(cached) " >&6
25315 if test x
$gcc_no_link = xyes
; then
25316 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25319 /* end confdefs.h. */
25321 #ifdef HAVE_COMPLEX_H
25322 #include <complex.h>
25328 int (*ptr)() = (int (*)())catanhf;
25337 if ac_fn_c_try_link
"$LINENO"; then :
25338 gcc_cv_math_func_catanhf
=yes
25340 gcc_cv_math_func_catanhf
=no
25342 rm -f core conftest.err conftest.
$ac_objext \
25343 conftest
$ac_exeext conftest.
$ac_ext
25345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25346 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25347 if test $gcc_cv_math_func_catanhf = yes; then
25349 cat >>confdefs.h
<<_ACEOF
25350 #define HAVE_CATANHF 1
25358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25359 $as_echo_n "checking for catanhl... " >&6; }
25360 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25361 $as_echo_n "(cached) " >&6
25363 if test x
$gcc_no_link = xyes
; then
25364 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25367 /* end confdefs.h. */
25369 #ifdef HAVE_COMPLEX_H
25370 #include <complex.h>
25376 int (*ptr)() = (int (*)())catanhl;
25385 if ac_fn_c_try_link
"$LINENO"; then :
25386 gcc_cv_math_func_catanhl
=yes
25388 gcc_cv_math_func_catanhl
=no
25390 rm -f core conftest.err conftest.
$ac_objext \
25391 conftest
$ac_exeext conftest.
$ac_ext
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25394 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25395 if test $gcc_cv_math_func_catanhl = yes; then
25397 cat >>confdefs.h
<<_ACEOF
25398 #define HAVE_CATANHL 1
25406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25407 $as_echo_n "checking for catanl... " >&6; }
25408 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25409 $as_echo_n "(cached) " >&6
25411 if test x
$gcc_no_link = xyes
; then
25412 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25415 /* end confdefs.h. */
25417 #ifdef HAVE_COMPLEX_H
25418 #include <complex.h>
25424 int (*ptr)() = (int (*)())catanl;
25433 if ac_fn_c_try_link
"$LINENO"; then :
25434 gcc_cv_math_func_catanl
=yes
25436 gcc_cv_math_func_catanl
=no
25438 rm -f core conftest.err conftest.
$ac_objext \
25439 conftest
$ac_exeext conftest.
$ac_ext
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25442 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25443 if test $gcc_cv_math_func_catanl = yes; then
25445 cat >>confdefs.h
<<_ACEOF
25446 #define HAVE_CATANL 1
25452 # On AIX, clog is present in libm as __clog
25453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25454 $as_echo_n "checking for __clog in -lm... " >&6; }
25455 if test "${ac_cv_lib_m___clog+set}" = set; then :
25456 $as_echo_n "(cached) " >&6
25458 ac_check_lib_save_LIBS
=$LIBS
25460 if test x
$gcc_no_link = xyes
; then
25461 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25464 /* end confdefs.h. */
25466 /* Override any GCC internal prototype to avoid an error.
25467 Use char because int might match the return type of a GCC
25468 builtin and then its argument prototype would still apply. */
25481 if ac_fn_c_try_link
"$LINENO"; then :
25482 ac_cv_lib_m___clog
=yes
25484 ac_cv_lib_m___clog
=no
25486 rm -f core conftest.err conftest.
$ac_objext \
25487 conftest
$ac_exeext conftest.
$ac_ext
25488 LIBS
=$ac_check_lib_save_LIBS
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25491 $as_echo "$ac_cv_lib_m___clog" >&6; }
25492 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25494 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25499 # Check whether the system has a working stat()
25501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25502 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25503 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25504 $as_echo_n "(cached) " >&6
25507 if test "$cross_compiling" = yes; then :
25509 case "${target}" in
25510 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25511 *) libgfor_cv_have_working_stat
=yes;;
25514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25515 /* end confdefs.h. */
25518 #include <sys/types.h>
25519 #include <sys/stat.h>
25520 #include <unistd.h>
25525 struct stat st1, st2;
25527 f = fopen ("foo", "w");
25528 g = fopen ("bar", "w");
25529 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25531 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25538 if ac_fn_c_try_run
"$LINENO"; then :
25539 libgfor_cv_have_working_stat
=yes
25541 libgfor_cv_have_working_stat
=no
25543 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25544 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25549 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25550 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25552 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25556 # Check whether __mingw_snprintf() is present
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25559 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25560 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25561 $as_echo_n "(cached) " >&6
25564 if test x
$gcc_no_link = xyes
; then
25565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25568 /* end confdefs.h. */
25571 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25577 __mingw_snprintf (NULL, 0, "%d\n", 1);
25583 if ac_fn_c_try_link
"$LINENO"; then :
25584 eval "libgfor_cv_have_mingw_snprintf=yes"
25586 eval "libgfor_cv_have_mingw_snprintf=no"
25588 rm -f core conftest.err conftest.
$ac_objext \
25589 conftest
$ac_exeext conftest.
$ac_ext
25592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25593 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25594 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25596 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25601 # Check whether libquadmath should be used
25602 # Check whether --enable-libquadmath-support was given.
25603 if test "${enable_libquadmath_support+set}" = set; then :
25604 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25606 ENABLE_LIBQUADMATH_SUPPORT
=yes
25609 enable_libquadmath_support
=
25610 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25611 enable_libquadmath_support
=no
25614 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25618 if test "x$enable_libquadmath_support" != xno
; then
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25621 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25622 if test "${libgfor_cv_have_float128+set}" = set; then :
25623 $as_echo_n "(cached) " >&6
25626 if test x
$gcc_no_link = xyes
; then
25627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25628 /* end confdefs.h. */
25630 typedef _Complex float __attribute__((mode(TC))) __complex128;
25632 __float128 foo (__float128 x)
25635 __complex128 z1, z2;
25641 return (__float128) z2;
25644 __float128 bar (__float128 x)
25646 return x * __builtin_huge_valq ();
25660 if ac_fn_c_try_compile
"$LINENO"; then :
25662 libgfor_cv_have_float128
=yes
25666 libgfor_cv_have_float128
=no
25669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25671 if test x
$gcc_no_link = xyes
; then
25672 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25675 /* end confdefs.h. */
25677 typedef _Complex float __attribute__((mode(TC))) __complex128;
25679 __float128 foo (__float128 x)
25682 __complex128 z1, z2;
25688 return (__float128) z2;
25691 __float128 bar (__float128 x)
25693 return x * __builtin_huge_valq ();
25707 if ac_fn_c_try_link
"$LINENO"; then :
25709 libgfor_cv_have_float128
=yes
25713 libgfor_cv_have_float128
=no
25716 rm -f core conftest.err conftest.
$ac_objext \
25717 conftest
$ac_exeext conftest.
$ac_ext
25720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25721 $as_echo "$libgfor_cv_have_float128" >&6; }
25723 if test "x$libgfor_cv_have_float128" = xyes
; then
25725 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25728 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25730 $as_echo_n "checking whether --as-needed works... " >&6; }
25731 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25732 $as_echo_n "(cached) " >&6
25735 save_LDFLAGS
="$LDFLAGS"
25736 LDFLAGS
="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25737 libgfor_cv_have_as_needed
=no
25739 ac_c_werror_flag
=yes
25740 if test x
$gcc_no_link = xyes
; then
25741 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25744 /* end confdefs.h. */
25754 if ac_fn_c_try_link
"$LINENO"; then :
25755 libgfor_cv_have_as_needed
=yes
25757 libgfor_cv_have_as_needed
=no
25759 rm -f core conftest.err conftest.
$ac_objext \
25760 conftest
$ac_exeext conftest.
$ac_ext
25761 LDFLAGS
="$save_LDFLAGS"
25762 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25766 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25768 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25769 LIBQUADSPEC
="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25771 LIBQUADSPEC
="-lquadmath"
25773 if test -f ..
/libquadmath
/libquadmath.la
; then
25774 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25775 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25776 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25778 LIBQUADLIB
="-lquadmath"
25784 # for --disable-quadmath
25795 if test "x$libgfor_cv_have_float128" = xyes
; then
25796 LIBGFOR_BUILD_QUAD_TRUE
=
25797 LIBGFOR_BUILD_QUAD_FALSE
='#'
25799 LIBGFOR_BUILD_QUAD_TRUE
='#'
25800 LIBGFOR_BUILD_QUAD_FALSE
=
25805 # Check for GNU libc feenableexcept
25806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25807 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25808 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25809 $as_echo_n "(cached) " >&6
25811 ac_check_lib_save_LIBS
=$LIBS
25813 if test x
$gcc_no_link = xyes
; then
25814 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25817 /* end confdefs.h. */
25819 /* Override any GCC internal prototype to avoid an error.
25820 Use char because int might match the return type of a GCC
25821 builtin and then its argument prototype would still apply. */
25825 char feenableexcept ();
25829 return feenableexcept ();
25834 if ac_fn_c_try_link
"$LINENO"; then :
25835 ac_cv_lib_m_feenableexcept
=yes
25837 ac_cv_lib_m_feenableexcept
=no
25839 rm -f core conftest.err conftest.
$ac_objext \
25840 conftest
$ac_exeext conftest.
$ac_ext
25841 LIBS
=$ac_check_lib_save_LIBS
25843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25844 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25845 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25846 have_feenableexcept
=yes
25847 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25852 # At least for glibc, clock_gettime is in librt. But don't
25853 # pull that in if it still doesn't give us the function we want. This
25854 # test is copied from libgomp, and modified to not link in -lrt as
25855 # libgfortran calls clock_gettime via a weak reference if it's found
25857 if test $ac_cv_func_clock_gettime = no
; then
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25859 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25860 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25861 $as_echo_n "(cached) " >&6
25863 ac_check_lib_save_LIBS
=$LIBS
25865 if test x
$gcc_no_link = xyes
; then
25866 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25869 /* end confdefs.h. */
25871 /* Override any GCC internal prototype to avoid an error.
25872 Use char because int might match the return type of a GCC
25873 builtin and then its argument prototype would still apply. */
25877 char clock_gettime ();
25881 return clock_gettime ();
25886 if ac_fn_c_try_link
"$LINENO"; then :
25887 ac_cv_lib_rt_clock_gettime
=yes
25889 ac_cv_lib_rt_clock_gettime
=no
25891 rm -f core conftest.err conftest.
$ac_objext \
25892 conftest
$ac_exeext conftest.
$ac_ext
25893 LIBS
=$ac_check_lib_save_LIBS
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25896 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25897 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25899 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25905 # Check for SysV fpsetmask
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25908 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25909 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25910 $as_echo_n "(cached) " >&6
25913 if test x
$gcc_no_link = xyes
; then
25914 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25917 /* end confdefs.h. */
25919 #if HAVE_FLOATINGPOINT_H
25920 # include <floatingpoint.h>
25921 #endif /* HAVE_FLOATINGPOINT_H */
25923 # include <ieeefp.h>
25924 #endif /* HAVE_IEEEFP_H */
25933 if ac_fn_c_try_link
"$LINENO"; then :
25934 eval "libgfor_cv_have_fpsetmask=yes"
25936 eval "libgfor_cv_have_fpsetmask=no"
25938 rm -f core conftest.err conftest.
$ac_objext \
25939 conftest
$ac_exeext conftest.
$ac_ext
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25943 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25944 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
25947 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25952 # Check for AIX fp_trap and fp_enable
25953 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25954 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
25956 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25960 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25961 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
25963 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25968 # Runs configure.host to set up necessary host-dependent shell variables.
25969 # We then display a message about it, and propagate them through the
25971 .
${srcdir}/configure.
host
25972 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25973 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25974 FPU_HOST_HEADER
=config
/${fpu_host}.h
25977 # Some targets require additional compiler options for IEEE compatibility.
25978 IEEE_FLAGS
="${ieee_flags}"
25982 # Check for POSIX getpwuid_r
25984 # There are two versions of getpwuid_r, the POSIX one with 5
25985 # arguments, and another one with 4 arguments used by at least HP-UX
25987 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25989 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25990 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25991 $as_echo_n "(cached) " >&6
25994 if test x
$gcc_no_link = xyes
; then
25995 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25998 /* end confdefs.h. */
26001 #include <sys/types.h>
26007 getpwuid_r(0, NULL, NULL, 0, NULL);
26013 if ac_fn_c_try_link
"$LINENO"; then :
26014 libgfor_cv_posix_getpwuid_r
="yes"
26016 libgfor_cv_posix_getpwuid_r
="no"
26018 rm -f core conftest.err conftest.
$ac_objext \
26019 conftest
$ac_exeext conftest.
$ac_ext
26021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26022 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26024 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26026 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26031 # Check out attribute support.
26033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26034 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26035 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26036 $as_echo_n "(cached) " >&6
26039 save_CFLAGS
="$CFLAGS"
26040 CFLAGS
="$CFLAGS -Werror"
26041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26042 /* end confdefs.h. */
26043 void __attribute__((visibility("hidden"))) foo(void) { }
26052 if ac_fn_c_try_compile
"$LINENO"; then :
26053 libgfor_cv_have_attribute_visibility
=yes
26055 libgfor_cv_have_attribute_visibility
=no
26057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26058 CFLAGS
="$save_CFLAGS"
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26061 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26062 if test $libgfor_cv_have_attribute_visibility = yes; then
26064 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26069 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26070 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26071 $as_echo_n "(cached) " >&6
26074 save_CFLAGS
="$CFLAGS"
26075 CFLAGS
="$CFLAGS -Werror"
26076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26077 /* end confdefs.h. */
26078 void __attribute__((dllexport)) foo(void) { }
26087 if ac_fn_c_try_compile
"$LINENO"; then :
26088 libgfor_cv_have_attribute_dllexport
=yes
26090 libgfor_cv_have_attribute_dllexport
=no
26092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26093 CFLAGS
="$save_CFLAGS"
26095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26096 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26097 if test $libgfor_cv_have_attribute_dllexport = yes; then
26099 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26104 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26105 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26106 $as_echo_n "(cached) " >&6
26109 if test x
$gcc_no_link = xyes
; then
26110 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26113 /* end confdefs.h. */
26116 extern void bar(void) __attribute__((alias("foo")));
26125 if ac_fn_c_try_link
"$LINENO"; then :
26126 libgfor_cv_have_attribute_alias
=yes
26128 libgfor_cv_have_attribute_alias
=no
26130 rm -f core conftest.err conftest.
$ac_objext \
26131 conftest
$ac_exeext conftest.
$ac_ext
26133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26134 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26135 if test $libgfor_cv_have_attribute_alias = yes; then
26137 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26141 # Check out sync builtins support.
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26144 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26145 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26146 $as_echo_n "(cached) " >&6
26149 if test x
$gcc_no_link = xyes
; then
26150 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26153 /* end confdefs.h. */
26159 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26160 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26165 if ac_fn_c_try_link
"$LINENO"; then :
26166 libgfor_cv_have_sync_fetch_and_add
=yes
26168 libgfor_cv_have_sync_fetch_and_add
=no
26170 rm -f core conftest.err conftest.
$ac_objext \
26171 conftest
$ac_exeext conftest.
$ac_ext
26173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26174 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26175 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26177 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26181 # Check out #pragma weak.
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26184 $as_echo_n "checking whether pragma weak works... " >&6; }
26185 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26186 $as_echo_n "(cached) " >&6
26189 gfor_save_CFLAGS
="$CFLAGS"
26190 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26192 /* end confdefs.h. */
26205 if ac_fn_c_try_compile
"$LINENO"; then :
26206 libgfor_cv_have_pragma_weak
=yes
26208 libgfor_cv_have_pragma_weak
=no
26210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26213 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26214 if test $libgfor_cv_have_pragma_weak = yes; then
26216 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26220 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
26222 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26227 # Various other checks on target
26229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26230 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26231 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26232 $as_echo_n "(cached) " >&6
26235 if test "$cross_compiling" = yes; then :
26237 case "${target}" in
26238 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26239 *) libgfor_cv_have_unlink_open_file
=yes;;
26242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26243 /* end confdefs.h. */
26247 #include <unistd.h>
26248 #include <sys/stat.h>
26254 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26257 if (unlink ("testfile") == -1)
26259 write (fd, "This is a test\n", 15);
26262 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26268 if ac_fn_c_try_run
"$LINENO"; then :
26269 libgfor_cv_have_unlink_open_file
=yes
26271 libgfor_cv_have_unlink_open_file
=no
26273 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26274 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26279 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26280 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26282 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26286 # Check whether line terminator is LF or CRLF
26288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26289 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26290 if test "${libgfor_cv_have_crlf+set}" = set; then :
26291 $as_echo_n "(cached) " >&6
26294 if test "$cross_compiling" = yes; then :
26296 case "${target}" in
26297 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26298 *) libgfor_cv_have_crlf
=no
;;
26301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26302 /* end confdefs.h. */
26304 /* This test program should exit with status 0 if system uses a CRLF as
26305 line terminator, and status 1 otherwise.
26306 Since it is used to check for mingw systems, and should return 0 in any
26307 other case, in case of a failure we will not use CRLF. */
26308 #include <sys/stat.h>
26309 #include <stdlib.h>
26321 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26324 if (write (fd, "\n", 1) < 0)
26329 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26331 bytes = read (fd, buff, 5);
26332 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26339 if ac_fn_c_try_run
"$LINENO"; then :
26340 libgfor_cv_have_crlf
=yes
26342 libgfor_cv_have_crlf
=no
26344 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26345 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26350 $as_echo "$libgfor_cv_have_crlf" >&6; }
26351 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26353 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26357 # Check whether we have _Unwind_GetIPInfo for backtrace
26360 # Check whether --with-system-libunwind was given.
26361 if test "${with_system_libunwind+set}" = set; then :
26362 withval
=$with_system_libunwind;
26365 # If system-libunwind was not specifically set, pick a default setting.
26366 if test x
$with_system_libunwind = x
; then
26368 ia64-
*-hpux*) with_system_libunwind
=yes ;;
26369 *) with_system_libunwind
=no
;;
26372 # Based on system-libunwind and target, do we have ipinfo?
26373 if test x
$with_system_libunwind = xyes
; then
26375 ia64-
*-*) have_unwind_getipinfo
=no
;;
26376 *) have_unwind_getipinfo
=yes ;;
26379 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26382 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
26383 *) have_unwind_getipinfo
=yes ;;
26388 if test x
$have_unwind_getipinfo = xyes
; then
26390 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26395 cat >confcache
<<\_ACEOF
26396 # This file is a shell script that caches the results of configure
26397 # tests run on this system so they can be shared between configure
26398 # scripts and configure runs, see configure's option --config-cache.
26399 # It is not useful on other systems. If it contains results you don't
26400 # want to keep, you may remove or edit it.
26402 # config.status only pays attention to the cache file if you give it
26403 # the --recheck option to rerun configure.
26405 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26406 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26407 # following values.
26411 # The following way of writing the cache mishandles newlines in values,
26412 # but we know of no workaround that is simple, portable, and efficient.
26413 # So, we kill variables containing newlines.
26414 # Ultrix sh set writes to stderr and can't be redirected directly,
26415 # and sets the high bit in the cache file unless we assign to the vars.
26417 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26418 eval ac_val
=\$
$ac_var
26422 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26423 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26426 _ | IFS | as_nl
) ;; #(
26427 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26428 *) { eval $ac_var=; unset $ac_var;} ;;
26434 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26435 *${as_nl}ac_space
=\
*)
26436 # `set' does not quote correctly, so add quotes: double-quote
26437 # substitution turns \\\\ into \\, and sed turns \\ into \.
26440 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26443 # `set' quotes correctly as required by POSIX, so do not add quotes.
26444 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26453 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26455 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26457 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26458 if test -w "$cache_file"; then
26459 test "x$cache_file" != "x/dev/null" &&
26460 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26461 $as_echo "$as_me: updating cache $cache_file" >&6;}
26462 cat confcache
>$cache_file
26464 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26465 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26470 if test ${multilib} = yes; then
26471 multilib_arg
="--enable-multilib"
26476 # Write our Makefile and spec file.
26477 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26479 cat >confcache
<<\_ACEOF
26480 # This file is a shell script that caches the results of configure
26481 # tests run on this system so they can be shared between configure
26482 # scripts and configure runs, see configure's option --config-cache.
26483 # It is not useful on other systems. If it contains results you don't
26484 # want to keep, you may remove or edit it.
26486 # config.status only pays attention to the cache file if you give it
26487 # the --recheck option to rerun configure.
26489 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26490 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26491 # following values.
26495 # The following way of writing the cache mishandles newlines in values,
26496 # but we know of no workaround that is simple, portable, and efficient.
26497 # So, we kill variables containing newlines.
26498 # Ultrix sh set writes to stderr and can't be redirected directly,
26499 # and sets the high bit in the cache file unless we assign to the vars.
26501 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26502 eval ac_val
=\$
$ac_var
26506 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26507 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26510 _ | IFS | as_nl
) ;; #(
26511 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26512 *) { eval $ac_var=; unset $ac_var;} ;;
26518 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26519 *${as_nl}ac_space
=\
*)
26520 # `set' does not quote correctly, so add quotes: double-quote
26521 # substitution turns \\\\ into \\, and sed turns \\ into \.
26524 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26527 # `set' quotes correctly as required by POSIX, so do not add quotes.
26528 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26537 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26539 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26541 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26542 if test -w "$cache_file"; then
26543 test "x$cache_file" != "x/dev/null" &&
26544 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26545 $as_echo "$as_me: updating cache $cache_file" >&6;}
26546 cat confcache
>$cache_file
26548 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26549 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26554 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26555 # Let make expand exec_prefix.
26556 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26558 DEFS
=-DHAVE_CONFIG_H
26562 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26563 # 1. Remove the extension, and $U if already installed.
26564 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26565 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26566 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26567 # will be set to the directory where LIBOBJS objects are built.
26568 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26569 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26571 LIBOBJS
=$ac_libobjs
26573 LTLIBOBJS
=$ac_ltlibobjs
26576 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26577 as_fn_error
"conditional \"onestep\" was never defined.
26578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26580 if test -n "$EXEEXT"; then
26582 am__EXEEXT_FALSE
='#'
26584 am__EXEEXT_TRUE
='#'
26588 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26589 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26592 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26593 as_fn_error
"conditional \"AMDEP\" was never defined.
26594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26596 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26597 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26600 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26601 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26604 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26605 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26608 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26609 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26612 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26613 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26616 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26617 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26621 : ${CONFIG_STATUS=./config.status}
26623 ac_clean_files_save
=$ac_clean_files
26624 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26625 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26626 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26628 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26630 # Generated by $as_me.
26631 # Run this file to recreate the current configuration.
26632 # Compiler output produced by configure, useful for debugging
26633 # configure, is in config.log if it exists.
26636 ac_cs_recheck=false
26639 SHELL=\${CONFIG_SHELL-$SHELL}
26642 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26643 ## -------------------- ##
26644 ## M4sh Initialization. ##
26645 ## -------------------- ##
26647 # Be more Bourne compatible
26648 DUALCASE
=1; export DUALCASE
# for MKS sh
26649 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26652 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26653 # is contrary to our usage. Disable this feature.
26654 alias -g '${1+"$@"}'='"$@"'
26655 setopt NO_GLOB_SUBST
26657 case `(set -o) 2>/dev/null` in #(
26669 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26670 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26671 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26672 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26673 # Prefer a ksh shell builtin over an external printf program on Solaris,
26674 # but without wasting forks for bash or zsh.
26675 if test -z "$BASH_VERSION$ZSH_VERSION" \
26676 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26677 as_echo='print
-r --'
26678 as_echo_n='print
-rn --'
26679 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26680 as_echo='printf %s
\n'
26681 as_echo_n='printf %s
'
26683 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26684 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26685 as_echo_n='/usr
/ucb
/echo -n'
26687 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26688 as_echo_n_body='eval
26692 expr "X$arg" : "X\\(.*\\)$as_nl";
26693 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26695 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26697 export as_echo_n_body
26698 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26700 export as_echo_body
26701 as_echo='sh
-c $as_echo_body as_echo
'
26704 # The user is always right.
26705 if test "${PATH_SEPARATOR+set}" != set; then
26707 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26708 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26715 # We need space, tab and new line, in precisely that order. Quoting is
26716 # there to prevent editors from complaining about space-tab.
26717 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26718 # splitting by setting IFS to empty value.)
26721 # Find who we are. Look in the path if we contain no directory separator.
26723 *[\\/]* ) as_myself=$0 ;;
26724 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26725 for as_dir in $PATH
26728 test -z "$as_dir" && as_dir=.
26729 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26735 # We did not find ourselves, most probably we were run as `sh COMMAND'
26736 # in which case we are not to be found in the path.
26737 if test "x$as_myself" = x
; then
26740 if test ! -f "$as_myself"; then
26741 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26745 # Unset variables that we do not need and which cause bugs (e.g. in
26746 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26747 # suppresses any "Segmentation fault" message there. '((' could
26748 # trigger a bug in pdksh 5.2.14.
26749 for as_var
in BASH_ENV ENV MAIL MAILPATH
26750 do eval test x\
${$as_var+set} = xset \
26751 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26764 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26767 # as_fn_error ERROR [LINENO LOG_FD]
26768 # ---------------------------------
26769 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26770 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26771 # script with status $?, using 1 if that was 0.
26774 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26776 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26777 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26779 $as_echo "$as_me: error: $1" >&2
26780 as_fn_exit
$as_status
26784 # as_fn_set_status STATUS
26785 # -----------------------
26786 # Set $? to STATUS, without forking.
26787 as_fn_set_status
()
26790 } # as_fn_set_status
26792 # as_fn_exit STATUS
26793 # -----------------
26794 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26798 as_fn_set_status
$1
26804 # Portably unset VAR.
26807 { eval $1=; unset $1;}
26809 as_unset
=as_fn_unset
26810 # as_fn_append VAR VALUE
26811 # ----------------------
26812 # Append the text in VALUE to the end of the definition contained in VAR. Take
26813 # advantage of any shell optimizations that allow amortized linear growth over
26814 # repeated appends, instead of the typical quadratic growth present in naive
26816 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26817 eval 'as_fn_append ()
26828 # as_fn_arith ARG...
26829 # ------------------
26830 # Perform arithmetic evaluation on the ARGs, and store the result in the
26831 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26832 # must be portable across $(()) and expr.
26833 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26834 eval 'as_fn_arith ()
26841 as_val
=`expr "$@" || test $? -eq 1`
26846 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26847 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26853 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26854 as_basename
=basename
26859 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26865 as_me
=`$as_basename -- "$0" ||
26866 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26867 X"$0" : 'X\(//\)$' \| \
26868 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26870 sed '/^.*\/\([^/][^/]*\)\/*$/{
26884 # Avoid depending upon Character Ranges.
26885 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26886 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26887 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26888 as_cr_digits
='0123456789'
26889 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26891 ECHO_C
= ECHO_N
= ECHO_T
=
26892 case `echo -n x` in #(((((
26894 case `echo 'xy\c'` in
26895 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26897 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
26904 rm -f conf$$ conf$$.exe conf$$.
file
26905 if test -d conf$$.dir
; then
26906 rm -f conf$$.dir
/conf$$.
file
26909 mkdir conf$$.dir
2>/dev
/null
26911 if (echo >conf$$.
file) 2>/dev
/null
; then
26912 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26914 # ... but there are two gotchas:
26915 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26916 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26917 # In both cases, we have to default to `cp -p'.
26918 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26920 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26928 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26929 rmdir conf$$.dir
2>/dev
/null
26934 # Create "$as_dir" as a directory, including parents if necessary.
26939 -*) as_dir
=.
/$as_dir;;
26941 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
26945 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26946 *) as_qdir
=$as_dir;;
26948 as_dirs
="'$as_qdir' $as_dirs"
26949 as_dir
=`$as_dirname -- "$as_dir" ||
26950 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26951 X"$as_dir" : 'X\(//\)[^/]' \| \
26952 X"$as_dir" : 'X\(//\)$' \| \
26953 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26954 $as_echo X"$as_dir" |
26955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26959 /^X\(\/\/\)[^/].*/{
26972 test -d "$as_dir" && break
26974 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26975 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
26979 if mkdir
-p .
2>/dev
/null
; then
26980 as_mkdir_p
='mkdir -p "$as_dir"'
26982 test -d .
/-p && rmdir .
/-p
26986 if test -x / >/dev
/null
2>&1; then
26987 as_test_x
='test -x'
26989 if ls -dL / >/dev
/null
2>&1; then
26996 if test -d "$1"; then
27002 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27003 ???[sx]*):;;*)false;;esac;fi
27007 as_executable_p
=$as_test_x
27009 # Sed expression to map a string onto a valid CPP name.
27010 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27012 # Sed expression to map a string onto a valid variable name.
27013 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27017 ## ----------------------------------- ##
27018 ## Main body of $CONFIG_STATUS script. ##
27019 ## ----------------------------------- ##
27021 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27024 # Save the log message, to keep $0 and so on meaningful, and to
27025 # report actual input values of CONFIG_FILES etc. instead of their
27026 # values after options handling.
27028 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27029 generated by GNU Autoconf 2.64. Invocation command line was
27031 CONFIG_FILES = $CONFIG_FILES
27032 CONFIG_HEADERS = $CONFIG_HEADERS
27033 CONFIG_LINKS = $CONFIG_LINKS
27034 CONFIG_COMMANDS = $CONFIG_COMMANDS
27037 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27042 case $ac_config_files in *"
27043 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27046 case $ac_config_headers in *"
27047 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27052 # Files that config.status was made for.
27053 config_files="$ac_config_files"
27054 config_headers="$ac_config_headers"
27055 config_commands="$ac_config_commands"
27059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27061 \`$as_me' instantiates files and other configuration actions
27062 from templates according to the current configuration. Unless the files
27063 and actions are specified as TAGs, all are instantiated by default.
27065 Usage: $0 [OPTION]... [TAG]...
27067 -h, --help print this help, then exit
27068 -V, --version print version number and configuration settings, then exit
27069 -q, --quiet, --silent
27070 do not print progress messages
27071 -d, --debug don't remove temporary files
27072 --recheck update $as_me by reconfiguring in the same conditions
27073 --file=FILE[:TEMPLATE]
27074 instantiate the configuration file FILE
27075 --header=FILE[:TEMPLATE]
27076 instantiate the configuration header FILE
27078 Configuration files:
27081 Configuration headers:
27084 Configuration commands:
27087 Report bugs to the package provider.
27088 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27089 General help using GNU software: <http://www.gnu.org/gethelp/>."
27092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27094 GNU Fortran Runtime Library config.status 0.3
27095 configured by $0, generated by GNU Autoconf 2.64,
27096 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27098 Copyright (C) 2009 Free Software Foundation, Inc.
27099 This config.status script is free software; the Free Software Foundation
27100 gives unlimited permission to copy, distribute and modify it."
27107 test -n "\$AWK" || AWK=awk
27110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27111 # The default lists apply if the user does not specify any file.
27117 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27118 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27129 # Handling of the options.
27130 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27132 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27133 $as_echo "$ac_cs_version"; exit ;;
27134 --debug |
--debu |
--deb |
--de |
--d |
-d )
27136 --file |
--fil |
--fi |
--f )
27139 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27141 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27142 ac_need_defaults
=false
;;
27143 --header |
--heade |
--head |
--hea )
27146 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27148 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27149 ac_need_defaults
=false
;;
27151 # Conflict between --help and --header
27152 as_fn_error
"ambiguous option: \`$1'
27153 Try \`$0 --help' for more information.";;
27154 --help |
--hel |
-h )
27155 $as_echo "$ac_cs_usage"; exit ;;
27156 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27157 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27160 # This is an error.
27161 -*) as_fn_error
"unrecognized option: \`$1'
27162 Try \`$0 --help' for more information." ;;
27164 *) as_fn_append ac_config_targets
" $1"
27165 ac_need_defaults
=false
;;
27171 ac_configure_extra_args
=
27173 if $ac_cs_silent; then
27175 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27180 if \$ac_cs_recheck; then
27181 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27183 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27184 CONFIG_SHELL='$SHELL'
27185 export CONFIG_SHELL
27190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27194 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27195 ## Running $as_me. ##
27201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27209 with_multisubdir="$with_multisubdir"
27210 with_multisrctop="$with_multisrctop"
27211 with_target_subdir="$with_target_subdir"
27212 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27213 multi_basedir="$multi_basedir"
27214 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27217 GFORTRAN="$GFORTRAN"
27219 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27222 # The HP-UX ksh and POSIX shell print the target directory to stdout
27223 # if CDPATH is set.
27224 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27226 sed_quote_subst='$sed_quote_subst'
27227 double_quote_subst='$double_quote_subst'
27228 delay_variable_subst='$delay_variable_subst'
27229 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27230 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27231 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27232 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27233 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27234 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27235 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27236 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27237 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27238 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27239 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27240 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27241 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27242 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27243 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27244 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27245 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27246 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27247 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27248 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27249 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27250 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27251 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27252 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27253 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27254 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27255 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27256 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27257 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27258 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27259 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27260 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27261 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27262 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27263 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27264 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27265 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27266 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27267 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27268 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27269 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27270 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27271 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27272 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27273 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27274 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27275 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27276 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27277 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"`'
27278 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27279 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27280 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27281 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27282 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27283 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27284 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27285 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27286 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27287 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27288 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27289 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27290 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27291 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27292 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27293 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27294 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27295 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27296 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27297 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27298 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27299 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27300 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27301 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27302 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27303 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27304 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27305 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27306 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27307 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27308 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27309 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27310 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27311 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27312 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27313 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27314 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27315 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27316 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27317 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27318 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27319 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27320 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27321 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27322 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27323 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27324 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27325 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27326 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27327 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27328 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27329 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27330 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27331 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27332 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27333 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27334 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27335 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27336 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27337 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27338 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27339 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27340 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27341 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27342 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27343 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27344 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27345 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27346 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27347 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27348 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27349 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27350 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27351 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27352 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27353 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27354 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27355 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27356 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27357 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27358 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27359 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27360 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27361 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27362 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27363 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27364 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27365 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27366 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27367 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27368 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27369 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27370 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27371 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27372 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27373 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27374 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27375 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27376 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27377 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27378 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27379 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27380 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27381 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27382 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27383 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27384 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27385 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27386 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27387 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27388 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27389 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27390 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27391 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27392 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27393 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27394 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27395 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27396 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27397 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27398 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27399 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27400 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27401 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27402 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27403 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27406 LTCFLAGS='$LTCFLAGS'
27407 compiler='$compiler_DEFAULT'
27409 # A function that is used when there is no print builtin or printf.
27410 func_fallback_echo ()
27412 eval 'cat <<_LTECHO_EOF
27417 # Quote evaled strings.
27431 deplibs_check_method \
27440 lt_cv_sys_global_symbol_pipe \
27441 lt_cv_sys_global_symbol_to_cdecl \
27442 lt_cv_sys_global_symbol_to_c_name_address \
27443 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27444 lt_prog_compiler_no_builtin_flag \
27445 lt_prog_compiler_wl \
27446 lt_prog_compiler_pic \
27447 lt_prog_compiler_static \
27448 lt_cv_prog_compiler_c_o \
27456 export_dynamic_flag_spec \
27457 whole_archive_flag_spec \
27458 compiler_needs_object \
27460 allow_undefined_flag \
27461 no_undefined_flag \
27462 hardcode_libdir_flag_spec \
27463 hardcode_libdir_flag_spec_ld \
27464 hardcode_libdir_separator \
27469 variables_saved_for_relink \
27471 library_names_spec \
27473 install_override_mode \
27477 compiler_lib_search_dirs \
27482 compiler_lib_search_path \
27486 lt_prog_compiler_no_builtin_flag_FC \
27487 lt_prog_compiler_wl_FC \
27488 lt_prog_compiler_pic_FC \
27489 lt_prog_compiler_static_FC \
27490 lt_cv_prog_compiler_c_o_FC \
27491 export_dynamic_flag_spec_FC \
27492 whole_archive_flag_spec_FC \
27493 compiler_needs_object_FC \
27495 allow_undefined_flag_FC \
27496 no_undefined_flag_FC \
27497 hardcode_libdir_flag_spec_FC \
27498 hardcode_libdir_flag_spec_ld_FC \
27499 hardcode_libdir_separator_FC \
27500 fix_srcfile_path_FC \
27501 exclude_expsyms_FC \
27502 include_expsyms_FC \
27503 file_list_spec_FC \
27504 compiler_lib_search_dirs_FC \
27505 predep_objects_FC \
27506 postdep_objects_FC \
27509 compiler_lib_search_path_FC; do
27510 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27511 *[\\\\\\\`\\"\\\$]*)
27512 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27515 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27520 # Double-quote double-evaled strings.
27521 for var in reload_cmds \
27522 old_postinstall_cmds \
27523 old_postuninstall_cmds \
27525 extract_expsyms_cmds \
27526 old_archive_from_new_cmds \
27527 old_archive_from_expsyms_cmds \
27529 archive_expsym_cmds \
27531 module_expsym_cmds \
27532 export_symbols_cmds \
27535 postuninstall_cmds \
27537 sys_lib_search_path_spec \
27538 sys_lib_dlsearch_path_spec \
27540 old_archive_cmds_FC \
27541 old_archive_from_new_cmds_FC \
27542 old_archive_from_expsyms_cmds_FC \
27544 archive_expsym_cmds_FC \
27546 module_expsym_cmds_FC \
27547 export_symbols_cmds_FC \
27548 prelink_cmds_FC; do
27549 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27550 *[\\\\\\\`\\"\\\$]*)
27551 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27554 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27559 ac_aux_dir='$ac_aux_dir'
27560 xsi_shell='$xsi_shell'
27561 lt_shell_append='$lt_shell_append'
27563 # See if we are running on zsh, and set the options which allow our
27564 # commands through without removal of \ escapes INIT.
27565 if test -n "\${ZSH_VERSION+set}" ; then
27566 setopt NO_GLOB_SUBST
27572 TIMESTAMP='$TIMESTAMP'
27583 acx_cv_header_stdint="$acx_cv_header_stdint"
27584 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27585 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27586 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27587 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27588 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27589 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27590 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27591 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27592 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27593 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27594 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27595 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27596 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27603 # Handling of arguments.
27604 for ac_config_target
in $ac_config_targets
27606 case $ac_config_target in
27607 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27608 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27609 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27610 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27611 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27612 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27613 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27615 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27620 # If the user did not use the arguments to specify the items to instantiate,
27621 # then the envvar interface is used. Set only those that are not.
27622 # We use the long form for the default assignment because of an extremely
27623 # bizarre bug on SunOS 4.1.3.
27624 if $ac_need_defaults; then
27625 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27626 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27627 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27630 # Have a temporary directory for convenience. Make it in the build tree
27631 # simply because there is no reason against having it here, and in addition,
27632 # creating and moving files from /tmp can sometimes cause problems.
27633 # Hook for its removal unless debugging.
27634 # Note that there is a small window in which the directory will not be cleaned:
27635 # after its creation but before its name has been assigned to `$tmp'.
27639 trap 'exit_status=$?
27640 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27642 trap 'as_fn_exit 1' 1 2 13 15
27644 # Create a (secure) tmp directory for tmp files.
27647 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27648 test -n "$tmp" && test -d "$tmp"
27651 tmp
=.
/conf$$
-$RANDOM
27652 (umask 077 && mkdir
"$tmp")
27653 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27655 # Set up the scripts for CONFIG_FILES section.
27656 # No need to generate them if there are no CONFIG_FILES.
27657 # This happens for instance with `./config.status config.h'.
27658 if test -n "$CONFIG_FILES"; then
27661 ac_cr
=`echo X | tr X '\015'`
27662 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27663 # But we know of no other shell where ac_cr would be empty at this
27664 # point, so we can use a bashism as a fallback.
27665 if test "x$ac_cr" = x
; then
27666 eval ac_cr
=\$
\'\\r
\'
27668 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27669 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27672 ac_cs_awk_cr
=$ac_cr
27675 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27680 echo "cat >conf$$subs.awk <<_ACEOF" &&
27681 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27683 } >conf$$subs.sh ||
27684 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27685 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27687 for ac_last_try in false false false false false :; do
27688 . ./conf$$subs.sh ||
27689 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27691 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27692 if test $ac_delim_n = $ac_delim_num; then
27694 elif $ac_last_try; then
27695 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27697 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27700 rm -f conf$$subs.sh
27702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27703 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27707 s/^/S["/; s
/!.
*/"]=/
27717 s/\(.\{148\}\).*/\1/
27719 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27724 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27731 s/\(.\{148\}\).*/\1/
27733 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27737 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27742 ' <conf$$subs.awk | sed '
27747 ' >>$CONFIG_STATUS || ac_write_fail=1
27748 rm -f conf$$subs.awk
27749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27751 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27752 for (key in S) S_is_set[key] = 1
27758 nfields = split(line, field, "@
")
27760 len = length(field[1])
27761 for (i = 2; i < nfields; i++) {
27763 keylen = length(key)
27764 if (S_is_set[key]) {
27766 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27767 len += length(value) + length(field[++i])
27778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27779 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27780 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27783 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27784 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27787 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27788 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27789 # trailing colons and then remove the whole line if VPATH becomes empty
27790 # (actually we leave an empty line to preserve line numbers).
27791 if test "x
$srcdir" = x.; then
27792 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27793 s/:*\$(srcdir):*/:/
27794 s/:*\${srcdir}:*/:/
27796 s/^\([^=]*=[ ]*\):*/\1/
27802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27803 fi # test -n "$CONFIG_FILES"
27805 # Set up the scripts for CONFIG_HEADERS section.
27806 # No need to generate them if there are no CONFIG_HEADERS.
27807 # This happens for instance with `./config.status Makefile'.
27808 if test -n "$CONFIG_HEADERS"; then
27809 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27813 # Transform confdefs.h into an awk script `defines.awk', embedded as
27814 # here-document in config.status, that substitutes the proper values into
27815 # config.h.in to produce config.h.
27817 # Create a delimiter string that does not exist in confdefs.h, to ease
27818 # handling of long lines.
27820 for ac_last_try in false false :; do
27821 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27822 if test -z "$ac_t"; then
27824 elif $ac_last_try; then
27825 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27827 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27831 # For the awk script, D is an array of macro values keyed by name,
27832 # likewise P contains macro parameters if any. Preserve backslash
27833 # newline sequences.
27835 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27837 s/.\{148\}/&'"$ac_delim"'/g
27840 s/^[ ]*#[ ]*define[ ][ ]*/ /
27847 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27849 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27853 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27854 D["\
1"]=" \
3\\\\\\n
"\\/p
27856 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27861 s/.\{148\}/&'"$ac_delim"'/g
27866 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27869 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27871 ' <confdefs.h | sed '
27872 s/'"$ac_delim"'/"\\\
27873 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27876 for (key in D) D_is_set[key] = 1
27879 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27881 split(line, arg, " ")
27882 if (arg[1] == "#") {
27886 defundef
= substr
(arg
[1], 2)
27889 split(mac1
, mac2
, "(") #)
27891 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
27892 if (D_is_set
[macro
]) {
27893 # Preserve the white space surrounding the "#".
27894 print prefix
"define", macro P
[macro
] D
[macro
]
27897 # Replace #undef with comments. This is necessary, for example,
27898 # in the case of _POSIX_SOURCE, which is predefined and required
27899 # on some systems where configure will not decide to define it.
27900 if (defundef
== "undef") {
27901 print
"/*", prefix defundef
, macro
, "*/"
27909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27910 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
27911 fi # test -n "$CONFIG_HEADERS"
27914 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27919 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27921 case $ac_mode$ac_tag in
27923 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
27924 :[FH
]-) ac_tag
=-:-;;
27925 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27942 -) ac_f
="$tmp/stdin";;
27943 *) # Look for the file first in the build tree, then in the source tree
27944 # (if the path is not absolute). The absolute path cannot be DOS-style,
27945 # because $ac_f cannot contain `:'.
27949 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27951 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
27953 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27954 as_fn_append ac_file_inputs
" '$ac_f'"
27957 # Let's still pretend it is `configure' which instantiates (i.e., don't
27958 # use $as_me), people would be surprised to read:
27959 # /* config.h. Generated by config.status. */
27960 configure_input
='Generated from '`
27961 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27963 if test x
"$ac_file" != x-
; then
27964 configure_input
="$ac_file. $configure_input"
27965 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27966 $as_echo "$as_me: creating $ac_file" >&6;}
27968 # Neutralize special characters interpreted by sed in replacement strings.
27969 case $configure_input in #(
27970 *\
&* |
*\|
* |
*\\* )
27971 ac_sed_conf_input
=`$as_echo "$configure_input" |
27972 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27973 *) ac_sed_conf_input
=$configure_input;;
27977 *:-:* |
*:-) cat >"$tmp/stdin" \
27978 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
27983 ac_dir
=`$as_dirname -- "$ac_file" ||
27984 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27985 X"$ac_file" : 'X\(//\)[^/]' \| \
27986 X"$ac_file" : 'X\(//\)$' \| \
27987 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27988 $as_echo X"$ac_file" |
27989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27993 /^X\(\/\/\)[^/].*/{
28006 as_dir
="$ac_dir"; as_fn_mkdir_p
28010 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28012 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28013 # A ".." for each directory in $ac_dir_suffix.
28014 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28015 case $ac_top_builddir_sub in
28016 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28017 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28020 ac_abs_top_builddir
=$ac_pwd
28021 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28022 # for backward compatibility:
28023 ac_top_builddir
=$ac_top_build_prefix
28026 .
) # We are building in place.
28028 ac_top_srcdir
=$ac_top_builddir_sub
28029 ac_abs_top_srcdir
=$ac_pwd ;;
28030 [\\/]* | ?
:[\\/]* ) # Absolute name.
28031 ac_srcdir
=$srcdir$ac_dir_suffix;
28032 ac_top_srcdir
=$srcdir
28033 ac_abs_top_srcdir
=$srcdir ;;
28034 *) # Relative name.
28035 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28036 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28037 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28039 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28049 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28050 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28052 ac_MKDIR_P
=$MKDIR_P
28054 [\\/$
]* | ?
:[\\/]* ) ;;
28055 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28060 # If the template does not know about datarootdir, expand it.
28061 # FIXME: This hack should be removed a few years after 2.60.
28062 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28073 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28074 *datarootdir
*) ac_datarootdir_seen
=yes;;
28075 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28077 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28080 ac_datarootdir_hack='
28081 s&@datadir@&$datadir&g
28082 s&@docdir@&$docdir&g
28083 s&@infodir@&$infodir&g
28084 s&@localedir@&$localedir&g
28085 s&@mandir@&$mandir&g
28086 s&\\\${datarootdir}&$datarootdir&g' ;;
28090 # Neutralize VPATH when `$srcdir' = `.'.
28091 # Shell code in configure.ac might set extrasub.
28092 # FIXME: do we really want to maintain this feature?
28093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28094 ac_sed_extra="$ac_vpsub
28097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28099 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28100 s|@configure_input@|
$ac_sed_conf_input|
;t t
28101 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28102 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28103 s
&@srcdir@
&$ac_srcdir&;t t
28104 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28105 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28106 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28107 s
&@builddir@
&$ac_builddir&;t t
28108 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28109 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28110 s
&@INSTALL@
&$ac_INSTALL&;t t
28111 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28112 $ac_datarootdir_hack
28114 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28115 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28117 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28118 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28119 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28121 which seems to be undefined. Please make sure it is defined." >&5
28122 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28123 which seems to be undefined. Please make sure it is defined." >&2;}
28127 -) cat "$tmp/out" && rm -f "$tmp/out";;
28128 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28130 || as_fn_error "could not create $ac_file" "$LINENO" 5
28136 if test x"$ac_file" != x-; then
28138 $as_echo "/* $configure_input */" \
28139 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28140 } >"$tmp/config.h" \
28141 || as_fn_error "could not create $ac_file" "$LINENO" 5
28142 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28143 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28144 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28147 mv "$tmp/config.h" "$ac_file" \
28148 || as_fn_error "could not create $ac_file" "$LINENO" 5
28151 $as_echo "/* $configure_input */" \
28152 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28153 || as_fn_error "could not create -" "$LINENO" 5
28155 # Compute "$ac_file"'s index
in $config_headers.
28158 for _am_header
in $config_headers :; do
28159 case $_am_header in
28160 $_am_arg |
$_am_arg:* )
28163 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28166 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28167 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28168 X"$_am_arg" : 'X\(//\)[^/]' \| \
28169 X"$_am_arg" : 'X\(//\)$' \| \
28170 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28171 $as_echo X"$_am_arg" |
28172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28176 /^X\(\/\/\)[^/].*/{
28188 s/.*/./; q'`/stamp-h
$_am_stamp_count
28191 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28192 $as_echo "$as_me: executing $ac_file commands" >&6;}
28197 case $ac_file$ac_mode in
28199 # Only add multilib support code if we just rebuilt the top-level
28201 case " $CONFIG_FILES " in
28203 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28206 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28207 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28208 # are listed without --file. Let's play safe and only enable the eval
28209 # if we detect the quoting.
28210 case $CONFIG_FILES in
28211 *\'*) eval set x
"$CONFIG_FILES" ;;
28212 *) set x
$CONFIG_FILES ;;
28217 # Strip MF so we end up with the name of the file.
28218 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28219 # Check whether this is an Automake generated Makefile or not.
28220 # We used to match only the files named `Makefile.in', but
28221 # some people rename them; so instead we look at the file content.
28222 # Grep'ing the first line is not enough: some people post-process
28223 # each Makefile.in and add a new line on top of each file to say so.
28224 # Grep'ing the whole file is not good either: AIX grep has a line
28225 # limit of 2048, but all sed's we know have understand at least 4000.
28226 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28227 dirpart
=`$as_dirname -- "$mf" ||
28228 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28229 X"$mf" : 'X\(//\)[^/]' \| \
28230 X"$mf" : 'X\(//\)$' \| \
28231 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28237 /^X\(\/\/\)[^/].*/{
28253 # Extract the definition of DEPDIR, am__include, and am__quote
28254 # from the Makefile without running `make'.
28255 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28256 test -z "$DEPDIR" && continue
28257 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28258 test -z "am__include" && continue
28259 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28260 # When using ansi2knr, U may be empty or an underscore; expand it
28261 U
=`sed -n 's/^U = //p' < "$mf"`
28262 # Find all dependency output files, they are included files with
28263 # $(DEPDIR) in their names. We invoke sed twice because it is the
28264 # simplest approach to changing $(DEPDIR) to its actual value in the
28266 for file in `sed -n "
28267 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28268 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28269 # Make sure the directory exists.
28270 test -f "$dirpart/$file" && continue
28271 fdir
=`$as_dirname -- "$file" ||
28272 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28273 X"$file" : 'X\(//\)[^/]' \| \
28274 X"$file" : 'X\(//\)$' \| \
28275 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28276 $as_echo X"$file" |
28277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28281 /^X\(\/\/\)[^/].*/{
28294 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28295 # echo "creating $dirpart/$file"
28296 echo '# dummy' > "$dirpart/$file"
28303 # See if we are running on zsh, and set the options which allow our
28304 # commands through without removal of \ escapes.
28305 if test -n "${ZSH_VERSION+set}" ; then
28306 setopt NO_GLOB_SUBST
28309 cfgfile
="${ofile}T"
28310 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28313 cat <<_LT_EOF >> "$cfgfile"
28316 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28317 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28318 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28319 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28321 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28322 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28323 # Written by Gordon Matzigkeit, 1996
28325 # This file is part of GNU Libtool.
28327 # GNU Libtool is free software; you can redistribute it and/or
28328 # modify it under the terms of the GNU General Public License as
28329 # published by the Free Software Foundation; either version 2 of
28330 # the License, or (at your option) any later version.
28332 # As a special exception to the GNU General Public License,
28333 # if you distribute this file as part of a program or library that
28334 # is built using GNU Libtool, you may include this file under the
28335 # same distribution terms that you use for the rest of that program.
28337 # GNU Libtool is distributed in the hope that it will be useful,
28338 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28339 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28340 # GNU General Public License for more details.
28342 # You should have received a copy of the GNU General Public License
28343 # along with GNU Libtool; see the file COPYING. If not, a copy
28344 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28345 # obtained by writing to the Free Software Foundation, Inc.,
28346 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28349 # The names of the tagged configurations supported by this script.
28350 available_tags="FC "
28352 # ### BEGIN LIBTOOL CONFIG
28354 # Which release of libtool.m4 was used?
28355 macro_version=$macro_version
28356 macro_revision=$macro_revision
28358 # Whether or not to build shared libraries.
28359 build_libtool_libs=$enable_shared
28361 # Whether or not to build static libraries.
28362 build_old_libs=$enable_static
28364 # What type of objects to build.
28367 # Whether or not to optimize for fast installation.
28368 fast_install=$enable_fast_install
28370 # Shell to use when invoking shell scripts.
28373 # An echo program that protects backslashes.
28377 host_alias=$host_alias
28381 # The build system.
28382 build_alias=$build_alias
28386 # A sed program that does not truncate output.
28389 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28390 Xsed="\$SED -e 1s/^X//"
28392 # A grep program that handles long lines.
28398 # A literal string matcher.
28401 # A BSD- or MS-compatible name lister.
28404 # Whether we need soft or hard links.
28407 # What is the maximum length of a command?
28408 max_cmd_len=$max_cmd_len
28410 # Object file suffix (normally "o").
28413 # Executable file suffix (normally "").
28416 # whether the shell understands "unset".
28419 # turn spaces into newlines.
28422 # turn newlines into spaces.
28425 # An object symbol dumper.
28426 OBJDUMP=$lt_OBJDUMP
28428 # Method to check whether dependent libraries are shared objects.
28429 deplibs_check_method=$lt_deplibs_check_method
28431 # Command to use when deplibs_check_method == "file_magic".
28432 file_magic_cmd=$lt_file_magic_cmd
28436 AR_FLAGS=$lt_AR_FLAGS
28438 # A symbol stripping program.
28441 # Commands used to install an old-style archive.
28443 old_postinstall_cmds=$lt_old_postinstall_cmds
28444 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28446 # Whether to use a lock for old archive extraction.
28447 lock_old_archive_extraction=$lock_old_archive_extraction
28452 # LTCC compiler flags.
28453 LTCFLAGS=$lt_CFLAGS
28455 # Take the output of nm and produce a listing of raw symbols and C names.
28456 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28458 # Transform the output of nm in a proper C declaration.
28459 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28461 # Transform the output of nm in a C name address pair.
28462 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28464 # Transform the output of nm in a C name address pair when lib prefix is needed.
28465 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28467 # The name of the directory that contains temporary libtool files.
28470 # Used to examine libraries when file_magic_cmd begins with "file".
28471 MAGIC_CMD=$MAGIC_CMD
28473 # Must we lock files when doing compilation?
28474 need_locks=$lt_need_locks
28476 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28477 DSYMUTIL=$lt_DSYMUTIL
28479 # Tool to change global to local symbols on Mac OS X.
28482 # Tool to manipulate fat objects and archives on Mac OS X.
28485 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28488 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28489 OTOOL64=$lt_OTOOL64
28491 # Old archive suffix (normally "a").
28494 # Shared library suffix (normally ".so").
28495 shrext_cmds=$lt_shrext_cmds
28497 # The commands to extract the exported symbol list from a shared archive.
28498 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28500 # Variables whose values should be saved in libtool wrapper scripts and
28501 # restored at link time.
28502 variables_saved_for_relink=$lt_variables_saved_for_relink
28504 # Do we need the "lib" prefix for modules?
28505 need_lib_prefix=$need_lib_prefix
28507 # Do we need a version for libraries?
28508 need_version=$need_version
28510 # Library versioning type.
28511 version_type=$version_type
28513 # Shared library runtime path variable.
28514 runpath_var=$runpath_var
28516 # Shared library path variable.
28517 shlibpath_var=$shlibpath_var
28519 # Is shlibpath searched before the hard-coded library search path?
28520 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28522 # Format of library name prefix.
28523 libname_spec=$lt_libname_spec
28525 # List of archive names. First name is the real one, the rest are links.
28526 # The last name is the one that the linker finds with -lNAME
28527 library_names_spec=$lt_library_names_spec
28529 # The coded name of the library, if different from the real name.
28530 soname_spec=$lt_soname_spec
28532 # Permission mode override for installation of shared libraries.
28533 install_override_mode=$lt_install_override_mode
28535 # Command to use after installation of a shared archive.
28536 postinstall_cmds=$lt_postinstall_cmds
28538 # Command to use after uninstallation of a shared archive.
28539 postuninstall_cmds=$lt_postuninstall_cmds
28541 # Commands used to finish a libtool library installation in a directory.
28542 finish_cmds=$lt_finish_cmds
28544 # As "finish_cmds", except a single script fragment to be evaled but
28546 finish_eval=$lt_finish_eval
28548 # Whether we should hardcode library paths into libraries.
28549 hardcode_into_libs=$hardcode_into_libs
28551 # Compile-time system search path for libraries.
28552 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28554 # Run-time system search path for libraries.
28555 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28557 # Whether dlopen is supported.
28558 dlopen_support=$enable_dlopen
28560 # Whether dlopen of programs is supported.
28561 dlopen_self=$enable_dlopen_self
28563 # Whether dlopen of statically linked programs is supported.
28564 dlopen_self_static=$enable_dlopen_self_static
28566 # Commands to strip libraries.
28567 old_striplib=$lt_old_striplib
28568 striplib=$lt_striplib
28571 # The linker used to build libraries.
28574 # How to create reloadable object files.
28575 reload_flag=$lt_reload_flag
28576 reload_cmds=$lt_reload_cmds
28578 # Commands used to build an old-style archive.
28579 old_archive_cmds=$lt_old_archive_cmds
28581 # A language specific compiler.
28584 # Is the compiler the GNU compiler?
28587 # Compiler flag to turn off builtin functions.
28588 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28590 # How to pass a linker flag through the compiler.
28591 wl=$lt_lt_prog_compiler_wl
28593 # Additional compiler flags for building library objects.
28594 pic_flag=$lt_lt_prog_compiler_pic
28596 # Compiler flag to prevent dynamic linking.
28597 link_static_flag=$lt_lt_prog_compiler_static
28599 # Does compiler simultaneously support -c and -o options?
28600 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28602 # Whether or not to add -lc for building shared libraries.
28603 build_libtool_need_lc=$archive_cmds_need_lc
28605 # Whether or not to disallow shared libs when runtime libs are static.
28606 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28608 # Compiler flag to allow reflexive dlopens.
28609 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28611 # Compiler flag to generate shared objects directly from archives.
28612 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28614 # Whether the compiler copes with passing no objects directly.
28615 compiler_needs_object=$lt_compiler_needs_object
28617 # Create an old-style archive from a shared archive.
28618 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28620 # Create a temporary old-style archive to link instead of a shared archive.
28621 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28623 # Commands used to build a shared archive.
28624 archive_cmds=$lt_archive_cmds
28625 archive_expsym_cmds=$lt_archive_expsym_cmds
28627 # Commands used to build a loadable module if different from building
28628 # a shared archive.
28629 module_cmds=$lt_module_cmds
28630 module_expsym_cmds=$lt_module_expsym_cmds
28632 # Whether we are building with GNU ld or not.
28633 with_gnu_ld=$lt_with_gnu_ld
28635 # Flag that allows shared libraries with undefined symbols to be built.
28636 allow_undefined_flag=$lt_allow_undefined_flag
28638 # Flag that enforces no undefined symbols.
28639 no_undefined_flag=$lt_no_undefined_flag
28641 # Flag to hardcode \$libdir into a binary during linking.
28642 # This must work even if \$libdir does not exist
28643 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28645 # If ld is used when linking, flag to hardcode \$libdir into a binary
28646 # during linking. This must work even if \$libdir does not exist.
28647 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28649 # Whether we need a single "-rpath" flag with a separated argument.
28650 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28652 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28653 # DIR into the resulting binary.
28654 hardcode_direct=$hardcode_direct
28656 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28657 # DIR into the resulting binary and the resulting library dependency is
28658 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28659 # library is relocated.
28660 hardcode_direct_absolute=$hardcode_direct_absolute
28662 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28663 # into the resulting binary.
28664 hardcode_minus_L=$hardcode_minus_L
28666 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28667 # into the resulting binary.
28668 hardcode_shlibpath_var=$hardcode_shlibpath_var
28670 # Set to "yes" if building a shared library automatically hardcodes DIR
28671 # into the library and all subsequent libraries and executables linked
28673 hardcode_automatic=$hardcode_automatic
28675 # Set to yes if linker adds runtime paths of dependent libraries
28676 # to runtime path list.
28677 inherit_rpath=$inherit_rpath
28679 # Whether libtool must link a program against all its dependency libraries.
28680 link_all_deplibs=$link_all_deplibs
28682 # Fix the shell variable \$srcfile for the compiler.
28683 fix_srcfile_path=$lt_fix_srcfile_path
28685 # Set to "yes" if exported symbols are required.
28686 always_export_symbols=$always_export_symbols
28688 # The commands to list exported symbols.
28689 export_symbols_cmds=$lt_export_symbols_cmds
28691 # Symbols that should not be listed in the preloaded symbols.
28692 exclude_expsyms=$lt_exclude_expsyms
28694 # Symbols that must always be exported.
28695 include_expsyms=$lt_include_expsyms
28697 # Commands necessary for linking programs (against libraries) with templates.
28698 prelink_cmds=$lt_prelink_cmds
28700 # Specify filename containing input files.
28701 file_list_spec=$lt_file_list_spec
28703 # How to hardcode a shared library path into an executable.
28704 hardcode_action=$hardcode_action
28706 # The directories searched by this compiler when creating a shared library.
28707 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28709 # Dependencies to place before and after the objects being linked to
28710 # create a shared library.
28711 predep_objects=$lt_predep_objects
28712 postdep_objects=$lt_postdep_objects
28713 predeps=$lt_predeps
28714 postdeps=$lt_postdeps
28716 # The library search path used internally by the compiler when linking
28717 # a shared library.
28718 compiler_lib_search_path=$lt_compiler_lib_search_path
28720 # ### END LIBTOOL CONFIG
28726 cat <<\_LT_EOF
>> "$cfgfile"
28727 # AIX sometimes has problems with the GCC collect2 program. For some
28728 # reason, if we set the COLLECT_NAMES environment variable, the problems
28729 # vanish in a puff of smoke.
28730 if test "X${COLLECT_NAMES+set}" != Xset
; then
28732 export COLLECT_NAMES
28739 ltmain
="$ac_aux_dir/ltmain.sh"
28742 # We use sed instead of cat because bash on DJGPP gets confused if
28743 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28744 # text mode, it properly converts lines to CR/LF. This bash problem
28745 # is reportedly fixed, but why not run on old versions too?
28746 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28747 ||
(rm -f "$cfgfile"; exit 1)
28751 cat << \_LT_EOF
>> "$cfgfile"
28753 # func_dirname file append nondir_replacement
28754 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28755 # otherwise set result to NONDIR_REPLACEMENT.
28759 */*) func_dirname_result
="${1%/*}${2}" ;;
28760 * ) func_dirname_result
="${3}" ;;
28764 # func_basename file
28767 func_basename_result
="${1##*/}"
28770 # func_dirname_and_basename file append nondir_replacement
28771 # perform func_basename and func_dirname in a single function
28773 # dirname: Compute the dirname of FILE. If nonempty,
28774 # add APPEND to the result, otherwise set result
28775 # to NONDIR_REPLACEMENT.
28776 # value returned in "$func_dirname_result"
28777 # basename: Compute filename of FILE.
28778 # value retuned in "$func_basename_result"
28779 # Implementation must be kept synchronized with func_dirname
28780 # and func_basename. For efficiency, we do not delegate to
28781 # those functions but instead duplicate the functionality here.
28782 func_dirname_and_basename
()
28785 */*) func_dirname_result
="${1%/*}${2}" ;;
28786 * ) func_dirname_result
="${3}" ;;
28788 func_basename_result
="${1##*/}"
28791 # func_stripname prefix suffix name
28792 # strip PREFIX and SUFFIX off of NAME.
28793 # PREFIX and SUFFIX must not contain globbing or regex special
28794 # characters, hashes, percent signs, but SUFFIX may contain a leading
28795 # dot (in which case that matches only a dot).
28798 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28799 # positional parameters, so assign one to ordinary parameter first.
28800 func_stripname_result
=${3}
28801 func_stripname_result
=${func_stripname_result#"${1}"}
28802 func_stripname_result
=${func_stripname_result%"${2}"}
28808 func_opt_split_opt
=${1%%=*}
28809 func_opt_split_arg
=${1#*=}
28816 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28817 *) func_lo2o_result
=${1} ;;
28821 # func_xform libobj-or-source
28824 func_xform_result
=${1%.*}.lo
28827 # func_arith arithmetic-term...
28830 func_arith_result
=$
(( $
* ))
28834 # STRING may not start with a hyphen.
28837 func_len_result
=${#1}
28842 *) # Bourne compatible functions.
28843 cat << \_LT_EOF
>> "$cfgfile"
28845 # func_dirname file append nondir_replacement
28846 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28847 # otherwise set result to NONDIR_REPLACEMENT.
28850 # Extract subdirectory from the argument.
28851 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28852 if test "X$func_dirname_result" = "X${1}"; then
28853 func_dirname_result
="${3}"
28855 func_dirname_result
="$func_dirname_result${2}"
28859 # func_basename file
28862 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28866 # func_stripname prefix suffix name
28867 # strip PREFIX and SUFFIX off of NAME.
28868 # PREFIX and SUFFIX must not contain globbing or regex special
28869 # characters, hashes, percent signs, but SUFFIX may contain a leading
28870 # dot (in which case that matches only a dot).
28871 # func_strip_suffix prefix name
28875 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28876 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28881 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
28882 my_sed_long_arg
='1s/^-[^=]*=//'
28887 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28888 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28894 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
28897 # func_xform libobj-or-source
28900 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28903 # func_arith arithmetic-term...
28906 func_arith_result
=`expr "$@"`
28910 # STRING may not start with a hyphen.
28913 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28919 case $lt_shell_append in
28921 cat << \_LT_EOF
>> "$cfgfile"
28923 # func_append var value
28924 # Append VALUE to the end of shell variable VAR.
28932 cat << \_LT_EOF
>> "$cfgfile"
28934 # func_append var value
28935 # Append VALUE to the end of shell variable VAR.
28946 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28947 ||
(rm -f "$cfgfile"; exit 1)
28949 mv -f "$cfgfile" "$ofile" ||
28950 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28954 cat <<_LT_EOF >> "$ofile"
28956 # ### BEGIN LIBTOOL TAG CONFIG: FC
28958 # The linker used to build libraries.
28961 # How to create reloadable object files.
28962 reload_flag=$lt_reload_flag_FC
28963 reload_cmds=$lt_reload_cmds_FC
28965 # Commands used to build an old-style archive.
28966 old_archive_cmds=$lt_old_archive_cmds_FC
28968 # A language specific compiler.
28971 # Is the compiler the GNU compiler?
28974 # Compiler flag to turn off builtin functions.
28975 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28977 # How to pass a linker flag through the compiler.
28978 wl=$lt_lt_prog_compiler_wl_FC
28980 # Additional compiler flags for building library objects.
28981 pic_flag=$lt_lt_prog_compiler_pic_FC
28983 # Compiler flag to prevent dynamic linking.
28984 link_static_flag=$lt_lt_prog_compiler_static_FC
28986 # Does compiler simultaneously support -c and -o options?
28987 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28989 # Whether or not to add -lc for building shared libraries.
28990 build_libtool_need_lc=$archive_cmds_need_lc_FC
28992 # Whether or not to disallow shared libs when runtime libs are static.
28993 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28995 # Compiler flag to allow reflexive dlopens.
28996 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
28998 # Compiler flag to generate shared objects directly from archives.
28999 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29001 # Whether the compiler copes with passing no objects directly.
29002 compiler_needs_object=$lt_compiler_needs_object_FC
29004 # Create an old-style archive from a shared archive.
29005 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29007 # Create a temporary old-style archive to link instead of a shared archive.
29008 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29010 # Commands used to build a shared archive.
29011 archive_cmds=$lt_archive_cmds_FC
29012 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29014 # Commands used to build a loadable module if different from building
29015 # a shared archive.
29016 module_cmds=$lt_module_cmds_FC
29017 module_expsym_cmds=$lt_module_expsym_cmds_FC
29019 # Whether we are building with GNU ld or not.
29020 with_gnu_ld=$lt_with_gnu_ld_FC
29022 # Flag that allows shared libraries with undefined symbols to be built.
29023 allow_undefined_flag=$lt_allow_undefined_flag_FC
29025 # Flag that enforces no undefined symbols.
29026 no_undefined_flag=$lt_no_undefined_flag_FC
29028 # Flag to hardcode \$libdir into a binary during linking.
29029 # This must work even if \$libdir does not exist
29030 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29032 # If ld is used when linking, flag to hardcode \$libdir into a binary
29033 # during linking. This must work even if \$libdir does not exist.
29034 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29036 # Whether we need a single "-rpath" flag with a separated argument.
29037 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29039 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29040 # DIR into the resulting binary.
29041 hardcode_direct=$hardcode_direct_FC
29043 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29044 # DIR into the resulting binary and the resulting library dependency is
29045 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29046 # library is relocated.
29047 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29049 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29050 # into the resulting binary.
29051 hardcode_minus_L=$hardcode_minus_L_FC
29053 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29054 # into the resulting binary.
29055 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29057 # Set to "yes" if building a shared library automatically hardcodes DIR
29058 # into the library and all subsequent libraries and executables linked
29060 hardcode_automatic=$hardcode_automatic_FC
29062 # Set to yes if linker adds runtime paths of dependent libraries
29063 # to runtime path list.
29064 inherit_rpath=$inherit_rpath_FC
29066 # Whether libtool must link a program against all its dependency libraries.
29067 link_all_deplibs=$link_all_deplibs_FC
29069 # Fix the shell variable \$srcfile for the compiler.
29070 fix_srcfile_path=$lt_fix_srcfile_path_FC
29072 # Set to "yes" if exported symbols are required.
29073 always_export_symbols=$always_export_symbols_FC
29075 # The commands to list exported symbols.
29076 export_symbols_cmds=$lt_export_symbols_cmds_FC
29078 # Symbols that should not be listed in the preloaded symbols.
29079 exclude_expsyms=$lt_exclude_expsyms_FC
29081 # Symbols that must always be exported.
29082 include_expsyms=$lt_include_expsyms_FC
29084 # Commands necessary for linking programs (against libraries) with templates.
29085 prelink_cmds=$lt_prelink_cmds_FC
29087 # Specify filename containing input files.
29088 file_list_spec=$lt_file_list_spec_FC
29090 # How to hardcode a shared library path into an executable.
29091 hardcode_action=$hardcode_action_FC
29093 # The directories searched by this compiler when creating a shared library.
29094 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29096 # Dependencies to place before and after the objects being linked to
29097 # create a shared library.
29098 predep_objects=$lt_predep_objects_FC
29099 postdep_objects=$lt_postdep_objects_FC
29100 predeps=$lt_predeps_FC
29101 postdeps=$lt_postdeps_FC
29103 # The library search path used internally by the compiler when linking
29104 # a shared library.
29105 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29107 # ### END LIBTOOL TAG CONFIG: FC
29112 if test "$GCC" = yes; then
29113 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29115 echo "/* generated for $CC */" > tmp-stdint.h
29118 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29120 #ifndef GCC_GENERATED_STDINT_H
29121 #define GCC_GENERATED_STDINT_H 1
29123 #include <sys/types.h>
29126 if test "$acx_cv_header_stdint" != stdint.h
; then
29127 echo "#include <stddef.h>" >> tmp-stdint.h
29129 if test "$acx_cv_header_stdint" != stddef.h
; then
29130 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29133 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29134 /* glibc uses these symbols as guards to prevent redefinitions. */
29135 #ifdef __int8_t_defined
29140 #ifdef __uint32_t_defined
29146 # ----------------- done header, emit basic int types -------------
29147 if test "$acx_cv_header_stdint" = stddef.h
; then
29148 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29152 #ifndef __uint8_t_defined
29153 #define __uint8_t_defined
29155 typedef unsigned $acx_cv_type_int8_t uint8_t;
29162 #ifndef __uint16_t_defined
29163 #define __uint16_t_defined
29165 typedef unsigned $acx_cv_type_int16_t uint16_t;
29172 #ifndef __uint32_t_defined
29173 #define __uint32_t_defined
29175 typedef unsigned $acx_cv_type_int32_t uint32_t;
29182 #ifndef __int8_t_defined
29183 #define __int8_t_defined
29185 typedef $acx_cv_type_int8_t int8_t;
29192 #ifndef __int16_t_defined
29193 #define __int16_t_defined
29195 typedef $acx_cv_type_int16_t int16_t;
29202 #ifndef __int32_t_defined
29203 #define __int32_t_defined
29205 typedef $acx_cv_type_int32_t int32_t;
29210 elif test "$ac_cv_type_u_int32_t" = yes; then
29211 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29213 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29226 #ifndef __uint8_t_defined
29227 #define __uint8_t_defined
29229 typedef u_int8_t uint8_t;
29236 #ifndef __uint16_t_defined
29237 #define __uint16_t_defined
29239 typedef u_int16_t uint16_t;
29246 #ifndef __uint32_t_defined
29247 #define __uint32_t_defined
29249 typedef u_int32_t uint32_t;
29255 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29257 /* Some systems have guard macros to prevent redefinitions, define them. */
29279 # ------------- done basic int types, emit int64_t types ------------
29280 if test "$ac_cv_type_uint64_t" = yes; then
29281 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29283 /* system headers have good uint64_t and int64_t */
29291 elif test "$ac_cv_type_u_int64_t" = yes; then
29292 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29294 /* system headers have an u_int64_t (and int64_t) */
29300 #ifndef __uint64_t_defined
29301 #define __uint64_t_defined
29303 typedef u_int64_t uint64_t;
29308 elif test -n "$acx_cv_type_int64_t"; then
29309 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29311 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29315 typedef $acx_cv_type_int64_t int64_t;
29320 #ifndef __uint64_t_defined
29321 #define __uint64_t_defined
29323 typedef unsigned $acx_cv_type_int64_t uint64_t;
29329 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29331 /* some common heuristics for int64_t, using compiler-specific tests */
29332 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29335 #ifndef __int64_t_defined
29337 typedef long long int64_t;
29344 typedef unsigned long long uint64_t;
29348 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29349 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29350 does not implement __extension__. But that compiler doesn't define
29352 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29353 # define __extension__
29359 __extension__ typedef long long int64_t;
29365 __extension__ typedef unsigned long long uint64_t;
29369 #elif !defined __STRICT_ANSI__
29370 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29375 typedef __int64 int64_t;
29381 typedef unsigned __int64 uint64_t;
29384 # endif /* compiler */
29386 #endif /* ANSI version */
29390 # ------------- done int64_t types, emit intptr types ------------
29391 if test "$ac_cv_type_uintptr_t" != yes; then
29392 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29394 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29395 #ifndef __uintptr_t_defined
29397 typedef u$acx_cv_type_intptr_t uintptr_t;
29400 #ifndef __intptr_t_defined
29402 typedef $acx_cv_type_intptr_t intptr_t;
29408 # ------------- done intptr types, emit int_least types ------------
29409 if test "$ac_cv_type_int_least32_t" != yes; then
29410 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29412 /* Define int_least types */
29413 typedef int8_t int_least8_t;
29414 typedef int16_t int_least16_t;
29415 typedef int32_t int_least32_t;
29417 typedef int64_t int_least64_t;
29420 typedef uint8_t uint_least8_t;
29421 typedef uint16_t uint_least16_t;
29422 typedef uint32_t uint_least32_t;
29424 typedef uint64_t uint_least64_t;
29429 # ------------- done intptr types, emit int_fast types ------------
29430 if test "$ac_cv_type_int_fast32_t" != yes; then
29431 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29433 /* Define int_fast types. short is often slow */
29434 typedef int8_t int_fast8_t;
29435 typedef int int_fast16_t;
29436 typedef int32_t int_fast32_t;
29438 typedef int64_t int_fast64_t;
29441 typedef uint8_t uint_fast8_t;
29442 typedef unsigned int uint_fast16_t;
29443 typedef uint32_t uint_fast32_t;
29445 typedef uint64_t uint_fast64_t;
29450 if test "$ac_cv_type_uintmax_t" != yes; then
29451 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29453 /* Define intmax based on what we found */
29456 typedef int64_t intmax_t;
29458 typedef long intmax_t;
29463 typedef uint64_t uintmax_t;
29465 typedef unsigned long uintmax_t;
29471 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29473 #endif /* GCC_GENERATED_STDINT_H */
29476 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29479 mv -f tmp-stdint.h gstdint.h
29490 ac_clean_files
=$ac_clean_files_save
29492 test $ac_write_fail = 0 ||
29493 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29496 # configure is writing to config.log, and then calls config.status.
29497 # config.status does its own redirection, appending to config.log.
29498 # Unfortunately, on DOS this fails, as config.log is still kept open
29499 # by configure, so config.status won't be able to write to it; its
29500 # output is simply discarded. So we exec the FD to /dev/null,
29501 # effectively closing config.log, so it can be properly (re)opened and
29502 # appended to by config.status. When coming back to configure, we
29503 # need to make the FD available again.
29504 if test "$no_create" != yes; then
29506 ac_config_status_args
=
29507 test "$silent" = yes &&
29508 ac_config_status_args
="$ac_config_status_args --quiet"
29510 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29512 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29513 # would make configure fail if this is the last instruction.
29514 $ac_cs_success || as_fn_exit $?
29516 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29518 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}