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"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL
=${CONFIG_SHELL-/bin/sh}
533 # Remove one level of quotation (which was required for Make).
534 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 if test "X$1" = X--no-reexec
; then
540 # Discard the --no-reexec flag, and continue.
542 elif test "X$1" = X--fallback-echo
; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo
; then
554 # used as fallback echo
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset
; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
591 for dir
in $PATH /usr
/ucb
; do
593 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
603 if test "X$ECHO" = Xecho
; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
610 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL
=/bin
/ksh
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
626 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
632 SHELL
="$CONFIG_SHELL"
634 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
641 # maybe with a smaller string...
644 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string
=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 # Oops. We lost completely, so just stick with echo.
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev
/null
6>&1
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
686 ac_default_prefix
=/usr
/local
688 ac_config_libobj_dir
=.
695 # Identity of this package.
696 PACKAGE_NAME
='GNU Fortran Runtime Library'
697 PACKAGE_TARNAME
='libgfortran'
698 PACKAGE_VERSION
='0.3'
699 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
701 PACKAGE_URL
='http://www.gnu.org/software/libgfortran/'
703 # Factoring default headers for most tests.
704 ac_includes_default
="\
706 #ifdef HAVE_SYS_TYPES_H
707 # include <sys/types.h>
709 #ifdef HAVE_SYS_STAT_H
710 # include <sys/stat.h>
716 # ifdef HAVE_STDLIB_H
721 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
726 #ifdef HAVE_STRINGS_H
727 # include <strings.h>
729 #ifdef HAVE_INTTYPES_H
730 # include <inttypes.h>
739 ac_subst_vars
='am__EXEEXT_FALSE
745 extra_ldflags_libgfortran
773 LIBGFOR_USE_SYMVER_FALSE
774 LIBGFOR_USE_SYMVER_TRUE
797 MAINTAINER_MODE_FALSE
807 INSTALL_STRIP_PROGRAM
868 program_transform_name
881 enable_option_checking
883 enable_version_specific_runtime_libs
885 enable_maintainer_mode
887 enable_dependency_tracking
896 ac_precious_vars
='build_alias
907 # Initialize some variables set by options.
909 ac_init_version
=false
910 ac_unrecognized_opts
=
912 # The variables have the same names as the options, with
913 # dashes changed to underlines.
921 program_transform_name
=s
,x
,x
,
929 # Installation directory options.
930 # These are left unexpanded so users can "make install exec_prefix=/foo"
931 # and all the variables that are supposed to be based on exec_prefix
932 # by default will actually change.
933 # Use braces instead of parens because sh, perl, etc. also accept them.
934 # (The list follows the same order as the GNU Coding Standards.)
935 bindir
='${exec_prefix}/bin'
936 sbindir
='${exec_prefix}/sbin'
937 libexecdir
='${exec_prefix}/libexec'
938 datarootdir
='${prefix}/share'
939 datadir
='${datarootdir}'
940 sysconfdir
='${prefix}/etc'
941 sharedstatedir
='${prefix}/com'
942 localstatedir
='${prefix}/var'
943 includedir
='${prefix}/include'
944 oldincludedir
='/usr/include'
945 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
946 infodir
='${datarootdir}/info'
951 libdir
='${exec_prefix}/lib'
952 localedir
='${datarootdir}/locale'
953 mandir
='${datarootdir}/man'
959 # If the previous option needs an argument, assign it.
960 if test -n "$ac_prev"; then
961 eval $ac_prev=\
$ac_option
967 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
971 # Accept the important Cygnus configure options, so we can diagnose typos.
973 case $ac_dashdash$ac_option in
977 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
979 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
982 -build |
--build |
--buil |
--bui |
--bu)
983 ac_prev
=build_alias
;;
984 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
985 build_alias
=$ac_optarg ;;
987 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
988 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
989 ac_prev
=cache_file
;;
990 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
991 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
992 cache_file
=$ac_optarg ;;
995 cache_file
=config.cache
;;
997 -datadir |
--datadir |
--datadi |
--datad)
999 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1000 datadir
=$ac_optarg ;;
1002 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1003 |
--dataroo |
--dataro |
--datar)
1004 ac_prev
=datarootdir
;;
1005 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1006 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1007 datarootdir
=$ac_optarg ;;
1009 -disable-* |
--disable-*)
1010 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1013 as_fn_error
"invalid feature name: $ac_useropt"
1014 ac_useropt_orig
=$ac_useropt
1015 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016 case $ac_user_opts in
1018 "enable_
$ac_useropt"
1020 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1021 ac_unrecognized_sep
=', ';;
1023 eval enable_
$ac_useropt=no
;;
1025 -docdir |
--docdir |
--docdi |
--doc |
--do)
1027 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1028 docdir
=$ac_optarg ;;
1030 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1032 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1033 dvidir
=$ac_optarg ;;
1035 -enable-* |
--enable-*)
1036 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 as_fn_error
"invalid feature name: $ac_useropt"
1040 ac_useropt_orig
=$ac_useropt
1041 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1044 "enable_
$ac_useropt"
1046 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1047 ac_unrecognized_sep
=', ';;
1049 eval enable_
$ac_useropt=\
$ac_optarg ;;
1051 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1052 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1053 |
--exec |
--exe |
--ex)
1054 ac_prev
=exec_prefix
;;
1055 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1056 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1057 |
--exec=* |
--exe=* |
--ex=*)
1058 exec_prefix
=$ac_optarg ;;
1060 -gas |
--gas |
--ga |
--g)
1061 # Obsolete; use --with-gas.
1064 -help |
--help |
--hel |
--he |
-h)
1065 ac_init_help
=long
;;
1066 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1067 ac_init_help
=recursive
;;
1068 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1069 ac_init_help
=short
;;
1071 -host |
--host |
--hos |
--ho)
1072 ac_prev
=host_alias
;;
1073 -host=* |
--host=* |
--hos=* |
--ho=*)
1074 host_alias
=$ac_optarg ;;
1076 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1078 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1080 htmldir
=$ac_optarg ;;
1082 -includedir |
--includedir |
--includedi |
--included |
--include \
1083 |
--includ |
--inclu |
--incl |
--inc)
1084 ac_prev
=includedir
;;
1085 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1086 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1087 includedir
=$ac_optarg ;;
1089 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1091 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1092 infodir
=$ac_optarg ;;
1094 -libdir |
--libdir |
--libdi |
--libd)
1096 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1097 libdir
=$ac_optarg ;;
1099 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1100 |
--libexe |
--libex |
--libe)
1101 ac_prev
=libexecdir
;;
1102 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1103 |
--libexe=* |
--libex=* |
--libe=*)
1104 libexecdir
=$ac_optarg ;;
1106 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1107 ac_prev
=localedir
;;
1108 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1109 localedir
=$ac_optarg ;;
1111 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1112 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1113 ac_prev
=localstatedir
;;
1114 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1115 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1116 localstatedir
=$ac_optarg ;;
1118 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1120 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1121 mandir
=$ac_optarg ;;
1123 -nfp |
--nfp |
--nf)
1124 # Obsolete; use --without-fp.
1127 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1128 |
--no-cr |
--no-c |
-n)
1131 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1132 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1135 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1136 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1137 |
--oldin |
--oldi |
--old |
--ol |
--o)
1138 ac_prev
=oldincludedir
;;
1139 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1140 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1141 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1142 oldincludedir
=$ac_optarg ;;
1144 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1146 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1147 prefix
=$ac_optarg ;;
1149 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1150 |
--program-pre |
--program-pr |
--program-p)
1151 ac_prev
=program_prefix
;;
1152 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1153 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1154 program_prefix
=$ac_optarg ;;
1156 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1157 |
--program-suf |
--program-su |
--program-s)
1158 ac_prev
=program_suffix
;;
1159 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1160 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1161 program_suffix
=$ac_optarg ;;
1163 -program-transform-name |
--program-transform-name \
1164 |
--program-transform-nam |
--program-transform-na \
1165 |
--program-transform-n |
--program-transform- \
1166 |
--program-transform |
--program-transfor \
1167 |
--program-transfo |
--program-transf \
1168 |
--program-trans |
--program-tran \
1169 |
--progr-tra |
--program-tr |
--program-t)
1170 ac_prev
=program_transform_name
;;
1171 -program-transform-name=* |
--program-transform-name=* \
1172 |
--program-transform-nam=* |
--program-transform-na=* \
1173 |
--program-transform-n=* |
--program-transform-=* \
1174 |
--program-transform=* |
--program-transfor=* \
1175 |
--program-transfo=* |
--program-transf=* \
1176 |
--program-trans=* |
--program-tran=* \
1177 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1178 program_transform_name
=$ac_optarg ;;
1180 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1182 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1183 pdfdir
=$ac_optarg ;;
1185 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1187 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1190 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1191 |
-silent |
--silent |
--silen |
--sile |
--sil)
1194 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1196 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1198 sbindir
=$ac_optarg ;;
1200 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1201 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1202 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1204 ac_prev
=sharedstatedir
;;
1205 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1206 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1207 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1209 sharedstatedir
=$ac_optarg ;;
1211 -site |
--site |
--sit)
1213 -site=* |
--site=* |
--sit=*)
1216 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1218 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1219 srcdir
=$ac_optarg ;;
1221 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1222 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1223 ac_prev
=sysconfdir
;;
1224 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1225 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1226 sysconfdir
=$ac_optarg ;;
1228 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1229 ac_prev
=target_alias
;;
1230 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1231 target_alias
=$ac_optarg ;;
1233 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1236 -version |
--version |
--versio |
--versi |
--vers |
-V)
1237 ac_init_version
=: ;;
1240 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1243 as_fn_error
"invalid package name: $ac_useropt"
1244 ac_useropt_orig
=$ac_useropt
1245 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246 case $ac_user_opts in
1250 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1251 ac_unrecognized_sep
=', ';;
1253 eval with_
$ac_useropt=\
$ac_optarg ;;
1255 -without-* |
--without-*)
1256 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1257 # Reject names that are not valid shell variable names.
1258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1259 as_fn_error
"invalid package name: $ac_useropt"
1260 ac_useropt_orig
=$ac_useropt
1261 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262 case $ac_user_opts in
1266 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1267 ac_unrecognized_sep
=', ';;
1269 eval with_
$ac_useropt=no
;;
1272 # Obsolete; use --with-x.
1275 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1276 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1277 ac_prev
=x_includes
;;
1278 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1279 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1280 x_includes
=$ac_optarg ;;
1282 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1283 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1284 ac_prev
=x_libraries
;;
1285 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1286 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1287 x_libraries
=$ac_optarg ;;
1289 -*) as_fn_error
"unrecognized option: \`$ac_option'
1290 Try \`$0 --help' for more information."
1294 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1295 # Reject names that are not valid shell variable names.
1296 case $ac_envvar in #(
1297 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1298 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1300 eval $ac_envvar=\
$ac_optarg
1301 export $ac_envvar ;;
1304 # FIXME: should be removed in autoconf 3.0.
1305 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1306 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1307 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1308 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1314 if test -n "$ac_prev"; then
1315 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1316 as_fn_error
"missing argument to $ac_option"
1319 if test -n "$ac_unrecognized_opts"; then
1320 case $enable_option_checking in
1322 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1323 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1327 # Check all directory arguments for consistency.
1328 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1329 datadir sysconfdir sharedstatedir localstatedir includedir \
1330 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1331 libdir localedir mandir
1333 eval ac_val
=\$
$ac_var
1334 # Remove trailing slashes.
1337 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1338 eval $ac_var=\
$ac_val;;
1340 # Be sure to have absolute directory names.
1342 [\\/$
]* | ?
:[\\/]* ) continue;;
1343 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1345 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1348 # There might be people who depend on the old broken behavior: `$host'
1349 # used to hold the argument of --host etc.
1350 # FIXME: To remove some day.
1353 target
=$target_alias
1355 # FIXME: To remove some day.
1356 if test "x$host_alias" != x
; then
1357 if test "x$build_alias" = x
; then
1358 cross_compiling
=maybe
1359 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1360 If a cross compiler is detected then cross compile mode will be used." >&2
1361 elif test "x$build_alias" != "x$host_alias"; then
1367 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1369 test "$silent" = yes && exec 6>/dev
/null
1372 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1373 ac_ls_di
=`ls -di .` &&
1374 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1375 as_fn_error
"working directory cannot be determined"
1376 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1377 as_fn_error
"pwd does not report name of working directory"
1380 # Find the source files, if location was not specified.
1381 if test -z "$srcdir"; then
1382 ac_srcdir_defaulted
=yes
1383 # Try the directory containing this script, then the parent directory.
1384 ac_confdir
=`$as_dirname -- "$as_myself" ||
1385 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1386 X"$as_myself" : 'X\(//\)[^/]' \| \
1387 X"$as_myself" : 'X\(//\)$' \| \
1388 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1389 $as_echo X"$as_myself" |
1390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1408 if test ! -r "$srcdir/$ac_unique_file"; then
1412 ac_srcdir_defaulted
=no
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1415 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1416 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1418 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1420 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1422 # When building in place, set srcdir=.
1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
1426 # Remove unnecessary trailing slashes from srcdir.
1427 # Double slashes in file names in object file debugging info
1428 # mess up M-x gdb in Emacs.
1430 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1432 for ac_var
in $ac_precious_vars; do
1433 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1434 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1435 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1436 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1440 # Report the --help message.
1442 if test "$ac_init_help" = "long"; then
1443 # Omit some internal or obsolete options to make the list less imposing.
1444 # This message is too long to be a string in the A/UX 3.1 sh.
1446 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1448 Usage: $0 [OPTION]... [VAR=VALUE]...
1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1451 VAR=VALUE. See below for descriptions of some of the useful variables.
1453 Defaults for the options are specified in brackets.
1456 -h, --help display this help and exit
1457 --help=short display options specific to this package
1458 --help=recursive display the short help of all the included packages
1459 -V, --version display version information and exit
1460 -q, --quiet, --silent do not print \`checking...' messages
1461 --cache-file=FILE cache test results in FILE [disabled]
1462 -C, --config-cache alias for \`--cache-file=config.cache'
1463 -n, --no-create do not create output files
1464 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1466 Installation directories:
1467 --prefix=PREFIX install architecture-independent files in PREFIX
1468 [$ac_default_prefix]
1469 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1472 By default, \`make install' will install all the files in
1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1475 for instance \`--prefix=\$HOME'.
1477 For better control, use the options below.
1479 Fine tuning of the installation directories:
1480 --bindir=DIR user executables [EPREFIX/bin]
1481 --sbindir=DIR system admin executables [EPREFIX/sbin]
1482 --libexecdir=DIR program executables [EPREFIX/libexec]
1483 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1484 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1485 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1486 --libdir=DIR object code libraries [EPREFIX/lib]
1487 --includedir=DIR C header files [PREFIX/include]
1488 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1489 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1490 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1491 --infodir=DIR info documentation [DATAROOTDIR/info]
1492 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1493 --mandir=DIR man documentation [DATAROOTDIR/man]
1494 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1495 --htmldir=DIR html documentation [DOCDIR]
1496 --dvidir=DIR dvi documentation [DOCDIR]
1497 --pdfdir=DIR pdf documentation [DOCDIR]
1498 --psdir=DIR ps documentation [DOCDIR]
1504 --program-prefix=PREFIX prepend PREFIX to installed program names
1505 --program-suffix=SUFFIX append SUFFIX to installed program names
1506 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1509 --build=BUILD configure
for building on BUILD
[guessed
]
1510 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1511 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1515 if test -n "$ac_init_help"; then
1516 case $ac_init_help in
1517 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1522 --disable-option-checking ignore unrecognized
--enable/--with options
1523 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1524 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1525 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1526 --enable-intermodule build the library
in one step
1527 --enable-maintainer-mode enable make rules and dependencies not useful
1528 (and sometimes confusing
) to the casual installer
1529 --enable-multilib build many library versions
(default
)
1530 --disable-dependency-tracking speeds up one-time build
1531 --enable-dependency-tracking do not reject slow dependency extractors
1532 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1533 --enable-static[=PKGS
] build static libraries
[default
=yes]
1534 --enable-fast-install[=PKGS
]
1535 optimize
for fast installation
[default
=yes]
1536 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1537 --disable-largefile omit support
for large files
1540 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1541 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1542 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1543 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1545 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1547 Some influential environment variables
:
1548 CC C compiler
command
1549 CFLAGS C compiler flags
1550 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1551 nonstandard directory
<lib dir
>
1552 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1553 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1554 you have headers
in a nonstandard directory
<include dir
>
1556 FC Fortran compiler
command
1557 FCFLAGS Fortran compiler flags
1559 Use these variables to override the choices made by
`configure' or to help
1560 it to find libraries and programs with nonstandard names/locations.
1562 Report bugs to the package provider.
1563 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1564 General help using GNU software: <http://www.gnu.org/gethelp/>.
1569 if test "$ac_init_help" = "recursive"; then
1570 # If there are subdirs, report their specific --help.
1571 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1572 test -d "$ac_dir" ||
1573 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1580 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1581 # A ".." for each directory in $ac_dir_suffix.
1582 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1583 case $ac_top_builddir_sub in
1584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1588 ac_abs_top_builddir=$ac_pwd
1589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1590 # for backward compatibility:
1591 ac_top_builddir=$ac_top_build_prefix
1594 .) # We are building in place.
1596 ac_top_srcdir=$ac_top_builddir_sub
1597 ac_abs_top_srcdir=$ac_pwd ;;
1598 [\\/]* | ?:[\\/]* ) # Absolute name.
1599 ac_srcdir=$srcdir$ac_dir_suffix;
1600 ac_top_srcdir=$srcdir
1601 ac_abs_top_srcdir=$srcdir ;;
1603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1604 ac_top_srcdir=$ac_top_build_prefix$srcdir
1605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1609 cd "$ac_dir" || { ac_status=$?; continue; }
1610 # Check for guested configure.
1611 if test -f "$ac_srcdir/configure.gnu"; then
1613 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1614 elif test -f "$ac_srcdir/configure"; then
1616 $SHELL "$ac_srcdir/configure" --help=recursive
1618 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1620 cd "$ac_pwd" || { ac_status=$?; break; }
1624 test -n "$ac_init_help" && exit $ac_status
1625 if $ac_init_version; then
1627 GNU Fortran Runtime Library configure 0.3
1628 generated by GNU Autoconf 2.64
1630 Copyright (C) 2009 Free Software Foundation, Inc.
1631 This configure script is free software; the Free Software Foundation
1632 gives unlimited permission to copy, distribute and modify it.
1637 ## ------------------------ ##
1638 ## Autoconf initialization. ##
1639 ## ------------------------ ##
1641 # ac_fn_c_try_compile LINENO
1642 # --------------------------
1643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_compile ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 rm -f conftest.$ac_objext
1648 if { { ac_try="$ac_compile"
1650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1651 *) ac_try_echo
=$ac_try;;
1653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_compile") 2>conftest.err
1657 if test -s conftest.err
; then
1658 grep -v '^ *+' conftest.err
>conftest.er1
1659 cat conftest.er1
>&5
1660 mv -f conftest.er1 conftest.err
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_c_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest.
$ac_objext; then :
1669 $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.
$ac_ext >&5
1674 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1677 } # ac_fn_c_try_compile
1679 # ac_fn_c_try_link LINENO
1680 # -----------------------
1681 # Try to link conftest.$ac_ext, and return whether this succeeded.
1684 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1685 rm -f conftest.
$ac_objext conftest
$ac_exeext
1686 if { { ac_try
="$ac_link"
1688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_link") 2>conftest.err
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && {
1702 test -z "$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1704 } && test -s conftest$ac_exeext && {
1705 test "$cross_compiling" = yes ||
1706 $as_test_x conftest$ac_exeext
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1715 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1716 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1717 # interfere with the next link command; also delete a directory that is
1718 # left behind by Apple's compiler. We do this before executing the actions.
1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1723 } # ac_fn_c_try_link
1725 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1726 # -------------------------------------------------------
1727 # Tests whether HEADER exists and can be compiled using the include files in
1728 # INCLUDES, setting the cache variable VAR accordingly.
1729 ac_fn_c_check_header_compile ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1735 $as_echo_n "(cached) " >&6
1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h. */
1742 if ac_fn_c_try_compile "$LINENO"; then :
1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1752 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1754 } # ac_fn_c_check_header_compile
1756 # ac_fn_c_try_cpp LINENO
1757 # ----------------------
1758 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_cpp conftest.$ac_ext"
1764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1765 *) ac_try_echo
=$ac_try;;
1767 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1771 if test -s conftest.err
; then
1772 grep -v '^ *+' conftest.err
>conftest.er1
1773 cat conftest.er1
>&5
1774 mv -f conftest.er1 conftest.err
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } >/dev
/null
&& {
1778 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1779 test ! -s conftest.err
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.
$ac_ext >&5
1788 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1793 # ac_fn_c_try_run LINENO
1794 # ----------------------
1795 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1796 # that executables *can* be run.
1799 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1800 if { { ac_try
="$ac_link"
1802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1803 *) ac_try_echo=$ac_try;;
1805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806 $as_echo "$ac_try_echo"; } >&5
1807 (eval "$ac_link") 2>&5
1809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1811 { { case "(($ac_try" in
1812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1813 *) ac_try_echo
=$ac_try;;
1815 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_try") 2>&5
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; }; }; then :
1823 $as_echo "$as_me: program exited with status $ac_status" >&5
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.
$ac_ext >&5
1827 ac_retval
=$ac_status
1829 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1830 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1835 # ac_fn_c_check_func LINENO FUNC VAR
1836 # ----------------------------------
1837 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1838 ac_fn_c_check_func
()
1840 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1844 $as_echo_n "(cached) " >&6
1846 if test x
$gcc_no_link = xyes
; then
1847 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1850 /* end confdefs.h. */
1851 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1853 #define $2 innocuous_$2
1855 /* System header to define __stub macros and hopefully few prototypes,
1856 which can conflict with char $2 (); below.
1857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1858 <limits.h> exists even on freestanding compilers. */
1861 # include <limits.h>
1863 # include <assert.h>
1868 /* Override any GCC internal prototype to avoid an error.
1869 Use char because int might match the return type of a GCC
1870 builtin and then its argument prototype would still apply. */
1875 /* The GNU C library defines this for functions which it implements
1876 to always fail with ENOSYS. Some functions are actually named
1877 something starting with __ and the normal name is an alias. */
1878 #if defined __stub_$2 || defined __stub___$2
1890 if ac_fn_c_try_link
"$LINENO"; then :
1895 rm -f core conftest.err conftest.
$ac_objext \
1896 conftest
$ac_exeext conftest.
$ac_ext
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1903 } # ac_fn_c_check_func
1905 # ac_fn_fc_try_compile LINENO
1906 # ---------------------------
1907 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1908 ac_fn_fc_try_compile
()
1910 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1911 rm -f conftest.
$ac_objext
1912 if { { ac_try
="$ac_compile"
1914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1915 *) ac_try_echo=$ac_try;;
1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918 $as_echo "$ac_try_echo"; } >&5
1919 (eval "$ac_compile") 2>conftest.err
1921 if test -s conftest.err; then
1922 grep -v '^ *+' conftest.err >conftest.er1
1923 cat conftest.er1 >&5
1924 mv -f conftest.er1 conftest.err
1926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1927 test $ac_status = 0; } && {
1928 test -z "$ac_fc_werror_flag" ||
1929 test ! -s conftest.err
1930 } && test -s conftest.$ac_objext; then :
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1941 } # ac_fn_fc_try_compile
1943 # ac_fn_fc_try_link LINENO
1944 # ------------------------
1945 # Try to link conftest.$ac_ext, and return whether this succeeded.
1946 ac_fn_fc_try_link ()
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 rm -f conftest.$ac_objext conftest$ac_exeext
1950 if { { ac_try="$ac_link"
1952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1953 *) ac_try_echo
=$ac_try;;
1955 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_link") 2>conftest.err
1959 if test -s conftest.err
; then
1960 grep -v '^ *+' conftest.err
>conftest.er1
1961 cat conftest.er1
>&5
1962 mv -f conftest.er1 conftest.err
1964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; } && {
1966 test -z "$ac_fc_werror_flag" ||
1967 test ! -s conftest.err
1968 } && test -s conftest
$ac_exeext && {
1969 test "$cross_compiling" = yes ||
1970 $as_test_x conftest
$ac_exeext
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.
$ac_ext >&5
1979 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1980 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1981 # interfere with the next link command; also delete a directory that is
1982 # left behind by Apple's compiler. We do this before executing the actions.
1983 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1984 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1987 } # ac_fn_fc_try_link
1989 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1990 # -------------------------------------------
1991 # Tests whether TYPE exists after having included INCLUDES, setting cache
1992 # variable VAR accordingly.
1993 ac_fn_c_check_type
()
1995 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997 $as_echo_n "checking for $2... " >&6; }
1998 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1999 $as_echo_n "(cached) " >&6
2002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2014 if ac_fn_c_try_compile
"$LINENO"; then :
2015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2027 if ac_fn_c_try_compile
"$LINENO"; then :
2032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2041 } # ac_fn_c_check_type
2043 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2044 # -------------------------------------------------------
2045 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2046 # the include files in INCLUDES and setting the cache variable VAR
2048 ac_fn_c_check_header_mongrel
()
2050 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2051 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053 $as_echo_n "checking for $2... " >&6; }
2054 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2055 $as_echo_n "(cached) " >&6
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2061 # Is the header compilable?
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2063 $as_echo_n "checking $2 usability... " >&6; }
2064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2069 if ac_fn_c_try_compile
"$LINENO"; then :
2070 ac_header_compiler
=yes
2072 ac_header_compiler
=no
2074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2076 $as_echo "$ac_header_compiler" >&6; }
2078 # Is the header present?
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2080 $as_echo_n "checking $2 presence... " >&6; }
2081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2085 if ac_fn_c_try_cpp
"$LINENO"; then :
2086 ac_header_preproc
=yes
2088 ac_header_preproc
=no
2090 rm -f conftest.err conftest.
$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2092 $as_echo "$ac_header_preproc" >&6; }
2094 # So? What about this header?
2095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2098 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2104 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2106 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2108 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2110 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2112 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2116 $as_echo_n "checking for $2... " >&6; }
2117 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2118 $as_echo_n "(cached) " >&6
2120 eval "$3=\$ac_header_compiler"
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2124 $as_echo "$ac_res" >&6; }
2126 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2128 } # ac_fn_c_check_header_mongrel
2130 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2131 # --------------------------------------------
2132 # Tries to find the compile-time value of EXPR in a program that includes
2133 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2135 ac_fn_c_compute_int
()
2137 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2138 if test "$cross_compiling" = yes; then
2139 # Depending upon the size, compute the lo and hi bounds.
2140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2146 static int test_array [1 - 2 * !(($2) >= 0)];
2153 if ac_fn_c_try_compile
"$LINENO"; then :
2156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2162 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2169 if ac_fn_c_try_compile
"$LINENO"; then :
2170 ac_hi
=$ac_mid; break
2172 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2173 if test $ac_lo -le $ac_mid; then
2177 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2188 static int test_array [1 - 2 * !(($2) < 0)];
2195 if ac_fn_c_try_compile
"$LINENO"; then :
2198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2199 /* end confdefs.h. */
2204 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2211 if ac_fn_c_try_compile
"$LINENO"; then :
2212 ac_lo
=$ac_mid; break
2214 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2215 if test $ac_mid -le $ac_hi; then
2219 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2229 # Binary search between lo and hi bounds.
2230 while test "x$ac_lo" != "x$ac_hi"; do
2231 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2238 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2245 if ac_fn_c_try_compile
"$LINENO"; then :
2248 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2253 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2258 /* end confdefs.h. */
2260 static long int longval () { return $2; }
2261 static unsigned long int ulongval () { return $2; }
2268 FILE *f = fopen ("conftest.val", "w");
2273 long int i = longval ();
2276 fprintf (f, "%ld", i);
2280 unsigned long int i = ulongval ();
2283 fprintf (f, "%lu", i);
2285 /* Do not output a trailing newline, as this causes \r\n confusion
2286 on some platforms. */
2287 return ferror (f) || fclose (f) != 0;
2293 if ac_fn_c_try_run
"$LINENO"; then :
2294 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2298 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2299 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2303 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2306 } # ac_fn_c_compute_int
2308 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2309 # ----------------------------------------------------
2310 # Tries to find if the field MEMBER exists in type AGGR, after including
2311 # INCLUDES, setting cache variable VAR accordingly.
2312 ac_fn_c_check_member
()
2314 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2316 $as_echo_n "checking for $2.$3... " >&6; }
2317 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2318 $as_echo_n "(cached) " >&6
2320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2321 /* end confdefs.h. */
2333 if ac_fn_c_try_compile
"$LINENO"; then :
2336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2343 if (sizeof ac_aggr.$3)
2349 if ac_fn_c_try_compile
"$LINENO"; then :
2354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2360 $as_echo "$ac_res" >&6; }
2361 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2363 } # ac_fn_c_check_member
2364 cat >config.log
<<_ACEOF
2365 This file contains any messages produced by compilers while
2366 running configure, to aid debugging if configure makes a mistake.
2368 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2369 generated by GNU Autoconf 2.64. Invocation command line was
2381 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2382 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2383 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2384 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2385 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2387 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2388 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2390 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2391 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2392 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2393 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2394 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2395 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2396 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir
=.
2405 $as_echo "PATH: $as_dir"
2421 # Keep a trace of the command line.
2422 # Strip out --no-create and --no-recursion so they do not pile up.
2423 # Strip out --silent because we don't want to record it for future runs.
2424 # Also quote any args containing shell meta-characters.
2425 # Make two passes to allow for proper duplicate-argument suppression.
2429 ac_must_keep_next
=false
2435 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2436 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2437 |
-silent |
--silent |
--silen |
--sile |
--sil)
2440 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2443 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2445 as_fn_append ac_configure_args1
" '$ac_arg'"
2446 if test $ac_must_keep_next = true
; then
2447 ac_must_keep_next
=false
# Got value, back to normal.
2450 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2451 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2452 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2453 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2454 case "$ac_configure_args0 " in
2455 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2458 -* ) ac_must_keep_next
=true
;;
2461 as_fn_append ac_configure_args
" '$ac_arg'"
2466 { ac_configure_args0
=; unset ac_configure_args0
;}
2467 { ac_configure_args1
=; unset ac_configure_args1
;}
2469 # When interrupted or exit'd, cleanup temporary files, and complete
2470 # config.log. We remove comments because anyway the quotes in there
2471 # would cause problems or look ugly.
2472 # WARNING: Use '\'' to represent an apostrophe within the trap.
2473 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2474 trap 'exit_status=$?
2475 # Save into config.log some information that might help in debugging.
2480 ## ---------------- ##
2481 ## Cache variables. ##
2482 ## ---------------- ##
2485 # The following way of writing the cache mishandles newlines in values,
2487 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2488 eval ac_val=\$$ac_var
2492 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2493 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2496 _ | IFS | as_nl) ;; #(
2497 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2498 *) { eval $ac_var=; unset $ac_var;} ;;
2503 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2504 *${as_nl}ac_space=\ *)
2506 "s/'\''/'\''\\\\'\'''\''/g;
2507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2510 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2518 ## ----------------- ##
2519 ## Output variables. ##
2520 ## ----------------- ##
2523 for ac_var in $ac_subst_vars
2525 eval ac_val=\$$ac_var
2527 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2529 $as_echo "$ac_var='\''$ac_val'\''"
2533 if test -n "$ac_subst_files"; then
2535 ## ------------------- ##
2536 ## File substitutions. ##
2537 ## ------------------- ##
2540 for ac_var
in $ac_subst_files
2542 eval ac_val
=\$
$ac_var
2544 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2546 $as_echo "$ac_var='\''$ac_val'\''"
2551 if test -s confdefs.h; then
2561 test "$ac_signal" != 0 &&
2562 $as_echo "$as_me: caught signal $ac_signal"
2563 $as_echo "$as_me: exit $exit_status"
2565 rm -f core *.core core.conftest.* &&
2566 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2569 for ac_signal
in 1 2 13 15; do
2570 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2574 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2575 rm -f -r conftest
* confdefs.h
2577 $as_echo "/* confdefs.h */" > confdefs.h
2579 # Predefined preprocessor variables.
2581 cat >>confdefs.h
<<_ACEOF
2582 #define PACKAGE_NAME "$PACKAGE_NAME"
2585 cat >>confdefs.h
<<_ACEOF
2586 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2589 cat >>confdefs.h
<<_ACEOF
2590 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2593 cat >>confdefs.h
<<_ACEOF
2594 #define PACKAGE_STRING "$PACKAGE_STRING"
2597 cat >>confdefs.h
<<_ACEOF
2598 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2601 cat >>confdefs.h
<<_ACEOF
2602 #define PACKAGE_URL "$PACKAGE_URL"
2606 # Let the site file select an alternate cache file if it wants to.
2607 # Prefer an explicitly selected file to automatically selected ones.
2610 if test -n "$CONFIG_SITE"; then
2611 ac_site_file1
=$CONFIG_SITE
2612 elif test "x$prefix" != xNONE
; then
2613 ac_site_file1
=$prefix/share
/config.site
2614 ac_site_file2
=$prefix/etc
/config.site
2616 ac_site_file1
=$ac_default_prefix/share
/config.site
2617 ac_site_file2
=$ac_default_prefix/etc
/config.site
2619 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2621 test "x$ac_site_file" = xNONE
&& continue
2622 if test -r "$ac_site_file"; then
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2624 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2625 sed 's/^/| /' "$ac_site_file" >&5
2630 if test -r "$cache_file"; then
2631 # Some versions of bash will fail to source /dev/null (special
2632 # files actually), so we avoid doing that.
2633 if test -f "$cache_file"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2635 $as_echo "$as_me: loading cache $cache_file" >&6;}
2637 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2638 *) .
"./$cache_file";;
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2643 $as_echo "$as_me: creating cache $cache_file" >&6;}
2647 # Check that the precious variables saved in the cache have kept the same
2649 ac_cache_corrupted
=false
2650 for ac_var
in $ac_precious_vars; do
2651 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2652 eval ac_new_set
=\
$ac_env_${ac_var}_set
2653 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2654 eval ac_new_val
=\
$ac_env_${ac_var}_value
2655 case $ac_old_set,$ac_new_set in
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2658 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2659 ac_cache_corrupted
=: ;;
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2662 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2663 ac_cache_corrupted
=: ;;
2666 if test "x$ac_old_val" != "x$ac_new_val"; then
2667 # differences in whitespace do not lead to failure.
2668 ac_old_val_w
=`echo x $ac_old_val`
2669 ac_new_val_w
=`echo x $ac_new_val`
2670 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2672 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2673 ac_cache_corrupted
=:
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2676 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2677 eval $ac_var=\
$ac_old_val
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2680 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2682 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2685 # Pass precious variables to config.status.
2686 if test "$ac_new_set" = set; then
2688 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2689 *) ac_arg
=$ac_var=$ac_new_val ;;
2691 case " $ac_configure_args " in
2692 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2693 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2697 if $ac_cache_corrupted; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2701 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2702 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2704 ## -------------------- ##
2705 ## Main body of script. ##
2706 ## -------------------- ##
2709 ac_cpp
='$CPP $CPPFLAGS'
2710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2718 ac_config_headers
="$ac_config_headers config.h"
2721 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2722 for ac_t
in install-sh
install.sh shtool
; do
2723 if test -f "$ac_dir/$ac_t"; then
2725 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2730 if test -z "$ac_aux_dir"; then
2731 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2734 # These three variables are undocumented and unsupported,
2735 # and are intended to be withdrawn in a future Autoconf release.
2736 # They can cause serious problems if a builder's source tree is in a directory
2737 # whose full name contains unusual characters.
2738 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2739 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2740 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2743 # Make sure we can run config.sub.
2744 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2745 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2748 $as_echo_n "checking build system type... " >&6; }
2749 if test "${ac_cv_build+set}" = set; then :
2750 $as_echo_n "(cached) " >&6
2752 ac_build_alias
=$build_alias
2753 test "x$ac_build_alias" = x
&&
2754 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2755 test "x$ac_build_alias" = x
&&
2756 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2757 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2758 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2762 $as_echo "$ac_cv_build" >&6; }
2763 case $ac_cv_build in
2765 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2768 ac_save_IFS
=$IFS; IFS
='-'
2774 # Remember, the first character of IFS is used to create $*,
2775 # except with old shells:
2778 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2781 case ${build_alias} in
2782 "") build_noncanonical
=${build} ;;
2783 *) build_noncanonical
=${build_alias} ;;
2786 case ${host_alias} in
2787 "") host_noncanonical
=${build_noncanonical} ;;
2788 *) host_noncanonical
=${host_alias} ;;
2791 case ${target_alias} in
2792 "") target_noncanonical
=${host_noncanonical} ;;
2793 *) target_noncanonical
=${target_alias} ;;
2797 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2798 # have matching libraries, they should use host libraries: Makefile.tpl
2799 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2800 # However, they still use the build modules, because the corresponding
2801 # host modules (e.g. bison) are only built for the host when bootstrap
2803 # - build_subdir is where we find build modules, and never changes.
2804 # - build_libsubdir is where we find build libraries, and can be overridden.
2806 # Prefix 'build-' so this never conflicts with target_subdir.
2807 build_subdir
="build-${build_noncanonical}"
2809 # Check whether --with-build-libsubdir was given.
2810 if test "${with_build_libsubdir+set}" = set; then :
2811 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2813 build_libsubdir
="$build_subdir"
2816 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2817 if ( test $srcdir = .
&& test -d gcc
) \
2818 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2819 host_subdir
="host-${host_noncanonical}"
2824 target_subdir
=${target_noncanonical}
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2832 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2833 # Check whether --enable-version-specific-runtime-libs was given.
2834 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2835 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2836 yes) version_specific_libs
=yes ;;
2837 no
) version_specific_libs
=no
;;
2838 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2841 version_specific_libs
=no
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2845 $as_echo "$version_specific_libs" >&6; }
2847 # Build with intermodule optimisations
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2849 $as_echo_n "checking for --enable-intermodule... " >&6; }
2850 # Check whether --enable-intermodule was given.
2851 if test "${enable_intermodule+set}" = set; then :
2852 enableval
=$enable_intermodule; case "$enable_intermodule" in
2853 yes) onestep
="-onestep";;
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2861 $as_echo "$enable_intermodule" >&6; }
2862 if test x
$onestep = x-onestep
; then
2872 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2874 # You will slowly go insane if you do not grok the following fact: when
2875 # building this library, the top-level /target/ becomes the library's /host/.
2877 # configure then causes --target to default to --host, exactly like any
2878 # other package using autoconf. Therefore, 'target' and 'host' will
2879 # always be the same. This makes sense both for native and cross compilers
2880 # just think about it for a little while. :-)
2882 # Also, if this library is being configured as part of a cross compiler, the
2883 # top-level configure script will pass the "real" host as $with_cross_host.
2885 # Do not delete or change the following two lines. For why, see
2886 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2888 $as_echo_n "checking host system type... " >&6; }
2889 if test "${ac_cv_host+set}" = set; then :
2890 $as_echo_n "(cached) " >&6
2892 if test "x$host_alias" = x
; then
2893 ac_cv_host
=$ac_cv_build
2895 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2896 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2901 $as_echo "$ac_cv_host" >&6; }
2904 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2907 ac_save_IFS
=$IFS; IFS
='-'
2913 # Remember, the first character of IFS is used to create $*,
2914 # except with old shells:
2917 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2921 $as_echo_n "checking target system type... " >&6; }
2922 if test "${ac_cv_target+set}" = set; then :
2923 $as_echo_n "(cached) " >&6
2925 if test "x$target_alias" = x
; then
2926 ac_cv_target
=$ac_cv_host
2928 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2929 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2934 $as_echo "$ac_cv_target" >&6; }
2935 case $ac_cv_target in
2937 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2939 target
=$ac_cv_target
2940 ac_save_IFS
=$IFS; IFS
='-'
2946 # Remember, the first character of IFS is used to create $*,
2947 # except with old shells:
2950 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2953 # The aliases save the names the user supplied, while $host etc.
2954 # will get canonicalized.
2955 test -n "$target_alias" &&
2956 test "$program_prefix$program_suffix$program_transform_name" = \
2958 program_prefix
=${target_alias}-
2960 target_alias
=${target_alias-$host_alias}
2962 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2963 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2964 # 1.9.6: minimum required version
2965 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2966 # of other PACKAGE_* variables will, however, and there's nothing
2967 # we can do about that; they come from AC_INIT).
2968 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2969 # file in the top srcdir, etc, etc), so stop complaining.
2970 # -Wall: turns on all automake warnings...
2971 # -Wno-portability: ...except this one, since GNU make is required.
2972 am__api_version
='1.11'
2974 # Find a good install program. We prefer a C program (faster),
2975 # so one script is as good as another. But avoid the broken or
2976 # incompatible versions:
2977 # SysV /etc/install, /usr/sbin/install
2978 # SunOS /usr/etc/install
2979 # IRIX /sbin/install
2981 # AmigaOS /C/install, which installs bootblocks on floppy discs
2982 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2983 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2984 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2985 # OS/2's system install, which has a completely different semantic
2986 # ./install, which can be erroneously created by make from ./install.sh.
2987 # Reject install programs that cannot install multiple files.
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2989 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2990 if test -z "$INSTALL"; then
2991 if test "${ac_cv_path_install+set}" = set; then :
2992 $as_echo_n "(cached) " >&6
2994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2998 test -z "$as_dir" && as_dir
=.
2999 # Account for people who put trailing slashes in PATH elements.
3000 case $as_dir/ in #((
3001 .
/ | .
// |
/[cC
]/* | \
3002 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3003 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3006 # OSF1 and SCO ODT 3.0 have their own names for install.
3007 # Don't use installbsd from OSF since it installs stuff as root
3009 for ac_prog
in ginstall scoinst
install; do
3010 for ac_exec_ext
in '' $ac_executable_extensions; do
3011 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3012 if test $ac_prog = install &&
3013 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3014 # AIX install. It has an incompatible calling convention.
3016 elif test $ac_prog = install &&
3017 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3018 # program-specific install script used by HP pwplus--don't use.
3021 rm -rf conftest.one conftest.two conftest.dir
3022 echo one
> conftest.one
3023 echo two
> conftest.two
3025 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3026 test -s conftest.one
&& test -s conftest.two
&&
3027 test -s conftest.dir
/conftest.one
&&
3028 test -s conftest.dir
/conftest.two
3030 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3043 rm -rf conftest.one conftest.two conftest.dir
3046 if test "${ac_cv_path_install+set}" = set; then
3047 INSTALL
=$ac_cv_path_install
3049 # As a last resort, use the slow shell script. Don't cache a
3050 # value for INSTALL within a source directory, because that will
3051 # break other packages using the cache if that directory is
3052 # removed, or if the value is a relative name.
3053 INSTALL
=$ac_install_sh
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3057 $as_echo "$INSTALL" >&6; }
3059 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3060 # It thinks the first close brace ends the variable substitution.
3061 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3063 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3065 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3068 $as_echo_n "checking whether build environment is sane... " >&6; }
3071 echo timestamp
> conftest.
file
3072 # Reject unsafe characters in $srcdir or the absolute working directory
3073 # name. Accept space and tab only in the latter.
3077 *[\\\"\
#\$\&\'\`$am_lf]*)
3078 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3081 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3082 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3085 # Do `set' in a subshell so we don't clobber the current shell's
3086 # arguments. Must try -L first in case configure is actually a
3087 # symlink; some systems play weird games with the mod time of symlinks
3088 # (eg FreeBSD returns the mod time of the symlink's containing
3091 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3092 if test "$*" = "X"; then
3094 set X
`ls -t "$srcdir/configure" conftest.file`
3097 if test "$*" != "X $srcdir/configure conftest.file" \
3098 && test "$*" != "X conftest.file $srcdir/configure"; then
3100 # If neither matched, then we have a broken ls. This can happen
3101 # if, for instance, CONFIG_SHELL is bash and it inherits a
3102 # broken ls alias from the environment. This has actually
3103 # happened. Such a system could not be considered "sane".
3104 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3105 alias in your environment" "$LINENO" 5
3108 test "$2" = conftest.
file
3114 as_fn_error
"newly created file is older than distributed files!
3115 Check your system clock" "$LINENO" 5
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3118 $as_echo "yes" >&6; }
3119 test "$program_prefix" != NONE
&&
3120 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3121 # Use a double $ so make ignores it.
3122 test "$program_suffix" != NONE
&&
3123 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3124 # Double any \ or $.
3125 # By default was `s,x,x', remove it if useless.
3126 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3127 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3129 # expand $ac_aux_dir to an absolute path
3130 am_aux_dir
=`cd $ac_aux_dir && pwd`
3132 if test x
"${MISSING+set}" != xset
; then
3135 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3137 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3140 # Use eval to expand $SHELL
3141 if eval "$MISSING --run true"; then
3142 am_missing_run
="$MISSING --run "
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3146 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3149 if test x
"${install_sh}" != xset
; then
3152 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3154 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3158 # Installed binaries are usually stripped using `strip' when the user
3159 # run `make install-strip'. However `strip' might not be the right
3160 # tool to use in cross-compilation environments, therefore Automake
3161 # will honor the `STRIP' environment variable to overrule this program.
3162 if test "$cross_compiling" != no
; then
3163 if test -n "$ac_tool_prefix"; then
3164 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3165 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 $as_echo_n "checking for $ac_word... " >&6; }
3168 if test "${ac_cv_prog_STRIP+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3171 if test -n "$STRIP"; then
3172 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir
=.
3179 for ac_exec_ext
in '' $ac_executable_extensions; do
3180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3181 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 STRIP
=$ac_cv_prog_STRIP
3192 if test -n "$STRIP"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3194 $as_echo "$STRIP" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3202 if test -z "$ac_cv_prog_STRIP"; then
3204 # Extract the first word of "strip", so it can be a program name with args.
3205 set dummy strip
; ac_word
=$2
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207 $as_echo_n "checking for $ac_word... " >&6; }
3208 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3209 $as_echo_n "(cached) " >&6
3211 if test -n "$ac_ct_STRIP"; then
3212 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3218 test -z "$as_dir" && as_dir
=.
3219 for ac_exec_ext
in '' $ac_executable_extensions; do
3220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3221 ac_cv_prog_ac_ct_STRIP
="strip"
3222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3232 if test -n "$ac_ct_STRIP"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3234 $as_echo "$ac_ct_STRIP" >&6; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3240 if test "x$ac_ct_STRIP" = x
; then
3243 case $cross_compiling:$ac_tool_warned in
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3247 ac_tool_warned
=yes ;;
3252 STRIP
="$ac_cv_prog_STRIP"
3256 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3259 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3260 if test -z "$MKDIR_P"; then
3261 if test "${ac_cv_path_mkdir+set}" = set; then :
3262 $as_echo_n "(cached) " >&6
3264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3265 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3268 test -z "$as_dir" && as_dir
=.
3269 for ac_prog
in mkdir gmkdir
; do
3270 for ac_exec_ext
in '' $ac_executable_extensions; do
3271 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3272 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3273 'mkdir (GNU coreutils) '* | \
3274 'mkdir (coreutils) '* | \
3275 'mkdir (fileutils) '4.1*)
3276 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3286 if test "${ac_cv_path_mkdir+set}" = set; then
3287 MKDIR_P
="$ac_cv_path_mkdir -p"
3289 # As a last resort, use the slow shell script. Don't cache a
3290 # value for MKDIR_P within a source directory, because that will
3291 # break other packages using the cache if that directory is
3292 # removed, or if the value is a relative name.
3293 test -d .
/--version && rmdir .
/--version
3294 MKDIR_P
="$ac_install_sh -d"
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3298 $as_echo "$MKDIR_P" >&6; }
3302 [\\/$
]* | ?
:[\\/]*) ;;
3303 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3306 for ac_prog
in gawk mawk nawk
awk
3308 # Extract the first word of "$ac_prog", so it can be a program name with args.
3309 set dummy
$ac_prog; ac_word
=$2
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311 $as_echo_n "checking for $ac_word... " >&6; }
3312 if test "${ac_cv_prog_AWK+set}" = set; then :
3313 $as_echo_n "(cached) " >&6
3315 if test -n "$AWK"; then
3316 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3322 test -z "$as_dir" && as_dir
=.
3323 for ac_exec_ext
in '' $ac_executable_extensions; do
3324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3325 ac_cv_prog_AWK
="$ac_prog"
3326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3336 if test -n "$AWK"; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3338 $as_echo "$AWK" >&6; }
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341 $as_echo "no" >&6; }
3345 test -n "$AWK" && break
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3349 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3351 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3352 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3353 $as_echo_n "(cached) " >&6
3355 cat >conftest.
make <<\_ACEOF
3358 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3360 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3361 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3363 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3365 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3369 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3371 $as_echo "yes" >&6; }
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3375 $as_echo "no" >&6; }
3376 SET_MAKE
="MAKE=${MAKE-make}"
3379 rm -rf .tst
2>/dev
/null
3380 mkdir .tst
2>/dev
/null
3381 if test -d .tst
; then
3386 rmdir .tst
2>/dev
/null
3388 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3389 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3390 # is not polluted with repeated "-I."
3391 am__isrc
=' -I$(srcdir)'
3392 # test to see if srcdir already configured
3393 if test -f $srcdir/config.status
; then
3394 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3398 # test whether we have cygpath
3399 if test -z "$CYGPATH_W"; then
3400 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3401 CYGPATH_W
='cygpath -w'
3408 # Define the identity of the package.
3409 PACKAGE
='libgfortran'
3413 # Some tools Automake needs.
3415 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3418 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3421 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3424 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3427 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3429 # We need awk for the "check" target. The system "awk" is bad on
3431 # Always define AMTAR for backward compatibility.
3433 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3435 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3444 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3445 # Check whether --enable-maintainer-mode was given.
3446 if test "${enable_maintainer_mode+set}" = set; then :
3447 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3449 USE_MAINTAINER_MODE
=no
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3453 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3454 if test $USE_MAINTAINER_MODE = yes; then
3455 MAINTAINER_MODE_TRUE
=
3456 MAINTAINER_MODE_FALSE
='#'
3458 MAINTAINER_MODE_TRUE
='#'
3459 MAINTAINER_MODE_FALSE
=
3462 MAINT
=$MAINTAINER_MODE_TRUE
3465 # Default to --enable-multilib
3466 # Check whether --enable-multilib was given.
3467 if test "${enable_multilib+set}" = set; then :
3468 enableval
=$enable_multilib; case "$enableval" in
3469 yes) multilib
=yes ;;
3471 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3478 # We may get other options which we leave undocumented:
3479 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3480 # See config-ml.in if you want the gory details.
3482 if test "$srcdir" = "."; then
3483 if test "$with_target_subdir" != "."; then
3484 multi_basedir
="$srcdir/$with_multisrctop../.."
3486 multi_basedir
="$srcdir/$with_multisrctop.."
3489 multi_basedir
="$srcdir/.."
3493 # Even if the default multilib is not a cross compilation,
3494 # it may be that some of the other multilibs are.
3495 if test $cross_compiling = no
&& test $multilib = yes \
3496 && test "x${with_multisubdir}" != x
; then
3497 cross_compiling
=maybe
3500 ac_config_commands
="$ac_config_commands default-1"
3503 # Handy for debugging:
3504 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3506 # Are we being configured with some form of cross compiler?
3507 # NB: We don't actually need to know this just now, but when, say, a test
3508 # suite is included, we'll have to know.
3509 if test "$build" != "$host"; then
3510 LIBGFOR_IS_NATIVE
=false
3513 LIBGFOR_IS_NATIVE
=true
3516 # Calculate toolexeclibdir
3517 # Also toolexecdir, though it's only used in toolexeclibdir
3518 case ${version_specific_libs} in
3520 # Need the gcc compiler version to know where to install libraries
3521 # and header files if --enable-version-specific-runtime-libs option
3523 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3524 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3527 if test -n "$with_cross_host" &&
3528 test x
"$with_cross_host" != x
"no"; then
3529 # Install a library built with a cross compiler in tooldir, not libdir.
3530 toolexecdir
='$(exec_prefix)/$(target_alias)'
3531 toolexeclibdir
='$(toolexecdir)/lib'
3533 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3534 toolexeclibdir
='$(libdir)'
3536 multi_os_directory
=`$CC -print-multi-os-directory`
3537 case $multi_os_directory in
3538 .
) ;; # Avoid trailing /.
3539 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3546 # Check the compiler.
3547 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3548 # We must force CC to /not/ be precious variables; otherwise
3549 # the wrong, non-multilib-adjusted value will be used in multilibs.
3550 # As a side effect, we have to subst CFLAGS ourselves.
3555 ac_cpp
='$CPP $CPPFLAGS'
3556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3559 if test -n "$ac_tool_prefix"; then
3560 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3561 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3563 $as_echo_n "checking for $ac_word... " >&6; }
3564 if test "${ac_cv_prog_CC+set}" = set; then :
3565 $as_echo_n "(cached) " >&6
3567 if test -n "$CC"; then
3568 ac_cv_prog_CC
="$CC" # Let the user override the test.
3570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3574 test -z "$as_dir" && as_dir
=.
3575 for ac_exec_ext
in '' $ac_executable_extensions; do
3576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3577 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3588 if test -n "$CC"; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3590 $as_echo "$CC" >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3598 if test -z "$ac_cv_prog_CC"; then
3600 # Extract the first word of "gcc", so it can be a program name with args.
3601 set dummy gcc
; ac_word
=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3605 $as_echo_n "(cached) " >&6
3607 if test -n "$ac_ct_CC"; then
3608 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3614 test -z "$as_dir" && as_dir
=.
3615 for ac_exec_ext
in '' $ac_executable_extensions; do
3616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3617 ac_cv_prog_ac_ct_CC
="gcc"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3628 if test -n "$ac_ct_CC"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3630 $as_echo "$ac_ct_CC" >&6; }
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3636 if test "x$ac_ct_CC" = x
; then
3639 case $cross_compiling:$ac_tool_warned in
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3643 ac_tool_warned
=yes ;;
3651 if test -z "$CC"; then
3652 if test -n "$ac_tool_prefix"; then
3653 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3654 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3656 $as_echo_n "checking for $ac_word... " >&6; }
3657 if test "${ac_cv_prog_CC+set}" = set; then :
3658 $as_echo_n "(cached) " >&6
3660 if test -n "$CC"; then
3661 ac_cv_prog_CC
="$CC" # Let the user override the test.
3663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir
=.
3668 for ac_exec_ext
in '' $ac_executable_extensions; do
3669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3670 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 if test -n "$CC"; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3683 $as_echo "$CC" >&6; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3692 if test -z "$CC"; then
3693 # Extract the first word of "cc", so it can be a program name with args.
3694 set dummy cc
; ac_word
=$2
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if test "${ac_cv_prog_CC+set}" = set; then :
3698 $as_echo_n "(cached) " >&6
3700 if test -n "$CC"; then
3701 ac_cv_prog_CC
="$CC" # Let the user override the test.
3704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir
=.
3709 for ac_exec_ext
in '' $ac_executable_extensions; do
3710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3711 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3712 ac_prog_rejected
=yes
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 if test $ac_prog_rejected = yes; then
3724 # We found a bogon in the path, so make sure we never use it.
3725 set dummy
$ac_cv_prog_CC
3727 if test $# != 0; then
3728 # We chose a different compiler from the bogus one.
3729 # However, it has the same basename, so the bogon will be chosen
3730 # first if we set CC to just the basename; use the full file name.
3732 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3738 if test -n "$CC"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3740 $as_echo "$CC" >&6; }
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3748 if test -z "$CC"; then
3749 if test -n "$ac_tool_prefix"; then
3750 for ac_prog
in cl.exe
3752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3753 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if test "${ac_cv_prog_CC+set}" = set; then :
3757 $as_echo_n "(cached) " >&6
3759 if test -n "$CC"; then
3760 ac_cv_prog_CC
="$CC" # Let the user override the test.
3762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3766 test -z "$as_dir" && as_dir
=.
3767 for ac_exec_ext
in '' $ac_executable_extensions; do
3768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3769 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 if test -n "$CC"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3782 $as_echo "$CC" >&6; }
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3789 test -n "$CC" && break
3792 if test -z "$CC"; then
3794 for ac_prog
in cl.exe
3796 # Extract the first word of "$ac_prog", so it can be a program name with args.
3797 set dummy
$ac_prog; ac_word
=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3801 $as_echo_n "(cached) " >&6
3803 if test -n "$ac_ct_CC"; then
3804 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir
=.
3811 for ac_exec_ext
in '' $ac_executable_extensions; do
3812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3813 ac_cv_prog_ac_ct_CC
="$ac_prog"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3824 if test -n "$ac_ct_CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3826 $as_echo "$ac_ct_CC" >&6; }
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3833 test -n "$ac_ct_CC" && break
3836 if test "x$ac_ct_CC" = x
; then
3839 case $cross_compiling:$ac_tool_warned in
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3843 ac_tool_warned
=yes ;;
3852 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3854 as_fn_error
"no acceptable C compiler found in \$PATH
3855 See \`config.log' for more details." "$LINENO" 5; }
3857 # Provide some information about the compiler.
3858 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3861 for ac_option
in --version -v -V -qversion; do
3862 { { ac_try
="$ac_compiler $ac_option >&5"
3864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3865 *) ac_try_echo=$ac_try;;
3867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3868 $as_echo "$ac_try_echo"; } >&5
3869 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3871 if test -s conftest.err; then
3873 ... rest of stderr output deleted ...
3874 10q' conftest.err >conftest.er1
3875 cat conftest.er1 >&5
3876 rm -f conftest.er1 conftest.err
3878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3895 (eval $ac_link) 2>&5
3897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3898 test $ac_status = 0; }; then :
3903 if test x$gcc_no_link = xyes; then
3904 # Setting cross_compile will disable run tests; it will
3905 # also disable AC_CHECK_FILE but that's generally
3906 # correct if we can't link.
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3921 ac_clean_files_save=$ac_clean_files
3922 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3923 # Try to create an executable without -o first, disregard a.out.
3924 # It will help us diagnose broken compilers, and finding out an intuition
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3927 $as_echo_n "checking for C compiler default output file name... " >&6; }
3928 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3930 # The possible output files:
3931 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3934 for ac_file in $ac_files
3937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3938 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3943 if { { ac_try="$ac_link_default"
3945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3946 *) ac_try_echo
=$ac_try;;
3948 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3949 $as_echo "$ac_try_echo"; } >&5
3950 (eval "$ac_link_default") 2>&5
3952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3953 test $ac_status = 0; }; then :
3954 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3955 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3956 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3957 # so that the user can short-circuit this test for compilers unknown to
3959 for ac_file
in $ac_files ''
3961 test -f "$ac_file" ||
continue
3963 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3966 # We found the default executable, but exeext='' is most
3970 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3972 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3974 # We set ac_cv_exeext here because the later test for it is not
3975 # safe: cross compilers may not add the suffix if given an `-o'
3976 # argument, so we may need to know it at that point already.
3977 # Even if this section looks crufty: it has the advantage of
3984 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3990 $as_echo "$ac_file" >&6; }
3991 if test -z "$ac_file"; then :
3992 $as_echo "$as_me: failed program was:" >&5
3993 sed 's/^/| /' conftest.
$ac_ext >&5
3995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3997 { as_fn_set_status
77
3998 as_fn_error
"C compiler cannot create executables
3999 See \`config.log' for more details." "$LINENO" 5; }; }
4001 ac_exeext
=$ac_cv_exeext
4003 # Check that the compiler produces executables we can run. If not, either
4004 # the compiler is broken, or we cross compile.
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4006 $as_echo_n "checking whether the C compiler works... " >&6; }
4007 # If not cross compiling, check that we can run a simple program.
4008 if test "$cross_compiling" != yes; then
4009 if { ac_try
='./$ac_file'
4010 { { case "(($ac_try" in
4011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;;
4014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4015 $as_echo "$ac_try_echo"; } >&5
4016 (eval "$ac_try") 2>&5
4018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4019 test $ac_status = 0; }; }; then
4022 if test "$cross_compiling" = maybe; then
4025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4027 as_fn_error "cannot run C compiled programs.
4028 If you meant to cross compile
, use \
`--host'.
4029 See \`config.log
' for more details." "$LINENO" 5; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4034 $as_echo "yes" >&6; }
4036 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4037 ac_clean_files=$ac_clean_files_save
4038 # Check that the compiler produces executables we can run. If not, either
4039 # the compiler is broken, or we cross compile.
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4041 $as_echo_n "checking whether we are cross compiling... " >&6; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4043 $as_echo "$cross_compiling" >&6; }
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4046 $as_echo_n "checking for suffix of executables... " >&6; }
4047 if { { ac_try="$ac_link"
4049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4050 *) ac_try_echo=$ac_try;;
4052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4053 $as_echo "$ac_try_echo"; } >&5
4054 (eval "$ac_link") 2>&5
4056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4057 test $ac_status = 0; }; then :
4058 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4059 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4060 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4062 for ac_file
in conftest.exe conftest conftest.
*; do
4063 test -f "$ac_file" ||
continue
4065 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4066 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4075 See \`config.log' for more details." "$LINENO" 5; }
4077 rm -f conftest
$ac_cv_exeext
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4079 $as_echo "$ac_cv_exeext" >&6; }
4081 rm -f conftest.
$ac_ext
4082 EXEEXT
=$ac_cv_exeext
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4086 $as_echo_n "checking for suffix of object files... " >&6; }
4087 if test "${ac_cv_objext+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4101 rm -f conftest.o conftest.obj
4102 if { { ac_try
="$ac_compile"
4104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4108 $as_echo "$ac_try_echo"; } >&5
4109 (eval "$ac_compile") 2>&5
4111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4112 test $ac_status = 0; }; then :
4113 for ac_file in conftest.o conftest.obj conftest.*; do
4114 test -f "$ac_file" || continue;
4116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4117 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122 $as_echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.$ac_ext >&5
4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error "cannot compute suffix of object files
: cannot compile
4128 See \
`config.log' for more details." "$LINENO" 5; }
4130 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4133 $as_echo "$ac_cv_objext" >&6; }
4134 OBJEXT=$ac_cv_objext
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4137 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4138 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4139 $as_echo_n "(cached) " >&6
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4155 if ac_fn_c_try_compile "$LINENO"; then :
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4165 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4166 if test $ac_compiler_gnu = yes; then
4171 ac_test_CFLAGS=${CFLAGS+set}
4172 ac_save_CFLAGS=$CFLAGS
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4174 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4175 if test "${ac_cv_prog_cc_g+set}" = set; then :
4176 $as_echo_n "(cached) " >&6
4178 ac_save_c_werror_flag=$ac_c_werror_flag
4179 ac_c_werror_flag=yes
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4193 if ac_fn_c_try_compile "$LINENO"; then :
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4208 if ac_fn_c_try_compile "$LINENO"; then :
4211 ac_c_werror_flag=$ac_save_c_werror_flag
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4224 if ac_fn_c_try_compile "$LINENO"; then :
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 ac_c_werror_flag=$ac_save_c_werror_flag
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4235 $as_echo "$ac_cv_prog_cc_g" >&6; }
4236 if test "$ac_test_CFLAGS" = set; then
4237 CFLAGS=$ac_save_CFLAGS
4238 elif test $ac_cv_prog_cc_g = yes; then
4239 if test "$GCC" = yes; then
4245 if test "$GCC" = yes; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4252 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4253 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4254 $as_echo_n "(cached) " >&6
4256 ac_cv_prog_cc_c89=no
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4262 #include <sys/types.h>
4263 #include <sys/stat.h>
4264 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4265 struct buf { int x; };
4266 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4267 static char *e (p, i)
4273 static char *f (char * (*g) (char **, int), char **p, ...)
4278 s = g (p, va_arg (v,int));
4283 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4284 function prototypes and stuff, but not '\xHH' hex character constants.
4285 These don't provoke an error unfortunately, instead are silently treated
4286 as 'x'. The following induces an error, until -std is added to get
4287 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4288 array size at least. It's necessary to write '\x00'==0 to get something
4289 that's true only with -std. */
4290 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4292 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4293 inside strings and character constants. */
4295 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4297 int test (int i, double x);
4298 struct s1 {int (*f) (int a);};
4299 struct s2 {int (*f) (double a);};
4300 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4306 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4311 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4312 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4314 CC="$ac_save_CC $ac_arg"
4315 if ac_fn_c_try_compile "$LINENO"; then :
4316 ac_cv_prog_cc_c89=$ac_arg
4318 rm -f core conftest.err conftest.$ac_objext
4319 test "x$ac_cv_prog_cc_c89" != "xno" && break
4321 rm -f conftest.$ac_ext
4326 case "x$ac_cv_prog_cc_c89" in
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4329 $as_echo "none needed" >&6; } ;;
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4332 $as_echo "unsupported" >&6; } ;;
4334 CC="$CC $ac_cv_prog_cc_c89"
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4336 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4338 if test "x$ac_cv_prog_cc_c89" != xno; then :
4343 ac_cpp='$CPP $CPPFLAGS'
4344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347 DEPDIR="${am__leading_dot}deps"
4349 ac_config_commands="$ac_config_commands depfiles"
4352 am_make=${MAKE-make}
4353 cat > confinc << 'END'
4355 @echo this is the am__doit target
4358 # If we don't find an include directive, just comment out the code.
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4360 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4364 # First try GNU make style include.
4365 echo "include confinc" > confmf
4366 # Ignore all kinds of additional output from `make'.
4367 case `$am_make -s -f confmf 2> /dev/null` in #(
4368 *the\ am__doit\ target*)
4374 # Now try BSD make style include.
4375 if test "$am__include" = "#"; then
4376 echo '.include
"confinc"' > confmf
4377 case `$am_make -s -f confmf 2> /dev/null` in #(
4378 *the\ am__doit\ target*)
4379 am__include=.include
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4388 $as_echo "$_am_result" >&6; }
4389 rm -f confinc confmf
4391 # Check whether --enable-dependency-tracking was given.
4392 if test "${enable_dependency_tracking+set}" = set; then :
4393 enableval=$enable_dependency_tracking;
4396 if test "x$enable_dependency_tracking" != xno; then
4397 am_depcomp="$ac_aux_dir/depcomp"
4400 if test "x$enable_dependency_tracking" != xno
; then
4410 depcc
="$CC" am_compiler_list
=
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4413 $as_echo_n "checking dependency style of $depcc... " >&6; }
4414 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4415 $as_echo_n "(cached) " >&6
4417 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4418 # We make a subdir and do the tests there. Otherwise we can end up
4419 # making bogus files that we don't know about and never remove. For
4420 # instance it was reported that on HP-UX the gcc test will end up
4421 # making a dummy file named `D' -- because `-MD' means `put the output
4424 # Copy depcomp to subdir because otherwise we won't find it if we're
4425 # using a relative directory.
4426 cp "$am_depcomp" conftest.dir
4428 # We will build objects and dependencies in a subdirectory because
4429 # it helps to detect inapplicable dependency modes. For instance
4430 # both Tru64's cc and ICC support -MD to output dependencies as a
4431 # side effect of compilation, but ICC will put the dependencies in
4432 # the current directory while Tru64 will put them in the object
4436 am_cv_CC_dependencies_compiler_type
=none
4437 if test "$am_compiler_list" = ""; then
4438 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4441 case " $depcc " in #(
4442 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4445 for depmode
in $am_compiler_list; do
4446 # Setup a source with many dependencies, because some compilers
4447 # like to wrap large dependency lists on column 80 (with \), and
4448 # we should not choose a depcomp mode which is confused by this.
4450 # We need to recreate these files for each test, as the compiler may
4451 # overwrite some of them when testing with obscure command lines.
4452 # This happens at least with the AIX C compiler.
4454 for i
in 1 2 3 4 5 6; do
4455 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4456 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4457 # Solaris 8's {/usr,}/bin/sh.
4458 touch sub
/conftst
$i.h
4460 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4462 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4463 # mode. It turns out that the SunPro C++ compiler does not properly
4464 # handle `-M -o', and we need to detect this. Also, some Intel
4465 # versions had trouble with output in subdirs
4466 am__obj
=sub
/conftest.
${OBJEXT-o}
4467 am__minus_obj
="-o $am__obj"
4470 # This depmode causes a compiler race in universal mode.
4471 test "$am__universal" = false ||
continue
4474 # after this tag, mechanisms are not by side-effect, so they'll
4475 # only be used when explicitly requested
4476 if test "x$enable_dependency_tracking" = xyes
; then
4482 msvisualcpp | msvcmsys
)
4483 # This compiler won't grok `-c -o', but also, the minuso test has
4484 # not run yet. These depmodes are late enough in the game, and
4485 # so weak that their functioning should not be impacted.
4486 am__obj
=conftest.
${OBJEXT-o}
4491 if depmode
=$depmode \
4492 source=sub
/conftest.c object
=$am__obj \
4493 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4494 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4495 >/dev
/null
2>conftest.err
&&
4496 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4497 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4498 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4499 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4500 # icc doesn't choke on unknown options, it will just issue warnings
4501 # or remarks (even with -Werror). So we grep stderr for any message
4502 # that says an option was ignored or not supported.
4503 # When given -MP, icc 7.0 and 7.1 complain thusly:
4504 # icc: Command line warning: ignoring option '-M'; no argument required
4505 # The diagnosis changed in icc 8.0:
4506 # icc: Command line remark: option '-MP' not supported
4507 if (grep 'ignoring option' conftest.err ||
4508 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4509 am_cv_CC_dependencies_compiler_type
=$depmode
4518 am_cv_CC_dependencies_compiler_type
=none
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4523 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4524 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4527 test "x$enable_dependency_tracking" != xno \
4528 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4530 am__fastdepCC_FALSE
='#'
4532 am__fastdepCC_TRUE
='#'
4533 am__fastdepCC_FALSE
=
4539 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4540 if test "x$GCC" = "xyes"; then
4541 AM_FCFLAGS
="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4542 ## We like to use C99 routines when available. This makes sure that
4543 ## __STDC_VERSION__ is set such that libc includes make them available.
4544 AM_CFLAGS
="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4545 ## Compile the following tests with the same system header contents
4546 ## that we'll encounter when compiling our own source files.
4547 CFLAGS
="-std=gnu99 $CFLAGS"
4553 # Check for symbol versioning (copied from libssp).
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4555 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4556 cat > conftest.map
<<EOF
4558 global: *foo*; bar; local: *;
4561 save_LDFLAGS
="$LDFLAGS"
4562 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4564 if test x
$gcc_no_link = xyes
; then
4565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4578 if ac_fn_c_try_link
"$LINENO"; then :
4579 gfortran_use_symver
=yes
4581 gfortran_use_symver
=no
4583 rm -f core conftest.err conftest.
$ac_objext \
4584 conftest
$ac_exeext conftest.
$ac_ext
4585 LDFLAGS
="$save_LDFLAGS"
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4587 $as_echo "$gfortran_use_symver" >&6; }
4588 if test "x$gfortran_use_symver" = xyes
; then
4589 LIBGFOR_USE_SYMVER_TRUE
=
4590 LIBGFOR_USE_SYMVER_FALSE
='#'
4592 LIBGFOR_USE_SYMVER_TRUE
='#'
4593 LIBGFOR_USE_SYMVER_FALSE
=
4597 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4598 # similarly to how libstdc++ does it
4599 ac_test_CFLAGS
="${CFLAGS+set}"
4600 ac_save_CFLAGS
="$CFLAGS"
4602 # Check for -ffunction-sections -fdata-sections
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4604 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4605 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
4606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4617 if ac_fn_c_try_compile
"$LINENO"; then :
4622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4623 if test "$ac_test_CFLAGS" = set; then
4624 CFLAGS
="$ac_save_CFLAGS"
4626 # this is the suspicious part
4629 if test x
"$ac_fdsections" = x
"yes"; then
4630 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4633 $as_echo "$ac_fdsections" >&6; }
4636 # Find other programs we need.
4637 if test -n "$ac_tool_prefix"; then
4638 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4639 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if test "${ac_cv_prog_AS+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -n "$AS"; then
4646 ac_cv_prog_AS
="$AS" # Let the user override the test.
4648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir
=.
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4655 ac_cv_prog_AS
="${ac_tool_prefix}as"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 if test -n "$AS"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4668 $as_echo "$AS" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4676 if test -z "$ac_cv_prog_AS"; then
4678 # Extract the first word of "as", so it can be a program name with args.
4679 set dummy as
; ac_word
=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4683 $as_echo_n "(cached) " >&6
4685 if test -n "$ac_ct_AS"; then
4686 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4692 test -z "$as_dir" && as_dir
=.
4693 for ac_exec_ext
in '' $ac_executable_extensions; do
4694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4695 ac_cv_prog_ac_ct_AS
="as"
4696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4706 if test -n "$ac_ct_AS"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4708 $as_echo "$ac_ct_AS" >&6; }
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4714 if test "x$ac_ct_AS" = x
; then
4717 case $cross_compiling:$ac_tool_warned in
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4721 ac_tool_warned
=yes ;;
4729 if test -n "$ac_tool_prefix"; then
4730 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4731 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 $as_echo_n "checking for $ac_word... " >&6; }
4734 if test "${ac_cv_prog_AR+set}" = set; then :
4735 $as_echo_n "(cached) " >&6
4737 if test -n "$AR"; then
4738 ac_cv_prog_AR
="$AR" # Let the user override the test.
4740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4744 test -z "$as_dir" && as_dir
=.
4745 for ac_exec_ext
in '' $ac_executable_extensions; do
4746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4747 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4758 if test -n "$AR"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4760 $as_echo "$AR" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4768 if test -z "$ac_cv_prog_AR"; then
4770 # Extract the first word of "ar", so it can be a program name with args.
4771 set dummy
ar; ac_word
=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4775 $as_echo_n "(cached) " >&6
4777 if test -n "$ac_ct_AR"; then
4778 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4784 test -z "$as_dir" && as_dir
=.
4785 for ac_exec_ext
in '' $ac_executable_extensions; do
4786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4787 ac_cv_prog_ac_ct_AR
="ar"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4798 if test -n "$ac_ct_AR"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4800 $as_echo "$ac_ct_AR" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4806 if test "x$ac_ct_AR" = x
; then
4809 case $cross_compiling:$ac_tool_warned in
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4813 ac_tool_warned
=yes ;;
4821 if test -n "$ac_tool_prefix"; then
4822 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4823 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825 $as_echo_n "checking for $ac_word... " >&6; }
4826 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4827 $as_echo_n "(cached) " >&6
4829 if test -n "$RANLIB"; then
4830 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir
=.
4837 for ac_exec_ext
in '' $ac_executable_extensions; do
4838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4839 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 RANLIB
=$ac_cv_prog_RANLIB
4850 if test -n "$RANLIB"; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4852 $as_echo "$RANLIB" >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 $as_echo "no" >&6; }
4860 if test -z "$ac_cv_prog_RANLIB"; then
4861 ac_ct_RANLIB
=$RANLIB
4862 # Extract the first word of "ranlib", so it can be a program name with args.
4863 set dummy ranlib
; ac_word
=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$ac_ct_RANLIB"; then
4870 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir
=.
4877 for ac_exec_ext
in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4890 if test -n "$ac_ct_RANLIB"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4892 $as_echo "$ac_ct_RANLIB" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4898 if test "x$ac_ct_RANLIB" = x
; then
4899 RANLIB
="ranlib-not-found-in-path-error"
4901 case $cross_compiling:$ac_tool_warned in
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4905 ac_tool_warned
=yes ;;
4907 RANLIB
=$ac_ct_RANLIB
4910 RANLIB
="$ac_cv_prog_RANLIB"
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4914 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4916 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4917 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4918 $as_echo_n "(cached) " >&6
4920 cat >conftest.
make <<\_ACEOF
4923 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4925 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4926 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4928 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4930 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4934 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4936 $as_echo "yes" >&6; }
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4941 SET_MAKE
="MAKE=${MAKE-make}"
4947 #AC_MSG_NOTICE([====== Starting libtool configuration])
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4955 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4960 macro_version
='2.2.6'
4961 macro_revision
='1.3012'
4975 ltmain
="$ac_aux_dir/ltmain.sh"
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4978 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4979 if test "${ac_cv_path_SED+set}" = set; then :
4980 $as_echo_n "(cached) " >&6
4982 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4983 for ac_i
in 1 2 3 4 5 6 7; do
4984 ac_script
="$ac_script$as_nl$ac_script"
4986 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4987 { ac_script
=; unset ac_script
;}
4988 if test -z "$SED"; then
4989 ac_path_SED_found
=false
4990 # Loop through the user's path and test for each of PROGNAME-LIST
4991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir
=.
4996 for ac_prog
in sed gsed
; do
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4999 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5000 # Check for GNU ac_path_SED and select it if it is found.
5001 # Check for GNU $ac_path_SED
5002 case `"$ac_path_SED" --version 2>&1` in
5004 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5007 $as_echo_n 0123456789 >"conftest.in"
5010 cat "conftest.in" "conftest.in" >"conftest.tmp"
5011 mv "conftest.tmp" "conftest.in"
5012 cp "conftest.in" "conftest.nl"
5013 $as_echo '' >> "conftest.nl"
5014 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5015 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5016 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5017 if test $ac_count -gt ${ac_path_SED_max-0}; then
5018 # Best one so far, save it but keep looking for a better one
5019 ac_cv_path_SED
="$ac_path_SED"
5020 ac_path_SED_max
=$ac_count
5022 # 10*(2^10) chars as input seems more than enough
5023 test $ac_count -gt 10 && break
5025 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5028 $ac_path_SED_found && break 3
5033 if test -z "$ac_cv_path_SED"; then
5034 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5042 $as_echo "$ac_cv_path_SED" >&6; }
5043 SED
="$ac_cv_path_SED"
5046 test -z "$SED" && SED
=sed
5047 Xsed
="$SED -e 1s/^X//"
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5060 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5061 if test "${ac_cv_path_GREP+set}" = set; then :
5062 $as_echo_n "(cached) " >&6
5064 if test -z "$GREP"; then
5065 ac_path_GREP_found
=false
5066 # Loop through the user's path and test for each of PROGNAME-LIST
5067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5068 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5071 test -z "$as_dir" && as_dir
=.
5072 for ac_prog
in grep ggrep
; do
5073 for ac_exec_ext
in '' $ac_executable_extensions; do
5074 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5075 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5076 # Check for GNU ac_path_GREP and select it if it is found.
5077 # Check for GNU $ac_path_GREP
5078 case `"$ac_path_GREP" --version 2>&1` in
5080 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5083 $as_echo_n 0123456789 >"conftest.in"
5086 cat "conftest.in" "conftest.in" >"conftest.tmp"
5087 mv "conftest.tmp" "conftest.in"
5088 cp "conftest.in" "conftest.nl"
5089 $as_echo 'GREP' >> "conftest.nl"
5090 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5091 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5092 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5093 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5094 # Best one so far, save it but keep looking for a better one
5095 ac_cv_path_GREP
="$ac_path_GREP"
5096 ac_path_GREP_max
=$ac_count
5098 # 10*(2^10) chars as input seems more than enough
5099 test $ac_count -gt 10 && break
5101 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5104 $ac_path_GREP_found && break 3
5109 if test -z "$ac_cv_path_GREP"; then
5110 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5113 ac_cv_path_GREP
=$GREP
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5118 $as_echo "$ac_cv_path_GREP" >&6; }
5119 GREP
="$ac_cv_path_GREP"
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5123 $as_echo_n "checking for egrep... " >&6; }
5124 if test "${ac_cv_path_EGREP+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5127 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5128 then ac_cv_path_EGREP
="$GREP -E"
5130 if test -z "$EGREP"; then
5131 ac_path_EGREP_found
=false
5132 # Loop through the user's path and test for each of PROGNAME-LIST
5133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5134 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5137 test -z "$as_dir" && as_dir
=.
5138 for ac_prog
in egrep; do
5139 for ac_exec_ext
in '' $ac_executable_extensions; do
5140 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5141 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5142 # Check for GNU ac_path_EGREP and select it if it is found.
5143 # Check for GNU $ac_path_EGREP
5144 case `"$ac_path_EGREP" --version 2>&1` in
5146 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5149 $as_echo_n 0123456789 >"conftest.in"
5152 cat "conftest.in" "conftest.in" >"conftest.tmp"
5153 mv "conftest.tmp" "conftest.in"
5154 cp "conftest.in" "conftest.nl"
5155 $as_echo 'EGREP' >> "conftest.nl"
5156 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5157 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5158 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5159 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5160 # Best one so far, save it but keep looking for a better one
5161 ac_cv_path_EGREP
="$ac_path_EGREP"
5162 ac_path_EGREP_max
=$ac_count
5164 # 10*(2^10) chars as input seems more than enough
5165 test $ac_count -gt 10 && break
5167 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5170 $ac_path_EGREP_found && break 3
5175 if test -z "$ac_cv_path_EGREP"; then
5176 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5179 ac_cv_path_EGREP
=$EGREP
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5185 $as_echo "$ac_cv_path_EGREP" >&6; }
5186 EGREP
="$ac_cv_path_EGREP"
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5190 $as_echo_n "checking for fgrep... " >&6; }
5191 if test "${ac_cv_path_FGREP+set}" = set; then :
5192 $as_echo_n "(cached) " >&6
5194 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5195 then ac_cv_path_FGREP
="$GREP -F"
5197 if test -z "$FGREP"; then
5198 ac_path_FGREP_found
=false
5199 # Loop through the user's path and test for each of PROGNAME-LIST
5200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5201 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5204 test -z "$as_dir" && as_dir
=.
5205 for ac_prog
in fgrep
; do
5206 for ac_exec_ext
in '' $ac_executable_extensions; do
5207 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5208 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5209 # Check for GNU ac_path_FGREP and select it if it is found.
5210 # Check for GNU $ac_path_FGREP
5211 case `"$ac_path_FGREP" --version 2>&1` in
5213 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5216 $as_echo_n 0123456789 >"conftest.in"
5219 cat "conftest.in" "conftest.in" >"conftest.tmp"
5220 mv "conftest.tmp" "conftest.in"
5221 cp "conftest.in" "conftest.nl"
5222 $as_echo 'FGREP' >> "conftest.nl"
5223 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5224 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5225 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5226 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5227 # Best one so far, save it but keep looking for a better one
5228 ac_cv_path_FGREP
="$ac_path_FGREP"
5229 ac_path_FGREP_max
=$ac_count
5231 # 10*(2^10) chars as input seems more than enough
5232 test $ac_count -gt 10 && break
5234 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5237 $ac_path_FGREP_found && break 3
5242 if test -z "$ac_cv_path_FGREP"; then
5243 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5246 ac_cv_path_FGREP
=$FGREP
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5252 $as_echo "$ac_cv_path_FGREP" >&6; }
5253 FGREP
="$ac_cv_path_FGREP"
5256 test -z "$GREP" && GREP
=grep
5276 # Check whether --with-gnu-ld was given.
5277 if test "${with_gnu_ld+set}" = set; then :
5278 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5284 if test "$GCC" = yes; then
5285 # Check if gcc -print-prog-name=ld gives a path.
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5287 $as_echo_n "checking for ld used by $CC... " >&6; }
5290 # gcc leaves a trailing carriage return which upsets mingw
5291 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5293 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5296 # Accept absolute paths.
5298 re_direlt
='/[^/][^/]*/\.\./'
5299 # Canonicalize the pathname of ld
5300 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5301 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5302 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5304 test -z "$LD" && LD
="$ac_prog"
5307 # If it fails, then pretend we aren't using GCC.
5311 # If it is relative, then search for the first ld in PATH.
5315 elif test "$with_gnu_ld" = yes; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5317 $as_echo_n "checking for GNU ld... " >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5320 $as_echo_n "checking for non-GNU ld... " >&6; }
5322 if test "${lt_cv_path_LD+set}" = set; then :
5323 $as_echo_n "(cached) " >&6
5325 if test -z "$LD"; then
5326 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5327 for ac_dir
in $PATH; do
5329 test -z "$ac_dir" && ac_dir
=.
5330 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5331 lt_cv_path_LD
="$ac_dir/$ac_prog"
5332 # Check to see if the program is GNU ld. I'd rather use --version,
5333 # but apparently some variants of GNU ld only accept -v.
5334 # Break only if it was the GNU/non-GNU ld that we prefer.
5335 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5336 *GNU
* |
*'with BFD'*)
5337 test "$with_gnu_ld" != no
&& break
5340 test "$with_gnu_ld" != yes && break
5347 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5352 if test -n "$LD"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5354 $as_echo "$LD" >&6; }
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5359 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5361 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5362 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5363 $as_echo_n "(cached) " >&6
5365 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5366 case `$LD -v 2>&1 </dev/null` in
5367 *GNU
* |
*'with BFD'*)
5368 lt_cv_prog_gnu_ld
=yes
5371 lt_cv_prog_gnu_ld
=no
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5376 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5377 with_gnu_ld
=$lt_cv_prog_gnu_ld
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5388 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5389 if test "${lt_cv_path_NM+set}" = set; then :
5390 $as_echo_n "(cached) " >&6
5392 if test -n "$NM"; then
5393 # Let the user override the test.
5396 lt_nm_to_check
="${ac_tool_prefix}nm"
5397 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5398 lt_nm_to_check
="$lt_nm_to_check nm"
5400 for lt_tmp_nm
in $lt_nm_to_check; do
5401 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5402 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5404 test -z "$ac_dir" && ac_dir
=.
5405 tmp_nm
="$ac_dir/$lt_tmp_nm"
5406 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5407 # Check to see if the nm accepts a BSD-compat flag.
5408 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5409 # nm: unknown option "B" ignored
5410 # Tru64's nm complains that /dev/null is an invalid object file
5411 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5412 */dev
/null
* |
*'Invalid file or object type'*)
5413 lt_cv_path_NM
="$tmp_nm -B"
5417 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5419 lt_cv_path_NM
="$tmp_nm -p"
5423 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5424 continue # so that we can try to find one that supports BSD flags
5433 : ${lt_cv_path_NM=no}
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5437 $as_echo "$lt_cv_path_NM" >&6; }
5438 if test "$lt_cv_path_NM" != "no"; then
5441 # Didn't find any BSD compatible name lister, look for dumpbin.
5442 if test -n "$ac_tool_prefix"; then
5443 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5446 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5450 $as_echo_n "(cached) " >&6
5452 if test -n "$DUMPBIN"; then
5453 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5459 test -z "$as_dir" && as_dir
=.
5460 for ac_exec_ext
in '' $ac_executable_extensions; do
5461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5462 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 DUMPBIN
=$ac_cv_prog_DUMPBIN
5473 if test -n "$DUMPBIN"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5475 $as_echo "$DUMPBIN" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5482 test -n "$DUMPBIN" && break
5485 if test -z "$DUMPBIN"; then
5486 ac_ct_DUMPBIN
=$DUMPBIN
5487 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5489 # Extract the first word of "$ac_prog", so it can be a program name with args.
5490 set dummy
$ac_prog; ac_word
=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5494 $as_echo_n "(cached) " >&6
5496 if test -n "$ac_ct_DUMPBIN"; then
5497 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5503 test -z "$as_dir" && as_dir
=.
5504 for ac_exec_ext
in '' $ac_executable_extensions; do
5505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5506 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5517 if test -n "$ac_ct_DUMPBIN"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5519 $as_echo "$ac_ct_DUMPBIN" >&6; }
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5526 test -n "$ac_ct_DUMPBIN" && break
5529 if test "x$ac_ct_DUMPBIN" = x
; then
5532 case $cross_compiling:$ac_tool_warned in
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5536 ac_tool_warned
=yes ;;
5538 DUMPBIN
=$ac_ct_DUMPBIN
5543 if test "$DUMPBIN" != ":"; then
5547 test -z "$NM" && NM
=nm
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5555 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5556 if test "${lt_cv_nm_interface+set}" = set; then :
5557 $as_echo_n "(cached) " >&6
5559 lt_cv_nm_interface
="BSD nm"
5560 echo "int some_variable = 0;" > conftest.
$ac_ext
5561 (eval echo "\"\$as_me:5561: $ac_compile\"" >&5)
5562 (eval "$ac_compile" 2>conftest.err
)
5563 cat conftest.err
>&5
5564 (eval echo "\"\$as_me:5564: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5565 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5566 cat conftest.err
>&5
5567 (eval echo "\"\$as_me:5567: output\"" >&5)
5568 cat conftest.out
>&5
5569 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5570 lt_cv_nm_interface
="MS dumpbin"
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5575 $as_echo "$lt_cv_nm_interface" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5578 $as_echo_n "checking whether ln -s works... " >&6; }
5580 if test "$LN_S" = "ln -s"; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5582 $as_echo "yes" >&6; }
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5585 $as_echo "no, using $LN_S" >&6; }
5588 # find the maximum length of command line arguments
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5590 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5591 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5592 $as_echo_n "(cached) " >&6
5599 # On DJGPP, this test can blow up pretty badly due to problems in libc
5600 # (any single argument exceeding 2000 bytes causes a buffer overrun
5601 # during glob expansion). Even if it were fixed, the result of this
5602 # check would be larger than it should be.
5603 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5607 # Under GNU Hurd, this test is not required because there is
5608 # no limit to the length of command line arguments.
5609 # Libtool will interpret -1 as no limit whatsoever
5610 lt_cv_sys_max_cmd_len
=-1;
5613 cygwin
* | mingw
* | cegcc
*)
5614 # On Win9x/ME, this test blows up -- it succeeds, but takes
5615 # about 5 minutes as the teststring grows exponentially.
5616 # Worse, since 9x/ME are not pre-emptively multitasking,
5617 # you end up with a "frozen" computer, even though with patience
5618 # the test eventually succeeds (with a max line length of 256k).
5619 # Instead, let's just punt: use the minimum linelength reported by
5620 # all of the supported platforms: 8192 (on NT/2K/XP).
5621 lt_cv_sys_max_cmd_len
=8192;
5625 # On AmigaOS with pdksh, this test takes hours, literally.
5626 # So we just punt and use a minimum line length of 8192.
5627 lt_cv_sys_max_cmd_len
=8192;
5630 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5631 # This has been around since 386BSD, at least. Likely further.
5632 if test -x /sbin
/sysctl
; then
5633 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5634 elif test -x /usr
/sbin
/sysctl
; then
5635 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5637 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5639 # And add a safety zone
5640 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5641 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5645 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5646 lt_cv_sys_max_cmd_len
=196608
5650 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5651 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5652 # nice to cause kernel panics so lets avoid the loop below.
5653 # First set a reasonable default.
5654 lt_cv_sys_max_cmd_len
=16384
5656 if test -x /sbin
/sysconfig
; then
5657 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5658 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5663 lt_cv_sys_max_cmd_len
=102400
5665 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5666 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5667 if test -n "$kargmax"; then
5668 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5670 lt_cv_sys_max_cmd_len
=32768
5674 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5675 if test -n "$lt_cv_sys_max_cmd_len"; then
5676 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5677 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5679 # Make teststring a little bigger before we do anything with it.
5680 # a 1K string should be a reasonable start.
5681 for i
in 1 2 3 4 5 6 7 8 ; do
5682 teststring
=$teststring$teststring
5684 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5685 # If test is not a shell built-in, we'll probably end up computing a
5686 # maximum length that is only half of the actual maximum length, but
5688 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5689 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5690 test $i != 17 # 1/2 MB should be enough
5693 teststring
=$teststring$teststring
5695 # Only check the string length outside the loop.
5696 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5698 # Add a significant safety factor because C++ compilers can tack on
5699 # massive amounts of additional arguments before passing them to the
5700 # linker. It appears as though 1/2 is a usable value.
5701 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5708 if test -n $lt_cv_sys_max_cmd_len ; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5710 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5713 $as_echo "none" >&6; }
5715 max_cmd_len
=$lt_cv_sys_max_cmd_len
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5727 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5728 # Try some XSI features
5731 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5733 && eval 'test $(( 1 + 1 )) -eq 2 \
5734 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5737 $as_echo "$xsi_shell" >&6; }
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5741 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5743 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5745 && lt_shell_append=yes
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5747 $as_echo "$lt_shell_append" >&6; }
5750 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5760 # test EBCDIC or ASCII
5761 case `echo X|tr X '\101'` in
5762 A) # ASCII based system
5763 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5764 lt_SP2NL='tr \040 \012'
5765 lt_NL2SP='tr \015\012 \040\040'
5767 *) # EBCDIC based system
5768 lt_SP2NL='tr \100 \n'
5769 lt_NL2SP='tr \r\n \100\100'
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5782 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5783 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5784 $as_echo_n "(cached
) " >&6
5786 lt_cv_ld_reload_flag='-r'
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5789 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5790 reload_flag=$lt_cv_ld_reload_flag
5791 case $reload_flag in
5793 *) reload_flag=" $reload_flag" ;;
5795 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5798 if test "$GCC" = yes; then
5799 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5801 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5814 if test -n "$ac_tool_prefix"; then
5815 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5816 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5818 $as_echo_n "checking
for $ac_word...
" >&6; }
5819 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5820 $as_echo_n "(cached
) " >&6
5822 if test -n "$OBJDUMP"; then
5823 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5832 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5842 OBJDUMP=$ac_cv_prog_OBJDUMP
5843 if test -n "$OBJDUMP"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5845 $as_echo "$OBJDUMP" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5848 $as_echo "no
" >&6; }
5853 if test -z "$ac_cv_prog_OBJDUMP"; then
5854 ac_ct_OBJDUMP=$OBJDUMP
5855 # Extract the first word of "objdump
", so it can be a program name with args.
5856 set dummy objdump; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5858 $as_echo_n "checking
for $ac_word...
" >&6; }
5859 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5860 $as_echo_n "(cached
) " >&6
5862 if test -n "$ac_ct_OBJDUMP"; then
5863 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5882 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5883 if test -n "$ac_ct_OBJDUMP"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5885 $as_echo "$ac_ct_OBJDUMP" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5888 $as_echo "no
" >&6; }
5891 if test "x
$ac_ct_OBJDUMP" = x; then
5894 case $cross_compiling:$ac_tool_warned in
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5897 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5898 ac_tool_warned=yes ;;
5900 OBJDUMP=$ac_ct_OBJDUMP
5903 OBJDUMP="$ac_cv_prog_OBJDUMP"
5906 test -z "$OBJDUMP" && OBJDUMP=objdump
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5917 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5918 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5919 $as_echo_n "(cached
) " >&6
5921 lt_cv_file_magic_cmd='$MAGIC_CMD'
5922 lt_cv_file_magic_test_file=
5923 lt_cv_deplibs_check_method='unknown'
5924 # Need to set the preceding variable on all platforms that support
5925 # interlibrary dependencies.
5926 # 'none' -- dependencies not supported.
5927 # `unknown' -- same as none, but documents that we really don't know.
5928 # 'pass_all' -- all dependencies passed with no checks.
5929 # 'test_compile' -- check by making test program.
5930 # 'file_magic [[regex]]' -- check by looking for files in library path
5931 # which responds to the $file_magic_cmd with a given extended regex.
5932 # If you have `file' or equivalent on your system and you're not sure
5933 # whether `pass_all' will *always* work, you probably want this one.
5937 lt_cv_deplibs_check_method=pass_all
5941 lt_cv_deplibs_check_method=pass_all
5945 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5946 lt_cv_file_magic_cmd='/usr/bin/file -L'
5947 lt_cv_file_magic_test_file=/shlib/libc.so
5951 # func_win32_libid is a shell function defined in ltmain.sh
5952 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5953 lt_cv_file_magic_cmd='func_win32_libid'
5957 # Base MSYS/MinGW do not provide the 'file' command needed by
5958 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5959 # unless we find 'file', for example because we are cross-compiling.
5960 if ( file / ) >/dev/null 2>&1; then
5961 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5962 lt_cv_file_magic_cmd='func_win32_libid'
5964 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5965 lt_cv_file_magic_cmd='$OBJDUMP -f'
5970 # use the weaker test based on 'objdump'. See mingw*.
5971 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5972 lt_cv_file_magic_cmd='$OBJDUMP -f'
5975 darwin* | rhapsody*)
5976 lt_cv_deplibs_check_method=pass_all
5979 freebsd* | dragonfly*)
5980 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5983 # Not sure whether the presence of OpenBSD here was a mistake.
5984 # Let's accept both of them until this is cleared up.
5985 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5986 lt_cv_file_magic_cmd=/usr/bin/file
5987 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5991 lt_cv_deplibs_check_method=pass_all
5996 lt_cv_deplibs_check_method=pass_all
5999 hpux10.20* | hpux11*)
6000 lt_cv_file_magic_cmd=/usr/bin/file
6003 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6004 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6007 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6008 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6011 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6012 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6018 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6019 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6022 irix5* | irix6* | nonstopux*)
6024 *-32|*"-32 ") libmagic=32-bit;;
6025 *-n32|*"-n32 ") libmagic=N32;;
6026 *-64|*"-64 ") libmagic=64-bit;;
6027 *) libmagic=never-match;;
6029 lt_cv_deplibs_check_method=pass_all
6032 # This must be Linux ELF.
6033 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6034 lt_cv_deplibs_check_method=pass_all
6038 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6039 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6041 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6046 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6047 lt_cv_file_magic_cmd=/usr/bin/file
6048 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6052 lt_cv_deplibs_check_method=pass_all
6056 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6057 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6059 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6063 osf3* | osf4* | osf5*)
6064 lt_cv_deplibs_check_method=pass_all
6068 lt_cv_deplibs_check_method=pass_all
6072 lt_cv_deplibs_check_method=pass_all
6075 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6076 lt_cv_deplibs_check_method=pass_all
6080 case $host_vendor in
6082 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]'
6083 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6086 lt_cv_deplibs_check_method=pass_all
6089 lt_cv_file_magic_cmd='/bin/file'
6090 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6093 lt_cv_file_magic_cmd='/bin/file'
6094 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6095 lt_cv_file_magic_test_file=/lib/libc.so
6098 lt_cv_deplibs_check_method=pass_all
6101 lt_cv_deplibs_check_method=pass_all
6107 lt_cv_deplibs_check_method=pass_all
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6113 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6114 file_magic_cmd=$lt_cv_file_magic_cmd
6115 deplibs_check_method=$lt_cv_deplibs_check_method
6116 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6129 if test -n "$ac_tool_prefix"; then
6130 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6131 set dummy ${ac_tool_prefix}ar; ac_word=$2
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6133 $as_echo_n "checking
for $ac_word...
" >&6; }
6134 if test "${ac_cv_prog_AR+set}" = set; then :
6135 $as_echo_n "(cached
) " >&6
6137 if test -n "$AR"; then
6138 ac_cv_prog_AR="$AR" # Let the user override the test.
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6147 ac_cv_prog_AR="${ac_tool_prefix}ar"
6148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6158 if test -n "$AR"; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6160 $as_echo "$AR" >&6; }
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6163 $as_echo "no
" >&6; }
6168 if test -z "$ac_cv_prog_AR"; then
6170 # Extract the first word of "ar", so it can be a program name with args.
6171 set dummy ar; ac_word=$2
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6173 $as_echo_n "checking
for $ac_word...
" >&6; }
6174 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6175 $as_echo_n "(cached
) " >&6
6177 if test -n "$ac_ct_AR"; then
6178 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 test -z "$as_dir" && as_dir=.
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6187 ac_cv_prog_ac_ct_AR="ar"
6188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6197 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6198 if test -n "$ac_ct_AR"; then
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6200 $as_echo "$ac_ct_AR" >&6; }
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6203 $as_echo "no
" >&6; }
6206 if test "x
$ac_ct_AR" = x; then
6209 case $cross_compiling:$ac_tool_warned in
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6212 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6213 ac_tool_warned=yes ;;
6221 test -z "$AR" && AR=ar
6222 test -z "$AR_FLAGS" && AR_FLAGS=cru
6234 if test -n "$ac_tool_prefix"; then
6235 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6236 set dummy ${ac_tool_prefix}strip; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6238 $as_echo_n "checking
for $ac_word...
" >&6; }
6239 if test "${ac_cv_prog_STRIP+set}" = set; then :
6240 $as_echo_n "(cached
) " >&6
6242 if test -n "$STRIP"; then
6243 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6252 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6262 STRIP=$ac_cv_prog_STRIP
6263 if test -n "$STRIP"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6265 $as_echo "$STRIP" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6268 $as_echo "no
" >&6; }
6273 if test -z "$ac_cv_prog_STRIP"; then
6275 # Extract the first word of "strip
", so it can be a program name with args.
6276 set dummy strip; ac_word=$2
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6278 $as_echo_n "checking
for $ac_word...
" >&6; }
6279 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6280 $as_echo_n "(cached
) " >&6
6282 if test -n "$ac_ct_STRIP"; then
6283 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 test -z "$as_dir" && as_dir=.
6290 for ac_exec_ext in '' $ac_executable_extensions; do
6291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6292 ac_cv_prog_ac_ct_STRIP="strip
"
6293 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6302 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6303 if test -n "$ac_ct_STRIP"; then
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6305 $as_echo "$ac_ct_STRIP" >&6; }
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6308 $as_echo "no
" >&6; }
6311 if test "x
$ac_ct_STRIP" = x; then
6314 case $cross_compiling:$ac_tool_warned in
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6317 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6318 ac_tool_warned=yes ;;
6323 STRIP="$ac_cv_prog_STRIP"
6326 test -z "$STRIP" && STRIP=:
6333 if test -n "$ac_tool_prefix"; then
6334 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6335 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6337 $as_echo_n "checking
for $ac_word...
" >&6; }
6338 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6339 $as_echo_n "(cached
) " >&6
6341 if test -n "$RANLIB"; then
6342 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 test -z "$as_dir" && as_dir=.
6349 for ac_exec_ext in '' $ac_executable_extensions; do
6350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6351 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6352 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6361 RANLIB=$ac_cv_prog_RANLIB
6362 if test -n "$RANLIB"; then
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6364 $as_echo "$RANLIB" >&6; }
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6367 $as_echo "no
" >&6; }
6372 if test -z "$ac_cv_prog_RANLIB"; then
6373 ac_ct_RANLIB=$RANLIB
6374 # Extract the first word of "ranlib
", so it can be a program name with args.
6375 set dummy ranlib; ac_word=$2
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6377 $as_echo_n "checking
for $ac_word...
" >&6; }
6378 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6379 $as_echo_n "(cached
) " >&6
6381 if test -n "$ac_ct_RANLIB"; then
6382 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6391 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6392 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6401 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6402 if test -n "$ac_ct_RANLIB"; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6404 $as_echo "$ac_ct_RANLIB" >&6; }
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6407 $as_echo "no
" >&6; }
6410 if test "x
$ac_ct_RANLIB" = x; then
6413 case $cross_compiling:$ac_tool_warned in
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6416 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6417 ac_tool_warned=yes ;;
6419 RANLIB=$ac_ct_RANLIB
6422 RANLIB="$ac_cv_prog_RANLIB"
6425 test -z "$RANLIB" && RANLIB=:
6432 # Determine commands to create old-style static archives.
6433 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6434 old_postinstall_cmds='chmod 644 $oldlib'
6435 old_postuninstall_cmds=
6437 if test -n "$RANLIB"; then
6440 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6443 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6446 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6482 # If no C compiler was specified, use CC.
6485 # If no C compiler flags were specified, use CFLAGS.
6486 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6488 # Allow CC to be a program name with arguments.
6492 # Check for command to grab the raw symbol name followed by C symbol from nm.
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6494 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6495 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6496 $as_echo_n "(cached
) " >&6
6499 # These are sane defaults that work on at least a few old systems.
6500 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6502 # Character class describing NM global symbol codes.
6503 symcode='[BCDEGRST]'
6505 # Regexp to match symbols that can be accessed directly from C.
6506 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6508 # Define system-specific variables.
6513 cygwin* | mingw* | pw32* | cegcc*)
6514 symcode='[ABCDGISTW]'
6517 if test "$host_cpu" = ia64; then
6518 symcode='[ABCDEGRST]'
6522 symcode='[BCDEGRST]'
6525 symcode='[BCDEGQRST]'
6536 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6544 # If we're using GNU nm, then use its standard symbol codes.
6545 case `$NM -V 2>&1` in
6546 *GNU* | *'with BFD'*)
6547 symcode='[ABCDGIRSTW]' ;;
6550 # Transform an extracted symbol line into a proper C declaration.
6551 # Some systems (esp. on ia64) link data and code symbols differently,
6552 # so use this general approach.
6553 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6555 # Transform an extracted symbol line into symbol name and symbol address
6556 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6557 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'"
6559 # Handle CRLF in mingw tool chain
6563 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6567 # Try without a prefix underscore, then with it.
6568 for ac_symprfx in "" "_
"; do
6570 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6571 symxfrm="\\1 $ac_symprfx\\2 \\2"
6573 # Write the raw and C identifiers.
6574 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6575 # Fake it for dumpbin and say T for any non-static function
6576 # and D for any global variable.
6577 # Also find C++ and __fastcall symbols from MSVC++,
6578 # which start with @ or ?.
6579 lt_cv_sys_global_symbol_pipe="$AWK '"\
6580 " {last_section=section; section=\$ 3};"\
6581 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6582 " \$ 0!~/External *\|/{next};"\
6583 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6584 " {if(hide[section]) next};"\
6585 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6586 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6587 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6588 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6589 " ' prfx
=^
$ac_symprfx"
6591 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6594 # Check to see that the pipe works correctly.
6598 cat > conftest.$ac_ext <<_LT_EOF
6603 void nm_test_func(void);
6604 void nm_test_func(void){}
6608 int main(){nm_test_var='a';nm_test_func();return(0);}
6611 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6612 (eval $ac_compile) 2>&5
6614 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6615 test $ac_status = 0; }; then
6616 # Now try to grab the symbols.
6618 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6619 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6621 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6622 test $ac_status = 0; } && test -s "$nlist"; then
6623 # Try sorting and uniquifying the output.
6624 if sort "$nlist" | uniq > "$nlist"T; then
6625 mv -f "$nlist"T "$nlist"
6630 # Make sure that we snagged all the symbols we need.
6631 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6632 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6633 cat <<_LT_EOF > conftest.$ac_ext
6639 # Now generate the symbol file.
6640 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6642 cat <<_LT_EOF >> conftest.$ac_ext
6644 /* The mapping between symbol names and symbols. */
6649 lt__PROGRAM__LTX_preloaded_symbols[] =
6651 { "@PROGRAM@
", (void *) 0 },
6653 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6654 cat <<\_LT_EOF >> conftest.$ac_ext
6658 /* This works around a problem in FreeBSD linker */
6659 #ifdef FREEBSD_WORKAROUND
6660 static const void *lt_preloaded_setup() {
6661 return lt__PROGRAM__LTX_preloaded_symbols;
6669 # Now try linking the two files.
6670 mv conftest.$ac_objext conftstm.$ac_objext
6671 lt_save_LIBS="$LIBS"
6672 lt_save_CFLAGS="$CFLAGS"
6673 LIBS="conftstm.
$ac_objext"
6674 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6675 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6676 (eval $ac_link) 2>&5
6678 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6679 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6682 LIBS="$lt_save_LIBS"
6683 CFLAGS="$lt_save_CFLAGS"
6685 echo "cannot
find nm_test_func
in $nlist" >&5
6688 echo "cannot
find nm_test_var
in $nlist" >&5
6691 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6694 echo "$progname: failed program was
:" >&5
6695 cat conftest.$ac_ext >&5
6697 rm -rf conftest* conftst*
6699 # Do not use the global_symbol_pipe unless it works.
6700 if test "$pipe_works" = yes; then
6703 lt_cv_sys_global_symbol_pipe=
6709 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6710 lt_cv_sys_global_symbol_to_cdecl=
6712 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6714 $as_echo "failed
" >&6; }
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6717 $as_echo "ok
" >&6; }
6741 # Check whether --enable-libtool-lock was given.
6742 if test "${enable_libtool_lock+set}" = set; then :
6743 enableval=$enable_libtool_lock;
6746 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6748 # Some flags need to be propagated to the compiler or linker for good
6752 # Find out which ABI we are using.
6753 echo 'int i;' > conftest.$ac_ext
6754 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6755 (eval $ac_compile) 2>&5
6757 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6758 test $ac_status = 0; }; then
6759 case `/usr/bin/file conftest.$ac_objext` in
6771 # Find out which ABI we are using.
6772 echo '#line 6772 "configure
"' > conftest.$ac_ext
6773 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6774 (eval $ac_compile) 2>&5
6776 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6777 test $ac_status = 0; }; then
6778 if test "$lt_cv_prog_gnu_ld" = yes; then
6779 case `/usr/bin/file conftest.$ac_objext` in
6781 LD="${LD-ld} -melf32bsmip"
6784 LD="${LD-ld} -melf32bmipn32"
6787 LD="${LD-ld} -melf64bmip"
6791 case `/usr/bin/file conftest.$ac_objext` in
6807 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6808 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6809 # Find out which ABI we are using.
6810 echo 'int i;' > conftest.$ac_ext
6811 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6812 (eval $ac_compile) 2>&5
6814 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6815 test $ac_status = 0; }; then
6816 case `/usr/bin/file conftest.o` in
6819 x86_64-*kfreebsd*-gnu)
6820 LD="${LD-ld} -m elf_i386_fbsd
"
6823 LD="${LD-ld} -m elf_i386
"
6825 ppc64-*linux*|powerpc64-*linux*)
6826 LD="${LD-ld} -m elf32ppclinux
"
6829 LD="${LD-ld} -m elf_s390
"
6832 LD="${LD-ld} -m elf32_sparc
"
6838 x86_64-*kfreebsd*-gnu)
6839 LD="${LD-ld} -m elf_x86_64_fbsd
"
6842 LD="${LD-ld} -m elf_x86_64
"
6844 ppc*-*linux*|powerpc*-*linux*)
6845 LD="${LD-ld} -m elf64ppc
"
6847 s390*-*linux*|s390*-*tpf*)
6848 LD="${LD-ld} -m elf64_s390
"
6851 LD="${LD-ld} -m elf64_sparc
"
6861 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6862 SAVE_CFLAGS="$CFLAGS"
6863 CFLAGS="$CFLAGS -belf"
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6865 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6866 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6867 $as_echo_n "(cached
) " >&6
6870 ac_cpp='$CPP $CPPFLAGS'
6871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6875 if test x$gcc_no_link = xyes; then
6876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h. */
6889 if ac_fn_c_try_link "$LINENO"; then :
6890 lt_cv_cc_needs_belf=yes
6892 lt_cv_cc_needs_belf=no
6894 rm -f core conftest.err conftest.$ac_objext \
6895 conftest$ac_exeext conftest.$ac_ext
6897 ac_cpp='$CPP $CPPFLAGS'
6898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6904 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6905 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6906 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6907 CFLAGS="$SAVE_CFLAGS"
6911 # Find out which ABI we are using.
6912 echo 'int i;' > conftest.$ac_ext
6913 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6914 (eval $ac_compile) 2>&5
6916 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6917 test $ac_status = 0; }; then
6918 case `/usr/bin/file conftest.o` in
6920 case $lt_cv_prog_gnu_ld in
6921 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6923 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6935 need_locks="$enable_libtool_lock"
6939 rhapsody* | darwin*)
6940 if test -n "$ac_tool_prefix"; then
6941 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6942 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6944 $as_echo_n "checking
for $ac_word...
" >&6; }
6945 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6946 $as_echo_n "(cached
) " >&6
6948 if test -n "$DSYMUTIL"; then
6949 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6958 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6968 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6969 if test -n "$DSYMUTIL"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6971 $as_echo "$DSYMUTIL" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6974 $as_echo "no
" >&6; }
6979 if test -z "$ac_cv_prog_DSYMUTIL"; then
6980 ac_ct_DSYMUTIL=$DSYMUTIL
6981 # Extract the first word of "dsymutil
", so it can be a program name with args.
6982 set dummy dsymutil; ac_word=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6984 $as_echo_n "checking
for $ac_word...
" >&6; }
6985 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6986 $as_echo_n "(cached
) " >&6
6988 if test -n "$ac_ct_DSYMUTIL"; then
6989 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir=.
6996 for ac_exec_ext in '' $ac_executable_extensions; do
6997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6998 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7008 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7009 if test -n "$ac_ct_DSYMUTIL"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7011 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7014 $as_echo "no
" >&6; }
7017 if test "x
$ac_ct_DSYMUTIL" = x; then
7020 case $cross_compiling:$ac_tool_warned in
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7023 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7024 ac_tool_warned=yes ;;
7026 DSYMUTIL=$ac_ct_DSYMUTIL
7029 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7032 if test -n "$ac_tool_prefix"; then
7033 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7034 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7036 $as_echo_n "checking
for $ac_word...
" >&6; }
7037 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7038 $as_echo_n "(cached
) " >&6
7040 if test -n "$NMEDIT"; then
7041 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7060 NMEDIT=$ac_cv_prog_NMEDIT
7061 if test -n "$NMEDIT"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7063 $as_echo "$NMEDIT" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7066 $as_echo "no
" >&6; }
7071 if test -z "$ac_cv_prog_NMEDIT"; then
7072 ac_ct_NMEDIT=$NMEDIT
7073 # Extract the first word of "nmedit
", so it can be a program name with args.
7074 set dummy nmedit; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7076 $as_echo_n "checking
for $ac_word...
" >&6; }
7077 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7078 $as_echo_n "(cached
) " >&6
7080 if test -n "$ac_ct_NMEDIT"; then
7081 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7100 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7101 if test -n "$ac_ct_NMEDIT"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7103 $as_echo "$ac_ct_NMEDIT" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7106 $as_echo "no
" >&6; }
7109 if test "x
$ac_ct_NMEDIT" = x; then
7112 case $cross_compiling:$ac_tool_warned in
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7115 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7116 ac_tool_warned=yes ;;
7118 NMEDIT=$ac_ct_NMEDIT
7121 NMEDIT="$ac_cv_prog_NMEDIT"
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7126 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7128 $as_echo_n "checking
for $ac_word...
" >&6; }
7129 if test "${ac_cv_prog_LIPO+set}" = set; then :
7130 $as_echo_n "(cached
) " >&6
7132 if test -n "$LIPO"; then
7133 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7152 LIPO=$ac_cv_prog_LIPO
7153 if test -n "$LIPO"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7155 $as_echo "$LIPO" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7158 $as_echo "no
" >&6; }
7163 if test -z "$ac_cv_prog_LIPO"; then
7165 # Extract the first word of "lipo
", so it can be a program name with args.
7166 set dummy lipo; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7168 $as_echo_n "checking
for $ac_word...
" >&6; }
7169 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7170 $as_echo_n "(cached
) " >&6
7172 if test -n "$ac_ct_LIPO"; then
7173 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7182 ac_cv_prog_ac_ct_LIPO="lipo
"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7192 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7193 if test -n "$ac_ct_LIPO"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7195 $as_echo "$ac_ct_LIPO" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7198 $as_echo "no
" >&6; }
7201 if test "x
$ac_ct_LIPO" = x; then
7204 case $cross_compiling:$ac_tool_warned in
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7207 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7208 ac_tool_warned=yes ;;
7213 LIPO="$ac_cv_prog_LIPO"
7216 if test -n "$ac_tool_prefix"; then
7217 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7218 set dummy ${ac_tool_prefix}otool; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7220 $as_echo_n "checking
for $ac_word...
" >&6; }
7221 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7222 $as_echo_n "(cached
) " >&6
7224 if test -n "$OTOOL"; then
7225 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7234 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7244 OTOOL=$ac_cv_prog_OTOOL
7245 if test -n "$OTOOL"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7247 $as_echo "$OTOOL" >&6; }
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7250 $as_echo "no
" >&6; }
7255 if test -z "$ac_cv_prog_OTOOL"; then
7257 # Extract the first word of "otool
", so it can be a program name with args.
7258 set dummy otool; ac_word=$2
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7260 $as_echo_n "checking
for $ac_word...
" >&6; }
7261 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7262 $as_echo_n "(cached
) " >&6
7264 if test -n "$ac_ct_OTOOL"; then
7265 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 test -z "$as_dir" && as_dir=.
7272 for ac_exec_ext in '' $ac_executable_extensions; do
7273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7274 ac_cv_prog_ac_ct_OTOOL="otool
"
7275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7284 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7285 if test -n "$ac_ct_OTOOL"; then
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7287 $as_echo "$ac_ct_OTOOL" >&6; }
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7290 $as_echo "no
" >&6; }
7293 if test "x
$ac_ct_OTOOL" = x; then
7296 case $cross_compiling:$ac_tool_warned in
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7299 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7300 ac_tool_warned=yes ;;
7305 OTOOL="$ac_cv_prog_OTOOL"
7308 if test -n "$ac_tool_prefix"; then
7309 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7310 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7312 $as_echo_n "checking
for $ac_word...
" >&6; }
7313 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7314 $as_echo_n "(cached
) " >&6
7316 if test -n "$OTOOL64"; then
7317 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7336 OTOOL64=$ac_cv_prog_OTOOL64
7337 if test -n "$OTOOL64"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7339 $as_echo "$OTOOL64" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7342 $as_echo "no
" >&6; }
7347 if test -z "$ac_cv_prog_OTOOL64"; then
7348 ac_ct_OTOOL64=$OTOOL64
7349 # Extract the first word of "otool64
", so it can be a program name with args.
7350 set dummy otool64; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7352 $as_echo_n "checking
for $ac_word...
" >&6; }
7353 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7354 $as_echo_n "(cached
) " >&6
7356 if test -n "$ac_ct_OTOOL64"; then
7357 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7376 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7377 if test -n "$ac_ct_OTOOL64"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7379 $as_echo "$ac_ct_OTOOL64" >&6; }
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7382 $as_echo "no
" >&6; }
7385 if test "x
$ac_ct_OTOOL64" = x; then
7388 case $cross_compiling:$ac_tool_warned in
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7391 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7392 ac_tool_warned=yes ;;
7394 OTOOL64=$ac_ct_OTOOL64
7397 OTOOL64="$ac_cv_prog_OTOOL64"
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7427 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7428 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7429 $as_echo_n "(cached
) " >&6
7431 lt_cv_apple_cc_single_mod=no
7432 if test -z "${LT_MULTI_MODULE}"; then
7433 # By default we will add the -single_module flag. You can override
7434 # by either setting the environment variable LT_MULTI_MODULE
7435 # non-empty at configure time, or by adding -multi_module to the
7437 rm -rf libconftest.dylib*
7438 echo "int foo
(void
){return 1;}" > conftest.c
7439 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7440 -dynamiclib -Wl,-single_module conftest.c
" >&5
7441 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7442 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7444 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7445 lt_cv_apple_cc_single_mod=yes
7447 cat conftest.err >&5
7449 rm -rf libconftest.dylib*
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7454 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7456 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7457 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7458 $as_echo_n "(cached
) " >&6
7460 lt_cv_ld_exported_symbols_list=no
7461 save_LDFLAGS=$LDFLAGS
7462 echo "_main
" > conftest.sym
7463 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7464 if test x$gcc_no_link = xyes; then
7465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
7467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7468 /* end confdefs.h. */
7478 if ac_fn_c_try_link "$LINENO"; then :
7479 lt_cv_ld_exported_symbols_list=yes
7481 lt_cv_ld_exported_symbols_list=no
7483 rm -f core conftest.err conftest.$ac_objext \
7484 conftest$ac_exeext conftest.$ac_ext
7485 LDFLAGS="$save_LDFLAGS"
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7489 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7491 rhapsody* | darwin1.[012])
7492 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7494 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7495 darwin*) # darwin 5.x on
7496 # if running on 10.5 or later, the deployment target defaults
7497 # to the OS version, if on x86, and 10.4, the deployment
7498 # target defaults to 10.4. Don't you love it?
7499 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7500 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7501 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7503 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7505 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7509 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7510 _lt_dar_single_mod='$single_module'
7512 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7513 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7515 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7517 if test "$DSYMUTIL" != ":"; then
7518 _lt_dsymutil='~$DSYMUTIL $lib || :'
7526 ac_cpp='$CPP $CPPFLAGS'
7527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7531 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7532 # On Suns, sometimes $CPP names a directory.
7533 if test -n "$CPP" && test -d "$CPP"; then
7536 if test -z "$CPP"; then
7537 if test "${ac_cv_prog_CPP+set}" = set; then :
7538 $as_echo_n "(cached
) " >&6
7540 # Double quotes because CPP needs to be expanded
7541 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7544 for ac_c_preproc_warn_flag in '' yes
7546 # Use a header file that comes with gcc, so configuring glibc
7547 # with a fresh cross-compiler works.
7548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7549 # <limits.h> exists even on freestanding compilers.
7550 # On the NeXT, cc -E runs the code through the compiler's parser,
7551 # not just through cpp. "Syntax error
" is here to catch this case.
7552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553 /* end confdefs.h. */
7555 # include <limits.h>
7557 # include <assert.h>
7561 if ac_fn_c_try_cpp "$LINENO"; then :
7564 # Broken: fails on valid input.
7567 rm -f conftest.err conftest.$ac_ext
7569 # OK, works on sane cases. Now check whether nonexistent headers
7570 # can be detected and how.
7571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7572 /* end confdefs.h. */
7573 #include <ac_nonexistent.h>
7575 if ac_fn_c_try_cpp "$LINENO"; then :
7576 # Broken: success on invalid input.
7579 # Passes both tests.
7583 rm -f conftest.err conftest.$ac_ext
7586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7587 rm -f conftest.err conftest.$ac_ext
7588 if $ac_preproc_ok; then :
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7601 $as_echo "$CPP" >&6; }
7603 for ac_c_preproc_warn_flag in '' yes
7605 # Use a header file that comes with gcc, so configuring glibc
7606 # with a fresh cross-compiler works.
7607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7608 # <limits.h> exists even on freestanding compilers.
7609 # On the NeXT, cc -E runs the code through the compiler's parser,
7610 # not just through cpp. "Syntax error
" is here to catch this case.
7611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7612 /* end confdefs.h. */
7614 # include <limits.h>
7616 # include <assert.h>
7620 if ac_fn_c_try_cpp "$LINENO"; then :
7623 # Broken: fails on valid input.
7626 rm -f conftest.err conftest.$ac_ext
7628 # OK, works on sane cases. Now check whether nonexistent headers
7629 # can be detected and how.
7630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7631 /* end confdefs.h. */
7632 #include <ac_nonexistent.h>
7634 if ac_fn_c_try_cpp "$LINENO"; then :
7635 # Broken: success on invalid input.
7638 # Passes both tests.
7642 rm -f conftest.err conftest.$ac_ext
7645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7646 rm -f conftest.err conftest.$ac_ext
7647 if $ac_preproc_ok; then :
7650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7652 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7653 See \`config.log' for more details.
" "$LINENO" 5; }
7657 ac_cpp='$CPP $CPPFLAGS'
7658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7664 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7665 if test "${ac_cv_header_stdc+set}" = set; then :
7666 $as_echo_n "(cached
) " >&6
7668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7669 /* end confdefs.h. */
7683 if ac_fn_c_try_compile "$LINENO"; then :
7684 ac_cv_header_stdc=yes
7686 ac_cv_header_stdc=no
7688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7690 if test $ac_cv_header_stdc = yes; then
7691 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7693 /* end confdefs.h. */
7697 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7698 $EGREP "memchr
" >/dev/null 2>&1; then :
7701 ac_cv_header_stdc=no
7707 if test $ac_cv_header_stdc = yes; then
7708 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710 /* end confdefs.h. */
7714 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7715 $EGREP "free
" >/dev/null 2>&1; then :
7718 ac_cv_header_stdc=no
7724 if test $ac_cv_header_stdc = yes; then
7725 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7726 if test "$cross_compiling" = yes; then :
7729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h. */
7733 #if ((' ' & 0x0FF) == 0x020)
7734 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7735 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7737 # define ISLOWER(c) \
7738 (('a' <= (c) && (c) <= 'i') \
7739 || ('j' <= (c) && (c) <= 'r') \
7740 || ('s' <= (c) && (c) <= 'z'))
7741 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7744 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7749 for (i = 0; i < 256; i++)
7750 if (XOR (islower (i), ISLOWER (i))
7751 || toupper (i) != TOUPPER (i))
7756 if ac_fn_c_try_run "$LINENO"; then :
7759 ac_cv_header_stdc=no
7761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7762 conftest.$ac_objext conftest.beam conftest.$ac_ext
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7768 $as_echo "$ac_cv_header_stdc" >&6; }
7769 if test $ac_cv_header_stdc = yes; then
7771 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7775 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7776 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7777 inttypes.h stdint.h unistd.h
7779 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7780 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7782 eval as_val
=\$
$as_ac_Header
7783 if test "x$as_val" = x
""yes; then :
7784 cat >>confdefs.h
<<_ACEOF
7785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7793 for ac_header
in dlfcn.h
7795 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7797 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7798 cat >>confdefs.h
<<_ACEOF
7799 #define HAVE_DLFCN_H 1
7816 # Check whether --enable-shared was given.
7817 if test "${enable_shared+set}" = set; then :
7818 enableval
=$enable_shared; p
=${PACKAGE-default}
7820 yes) enable_shared
=yes ;;
7821 no
) enable_shared
=no
;;
7824 # Look at the argument we got. We use all the common list separators.
7825 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7826 for pkg
in $enableval; do
7828 if test "X$pkg" = "X$p"; then
7847 # Check whether --enable-static was given.
7848 if test "${enable_static+set}" = set; then :
7849 enableval
=$enable_static; p
=${PACKAGE-default}
7851 yes) enable_static
=yes ;;
7852 no
) enable_static
=no
;;
7855 # Look at the argument we got. We use all the common list separators.
7856 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7857 for pkg
in $enableval; do
7859 if test "X$pkg" = "X$p"; then
7879 # Check whether --with-pic was given.
7880 if test "${with_pic+set}" = set; then :
7881 withval
=$with_pic; pic_mode
="$withval"
7887 test -z "$pic_mode" && pic_mode
=default
7895 # Check whether --enable-fast-install was given.
7896 if test "${enable_fast_install+set}" = set; then :
7897 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7899 yes) enable_fast_install
=yes ;;
7900 no
) enable_fast_install
=no
;;
7902 enable_fast_install
=no
7903 # Look at the argument we got. We use all the common list separators.
7904 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7905 for pkg
in $enableval; do
7907 if test "X$pkg" = "X$p"; then
7908 enable_fast_install
=yes
7915 enable_fast_install
=yes
7928 # This can be used to rebuild libtool when needed
7929 LIBTOOL_DEPS
="$ltmain"
7931 # Always use our own libtool.
7932 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7958 test -z "$LN_S" && LN_S
="ln -s"
7973 if test -n "${ZSH_VERSION+set}" ; then
7974 setopt NO_GLOB_SUBST
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7978 $as_echo_n "checking for objdir... " >&6; }
7979 if test "${lt_cv_objdir+set}" = set; then :
7980 $as_echo_n "(cached) " >&6
7982 rm -f .libs
2>/dev
/null
7983 mkdir .libs
2>/dev
/null
7984 if test -d .libs
; then
7987 # MS-DOS does not allow filenames that begin with a dot.
7990 rmdir .libs
2>/dev
/null
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7993 $as_echo "$lt_cv_objdir" >&6; }
7994 objdir
=$lt_cv_objdir
8000 cat >>confdefs.h
<<_ACEOF
8001 #define LT_OBJDIR "$lt_cv_objdir/"
8022 # AIX sometimes has problems with the GCC collect2 program. For some
8023 # reason, if we set the COLLECT_NAMES environment variable, the problems
8024 # vanish in a puff of smoke.
8025 if test "X${COLLECT_NAMES+set}" != Xset
; then
8027 export COLLECT_NAMES
8032 # Sed substitution that helps us do robust quoting. It backslashifies
8033 # metacharacters that are still active within double-quoted strings.
8034 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8036 # Same as above, but do not quote variable references.
8037 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8039 # Sed substitution to delay expansion of an escaped shell variable in a
8040 # double_quote_subst'ed string.
8041 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8043 # Sed substitution to delay expansion of an escaped single quote.
8044 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8046 # Sed substitution to avoid accidental globbing in evaled expressions
8047 no_glob_subst
='s/\*/\\\*/g'
8051 can_build_shared
=yes
8053 # All known linkers require a `.a' archive for static linking (except MSVC,
8054 # which needs '.lib').
8057 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8060 old_CFLAGS
="$CFLAGS"
8062 # Set sane defaults for various variables
8063 test -z "$CC" && CC
=cc
8064 test -z "$LTCC" && LTCC
=$CC
8065 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8066 test -z "$LD" && LD
=ld
8067 test -z "$ac_objext" && ac_objext
=o
8069 for cc_temp
in $compiler""; do
8071 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8072 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8077 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8080 # Only perform the check for file, if the check method requires it
8081 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8082 case $deplibs_check_method in
8084 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8086 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8087 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8088 $as_echo_n "(cached) " >&6
8092 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8095 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8096 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8097 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8098 for ac_dir
in $ac_dummy; do
8100 test -z "$ac_dir" && ac_dir
=.
8101 if test -f $ac_dir/${ac_tool_prefix}file; then
8102 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8103 if test -n "$file_magic_test_file"; then
8104 case $deplibs_check_method in
8106 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8107 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8108 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8109 $EGREP "$file_magic_regex" > /dev
/null
; then
8114 *** Warning: the command libtool uses to detect shared libraries,
8115 *** $file_magic_cmd, produces output that libtool cannot recognize.
8116 *** The result is that libtool may fail to recognize shared libraries
8117 *** as such. This will affect the creation of libtool libraries that
8118 *** depend on shared libraries, but programs linked with such libtool
8119 *** libraries will work regardless of this problem. Nevertheless, you
8120 *** may want to report the problem to your system manager and/or to
8121 *** bug-libtool@gnu.org
8131 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8136 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8137 if test -n "$MAGIC_CMD"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8139 $as_echo "$MAGIC_CMD" >&6; }
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8142 $as_echo "no" >&6; }
8149 if test -z "$lt_cv_path_MAGIC_CMD"; then
8150 if test -n "$ac_tool_prefix"; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8152 $as_echo_n "checking for file... " >&6; }
8153 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8154 $as_echo_n "(cached) " >&6
8158 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8161 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8162 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8163 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8164 for ac_dir
in $ac_dummy; do
8166 test -z "$ac_dir" && ac_dir
=.
8167 if test -f $ac_dir/file; then
8168 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8169 if test -n "$file_magic_test_file"; then
8170 case $deplibs_check_method in
8172 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8173 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8174 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8175 $EGREP "$file_magic_regex" > /dev
/null
; then
8180 *** Warning: the command libtool uses to detect shared libraries,
8181 *** $file_magic_cmd, produces output that libtool cannot recognize.
8182 *** The result is that libtool may fail to recognize shared libraries
8183 *** as such. This will affect the creation of libtool libraries that
8184 *** depend on shared libraries, but programs linked with such libtool
8185 *** libraries will work regardless of this problem. Nevertheless, you
8186 *** may want to report the problem to your system manager and/or to
8187 *** bug-libtool@gnu.org
8197 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8202 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8203 if test -n "$MAGIC_CMD"; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8205 $as_echo "$MAGIC_CMD" >&6; }
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8208 $as_echo "no" >&6; }
8221 # Use C for the default configuration in the libtool script
8225 ac_cpp
='$CPP $CPPFLAGS'
8226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8231 # Source file extension for C test sources.
8234 # Object file extension for compiled C test sources.
8238 # Code to be used in simple compile tests
8239 lt_simple_compile_test_code
="int some_variable = 0;"
8241 # Code to be used in simple link tests
8242 lt_simple_link_test_code
='int main(){return(0);}'
8250 # If no C compiler was specified, use CC.
8253 # If no C compiler flags were specified, use CFLAGS.
8254 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8256 # Allow CC to be a program name with arguments.
8259 # Save the default compiler, since it gets overwritten when the other
8260 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8261 compiler_DEFAULT
=$CC
8263 # save warnings/boilerplate of simple test code
8264 ac_outfile
=conftest.
$ac_objext
8265 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8266 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8267 _lt_compiler_boilerplate
=`cat conftest.err`
8270 ac_outfile
=conftest.
$ac_objext
8271 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8272 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8273 _lt_linker_boilerplate
=`cat conftest.err`
8278 ## There is no encapsulation within the following macros, do not change
8279 ## the running order or otherwise move them around unless you know exactly
8280 ## what you are doing...
8281 if test -n "$compiler"; then
8283 lt_prog_compiler_no_builtin_flag
=
8285 if test "$GCC" = yes; then
8286 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8289 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8290 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8291 $as_echo_n "(cached) " >&6
8293 lt_cv_prog_compiler_rtti_exceptions
=no
8294 ac_outfile
=conftest.
$ac_objext
8295 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8296 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8297 # Insert the option either (1) after the last *FLAGS variable, or
8298 # (2) before a word containing "conftest.", or (3) at the end.
8299 # Note that $ac_compile itself does not contain backslashes and begins
8300 # with a dollar sign (not a hyphen), so the echo should work correctly.
8301 # The option is referenced via a variable to avoid confusing sed.
8302 lt_compile
=`echo "$ac_compile" | $SED \
8303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8305 -e 's:$: $lt_compiler_flag:'`
8306 (eval echo "\"\$as_me:8306: $lt_compile\"" >&5)
8307 (eval "$lt_compile" 2>conftest.err
)
8309 cat conftest.err
>&5
8310 echo "$as_me:8310: \$? = $ac_status" >&5
8311 if (exit $ac_status) && test -s "$ac_outfile"; then
8312 # The compiler can only warn and ignore the option if not recognized
8313 # So say no if there are warnings other than the usual output.
8314 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8315 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8316 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8317 lt_cv_prog_compiler_rtti_exceptions
=yes
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8324 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8326 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8327 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8339 lt_prog_compiler_wl
=
8340 lt_prog_compiler_pic
=
8341 lt_prog_compiler_static
=
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8344 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8346 if test "$GCC" = yes; then
8347 lt_prog_compiler_wl
='-Wl,'
8348 lt_prog_compiler_static
='-static'
8352 # All AIX code is PIC.
8353 if test "$host_cpu" = ia64
; then
8354 # AIX 5 now supports IA64 processor
8355 lt_prog_compiler_static
='-Bstatic'
8362 # see comment about AmigaOS4 .so support
8363 lt_prog_compiler_pic
='-fPIC'
8366 # FIXME: we need at least 68020 code to build shared libraries, but
8367 # adding the `-m68020' flag to GCC prevents building anything better,
8369 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8374 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8375 # PIC is the default for these OSes.
8378 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8379 # This hack is so that the source file can tell whether it is being
8380 # built for inclusion in a dll (and should export symbols for example).
8381 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8382 # (--disable-auto-import) libraries
8383 lt_prog_compiler_pic
='-DDLL_EXPORT'
8386 darwin
* | rhapsody
*)
8387 # PIC is the default on this platform
8388 # Common symbols not allowed in MH_DYLIB files
8389 lt_prog_compiler_pic
='-fno-common'
8393 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8394 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8395 # sets the default TLS model and affects inlining.
8401 lt_prog_compiler_pic
='-fPIC'
8407 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8408 # Instead, we relocate shared libraries at runtime.
8412 # Just because we use GCC doesn't mean we suddenly get shared libraries
8413 # on systems that don't support them.
8414 lt_prog_compiler_can_build_shared
=no
8419 # QNX uses GNU C++, but need to define -shared option too, otherwise
8421 lt_prog_compiler_pic
='-fPIC -shared'
8425 if test -d /usr
/nec
; then
8426 lt_prog_compiler_pic
=-Kconform_pic
8431 lt_prog_compiler_pic
='-fPIC'
8435 # PORTME Check for flag to pass linker flags through the system compiler.
8438 lt_prog_compiler_wl
='-Wl,'
8439 if test "$host_cpu" = ia64
; then
8440 # AIX 5 now supports IA64 processor
8441 lt_prog_compiler_static
='-Bstatic'
8443 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8447 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8448 # This hack is so that the source file can tell whether it is being
8449 # built for inclusion in a dll (and should export symbols for example).
8450 lt_prog_compiler_pic
='-DDLL_EXPORT'
8453 hpux9
* | hpux10
* | hpux11
*)
8454 lt_prog_compiler_wl
='-Wl,'
8455 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8462 lt_prog_compiler_pic
='+Z'
8465 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8466 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8469 irix5
* | irix6
* | nonstopux
*)
8470 lt_prog_compiler_wl
='-Wl,'
8471 # PIC (with -KPIC) is the default.
8472 lt_prog_compiler_static
='-non_shared'
8475 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8476 case $cc_basename in
8477 # old Intel for x86_64 which still supported -KPIC.
8479 lt_prog_compiler_wl
='-Wl,'
8480 lt_prog_compiler_pic
='-KPIC'
8481 lt_prog_compiler_static
='-static'
8483 # icc used to be incompatible with GCC.
8484 # ICC 10 doesn't accept -KPIC any more.
8486 lt_prog_compiler_wl
='-Wl,'
8487 lt_prog_compiler_pic
='-fPIC'
8488 lt_prog_compiler_static
='-static'
8490 # Lahey Fortran 8.1.
8492 lt_prog_compiler_wl
='-Wl,'
8493 lt_prog_compiler_pic
='--shared'
8494 lt_prog_compiler_static
='--static'
8496 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8497 # Portland Group compilers (*not* the Pentium gcc compiler,
8498 # which looks to be a dead project)
8499 lt_prog_compiler_wl
='-Wl,'
8500 lt_prog_compiler_pic
='-fpic'
8501 lt_prog_compiler_static
='-Bstatic'
8504 lt_prog_compiler_wl
='-Wl,'
8505 # All Alpha code is PIC.
8506 lt_prog_compiler_static
='-non_shared'
8509 # IBM XL C 8.0/Fortran 10.1 on PPC
8510 lt_prog_compiler_wl
='-Wl,'
8511 lt_prog_compiler_pic
='-qpic'
8512 lt_prog_compiler_static
='-qstaticlink'
8515 case `$CC -V 2>&1 | sed 5q` in
8518 lt_prog_compiler_pic
='-KPIC'
8519 lt_prog_compiler_static
='-Bstatic'
8520 lt_prog_compiler_wl
='-Wl,'
8523 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8524 lt_prog_compiler_pic
='-KPIC'
8525 lt_prog_compiler_static
='-Bstatic'
8526 lt_prog_compiler_wl
=''
8534 lt_prog_compiler_pic
='-KPIC'
8535 lt_prog_compiler_static
='-Bstatic'
8539 # QNX uses GNU C++, but need to define -shared option too, otherwise
8541 lt_prog_compiler_pic
='-fPIC -shared'
8544 osf3
* | osf4
* | osf5
*)
8545 lt_prog_compiler_wl
='-Wl,'
8546 # All OSF/1 code is PIC.
8547 lt_prog_compiler_static
='-non_shared'
8551 lt_prog_compiler_static
='-non_shared'
8555 lt_prog_compiler_pic
='-KPIC'
8556 lt_prog_compiler_static
='-Bstatic'
8557 case $cc_basename in
8559 lt_prog_compiler_wl
='-Qoption ld ';;
8561 lt_prog_compiler_wl
='-Wl,';;
8566 lt_prog_compiler_wl
='-Qoption ld '
8567 lt_prog_compiler_pic
='-PIC'
8568 lt_prog_compiler_static
='-Bstatic'
8571 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8572 lt_prog_compiler_wl
='-Wl,'
8573 lt_prog_compiler_pic
='-KPIC'
8574 lt_prog_compiler_static
='-Bstatic'
8578 if test -d /usr
/nec
;then
8579 lt_prog_compiler_pic
='-Kconform_pic'
8580 lt_prog_compiler_static
='-Bstatic'
8584 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8585 lt_prog_compiler_wl
='-Wl,'
8586 lt_prog_compiler_pic
='-KPIC'
8587 lt_prog_compiler_static
='-Bstatic'
8591 lt_prog_compiler_wl
='-Wl,'
8592 lt_prog_compiler_can_build_shared
=no
8596 lt_prog_compiler_pic
='-pic'
8597 lt_prog_compiler_static
='-Bstatic'
8601 lt_prog_compiler_can_build_shared
=no
8607 # For platforms which do not support PIC, -DPIC is meaningless:
8609 lt_prog_compiler_pic
=
8612 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8616 $as_echo "$lt_prog_compiler_pic" >&6; }
8624 # Check to make sure the PIC flag actually works.
8626 if test -n "$lt_prog_compiler_pic"; then
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8628 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8629 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8630 $as_echo_n "(cached) " >&6
8632 lt_cv_prog_compiler_pic_works
=no
8633 ac_outfile
=conftest.
$ac_objext
8634 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8635 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8636 # Insert the option either (1) after the last *FLAGS variable, or
8637 # (2) before a word containing "conftest.", or (3) at the end.
8638 # Note that $ac_compile itself does not contain backslashes and begins
8639 # with a dollar sign (not a hyphen), so the echo should work correctly.
8640 # The option is referenced via a variable to avoid confusing sed.
8641 lt_compile
=`echo "$ac_compile" | $SED \
8642 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8643 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8644 -e 's:$: $lt_compiler_flag:'`
8645 (eval echo "\"\$as_me:8645: $lt_compile\"" >&5)
8646 (eval "$lt_compile" 2>conftest.err
)
8648 cat conftest.err
>&5
8649 echo "$as_me:8649: \$? = $ac_status" >&5
8650 if (exit $ac_status) && test -s "$ac_outfile"; then
8651 # The compiler can only warn and ignore the option if not recognized
8652 # So say no if there are warnings other than the usual output.
8653 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8654 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8655 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8656 lt_cv_prog_compiler_pic_works
=yes
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8663 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8665 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8666 case $lt_prog_compiler_pic in
8668 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8671 lt_prog_compiler_pic
=
8672 lt_prog_compiler_can_build_shared
=no
8683 # Check to make sure the static flag actually works.
8685 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8687 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8688 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8689 $as_echo_n "(cached) " >&6
8691 lt_cv_prog_compiler_static_works
=no
8692 save_LDFLAGS
="$LDFLAGS"
8693 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8694 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8695 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8696 # The linker can only warn and ignore the option if not recognized
8697 # So say no if there are warnings
8698 if test -s conftest.err
; then
8699 # Append any errors to the config.log.
8700 cat conftest.err
1>&5
8701 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8702 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8703 if diff conftest.exp conftest.er2
>/dev
/null
; then
8704 lt_cv_prog_compiler_static_works
=yes
8707 lt_cv_prog_compiler_static_works
=yes
8711 LDFLAGS
="$save_LDFLAGS"
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8715 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8717 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8720 lt_prog_compiler_static
=
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8730 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8731 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8732 $as_echo_n "(cached) " >&6
8734 lt_cv_prog_compiler_c_o
=no
8735 $RM -r conftest
2>/dev
/null
8739 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8741 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8742 # Insert the option either (1) after the last *FLAGS variable, or
8743 # (2) before a word containing "conftest.", or (3) at the end.
8744 # Note that $ac_compile itself does not contain backslashes and begins
8745 # with a dollar sign (not a hyphen), so the echo should work correctly.
8746 lt_compile
=`echo "$ac_compile" | $SED \
8747 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8749 -e 's:$: $lt_compiler_flag:'`
8750 (eval echo "\"\$as_me:8750: $lt_compile\"" >&5)
8751 (eval "$lt_compile" 2>out
/conftest.err
)
8753 cat out
/conftest.err
>&5
8754 echo "$as_me:8754: \$? = $ac_status" >&5
8755 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8757 # The compiler can only warn and ignore the option if not recognized
8758 # So say no if there are warnings
8759 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8760 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8761 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8762 lt_cv_prog_compiler_c_o
=yes
8767 # SGI C++ compiler will create directory out/ii_files/ for
8768 # template instantiation
8769 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8770 $RM out
/* && rmdir out
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8777 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8785 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8786 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8787 $as_echo_n "(cached) " >&6
8789 lt_cv_prog_compiler_c_o
=no
8790 $RM -r conftest
2>/dev
/null
8794 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8796 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8797 # Insert the option either (1) after the last *FLAGS variable, or
8798 # (2) before a word containing "conftest.", or (3) at the end.
8799 # Note that $ac_compile itself does not contain backslashes and begins
8800 # with a dollar sign (not a hyphen), so the echo should work correctly.
8801 lt_compile
=`echo "$ac_compile" | $SED \
8802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8804 -e 's:$: $lt_compiler_flag:'`
8805 (eval echo "\"\$as_me:8805: $lt_compile\"" >&5)
8806 (eval "$lt_compile" 2>out
/conftest.err
)
8808 cat out
/conftest.err
>&5
8809 echo "$as_me:8809: \$? = $ac_status" >&5
8810 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8812 # The compiler can only warn and ignore the option if not recognized
8813 # So say no if there are warnings
8814 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8815 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8816 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8817 lt_cv_prog_compiler_c_o
=yes
8822 # SGI C++ compiler will create directory out/ii_files/ for
8823 # template instantiation
8824 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8825 $RM out
/* && rmdir out
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8832 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8837 hard_links
="nottested"
8838 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8839 # do not overwrite the value of need_locks provided by the user
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8841 $as_echo_n "checking if we can lock with hard links... " >&6; }
8844 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8846 ln conftest.a conftest.b
2>&5 || hard_links
=no
8847 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8849 $as_echo "$hard_links" >&6; }
8850 if test "$hard_links" = no
; then
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8852 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8865 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8868 allow_undefined_flag
=
8869 always_export_symbols
=no
8871 archive_expsym_cmds
=
8872 compiler_needs_object
=no
8873 enable_shared_with_static_runtimes
=no
8874 export_dynamic_flag_spec
=
8875 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8876 hardcode_automatic
=no
8878 hardcode_direct_absolute
=no
8879 hardcode_libdir_flag_spec
=
8880 hardcode_libdir_flag_spec_ld
=
8881 hardcode_libdir_separator
=
8883 hardcode_shlibpath_var
=unsupported
8885 link_all_deplibs
=unknown
8888 old_archive_from_new_cmds
=
8889 old_archive_from_expsyms_cmds
=
8890 thread_safe_flag_spec
=
8891 whole_archive_flag_spec
=
8892 # include_expsyms should be a list of space-separated symbols to be *always*
8893 # included in the symbol list
8895 # exclude_expsyms can be an extended regexp of symbols to exclude
8896 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8897 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8898 # as well as any symbol that contains `d'.
8899 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8900 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8901 # platforms (ab)use it in PIC code, but their linkers get confused if
8902 # the symbol is explicitly referenced. Since portable code cannot
8903 # rely on this symbol name, it's probably fine to never include it in
8904 # preloaded symbol tables.
8905 # Exclude shared library initialization/finalization symbols.
8906 extract_expsyms_cmds
=
8909 cygwin
* | mingw
* | pw32
* | cegcc
*)
8910 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8911 # When not using gcc, we currently assume that we are using
8912 # Microsoft Visual C++.
8913 if test "$GCC" != yes; then
8918 # we just hope/assume this is gcc and not c89 (= MSVC++)
8927 if test "$with_gnu_ld" = yes; then
8928 # If archive_cmds runs LD, not CC, wlarc should be empty
8931 # Set some defaults for GNU ld with shared library support. These
8932 # are reset later if shared libraries are not supported. Putting them
8933 # here allows them to be overridden if necessary.
8934 runpath_var
=LD_RUN_PATH
8935 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8936 export_dynamic_flag_spec
='${wl}--export-dynamic'
8937 # ancient GNU ld didn't support --whole-archive et. al.
8938 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8939 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8941 whole_archive_flag_spec
=
8943 supports_anon_versioning
=no
8944 case `$LD -v 2>&1` in
8945 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8946 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8947 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8948 *\
2.11.
*) ;; # other 2.11 versions
8949 *) supports_anon_versioning
=yes ;;
8952 # See if GNU ld supports shared libraries.
8955 # On AIX/PPC, the GNU linker is very broken
8956 if test "$host_cpu" != ia64
; then
8960 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8961 *** to be unable to reliably create shared libraries on AIX.
8962 *** Therefore, libtool is disabling shared libraries support. If you
8963 *** really care for shared libraries, you may want to modify your PATH
8964 *** so that a non-GNU linker is found, and then restart.
8973 # see comment about AmigaOS4 .so support
8974 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8975 archive_expsym_cmds
=''
8978 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)'
8979 hardcode_libdir_flag_spec
='-L$libdir'
8980 hardcode_minus_L
=yes
8986 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8987 allow_undefined_flag
=unsupported
8988 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8989 # support --undefined. This deserves some investigation. FIXME
8990 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8996 cygwin
* | mingw
* | pw32
* | cegcc
*)
8997 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8998 # as there is no search path for DLLs.
8999 hardcode_libdir_flag_spec
='-L$libdir'
9000 allow_undefined_flag
=unsupported
9001 always_export_symbols
=no
9002 enable_shared_with_static_runtimes
=yes
9003 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9005 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9006 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9007 # If the export-symbols file already is a .def file (1st line
9008 # is EXPORTS), use it as is; otherwise, prepend...
9009 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9010 cp $export_symbols $output_objdir/$soname.def;
9012 echo EXPORTS > $output_objdir/$soname.def;
9013 cat $export_symbols >> $output_objdir/$soname.def;
9015 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9023 hardcode_shlibpath_var
=no
9024 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9025 export_dynamic_flag_spec
='${wl}-E'
9026 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9027 # Instead, shared libraries are loaded at an image base (0x10000000 by
9028 # default) and relocated if they conflict, which is a slow very memory
9029 # consuming and fragmenting process. To avoid this, we pick a random,
9030 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9031 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9032 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9033 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'
9036 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9038 if test "$host_os" = linux-dietlibc
; then
9039 case $cc_basename in
9040 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9043 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9044 && test "$tmp_diet" = no
9047 tmp_sharedflag
='-shared'
9048 case $cc_basename,$host_cpu in
9049 pgcc
*) # Portland Group C compiler
9050 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9051 tmp_addflag
=' $pic_flag'
9053 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9054 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9055 tmp_addflag
=' $pic_flag -Mnomain' ;;
9056 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9057 tmp_addflag
=' -i_dynamic' ;;
9058 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9059 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9060 ifc
* | ifort
*) # Intel Fortran compiler
9061 tmp_addflag
=' -nofor_main' ;;
9062 lf95
*) # Lahey Fortran 8.1
9063 whole_archive_flag_spec
=
9064 tmp_sharedflag
='--shared' ;;
9065 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9066 tmp_sharedflag
='-qmkshrobj'
9069 case `$CC -V 2>&1 | sed 5q` in
9070 *Sun\ C
*) # Sun C 5.9
9071 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9072 compiler_needs_object
=yes
9073 tmp_sharedflag
='-G' ;;
9074 *Sun\ F
*) # Sun Fortran 8.3
9075 tmp_sharedflag
='-G' ;;
9077 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9079 if test "x$supports_anon_versioning" = xyes
; then
9080 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9081 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9082 echo "local: *; };" >> $output_objdir/$libname.ver~
9083 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9086 case $cc_basename in
9088 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9089 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9090 hardcode_libdir_flag_spec
=
9091 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9092 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9093 if test "x$supports_anon_versioning" = xyes
; then
9094 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9095 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9096 echo "local: *; };" >> $output_objdir/$libname.ver~
9097 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9107 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9108 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9111 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9112 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9117 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9121 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9122 *** create shared libraries on Solaris systems. Therefore, libtool
9123 *** is disabling shared libraries support. We urge you to upgrade GNU
9124 *** binutils to release 2.9.1 or newer. Another option is to modify
9125 *** your PATH or compiler configuration so that the native linker is
9126 *** used, and then restart.
9129 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9130 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9131 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9137 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9138 case `$LD -v 2>&1` in
9139 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9143 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9144 *** reliably create shared libraries on SCO systems. Therefore, libtool
9145 *** is disabling shared libraries support. We urge you to upgrade GNU
9146 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9147 *** your PATH or compiler configuration so that the native linker is
9148 *** used, and then restart.
9153 # For security reasons, it is highly recommended that you always
9154 # use absolute paths for naming shared libraries, and exclude the
9155 # DT_RUNPATH tag from executables and libraries. But doing so
9156 # requires that you compile everything twice, which is a pain.
9157 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9158 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9159 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9160 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9169 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9172 hardcode_shlibpath_var
=no
9176 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9177 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9185 if test "$ld_shlibs" = no
; then
9187 hardcode_libdir_flag_spec
=
9188 export_dynamic_flag_spec
=
9189 whole_archive_flag_spec
=
9192 # PORTME fill in a description of your system's linker (not GNU ld)
9195 allow_undefined_flag
=unsupported
9196 always_export_symbols
=yes
9197 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'
9198 # Note: this linker hardcodes the directories in LIBPATH if there
9199 # are no directories specified by -L.
9200 hardcode_minus_L
=yes
9201 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9202 # Neither direct hardcoding nor static linking is supported with a
9204 hardcode_direct
=unsupported
9209 if test "$host_cpu" = ia64
; then
9210 # On IA64, the linker does run time linking by default, so we don't
9211 # have to do anything special.
9212 aix_use_runtimelinking
=no
9213 exp_sym_flag
='-Bexport'
9216 # If we're using GNU nm, then we don't want the "-C" option.
9217 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9218 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9219 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9221 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'
9223 aix_use_runtimelinking
=no
9225 # Test if we are trying to use run time linking or normal
9226 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9227 # need to do runtime linking.
9228 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9229 for ld_flag
in $LDFLAGS; do
9230 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9231 aix_use_runtimelinking
=yes
9238 exp_sym_flag
='-bexport'
9239 no_entry_flag
='-bnoentry'
9242 # When large executables or shared objects are built, AIX ld can
9243 # have problems creating the table of contents. If linking a library
9244 # or program results in "error TOC overflow" add -mminimal-toc to
9245 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9246 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9250 hardcode_direct_absolute
=yes
9251 hardcode_libdir_separator
=':'
9252 link_all_deplibs
=yes
9253 file_list_spec
='${wl}-f,'
9255 if test "$GCC" = yes; then
9256 case $host_os in aix4.
[012]|aix4.
[012].
*)
9257 # We only want to do this on AIX 4.2 and lower, the check
9258 # below for broken collect2 doesn't work under 4.3+
9259 collect2name
=`${CC} -print-prog-name=collect2`
9260 if test -f "$collect2name" &&
9261 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9263 # We have reworked collect2
9266 # We have old collect2
9267 hardcode_direct
=unsupported
9268 # It fails to find uninstalled libraries when the uninstalled
9269 # path is not listed in the libpath. Setting hardcode_minus_L
9270 # to unsupported forces relinking
9271 hardcode_minus_L
=yes
9272 hardcode_libdir_flag_spec
='-L$libdir'
9273 hardcode_libdir_separator
=
9277 shared_flag
='-shared'
9278 if test "$aix_use_runtimelinking" = yes; then
9279 shared_flag
="$shared_flag "'${wl}-G'
9283 if test "$host_cpu" = ia64
; then
9284 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9285 # chokes on -Wl,-G. The following line is correct:
9288 if test "$aix_use_runtimelinking" = yes; then
9289 shared_flag
='${wl}-G'
9291 shared_flag
='${wl}-bM:SRE'
9296 export_dynamic_flag_spec
='${wl}-bexpall'
9297 # It seems that -bexpall does not export symbols beginning with
9298 # underscore (_), so it is better to generate a list of symbols to export.
9299 always_export_symbols
=yes
9300 if test "$aix_use_runtimelinking" = yes; then
9301 # Warning - without using the other runtime loading flags (-brtl),
9302 # -berok will link without error, but may produce a broken library.
9303 allow_undefined_flag
='-berok'
9304 # Determine the default libpath from the value encoded in an
9306 if test x
$gcc_no_link = xyes
; then
9307 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9320 if ac_fn_c_try_link
"$LINENO"; then :
9322 lt_aix_libpath_sed
='
9323 /Import File Strings/,/^$/ {
9329 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9330 # Check for a 64-bit object if we didn't find anything.
9331 if test -z "$aix_libpath"; then
9332 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9335 rm -f core conftest.err conftest.
$ac_objext \
9336 conftest
$ac_exeext conftest.
$ac_ext
9337 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9339 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9340 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9342 if test "$host_cpu" = ia64
; then
9343 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9344 allow_undefined_flag
="-z nodefs"
9345 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"
9347 # Determine the default libpath from the value encoded in an
9349 if test x
$gcc_no_link = xyes
; then
9350 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9363 if ac_fn_c_try_link
"$LINENO"; then :
9365 lt_aix_libpath_sed
='
9366 /Import File Strings/,/^$/ {
9372 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9373 # Check for a 64-bit object if we didn't find anything.
9374 if test -z "$aix_libpath"; then
9375 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9378 rm -f core conftest.err conftest.
$ac_objext \
9379 conftest
$ac_exeext conftest.
$ac_ext
9380 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9382 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9383 # Warning - without using the other run time loading flags,
9384 # -berok will link without error, but may produce a broken library.
9385 no_undefined_flag
=' ${wl}-bernotok'
9386 allow_undefined_flag
=' ${wl}-berok'
9387 # Exported symbols can be pulled into shared objects from archives
9388 whole_archive_flag_spec
='$convenience'
9389 archive_cmds_need_lc
=yes
9390 # This is similar to how AIX traditionally builds its shared libraries.
9391 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'
9399 # see comment about AmigaOS4 .so support
9400 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 archive_expsym_cmds
=''
9404 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)'
9405 hardcode_libdir_flag_spec
='-L$libdir'
9406 hardcode_minus_L
=yes
9412 export_dynamic_flag_spec
=-rdynamic
9415 cygwin
* | mingw
* | pw32
* | cegcc
*)
9416 # When not using gcc, we currently assume that we are using
9417 # Microsoft Visual C++.
9418 # hardcode_libdir_flag_spec is actually meaningless, as there is
9419 # no search path for DLLs.
9420 hardcode_libdir_flag_spec
=' '
9421 allow_undefined_flag
=unsupported
9422 # Tell ltmain to make .lib files, not .a files.
9424 # Tell ltmain to make .dll files, not .so files.
9426 # FIXME: Setting linknames here is a bad hack.
9427 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9428 # The linker will automatically build a .lib file if we build a DLL.
9429 old_archive_from_new_cmds
='true'
9430 # FIXME: Should let the user specify the lib program.
9431 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9432 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9433 enable_shared_with_static_runtimes
=yes
9436 darwin
* | rhapsody
*)
9439 archive_cmds_need_lc
=no
9441 hardcode_automatic
=yes
9442 hardcode_shlibpath_var
=unsupported
9443 whole_archive_flag_spec
=''
9444 link_all_deplibs
=yes
9445 allow_undefined_flag
="$_lt_dar_allow_undefined"
9446 case $cc_basename in
9447 ifort
*) _lt_dar_can_shared
=yes ;;
9448 *) _lt_dar_can_shared
=$GCC ;;
9450 if test "$_lt_dar_can_shared" = "yes"; then
9451 output_verbose_link_cmd
=echo
9452 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9453 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9454 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}"
9455 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}"
9464 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9465 hardcode_libdir_flag_spec
='-L$libdir'
9466 hardcode_shlibpath_var
=no
9473 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9474 # support. Future versions do this automatically, but an explicit c++rt0.o
9475 # does not break anything, and helps significantly (at the cost of a little
9478 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9479 hardcode_libdir_flag_spec
='-R$libdir'
9481 hardcode_shlibpath_var
=no
9484 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9486 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9488 hardcode_minus_L
=yes
9489 hardcode_shlibpath_var
=no
9492 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9493 freebsd
* | dragonfly
*)
9494 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9495 hardcode_libdir_flag_spec
='-R$libdir'
9497 hardcode_shlibpath_var
=no
9501 if test "$GCC" = yes; then
9502 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'
9504 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'
9506 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9507 hardcode_libdir_separator
=:
9510 # hardcode_minus_L: Not really in the search PATH,
9511 # but as the default location of the library.
9512 hardcode_minus_L
=yes
9513 export_dynamic_flag_spec
='${wl}-E'
9517 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9518 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9520 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9522 if test "$with_gnu_ld" = no
; then
9523 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9524 hardcode_libdir_flag_spec_ld
='+b $libdir'
9525 hardcode_libdir_separator
=:
9527 hardcode_direct_absolute
=yes
9528 export_dynamic_flag_spec
='${wl}-E'
9529 # hardcode_minus_L: Not really in the search PATH,
9530 # but as the default location of the library.
9531 hardcode_minus_L
=yes
9536 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9539 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9542 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9545 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9551 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9561 if test "$with_gnu_ld" = no
; then
9562 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9563 hardcode_libdir_separator
=:
9568 hardcode_shlibpath_var
=no
9572 hardcode_direct_absolute
=yes
9573 export_dynamic_flag_spec
='${wl}-E'
9575 # hardcode_minus_L: Not really in the search PATH,
9576 # but as the default location of the library.
9577 hardcode_minus_L
=yes
9583 irix5
* | irix6
* | nonstopux
*)
9584 if test "$GCC" = yes; then
9585 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9586 # Try to use the -exported_symbol ld option, if it does not
9587 # work, assume that -exports_file does not work either and
9588 # implicitly export all symbols.
9589 save_LDFLAGS
="$LDFLAGS"
9590 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9591 if test x
$gcc_no_link = xyes
; then
9592 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9598 if ac_fn_c_try_link
"$LINENO"; then :
9599 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9602 rm -f core conftest.err conftest.
$ac_objext \
9603 conftest
$ac_exeext conftest.
$ac_ext
9604 LDFLAGS
="$save_LDFLAGS"
9606 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9607 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9609 archive_cmds_need_lc
='no'
9610 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9611 hardcode_libdir_separator
=:
9613 link_all_deplibs
=yes
9617 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9618 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9620 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9622 hardcode_libdir_flag_spec
='-R$libdir'
9624 hardcode_shlibpath_var
=no
9628 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9630 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9631 hardcode_libdir_separator
=:
9632 hardcode_shlibpath_var
=no
9639 if test -f /usr
/libexec
/ld.so
; then
9641 hardcode_shlibpath_var
=no
9642 hardcode_direct_absolute
=yes
9643 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9644 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9646 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9647 export_dynamic_flag_spec
='${wl}-E'
9650 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9651 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9652 hardcode_libdir_flag_spec
='-R$libdir'
9655 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9656 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9666 hardcode_libdir_flag_spec
='-L$libdir'
9667 hardcode_minus_L
=yes
9668 allow_undefined_flag
=unsupported
9669 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'
9670 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9674 if test "$GCC" = yes; then
9675 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9676 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9678 allow_undefined_flag
=' -expect_unresolved \*'
9679 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9681 archive_cmds_need_lc
='no'
9682 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9683 hardcode_libdir_separator
=:
9686 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9687 if test "$GCC" = yes; then
9688 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9689 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9690 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9692 allow_undefined_flag
=' -expect_unresolved \*'
9693 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9694 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~
9695 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9697 # Both c and cxx compiler support -rpath directly
9698 hardcode_libdir_flag_spec
='-rpath $libdir'
9700 archive_cmds_need_lc
='no'
9701 hardcode_libdir_separator
=:
9705 no_undefined_flag
=' -z defs'
9706 if test "$GCC" = yes; then
9708 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9709 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9710 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9712 case `$CC -V 2>&1` in
9715 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9716 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9717 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9721 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9722 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9723 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9727 hardcode_libdir_flag_spec
='-R$libdir'
9728 hardcode_shlibpath_var
=no
9730 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9732 # The compiler driver will combine and reorder linker options,
9733 # but understands `-z linker_flag'. GCC discards it without `$wl',
9734 # but is careful enough not to reorder.
9735 # Supported since Solaris 2.6 (maybe 2.5.1?)
9736 if test "$GCC" = yes; then
9737 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9739 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9743 link_all_deplibs
=yes
9747 if test "x$host_vendor" = xsequent
; then
9748 # Use $CC to link under sequent, because it throws in some extra .o
9749 # files that make .init and .fini sections work.
9750 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9752 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9754 hardcode_libdir_flag_spec
='-L$libdir'
9756 hardcode_minus_L
=yes
9757 hardcode_shlibpath_var
=no
9761 case $host_vendor in
9763 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9764 hardcode_direct
=yes # is this really true???
9767 ## LD is ld it makes a PLAMLIB
9768 ## CC just makes a GrossModule.
9769 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9770 reload_cmds
='$CC -r -o $output$reload_objs'
9774 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9775 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9778 runpath_var
='LD_RUN_PATH'
9779 hardcode_shlibpath_var
=no
9783 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9784 hardcode_shlibpath_var
=no
9785 export_dynamic_flag_spec
='-Bexport'
9789 if test -d /usr
/nec
; then
9790 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9791 hardcode_shlibpath_var
=no
9792 runpath_var
=LD_RUN_PATH
9793 hardcode_runpath_var
=yes
9798 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9799 no_undefined_flag
='${wl}-z,text'
9800 archive_cmds_need_lc
=no
9801 hardcode_shlibpath_var
=no
9802 runpath_var
='LD_RUN_PATH'
9804 if test "$GCC" = yes; then
9805 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9809 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9813 sysv5
* | sco3.2v5
* | sco5v6
*)
9814 # Note: We can NOT use -z defs as we might desire, because we do not
9815 # link with -lc, and that would cause any symbols used from libc to
9816 # always be unresolved, which means just about no library would
9817 # ever link correctly. If we're not using GNU ld we use -z text
9818 # though, which does catch some bad symbols but isn't as heavy-handed
9820 no_undefined_flag
='${wl}-z,text'
9821 allow_undefined_flag
='${wl}-z,nodefs'
9822 archive_cmds_need_lc
=no
9823 hardcode_shlibpath_var
=no
9824 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9825 hardcode_libdir_separator
=':'
9826 link_all_deplibs
=yes
9827 export_dynamic_flag_spec
='${wl}-Bexport'
9828 runpath_var
='LD_RUN_PATH'
9830 if test "$GCC" = yes; then
9831 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9834 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9835 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9840 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9841 hardcode_libdir_flag_spec
='-L$libdir'
9842 hardcode_shlibpath_var
=no
9850 if test x
$host_vendor = xsni
; then
9852 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9853 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9860 $as_echo "$ld_shlibs" >&6; }
9861 test "$ld_shlibs" = no
&& can_build_shared
=no
9863 with_gnu_ld
=$with_gnu_ld
9880 # Do we need to explicitly link libc?
9882 case "x$archive_cmds_need_lc" in
9884 # Assume -lc should be added
9885 archive_cmds_need_lc
=yes
9887 if test "$enable_shared" = yes && test "$GCC" = yes; then
9888 case $archive_cmds in
9890 # FIXME: we may have to deal with multi-command sequences.
9893 # Test whether the compiler implicitly links with -lc since on some
9894 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9895 # to ld, don't add -lc before -lgcc.
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9897 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9898 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9899 $as_echo_n "(cached) " >&6
9902 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9904 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9905 (eval $ac_compile) 2>&5
9907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9908 test $ac_status = 0; } 2>conftest.err
; then
9911 libobjs
=conftest.
$ac_objext
9913 wl
=$lt_prog_compiler_wl
9914 pic_flag
=$lt_prog_compiler_pic
9920 lt_save_allow_undefined_flag
=$allow_undefined_flag
9921 allow_undefined_flag
=
9922 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9923 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9926 test $ac_status = 0; }
9928 lt_cv_archive_cmds_need_lc
=no
9930 lt_cv_archive_cmds_need_lc
=yes
9932 allow_undefined_flag
=$lt_save_allow_undefined_flag
9934 cat conftest.err
1>&5
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9940 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9941 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10105 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10107 if test "$GCC" = yes; then
10109 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10110 *) lt_awk_arg
="/^libraries:/" ;;
10112 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10113 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10114 # if the path contains ";" then we assume it to be the separator
10115 # otherwise default to the standard path separator (i.e. ":") - it is
10116 # assumed that no part of a normal pathname contains ";" but that should
10117 # okay in the real world where ";" in dirpaths is itself problematic.
10118 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10120 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10122 # Ok, now we have the path, separated by spaces, we can step through it
10123 # and add multilib dir if necessary.
10124 lt_tmp_lt_search_path_spec
=
10125 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10126 for lt_sys_path
in $lt_search_path_spec; do
10127 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10128 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10130 test -d "$lt_sys_path" && \
10131 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10134 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10135 BEGIN {RS=" "; FS="/|\n";} {
10138 for (lt_i = NF; lt_i > 0; lt_i--) {
10139 if ($lt_i != "" && $lt_i != ".") {
10140 if ($lt_i == "..") {
10143 if (lt_count == 0) {
10144 lt_foo="/" $lt_i lt_foo;
10151 if (lt_foo != "") { lt_freq[lt_foo]++; }
10152 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10154 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10156 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10158 library_names_spec
=
10159 libname_spec
='lib$name'
10163 postuninstall_cmds
=
10167 shlibpath_overrides_runpath
=unknown
10169 dynamic_linker
="$host_os ld.so"
10170 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10171 need_lib_prefix
=unknown
10172 hardcode_into_libs
=no
10174 # when you set need_version to no, make sure it does not cause -set_version
10175 # flags to be left without arguments
10176 need_version
=unknown
10181 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10182 shlibpath_var
=LIBPATH
10184 # AIX 3 has no versioning support, so we append a major version to the name.
10185 soname_spec
='${libname}${release}${shared_ext}$major'
10192 hardcode_into_libs
=yes
10193 if test "$host_cpu" = ia64
; then
10194 # AIX 5 supports IA64
10195 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10196 shlibpath_var
=LD_LIBRARY_PATH
10198 # With GCC up to 2.95.x, collect2 would create an import file
10199 # for dependence libraries. The import file would start with
10200 # the line `#! .'. This would cause the generated library to
10201 # depend on `.', always an invalid library. This was fixed in
10202 # development snapshots of GCC prior to 3.0.
10204 aix4 | aix4.
[01] | aix4.
[01].
*)
10205 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10207 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10210 can_build_shared
=no
10214 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10215 # soname into executable. Probably we can add versioning support to
10216 # collect2, so additional links can be useful in future.
10217 if test "$aix_use_runtimelinking" = yes; then
10218 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10219 # instead of lib<name>.a to let people know that these are not
10220 # typical AIX shared libraries.
10221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10223 # We preserve .a as extension for shared libraries through AIX4.2
10224 # and later when we are not doing run time linking.
10225 library_names_spec
='${libname}${release}.a $libname.a'
10226 soname_spec
='${libname}${release}${shared_ext}$major'
10228 shlibpath_var
=LIBPATH
10235 # Since July 2007 AmigaOS4 officially supports .so libraries.
10236 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10240 library_names_spec
='$libname.ixlibrary $libname.a'
10241 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10242 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10248 library_names_spec
='${libname}${shared_ext}'
10249 dynamic_linker
="$host_os ld.so"
10250 shlibpath_var
=LIBRARY_PATH
10256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10257 soname_spec
='${libname}${release}${shared_ext}$major'
10258 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10259 shlibpath_var
=LD_LIBRARY_PATH
10260 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10261 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10262 # the default ld.so.conf also contains /usr/contrib/lib and
10263 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10264 # libtool to hard-code these into programs
10267 cygwin
* | mingw
* | pw32
* | cegcc
*)
10268 version_type
=windows
10273 case $GCC,$host_os in
10274 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10275 library_names_spec
='$libname.dll.a'
10276 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10277 postinstall_cmds
='base_file=`basename \${file}`~
10278 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10279 dldir=$destdir/`dirname \$dlpath`~
10280 test -d \$dldir || mkdir -p \$dldir~
10281 $install_prog $dir/$dlname \$dldir/$dlname~
10282 chmod a+x \$dldir/$dlname~
10283 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10284 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10286 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10287 dlpath=$dir/\$dldll~
10289 shlibpath_overrides_runpath
=yes
10293 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10294 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10295 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10298 # MinGW DLLs use traditional 'lib' prefix
10299 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10300 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10301 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10302 # It is most probably a Windows format PATH printed by
10303 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10304 # path with ; separators, and with drive letters. We can handle the
10305 # drive letters (cygwin fileutils understands them), so leave them,
10306 # especially as we might pass files found there to a mingw objdump,
10307 # which wouldn't understand a cygwinified path. Ahh.
10308 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10310 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10314 # pw32 DLLs use 'pw' prefix rather than 'lib'
10315 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10321 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10324 dynamic_linker
='Win32 ld.exe'
10325 # FIXME: first we should search . and the directory the executable is in
10329 darwin
* | rhapsody
*)
10330 dynamic_linker
="$host_os dyld"
10331 version_type
=darwin
10334 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10335 soname_spec
='${libname}${release}${major}$shared_ext'
10336 shlibpath_overrides_runpath
=yes
10337 shlibpath_var
=DYLD_LIBRARY_PATH
10338 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10340 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10341 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10349 soname_spec
='${libname}${release}${shared_ext}$major'
10350 shlibpath_var
=LD_LIBRARY_PATH
10357 freebsd
* | dragonfly
*)
10358 # DragonFly does not have aout. When/if they implement a new
10359 # versioning mechanism, adjust this.
10360 if test -x /usr
/bin
/objformat
; then
10361 objformat
=`/usr/bin/objformat`
10364 freebsd
[123]*) objformat
=aout
;;
10365 *) objformat
=elf
;;
10368 version_type
=freebsd-
$objformat
10369 case $version_type in
10371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10376 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10380 shlibpath_var
=LD_LIBRARY_PATH
10383 shlibpath_overrides_runpath
=yes
10385 freebsd3.
[01]* | freebsdelf3.
[01]*)
10386 shlibpath_overrides_runpath
=yes
10387 hardcode_into_libs
=yes
10389 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10390 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10391 shlibpath_overrides_runpath
=no
10392 hardcode_into_libs
=yes
10394 *) # from 4.6 on, and DragonFly
10395 shlibpath_overrides_runpath
=yes
10396 hardcode_into_libs
=yes
10405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10406 soname_spec
='${libname}${release}${shared_ext}$major'
10407 shlibpath_var
=LD_LIBRARY_PATH
10408 hardcode_into_libs
=yes
10411 hpux9
* | hpux10
* | hpux11
*)
10412 # Give a soname corresponding to the major version so that dld.sl refuses to
10413 # link against other versions.
10420 hardcode_into_libs
=yes
10421 dynamic_linker
="$host_os dld.so"
10422 shlibpath_var
=LD_LIBRARY_PATH
10423 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10425 soname_spec
='${libname}${release}${shared_ext}$major'
10426 if test "X$HPUX_IA64_MODE" = X32
; then
10427 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10429 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10431 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10435 hardcode_into_libs
=yes
10436 dynamic_linker
="$host_os dld.sl"
10437 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10438 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10440 soname_spec
='${libname}${release}${shared_ext}$major'
10441 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10442 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10446 dynamic_linker
="$host_os dld.sl"
10447 shlibpath_var
=SHLIB_PATH
10448 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450 soname_spec
='${libname}${release}${shared_ext}$major'
10453 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10454 postinstall_cmds
='chmod 555 $lib'
10461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10462 soname_spec
='${libname}${release}${shared_ext}$major'
10463 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10464 shlibpath_var
=LD_LIBRARY_PATH
10465 shlibpath_overrides_runpath
=no
10466 hardcode_into_libs
=yes
10469 irix5
* | irix6
* | nonstopux
*)
10471 nonstopux
*) version_type
=nonstopux
;;
10473 if test "$lt_cv_prog_gnu_ld" = yes; then
10481 soname_spec
='${libname}${release}${shared_ext}$major'
10482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10484 irix5
* | nonstopux
*)
10485 libsuff
= shlibsuff
=
10488 case $LD in # libtool.m4 will add one of these switches to LD
10489 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10490 libsuff
= shlibsuff
= libmagic
=32-bit;;
10491 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10492 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10493 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10494 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10495 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10499 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10500 shlibpath_overrides_runpath
=no
10501 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10502 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10503 hardcode_into_libs
=yes
10506 # No shared lib support for Linux oldld, aout, or coff.
10507 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10511 # This must be Linux ELF.
10512 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10517 soname_spec
='${libname}${release}${shared_ext}$major'
10518 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10519 shlibpath_var
=LD_LIBRARY_PATH
10520 shlibpath_overrides_runpath
=no
10522 # Some binutils ld are patched to set DT_RUNPATH
10523 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10524 $as_echo_n "(cached) " >&6
10526 lt_cv_shlibpath_overrides_runpath
=no
10527 save_LDFLAGS
=$LDFLAGS
10528 save_libdir
=$libdir
10529 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10530 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10531 if test x
$gcc_no_link = xyes
; then
10532 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10545 if ac_fn_c_try_link
"$LINENO"; then :
10546 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10547 lt_cv_shlibpath_overrides_runpath
=yes
10550 rm -f core conftest.err conftest.
$ac_objext \
10551 conftest
$ac_exeext conftest.
$ac_ext
10552 LDFLAGS
=$save_LDFLAGS
10553 libdir
=$save_libdir
10557 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10559 # This implies no fast_install, which is unacceptable.
10560 # Some rework will be needed to allow for fast_install
10561 # before this can be enabled.
10562 hardcode_into_libs
=yes
10564 # Append ld.so.conf contents to the search path
10565 if test -f /etc
/ld.so.conf
; then
10566 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;/^$/d' | tr '\n' ' '`
10567 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10570 # We used to test for /lib/ld.so.1 and disable shared libraries on
10571 # powerpc, because MkLinux only supported shared libraries with the
10572 # GNU dynamic linker. Since this was broken with cross compilers,
10573 # most powerpc-linux boxes support dynamic linking these days and
10574 # people can always --disable-shared, the test was removed, and we
10575 # assume the GNU/Linux dynamic linker is in use.
10576 dynamic_linker
='GNU/Linux ld.so'
10583 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10585 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10586 dynamic_linker
='NetBSD (a.out) ld.so'
10588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10589 soname_spec
='${libname}${release}${shared_ext}$major'
10590 dynamic_linker
='NetBSD ld.elf_so'
10592 shlibpath_var
=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath
=yes
10594 hardcode_into_libs
=yes
10599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 shlibpath_var
=LD_LIBRARY_PATH
10601 shlibpath_overrides_runpath
=yes
10608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609 soname_spec
='${libname}${release}${shared_ext}$major'
10610 shlibpath_var
=LD_LIBRARY_PATH
10611 shlibpath_overrides_runpath
=no
10612 hardcode_into_libs
=yes
10613 dynamic_linker
='ldqnx.so'
10618 sys_lib_dlsearch_path_spec
="/usr/lib"
10620 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10622 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10623 *) need_version
=no
;;
10625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10626 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10627 shlibpath_var
=LD_LIBRARY_PATH
10628 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10630 openbsd2.
[89] | openbsd2.
[89].
*)
10631 shlibpath_overrides_runpath
=no
10634 shlibpath_overrides_runpath
=yes
10638 shlibpath_overrides_runpath
=yes
10643 libname_spec
='$name'
10646 library_names_spec
='$libname${shared_ext} $libname.a'
10647 dynamic_linker
='OS/2 ld.exe'
10648 shlibpath_var
=LIBPATH
10651 osf3
* | osf4
* | osf5
*)
10655 soname_spec
='${libname}${release}${shared_ext}$major'
10656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657 shlibpath_var
=LD_LIBRARY_PATH
10658 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10659 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10671 soname_spec
='${libname}${release}${shared_ext}$major'
10672 shlibpath_var
=LD_LIBRARY_PATH
10673 shlibpath_overrides_runpath
=yes
10674 hardcode_into_libs
=yes
10675 # ldd complains unless libraries are executable
10676 postinstall_cmds
='chmod +x $lib'
10681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10682 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10683 shlibpath_var
=LD_LIBRARY_PATH
10684 shlibpath_overrides_runpath
=yes
10685 if test "$with_gnu_ld" = yes; then
10693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694 soname_spec
='${libname}${release}${shared_ext}$major'
10695 shlibpath_var
=LD_LIBRARY_PATH
10696 case $host_vendor in
10698 shlibpath_overrides_runpath
=no
10700 runpath_var
=LD_RUN_PATH
10708 shlibpath_overrides_runpath
=no
10709 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10715 if test -d /usr
/nec
;then
10717 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10718 soname_spec
='$libname${shared_ext}.$major'
10719 shlibpath_var
=LD_LIBRARY_PATH
10723 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10724 version_type
=freebsd-elf
10727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10728 soname_spec
='${libname}${release}${shared_ext}$major'
10729 shlibpath_var
=LD_LIBRARY_PATH
10730 shlibpath_overrides_runpath
=yes
10731 hardcode_into_libs
=yes
10732 if test "$with_gnu_ld" = yes; then
10733 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10735 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10738 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10742 sys_lib_dlsearch_path_spec
='/usr/lib'
10746 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751 shlibpath_var
=LD_LIBRARY_PATH
10752 shlibpath_overrides_runpath
=no
10753 hardcode_into_libs
=yes
10758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10759 soname_spec
='${libname}${release}${shared_ext}$major'
10760 shlibpath_var
=LD_LIBRARY_PATH
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10768 $as_echo "$dynamic_linker" >&6; }
10769 test "$dynamic_linker" = no
&& can_build_shared
=no
10771 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10772 if test "$GCC" = yes; then
10773 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10776 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10777 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10779 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10780 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10870 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10872 if test -n "$hardcode_libdir_flag_spec" ||
10873 test -n "$runpath_var" ||
10874 test "X$hardcode_automatic" = "Xyes" ; then
10876 # We can hardcode non-existent directories.
10877 if test "$hardcode_direct" != no
&&
10878 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10879 # have to relink, otherwise we might link with an installed library
10880 # when we should be linking with a yet-to-be-installed one
10881 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10882 test "$hardcode_minus_L" != no
; then
10883 # Linking always hardcodes the temporary library directory.
10884 hardcode_action
=relink
10886 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10887 hardcode_action
=immediate
10890 # We cannot hardcode anything, or else we can only hardcode existing
10892 hardcode_action
=unsupported
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10895 $as_echo "$hardcode_action" >&6; }
10897 if test "$hardcode_action" = relink ||
10898 test "$inherit_rpath" = yes; then
10899 # Fast installation is not supported
10900 enable_fast_install
=no
10901 elif test "$shlibpath_overrides_runpath" = yes ||
10902 test "$enable_shared" = no
; then
10903 # Fast installation is not necessary
10904 enable_fast_install
=needless
10912 if test "x$enable_dlopen" != xyes
; then
10913 enable_dlopen
=unknown
10914 enable_dlopen_self
=unknown
10915 enable_dlopen_self_static
=unknown
10922 lt_cv_dlopen
="load_add_on"
10924 lt_cv_dlopen_self
=yes
10927 mingw
* | pw32
* | cegcc
*)
10928 lt_cv_dlopen
="LoadLibrary"
10933 lt_cv_dlopen
="dlopen"
10938 # if libdl is installed we need to link against it
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10940 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10941 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10942 $as_echo_n "(cached) " >&6
10944 ac_check_lib_save_LIBS
=$LIBS
10946 if test x
$gcc_no_link = xyes
; then
10947 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10952 /* Override any GCC internal prototype to avoid an error.
10953 Use char because int might match the return type of a GCC
10954 builtin and then its argument prototype would still apply. */
10967 if ac_fn_c_try_link
"$LINENO"; then :
10968 ac_cv_lib_dl_dlopen
=yes
10970 ac_cv_lib_dl_dlopen
=no
10972 rm -f core conftest.err conftest.
$ac_objext \
10973 conftest
$ac_exeext conftest.
$ac_ext
10974 LIBS
=$ac_check_lib_save_LIBS
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10977 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10978 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10979 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10982 lt_cv_dlopen
="dyld"
10984 lt_cv_dlopen_self
=yes
10991 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10992 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10993 lt_cv_dlopen
="shl_load"
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10996 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10997 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10998 $as_echo_n "(cached) " >&6
11000 ac_check_lib_save_LIBS
=$LIBS
11002 if test x
$gcc_no_link = xyes
; then
11003 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11018 return shl_load ();
11023 if ac_fn_c_try_link
"$LINENO"; then :
11024 ac_cv_lib_dld_shl_load
=yes
11026 ac_cv_lib_dld_shl_load
=no
11028 rm -f core conftest.err conftest.
$ac_objext \
11029 conftest
$ac_exeext conftest.
$ac_ext
11030 LIBS
=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11033 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11034 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11035 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11037 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11038 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11039 lt_cv_dlopen
="dlopen"
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11042 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11043 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11044 $as_echo_n "(cached) " >&6
11046 ac_check_lib_save_LIBS
=$LIBS
11048 if test x
$gcc_no_link = xyes
; then
11049 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11054 /* Override any GCC internal prototype to avoid an error.
11055 Use char because int might match the return type of a GCC
11056 builtin and then its argument prototype would still apply. */
11069 if ac_fn_c_try_link
"$LINENO"; then :
11070 ac_cv_lib_dl_dlopen
=yes
11072 ac_cv_lib_dl_dlopen
=no
11074 rm -f core conftest.err conftest.
$ac_objext \
11075 conftest
$ac_exeext conftest.
$ac_ext
11076 LIBS
=$ac_check_lib_save_LIBS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11079 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11080 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11081 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11084 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11085 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11086 $as_echo_n "(cached) " >&6
11088 ac_check_lib_save_LIBS
=$LIBS
11089 LIBS
="-lsvld $LIBS"
11090 if test x
$gcc_no_link = xyes
; then
11091 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11096 /* Override any GCC internal prototype to avoid an error.
11097 Use char because int might match the return type of a GCC
11098 builtin and then its argument prototype would still apply. */
11111 if ac_fn_c_try_link
"$LINENO"; then :
11112 ac_cv_lib_svld_dlopen
=yes
11114 ac_cv_lib_svld_dlopen
=no
11116 rm -f core conftest.err conftest.
$ac_objext \
11117 conftest
$ac_exeext conftest.
$ac_ext
11118 LIBS
=$ac_check_lib_save_LIBS
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11121 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11122 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11123 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11126 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11127 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11128 $as_echo_n "(cached) " >&6
11130 ac_check_lib_save_LIBS
=$LIBS
11132 if test x
$gcc_no_link = xyes
; then
11133 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11148 return dld_link ();
11153 if ac_fn_c_try_link
"$LINENO"; then :
11154 ac_cv_lib_dld_dld_link
=yes
11156 ac_cv_lib_dld_dld_link
=no
11158 rm -f core conftest.err conftest.
$ac_objext \
11159 conftest
$ac_exeext conftest.
$ac_ext
11160 LIBS
=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11163 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11164 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11165 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11186 if test "x$lt_cv_dlopen" != xno
; then
11192 case $lt_cv_dlopen in
11194 save_CPPFLAGS
="$CPPFLAGS"
11195 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11197 save_LDFLAGS
="$LDFLAGS"
11198 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11201 LIBS
="$lt_cv_dlopen_libs $LIBS"
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11204 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11205 if test "${lt_cv_dlopen_self+set}" = set; then :
11206 $as_echo_n "(cached) " >&6
11208 if test "$cross_compiling" = yes; then :
11209 lt_cv_dlopen_self
=cross
11211 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11212 lt_status
=$lt_dlunknown
11213 cat > conftest.
$ac_ext <<_LT_EOF
11214 #line 11214 "configure"
11215 #include "confdefs.h"
11224 # define LT_DLGLOBAL RTLD_GLOBAL
11227 # define LT_DLGLOBAL DL_GLOBAL
11229 # define LT_DLGLOBAL 0
11233 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11234 find out it does not work in some platform. */
11235 #ifndef LT_DLLAZY_OR_NOW
11237 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11240 # define LT_DLLAZY_OR_NOW DL_LAZY
11243 # define LT_DLLAZY_OR_NOW RTLD_NOW
11246 # define LT_DLLAZY_OR_NOW DL_NOW
11248 # define LT_DLLAZY_OR_NOW 0
11255 void fnord() { int i=42;}
11258 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11259 int status = $lt_dlunknown;
11263 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11264 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11265 /* dlclose (self); */
11273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11274 (eval $ac_link) 2>&5
11276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11277 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11278 (.
/conftest
; exit; ) >&5 2>/dev
/null
11280 case x
$lt_status in
11281 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11282 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11283 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11286 # compilation failed
11287 lt_cv_dlopen_self
=no
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11295 $as_echo "$lt_cv_dlopen_self" >&6; }
11297 if test "x$lt_cv_dlopen_self" = xyes
; then
11298 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11300 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11301 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11302 $as_echo_n "(cached) " >&6
11304 if test "$cross_compiling" = yes; then :
11305 lt_cv_dlopen_self_static
=cross
11307 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11308 lt_status
=$lt_dlunknown
11309 cat > conftest.
$ac_ext <<_LT_EOF
11310 #line 11310 "configure"
11311 #include "confdefs.h"
11320 # define LT_DLGLOBAL RTLD_GLOBAL
11323 # define LT_DLGLOBAL DL_GLOBAL
11325 # define LT_DLGLOBAL 0
11329 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11330 find out it does not work in some platform. */
11331 #ifndef LT_DLLAZY_OR_NOW
11333 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11336 # define LT_DLLAZY_OR_NOW DL_LAZY
11339 # define LT_DLLAZY_OR_NOW RTLD_NOW
11342 # define LT_DLLAZY_OR_NOW DL_NOW
11344 # define LT_DLLAZY_OR_NOW 0
11351 void fnord() { int i=42;}
11354 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11355 int status = $lt_dlunknown;
11359 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11360 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11361 /* dlclose (self); */
11369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11370 (eval $ac_link) 2>&5
11372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11373 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11374 (.
/conftest
; exit; ) >&5 2>/dev
/null
11376 case x
$lt_status in
11377 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11378 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11379 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11382 # compilation failed
11383 lt_cv_dlopen_self_static
=no
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11391 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11394 CPPFLAGS
="$save_CPPFLAGS"
11395 LDFLAGS
="$save_LDFLAGS"
11400 case $lt_cv_dlopen_self in
11401 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11402 *) enable_dlopen_self
=unknown
;;
11405 case $lt_cv_dlopen_self_static in
11406 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11407 *) enable_dlopen_self_static
=unknown
;;
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11430 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11431 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11432 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11433 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11435 $as_echo "yes" >&6; }
11437 # FIXME - insert some real tests, host_os isn't really good enough
11440 if test -n "$STRIP" ; then
11441 striplib
="$STRIP -x"
11442 old_striplib
="$STRIP -S"
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11444 $as_echo "yes" >&6; }
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11447 $as_echo "no" >&6; }
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11452 $as_echo "no" >&6; }
11468 # Report which library types will actually be built
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11470 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11472 $as_echo "$can_build_shared" >&6; }
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11475 $as_echo_n "checking whether to build shared libraries... " >&6; }
11476 test "$can_build_shared" = "no" && enable_shared
=no
11478 # On AIX, shared libraries and static libraries use the same namespace, and
11479 # are all built from PIC.
11482 test "$enable_shared" = yes && enable_static
=no
11483 if test -n "$RANLIB"; then
11484 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11485 postinstall_cmds
='$RANLIB $lib'
11490 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11491 test "$enable_shared" = yes && enable_static
=no
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11496 $as_echo "$enable_shared" >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11499 $as_echo_n "checking whether to build static libraries... " >&6; }
11500 # Make sure either enable_shared or enable_static is yes.
11501 test "$enable_shared" = yes || enable_static
=yes
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11503 $as_echo "$enable_static" >&6; }
11510 ac_cpp
='$CPP $CPPFLAGS'
11511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11529 ac_config_commands
="$ac_config_commands libtool"
11534 # Only expand once:
11539 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11541 # We need gfortran to compile parts of the library
11542 #AC_PROG_FC(gfortran)
11544 ac_ext
=${ac_fc_srcext-f}
11545 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11546 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11547 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11548 if test -n "$ac_tool_prefix"; then
11549 for ac_prog
in gfortran
11551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11552 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11554 $as_echo_n "checking for $ac_word... " >&6; }
11555 if test "${ac_cv_prog_FC+set}" = set; then :
11556 $as_echo_n "(cached) " >&6
11558 if test -n "$FC"; then
11559 ac_cv_prog_FC
="$FC" # Let the user override the test.
11561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11562 for as_dir
in $PATH
11565 test -z "$as_dir" && as_dir
=.
11566 for ac_exec_ext
in '' $ac_executable_extensions; do
11567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11568 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11579 if test -n "$FC"; then
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11581 $as_echo "$FC" >&6; }
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11584 $as_echo "no" >&6; }
11588 test -n "$FC" && break
11591 if test -z "$FC"; then
11593 for ac_prog
in gfortran
11595 # Extract the first word of "$ac_prog", so it can be a program name with args.
11596 set dummy
$ac_prog; ac_word
=$2
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11598 $as_echo_n "checking for $ac_word... " >&6; }
11599 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11600 $as_echo_n "(cached) " >&6
11602 if test -n "$ac_ct_FC"; then
11603 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11606 for as_dir
in $PATH
11609 test -z "$as_dir" && as_dir
=.
11610 for ac_exec_ext
in '' $ac_executable_extensions; do
11611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11612 ac_cv_prog_ac_ct_FC
="$ac_prog"
11613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11622 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11623 if test -n "$ac_ct_FC"; then
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11625 $as_echo "$ac_ct_FC" >&6; }
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11628 $as_echo "no" >&6; }
11632 test -n "$ac_ct_FC" && break
11635 if test "x$ac_ct_FC" = x
; then
11638 case $cross_compiling:$ac_tool_warned in
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11642 ac_tool_warned
=yes ;;
11649 # Provide some information about the compiler.
11650 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11653 for ac_option
in --version -v -V -qversion; do
11654 { { ac_try
="$ac_compiler $ac_option >&5"
11655 case "(($ac_try" in
11656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11657 *) ac_try_echo=$ac_try;;
11659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11660 $as_echo "$ac_try_echo"; } >&5
11661 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11663 if test -s conftest.err; then
11665 ... rest of stderr output deleted ...
11666 10q' conftest.err >conftest.er1
11667 cat conftest.er1 >&5
11668 rm -f conftest.er1 conftest.err
11670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11671 test $ac_status = 0; }
11675 # If we don't use `.F
' as extension, the preprocessor is not run on the
11676 # input file. (Note that this only needs to work for GNU compilers.)
11677 ac_save_ext=$ac_ext
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11680 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11681 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11682 $as_echo_n "(cached) " >&6
11684 cat > conftest.$ac_ext <<_ACEOF
11692 if ac_fn_fc_try_compile "$LINENO"; then :
11693 ac_compiler_gnu=yes
11697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11698 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11702 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11703 ac_ext=$ac_save_ext
11704 ac_test_FCFLAGS=${FCFLAGS+set}
11705 ac_save_FCFLAGS=$FCFLAGS
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11708 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11709 if test "${ac_cv_prog_fc_g+set}" = set; then :
11710 $as_echo_n "(cached) " >&6
11713 cat > conftest.$ac_ext <<_ACEOF
11718 if ac_fn_fc_try_compile "$LINENO"; then :
11719 ac_cv_prog_fc_g=yes
11723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11727 $as_echo "$ac_cv_prog_fc_g" >&6; }
11728 if test "$ac_test_FCFLAGS" = set; then
11729 FCFLAGS=$ac_save_FCFLAGS
11730 elif test $ac_cv_prog_fc_g = yes; then
11731 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11737 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11745 ac_cpp='$CPP $CPPFLAGS'
11746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11747 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11751 ac_ext=${ac_fc_srcext-f}
11752 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
11753 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
11754 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11755 if test -n "$ac_tool_prefix"; then
11756 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
11758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11761 $as_echo_n "checking for $ac_word... " >&6; }
11762 if test "${ac_cv_prog_FC+set}" = set; then :
11763 $as_echo_n "(cached) " >&6
11765 if test -n "$FC"; then
11766 ac_cv_prog_FC="$FC" # Let the user override the test.
11768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11769 for as_dir in $PATH
11772 test -z "$as_dir" && as_dir=.
11773 for ac_exec_ext in '' $ac_executable_extensions; do
11774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11775 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11786 if test -n "$FC"; then
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11788 $as_echo "$FC" >&6; }
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11791 $as_echo "no" >&6; }
11795 test -n "$FC" && break
11798 if test -z "$FC"; then
11800 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
11802 # Extract the first word of "$ac_prog", so it can be a program name with args.
11803 set dummy $ac_prog; ac_word=$2
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11805 $as_echo_n "checking for $ac_word... " >&6; }
11806 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11807 $as_echo_n "(cached) " >&6
11809 if test -n "$ac_ct_FC"; then
11810 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11813 for as_dir in $PATH
11816 test -z "$as_dir" && as_dir=.
11817 for ac_exec_ext in '' $ac_executable_extensions; do
11818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11819 ac_cv_prog_ac_ct_FC="$ac_prog"
11820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11829 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11830 if test -n "$ac_ct_FC"; then
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11832 $as_echo "$ac_ct_FC" >&6; }
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11835 $as_echo "no" >&6; }
11839 test -n "$ac_ct_FC" && break
11842 if test "x$ac_ct_FC" = x; then
11845 case $cross_compiling:$ac_tool_warned in
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11849 ac_tool_warned=yes ;;
11856 # Provide some information about the compiler.
11857 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11860 for ac_option in --version -v -V -qversion; do
11861 { { ac_try="$ac_compiler $ac_option >&5"
11862 case "(($ac_try" in
11863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11864 *) ac_try_echo=$ac_try;;
11866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11867 $as_echo "$ac_try_echo"; } >&5
11868 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11870 if test -s conftest.err; then
11872 ... rest of stderr output deleted ...
11873 10q
' conftest.err >conftest.er1
11874 cat conftest.er1 >&5
11875 rm -f conftest.er1 conftest.err
11877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11878 test $ac_status = 0; }
11882 # If we don't use
`.F' as extension, the preprocessor is not run on the
11883 # input file. (Note that this only needs to work for GNU compilers.)
11884 ac_save_ext=$ac_ext
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11887 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11888 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11889 $as_echo_n "(cached) " >&6
11891 cat > conftest.$ac_ext <<_ACEOF
11899 if ac_fn_fc_try_compile "$LINENO"; then :
11900 ac_compiler_gnu=yes
11904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11905 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11909 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11910 ac_ext=$ac_save_ext
11911 ac_test_FCFLAGS=${FCFLAGS+set}
11912 ac_save_FCFLAGS=$FCFLAGS
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11915 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11916 if test "${ac_cv_prog_fc_g+set}" = set; then :
11917 $as_echo_n "(cached) " >&6
11920 cat > conftest.$ac_ext <<_ACEOF
11925 if ac_fn_fc_try_compile "$LINENO"; then :
11926 ac_cv_prog_fc_g=yes
11930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11934 $as_echo "$ac_cv_prog_fc_g" >&6; }
11935 if test "$ac_test_FCFLAGS" = set; then
11936 FCFLAGS=$ac_save_FCFLAGS
11937 elif test $ac_cv_prog_fc_g = yes; then
11938 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11944 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11952 ac_cpp='$CPP $CPPFLAGS'
11953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11957 if test -z "$FC" || test "X$FC" = "Xno"; then
11963 ac_ext=${ac_fc_srcext-f}
11964 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11965 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11966 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11969 archive_cmds_need_lc_FC=no
11970 allow_undefined_flag_FC=
11971 always_export_symbols_FC=no
11972 archive_expsym_cmds_FC=
11973 export_dynamic_flag_spec_FC=
11974 hardcode_direct_FC=no
11975 hardcode_direct_absolute_FC=no
11976 hardcode_libdir_flag_spec_FC=
11977 hardcode_libdir_flag_spec_ld_FC=
11978 hardcode_libdir_separator_FC=
11979 hardcode_minus_L_FC=no
11980 hardcode_automatic_FC=no
11981 inherit_rpath_FC=no
11983 module_expsym_cmds_FC=
11984 link_all_deplibs_FC=unknown
11985 old_archive_cmds_FC=$old_archive_cmds
11986 no_undefined_flag_FC=
11987 whole_archive_flag_spec_FC=
11988 enable_shared_with_static_runtimes_FC=no
11990 # Source file extension for fc test sources.
11991 ac_ext=${ac_fc_srcext-f}
11993 # Object file extension for compiled fc test sources.
11997 # No sense in running all these tests if we already determined that
11998 # the FC compiler isn't working. Some variables (like enable_shared)
11999 # are currently assumed to apply to all compilers on this platform,
12000 # and will be corrupted by setting them based on a non-working compiler.
12001 if test "$_lt_disable_FC" != yes; then
12002 # Code to be used in simple compile tests
12003 lt_simple_compile_test_code="\
12009 # Code to be used in simple link tests
12010 lt_simple_link_test_code="\
12015 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12022 # If no C compiler was specified, use CC.
12025 # If no C compiler flags were specified, use CFLAGS.
12026 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12028 # Allow CC to be a program name with arguments.
12032 # save warnings/boilerplate of simple test code
12033 ac_outfile=conftest.$ac_objext
12034 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12035 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12036 _lt_compiler_boilerplate=`cat conftest.err
`
12039 ac_outfile=conftest.$ac_objext
12040 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12041 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12042 _lt_linker_boilerplate=`cat conftest.err
`
12046 # Allow CC to be a program name with arguments.
12051 GCC=$ac_cv_fc_compiler_gnu
12054 for cc_temp in $compiler""; do
12056 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12057 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12062 cc_basename=`$ECHO "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12065 if test -n "$compiler"; then
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12067 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12069 $as_echo "$can_build_shared" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12072 $as_echo_n "checking whether to build shared libraries... " >&6; }
12073 test "$can_build_shared" = "no" && enable_shared=no
12075 # On AIX, shared libraries and static libraries use the same namespace, and
12076 # are all built from PIC.
12079 test "$enable_shared" = yes && enable_static=no
12080 if test -n "$RANLIB"; then
12081 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12082 postinstall_cmds='$RANLIB $lib'
12086 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12087 test "$enable_shared" = yes && enable_static=no
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12092 $as_echo "$enable_shared" >&6; }
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12095 $as_echo_n "checking whether to build static libraries... " >&6; }
12096 # Make sure either enable_shared or enable_static is yes.
12097 test "$enable_shared" = yes || enable_static=yes
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12099 $as_echo "$enable_static" >&6; }
12101 GCC_FC="$ac_cv_fc_compiler_gnu"
12105 ## There is no encapsulation within the following macros, do not change
12106 ## the running order or otherwise move them around unless you know exactly
12107 ## what you are doing...
12108 # Dependencies to place before and after the object being linked:
12110 postdep_objects_FC=
12113 compiler_lib_search_path_FC=
12115 cat > conftest.$ac_ext <<_LT_EOF
12124 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12125 (eval $ac_compile) 2>&5
12127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12128 test $ac_status = 0; }; then
12129 # Parse the compiler output and extract the necessary
12130 # objects, libraries and library flags.
12132 # Sentinel used to keep track of whether or not we are before
12133 # the conftest object file.
12134 pre_test_object_deps_done=no
12136 for p in `eval "$output_verbose_link_cmd"`; do
12140 # Some compilers place space between "-{L,R}" and the path.
12141 # Remove the space.
12142 if test $p = "-L" ||
12143 test $p = "-R"; then
12150 if test "$pre_test_object_deps_done" = no; then
12153 # Internal compiler library paths should come after those
12154 # provided the user. The postdeps already come after the
12155 # user supplied libs so there is no need to process them.
12156 if test -z "$compiler_lib_search_path_FC"; then
12157 compiler_lib_search_path_FC="${prev}${p}"
12159 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12162 # The "-l" case would never come before the object being
12163 # linked, so don't bother handling this case.
12166 if test -z "$postdeps_FC"; then
12167 postdeps_FC="${prev}${p}"
12169 postdeps_FC="${postdeps_FC} ${prev}${p}"
12175 # This assumes that the test object file only shows up
12176 # once in the compiler output.
12177 if test "$p" = "conftest.$objext"; then
12178 pre_test_object_deps_done=yes
12182 if test "$pre_test_object_deps_done" = no; then
12183 if test -z "$predep_objects_FC"; then
12184 predep_objects_FC="$p"
12186 predep_objects_FC="$predep_objects_FC $p"
12189 if test -z "$postdep_objects_FC"; then
12190 postdep_objects_FC="$p"
12192 postdep_objects_FC="$postdep_objects_FC $p"
12197 *) ;; # Ignore the rest.
12205 echo "libtool.m4: error: problem compiling FC test program"
12208 $RM -f confest.$objext
12210 # PORTME: override above test on systems where it is broken
12213 case " $postdeps_FC " in
12214 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12216 compiler_lib_search_dirs_FC=
12217 if test -n "${compiler_lib_search_path_FC}"; then
12218 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" |
${SED} -e 's! -L! !g' -e 's!^ !!'`
12251 lt_prog_compiler_wl_FC=
12252 lt_prog_compiler_pic_FC=
12253 lt_prog_compiler_static_FC=
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12256 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12258 if test "$GCC" = yes; then
12259 lt_prog_compiler_wl_FC='-Wl,'
12260 lt_prog_compiler_static_FC='-static'
12264 # All AIX code is PIC.
12265 if test "$host_cpu" = ia64; then
12266 # AIX 5 now supports IA64 processor
12267 lt_prog_compiler_static_FC='-Bstatic'
12274 # see comment about AmigaOS4 .so support
12275 lt_prog_compiler_pic_FC='-fPIC'
12278 # FIXME: we need at least 68020 code to build shared libraries, but
12279 # adding the `-m68020' flag to GCC prevents building anything better,
12281 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
12286 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12287 # PIC is the default for these OSes.
12290 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12291 # This hack is so that the source file can tell whether it is being
12292 # built for inclusion in a dll (and should export symbols for example).
12293 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12294 # (--disable-auto-import) libraries
12295 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12298 darwin
* | rhapsody
*)
12299 # PIC is the default on this platform
12300 # Common symbols not allowed in MH_DYLIB files
12301 lt_prog_compiler_pic_FC
='-fno-common'
12305 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12306 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12307 # sets the default TLS model and affects inlining.
12313 lt_prog_compiler_pic_FC
='-fPIC'
12319 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12320 # Instead, we relocate shared libraries at runtime.
12324 # Just because we use GCC doesn't mean we suddenly get shared libraries
12325 # on systems that don't support them.
12326 lt_prog_compiler_can_build_shared_FC
=no
12331 # QNX uses GNU C++, but need to define -shared option too, otherwise
12332 # it will coredump.
12333 lt_prog_compiler_pic_FC
='-fPIC -shared'
12337 if test -d /usr
/nec
; then
12338 lt_prog_compiler_pic_FC
=-Kconform_pic
12343 lt_prog_compiler_pic_FC
='-fPIC'
12347 # PORTME Check for flag to pass linker flags through the system compiler.
12350 lt_prog_compiler_wl_FC
='-Wl,'
12351 if test "$host_cpu" = ia64
; then
12352 # AIX 5 now supports IA64 processor
12353 lt_prog_compiler_static_FC
='-Bstatic'
12355 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
12359 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12360 # This hack is so that the source file can tell whether it is being
12361 # built for inclusion in a dll (and should export symbols for example).
12362 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12365 hpux9
* | hpux10
* | hpux11
*)
12366 lt_prog_compiler_wl_FC
='-Wl,'
12367 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12368 # not for PA HP-UX.
12374 lt_prog_compiler_pic_FC
='+Z'
12377 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12378 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
12381 irix5
* | irix6
* | nonstopux
*)
12382 lt_prog_compiler_wl_FC
='-Wl,'
12383 # PIC (with -KPIC) is the default.
12384 lt_prog_compiler_static_FC
='-non_shared'
12387 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12388 case $cc_basename in
12389 # old Intel for x86_64 which still supported -KPIC.
12391 lt_prog_compiler_wl_FC
='-Wl,'
12392 lt_prog_compiler_pic_FC
='-KPIC'
12393 lt_prog_compiler_static_FC
='-static'
12395 # icc used to be incompatible with GCC.
12396 # ICC 10 doesn't accept -KPIC any more.
12398 lt_prog_compiler_wl_FC
='-Wl,'
12399 lt_prog_compiler_pic_FC
='-fPIC'
12400 lt_prog_compiler_static_FC
='-static'
12402 # Lahey Fortran 8.1.
12404 lt_prog_compiler_wl_FC
='-Wl,'
12405 lt_prog_compiler_pic_FC
='--shared'
12406 lt_prog_compiler_static_FC
='--static'
12408 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
12409 # Portland Group compilers (*not* the Pentium gcc compiler,
12410 # which looks to be a dead project)
12411 lt_prog_compiler_wl_FC
='-Wl,'
12412 lt_prog_compiler_pic_FC
='-fpic'
12413 lt_prog_compiler_static_FC
='-Bstatic'
12416 lt_prog_compiler_wl_FC
='-Wl,'
12417 # All Alpha code is PIC.
12418 lt_prog_compiler_static_FC
='-non_shared'
12421 # IBM XL C 8.0/Fortran 10.1 on PPC
12422 lt_prog_compiler_wl_FC
='-Wl,'
12423 lt_prog_compiler_pic_FC
='-qpic'
12424 lt_prog_compiler_static_FC
='-qstaticlink'
12427 case `$CC -V 2>&1 | sed 5q` in
12430 lt_prog_compiler_pic_FC
='-KPIC'
12431 lt_prog_compiler_static_FC
='-Bstatic'
12432 lt_prog_compiler_wl_FC
='-Wl,'
12435 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12436 lt_prog_compiler_pic_FC
='-KPIC'
12437 lt_prog_compiler_static_FC
='-Bstatic'
12438 lt_prog_compiler_wl_FC
=''
12446 lt_prog_compiler_pic_FC
='-KPIC'
12447 lt_prog_compiler_static_FC
='-Bstatic'
12451 # QNX uses GNU C++, but need to define -shared option too, otherwise
12452 # it will coredump.
12453 lt_prog_compiler_pic_FC
='-fPIC -shared'
12456 osf3
* | osf4
* | osf5
*)
12457 lt_prog_compiler_wl_FC
='-Wl,'
12458 # All OSF/1 code is PIC.
12459 lt_prog_compiler_static_FC
='-non_shared'
12463 lt_prog_compiler_static_FC
='-non_shared'
12467 lt_prog_compiler_pic_FC
='-KPIC'
12468 lt_prog_compiler_static_FC
='-Bstatic'
12469 case $cc_basename in
12470 f77
* | f90
* | f95
*)
12471 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12473 lt_prog_compiler_wl_FC
='-Wl,';;
12478 lt_prog_compiler_wl_FC
='-Qoption ld '
12479 lt_prog_compiler_pic_FC
='-PIC'
12480 lt_prog_compiler_static_FC
='-Bstatic'
12483 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12484 lt_prog_compiler_wl_FC
='-Wl,'
12485 lt_prog_compiler_pic_FC
='-KPIC'
12486 lt_prog_compiler_static_FC
='-Bstatic'
12490 if test -d /usr
/nec
;then
12491 lt_prog_compiler_pic_FC
='-Kconform_pic'
12492 lt_prog_compiler_static_FC
='-Bstatic'
12496 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12497 lt_prog_compiler_wl_FC
='-Wl,'
12498 lt_prog_compiler_pic_FC
='-KPIC'
12499 lt_prog_compiler_static_FC
='-Bstatic'
12503 lt_prog_compiler_wl_FC
='-Wl,'
12504 lt_prog_compiler_can_build_shared_FC
=no
12508 lt_prog_compiler_pic_FC
='-pic'
12509 lt_prog_compiler_static_FC
='-Bstatic'
12513 lt_prog_compiler_can_build_shared_FC
=no
12519 # For platforms which do not support PIC, -DPIC is meaningless:
12521 lt_prog_compiler_pic_FC
=
12524 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12528 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12533 # Check to make sure the PIC flag actually works.
12535 if test -n "$lt_prog_compiler_pic_FC"; then
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12537 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12538 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12539 $as_echo_n "(cached) " >&6
12541 lt_cv_prog_compiler_pic_works_FC
=no
12542 ac_outfile
=conftest.
$ac_objext
12543 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12544 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12545 # Insert the option either (1) after the last *FLAGS variable, or
12546 # (2) before a word containing "conftest.", or (3) at the end.
12547 # Note that $ac_compile itself does not contain backslashes and begins
12548 # with a dollar sign (not a hyphen), so the echo should work correctly.
12549 # The option is referenced via a variable to avoid confusing sed.
12550 lt_compile
=`echo "$ac_compile" | $SED \
12551 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12552 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12553 -e 's:$: $lt_compiler_flag:'`
12554 (eval echo "\"\$as_me:12554: $lt_compile\"" >&5)
12555 (eval "$lt_compile" 2>conftest.err
)
12557 cat conftest.err
>&5
12558 echo "$as_me:12558: \$? = $ac_status" >&5
12559 if (exit $ac_status) && test -s "$ac_outfile"; then
12560 # The compiler can only warn and ignore the option if not recognized
12561 # So say no if there are warnings other than the usual output.
12562 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12563 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12564 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12565 lt_cv_prog_compiler_pic_works_FC
=yes
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12572 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12574 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12575 case $lt_prog_compiler_pic_FC in
12577 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12580 lt_prog_compiler_pic_FC
=
12581 lt_prog_compiler_can_build_shared_FC
=no
12589 # Check to make sure the static flag actually works.
12591 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12593 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12594 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12595 $as_echo_n "(cached) " >&6
12597 lt_cv_prog_compiler_static_works_FC
=no
12598 save_LDFLAGS
="$LDFLAGS"
12599 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12600 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12601 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12602 # The linker can only warn and ignore the option if not recognized
12603 # So say no if there are warnings
12604 if test -s conftest.err
; then
12605 # Append any errors to the config.log.
12606 cat conftest.err
1>&5
12607 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12608 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12609 if diff conftest.exp conftest.er2
>/dev
/null
; then
12610 lt_cv_prog_compiler_static_works_FC
=yes
12613 lt_cv_prog_compiler_static_works_FC
=yes
12617 LDFLAGS
="$save_LDFLAGS"
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12621 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12623 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12626 lt_prog_compiler_static_FC
=
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12633 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12634 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12635 $as_echo_n "(cached) " >&6
12637 lt_cv_prog_compiler_c_o_FC
=no
12638 $RM -r conftest
2>/dev
/null
12642 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12644 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12645 # Insert the option either (1) after the last *FLAGS variable, or
12646 # (2) before a word containing "conftest.", or (3) at the end.
12647 # Note that $ac_compile itself does not contain backslashes and begins
12648 # with a dollar sign (not a hyphen), so the echo should work correctly.
12649 lt_compile
=`echo "$ac_compile" | $SED \
12650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12652 -e 's:$: $lt_compiler_flag:'`
12653 (eval echo "\"\$as_me:12653: $lt_compile\"" >&5)
12654 (eval "$lt_compile" 2>out
/conftest.err
)
12656 cat out
/conftest.err
>&5
12657 echo "$as_me:12657: \$? = $ac_status" >&5
12658 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12660 # The compiler can only warn and ignore the option if not recognized
12661 # So say no if there are warnings
12662 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12663 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12664 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12665 lt_cv_prog_compiler_c_o_FC
=yes
12670 # SGI C++ compiler will create directory out/ii_files/ for
12671 # template instantiation
12672 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12673 $RM out
/* && rmdir out
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12680 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12685 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12686 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12687 $as_echo_n "(cached) " >&6
12689 lt_cv_prog_compiler_c_o_FC
=no
12690 $RM -r conftest
2>/dev
/null
12694 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12696 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12697 # Insert the option either (1) after the last *FLAGS variable, or
12698 # (2) before a word containing "conftest.", or (3) at the end.
12699 # Note that $ac_compile itself does not contain backslashes and begins
12700 # with a dollar sign (not a hyphen), so the echo should work correctly.
12701 lt_compile
=`echo "$ac_compile" | $SED \
12702 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12704 -e 's:$: $lt_compiler_flag:'`
12705 (eval echo "\"\$as_me:12705: $lt_compile\"" >&5)
12706 (eval "$lt_compile" 2>out
/conftest.err
)
12708 cat out
/conftest.err
>&5
12709 echo "$as_me:12709: \$? = $ac_status" >&5
12710 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12712 # The compiler can only warn and ignore the option if not recognized
12713 # So say no if there are warnings
12714 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12715 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12716 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12717 lt_cv_prog_compiler_c_o_FC
=yes
12722 # SGI C++ compiler will create directory out/ii_files/ for
12723 # template instantiation
12724 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12725 $RM out
/* && rmdir out
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12732 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12737 hard_links
="nottested"
12738 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12739 # do not overwrite the value of need_locks provided by the user
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12741 $as_echo_n "checking if we can lock with hard links... " >&6; }
12744 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12746 ln conftest.a conftest.b
2>&5 || hard_links
=no
12747 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12749 $as_echo "$hard_links" >&6; }
12750 if test "$hard_links" = no
; then
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12752 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12762 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12765 allow_undefined_flag_FC
=
12766 always_export_symbols_FC
=no
12768 archive_expsym_cmds_FC
=
12769 compiler_needs_object_FC
=no
12770 enable_shared_with_static_runtimes_FC
=no
12771 export_dynamic_flag_spec_FC
=
12772 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12773 hardcode_automatic_FC
=no
12774 hardcode_direct_FC
=no
12775 hardcode_direct_absolute_FC
=no
12776 hardcode_libdir_flag_spec_FC
=
12777 hardcode_libdir_flag_spec_ld_FC
=
12778 hardcode_libdir_separator_FC
=
12779 hardcode_minus_L_FC
=no
12780 hardcode_shlibpath_var_FC
=unsupported
12781 inherit_rpath_FC
=no
12782 link_all_deplibs_FC
=unknown
12784 module_expsym_cmds_FC
=
12785 old_archive_from_new_cmds_FC
=
12786 old_archive_from_expsyms_cmds_FC
=
12787 thread_safe_flag_spec_FC
=
12788 whole_archive_flag_spec_FC
=
12789 # include_expsyms should be a list of space-separated symbols to be *always*
12790 # included in the symbol list
12791 include_expsyms_FC
=
12792 # exclude_expsyms can be an extended regexp of symbols to exclude
12793 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12794 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12795 # as well as any symbol that contains `d'.
12796 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12797 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12798 # platforms (ab)use it in PIC code, but their linkers get confused if
12799 # the symbol is explicitly referenced. Since portable code cannot
12800 # rely on this symbol name, it's probably fine to never include it in
12801 # preloaded symbol tables.
12802 # Exclude shared library initialization/finalization symbols.
12803 extract_expsyms_cmds
=
12806 cygwin
* | mingw
* | pw32
* | cegcc
*)
12807 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12808 # When not using gcc, we currently assume that we are using
12809 # Microsoft Visual C++.
12810 if test "$GCC" != yes; then
12815 # we just hope/assume this is gcc and not c89 (= MSVC++)
12824 if test "$with_gnu_ld" = yes; then
12825 # If archive_cmds runs LD, not CC, wlarc should be empty
12828 # Set some defaults for GNU ld with shared library support. These
12829 # are reset later if shared libraries are not supported. Putting them
12830 # here allows them to be overridden if necessary.
12831 runpath_var
=LD_RUN_PATH
12832 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12833 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12834 # ancient GNU ld didn't support --whole-archive et. al.
12835 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12836 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12838 whole_archive_flag_spec_FC
=
12840 supports_anon_versioning
=no
12841 case `$LD -v 2>&1` in
12842 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12843 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12844 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12845 *\
2.11.
*) ;; # other 2.11 versions
12846 *) supports_anon_versioning
=yes ;;
12849 # See if GNU ld supports shared libraries.
12852 # On AIX/PPC, the GNU linker is very broken
12853 if test "$host_cpu" != ia64
; then
12857 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12858 *** to be unable to reliably create shared libraries on AIX.
12859 *** Therefore, libtool is disabling shared libraries support. If you
12860 *** really care for shared libraries, you may want to modify your PATH
12861 *** so that a non-GNU linker is found, and then restart.
12870 # see comment about AmigaOS4 .so support
12871 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12872 archive_expsym_cmds_FC
=''
12875 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)'
12876 hardcode_libdir_flag_spec_FC
='-L$libdir'
12877 hardcode_minus_L_FC
=yes
12883 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12884 allow_undefined_flag_FC
=unsupported
12885 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12886 # support --undefined. This deserves some investigation. FIXME
12887 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12893 cygwin
* | mingw
* | pw32
* | cegcc
*)
12894 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12895 # as there is no search path for DLLs.
12896 hardcode_libdir_flag_spec_FC
='-L$libdir'
12897 allow_undefined_flag_FC
=unsupported
12898 always_export_symbols_FC
=no
12899 enable_shared_with_static_runtimes_FC
=yes
12900 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12902 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12903 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12904 # If the export-symbols file already is a .def file (1st line
12905 # is EXPORTS), use it as is; otherwise, prepend...
12906 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12907 cp $export_symbols $output_objdir/$soname.def;
12909 echo EXPORTS > $output_objdir/$soname.def;
12910 cat $export_symbols >> $output_objdir/$soname.def;
12912 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12919 hardcode_direct_FC
=no
12920 hardcode_shlibpath_var_FC
=no
12921 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12922 export_dynamic_flag_spec_FC
='${wl}-E'
12923 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12924 # Instead, shared libraries are loaded at an image base (0x10000000 by
12925 # default) and relocated if they conflict, which is a slow very memory
12926 # consuming and fragmenting process. To avoid this, we pick a random,
12927 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12928 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12929 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'
12930 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'
12933 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12935 if test "$host_os" = linux-dietlibc
; then
12936 case $cc_basename in
12937 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12940 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12941 && test "$tmp_diet" = no
12944 tmp_sharedflag
='-shared'
12945 case $cc_basename,$host_cpu in
12946 pgcc
*) # Portland Group C compiler
12947 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12948 tmp_addflag
=' $pic_flag'
12950 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
12951 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12952 tmp_addflag
=' $pic_flag -Mnomain' ;;
12953 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12954 tmp_addflag
=' -i_dynamic' ;;
12955 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12956 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12957 ifc
* | ifort
*) # Intel Fortran compiler
12958 tmp_addflag
=' -nofor_main' ;;
12959 lf95
*) # Lahey Fortran 8.1
12960 whole_archive_flag_spec_FC
=
12961 tmp_sharedflag
='--shared' ;;
12962 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12963 tmp_sharedflag
='-qmkshrobj'
12966 case `$CC -V 2>&1 | sed 5q` in
12967 *Sun\ C
*) # Sun C 5.9
12968 whole_archive_flag_spec_FC
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12969 compiler_needs_object_FC
=yes
12970 tmp_sharedflag
='-G' ;;
12971 *Sun\ F
*) # Sun Fortran 8.3
12972 tmp_sharedflag
='-G' ;;
12974 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12976 if test "x$supports_anon_versioning" = xyes
; then
12977 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12978 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12979 echo "local: *; };" >> $output_objdir/$libname.ver~
12980 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12983 case $cc_basename in
12985 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12986 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
12987 hardcode_libdir_flag_spec_FC
=
12988 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
12989 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12990 if test "x$supports_anon_versioning" = xyes
; then
12991 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12992 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12993 echo "local: *; };" >> $output_objdir/$libname.ver~
12994 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13004 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13005 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13008 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13009 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13014 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
13018 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13019 *** create shared libraries on Solaris systems. Therefore, libtool
13020 *** is disabling shared libraries support. We urge you to upgrade GNU
13021 *** binutils to release 2.9.1 or newer. Another option is to modify
13022 *** your PATH or compiler configuration so that the native linker is
13023 *** used, and then restart.
13026 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13027 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13028 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13034 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13035 case `$LD -v 2>&1` in
13036 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13040 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13041 *** reliably create shared libraries on SCO systems. Therefore, libtool
13042 *** is disabling shared libraries support. We urge you to upgrade GNU
13043 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13044 *** your PATH or compiler configuration so that the native linker is
13045 *** used, and then restart.
13050 # For security reasons, it is highly recommended that you always
13051 # use absolute paths for naming shared libraries, and exclude the
13052 # DT_RUNPATH tag from executables and libraries. But doing so
13053 # requires that you compile everything twice, which is a pain.
13054 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13055 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13056 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13057 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13066 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13068 hardcode_direct_FC
=yes
13069 hardcode_shlibpath_var_FC
=no
13073 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13074 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13075 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13082 if test "$ld_shlibs_FC" = no
; then
13084 hardcode_libdir_flag_spec_FC
=
13085 export_dynamic_flag_spec_FC
=
13086 whole_archive_flag_spec_FC
=
13089 # PORTME fill in a description of your system's linker (not GNU ld)
13092 allow_undefined_flag_FC
=unsupported
13093 always_export_symbols_FC
=yes
13094 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'
13095 # Note: this linker hardcodes the directories in LIBPATH if there
13096 # are no directories specified by -L.
13097 hardcode_minus_L_FC
=yes
13098 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13099 # Neither direct hardcoding nor static linking is supported with a
13101 hardcode_direct_FC
=unsupported
13106 if test "$host_cpu" = ia64
; then
13107 # On IA64, the linker does run time linking by default, so we don't
13108 # have to do anything special.
13109 aix_use_runtimelinking
=no
13110 exp_sym_flag
='-Bexport'
13113 # If we're using GNU nm, then we don't want the "-C" option.
13114 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13115 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13116 export_symbols_cmds_FC
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13118 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'
13120 aix_use_runtimelinking
=no
13122 # Test if we are trying to use run time linking or normal
13123 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13124 # need to do runtime linking.
13125 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13126 for ld_flag
in $LDFLAGS; do
13127 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13128 aix_use_runtimelinking
=yes
13135 exp_sym_flag
='-bexport'
13136 no_entry_flag
='-bnoentry'
13139 # When large executables or shared objects are built, AIX ld can
13140 # have problems creating the table of contents. If linking a library
13141 # or program results in "error TOC overflow" add -mminimal-toc to
13142 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13143 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13146 hardcode_direct_FC
=yes
13147 hardcode_direct_absolute_FC
=yes
13148 hardcode_libdir_separator_FC
=':'
13149 link_all_deplibs_FC
=yes
13150 file_list_spec_FC
='${wl}-f,'
13152 if test "$GCC" = yes; then
13153 case $host_os in aix4.
[012]|aix4.
[012].
*)
13154 # We only want to do this on AIX 4.2 and lower, the check
13155 # below for broken collect2 doesn't work under 4.3+
13156 collect2name
=`${CC} -print-prog-name=collect2`
13157 if test -f "$collect2name" &&
13158 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13160 # We have reworked collect2
13163 # We have old collect2
13164 hardcode_direct_FC
=unsupported
13165 # It fails to find uninstalled libraries when the uninstalled
13166 # path is not listed in the libpath. Setting hardcode_minus_L
13167 # to unsupported forces relinking
13168 hardcode_minus_L_FC
=yes
13169 hardcode_libdir_flag_spec_FC
='-L$libdir'
13170 hardcode_libdir_separator_FC
=
13174 shared_flag
='-shared'
13175 if test "$aix_use_runtimelinking" = yes; then
13176 shared_flag
="$shared_flag "'${wl}-G'
13180 if test "$host_cpu" = ia64
; then
13181 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13182 # chokes on -Wl,-G. The following line is correct:
13185 if test "$aix_use_runtimelinking" = yes; then
13186 shared_flag
='${wl}-G'
13188 shared_flag
='${wl}-bM:SRE'
13193 export_dynamic_flag_spec_FC
='${wl}-bexpall'
13194 # It seems that -bexpall does not export symbols beginning with
13195 # underscore (_), so it is better to generate a list of symbols to export.
13196 always_export_symbols_FC
=yes
13197 if test "$aix_use_runtimelinking" = yes; then
13198 # Warning - without using the other runtime loading flags (-brtl),
13199 # -berok will link without error, but may produce a broken library.
13200 allow_undefined_flag_FC
='-berok'
13201 # Determine the default libpath from the value encoded in an
13202 # empty executable.
13203 if test x
$gcc_no_link = xyes
; then
13204 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13206 cat > conftest.
$ac_ext <<_ACEOF
13211 if ac_fn_fc_try_link
"$LINENO"; then :
13213 lt_aix_libpath_sed
='
13214 /Import File Strings/,/^$/ {
13220 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13221 # Check for a 64-bit object if we didn't find anything.
13222 if test -z "$aix_libpath"; then
13223 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13226 rm -f core conftest.err conftest.
$ac_objext \
13227 conftest
$ac_exeext conftest.
$ac_ext
13228 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13230 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13231 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13233 if test "$host_cpu" = ia64
; then
13234 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
13235 allow_undefined_flag_FC
="-z nodefs"
13236 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"
13238 # Determine the default libpath from the value encoded in an
13239 # empty executable.
13240 if test x
$gcc_no_link = xyes
; then
13241 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13243 cat > conftest.
$ac_ext <<_ACEOF
13248 if ac_fn_fc_try_link
"$LINENO"; then :
13250 lt_aix_libpath_sed
='
13251 /Import File Strings/,/^$/ {
13257 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13258 # Check for a 64-bit object if we didn't find anything.
13259 if test -z "$aix_libpath"; then
13260 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13263 rm -f core conftest.err conftest.
$ac_objext \
13264 conftest
$ac_exeext conftest.
$ac_ext
13265 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13267 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13268 # Warning - without using the other run time loading flags,
13269 # -berok will link without error, but may produce a broken library.
13270 no_undefined_flag_FC
=' ${wl}-bernotok'
13271 allow_undefined_flag_FC
=' ${wl}-berok'
13272 # Exported symbols can be pulled into shared objects from archives
13273 whole_archive_flag_spec_FC
='$convenience'
13274 archive_cmds_need_lc_FC
=yes
13275 # This is similar to how AIX traditionally builds its shared libraries.
13276 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'
13284 # see comment about AmigaOS4 .so support
13285 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13286 archive_expsym_cmds_FC
=''
13289 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)'
13290 hardcode_libdir_flag_spec_FC
='-L$libdir'
13291 hardcode_minus_L_FC
=yes
13297 export_dynamic_flag_spec_FC
=-rdynamic
13300 cygwin
* | mingw
* | pw32
* | cegcc
*)
13301 # When not using gcc, we currently assume that we are using
13302 # Microsoft Visual C++.
13303 # hardcode_libdir_flag_spec is actually meaningless, as there is
13304 # no search path for DLLs.
13305 hardcode_libdir_flag_spec_FC
=' '
13306 allow_undefined_flag_FC
=unsupported
13307 # Tell ltmain to make .lib files, not .a files.
13309 # Tell ltmain to make .dll files, not .so files.
13311 # FIXME: Setting linknames here is a bad hack.
13312 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
13313 # The linker will automatically build a .lib file if we build a DLL.
13314 old_archive_from_new_cmds_FC
='true'
13315 # FIXME: Should let the user specify the lib program.
13316 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13317 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
13318 enable_shared_with_static_runtimes_FC
=yes
13321 darwin
* | rhapsody
*)
13324 archive_cmds_need_lc_FC
=no
13325 hardcode_direct_FC
=no
13326 hardcode_automatic_FC
=yes
13327 hardcode_shlibpath_var_FC
=unsupported
13328 whole_archive_flag_spec_FC
=''
13329 link_all_deplibs_FC
=yes
13330 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
13331 case $cc_basename in
13332 ifort
*) _lt_dar_can_shared
=yes ;;
13333 *) _lt_dar_can_shared
=$GCC ;;
13335 if test "$_lt_dar_can_shared" = "yes"; then
13336 output_verbose_link_cmd
=echo
13337 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}"
13338 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13339 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}"
13340 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}"
13349 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13350 hardcode_libdir_flag_spec_FC
='-L$libdir'
13351 hardcode_shlibpath_var_FC
=no
13358 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13359 # support. Future versions do this automatically, but an explicit c++rt0.o
13360 # does not break anything, and helps significantly (at the cost of a little
13363 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13364 hardcode_libdir_flag_spec_FC
='-R$libdir'
13365 hardcode_direct_FC
=yes
13366 hardcode_shlibpath_var_FC
=no
13369 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13371 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13372 hardcode_direct_FC
=yes
13373 hardcode_minus_L_FC
=yes
13374 hardcode_shlibpath_var_FC
=no
13377 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13378 freebsd
* | dragonfly
*)
13379 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13380 hardcode_libdir_flag_spec_FC
='-R$libdir'
13381 hardcode_direct_FC
=yes
13382 hardcode_shlibpath_var_FC
=no
13386 if test "$GCC" = yes; then
13387 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'
13389 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'
13391 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13392 hardcode_libdir_separator_FC
=:
13393 hardcode_direct_FC
=yes
13395 # hardcode_minus_L: Not really in the search PATH,
13396 # but as the default location of the library.
13397 hardcode_minus_L_FC
=yes
13398 export_dynamic_flag_spec_FC
='${wl}-E'
13402 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
13403 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13405 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13407 if test "$with_gnu_ld" = no
; then
13408 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13409 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13410 hardcode_libdir_separator_FC
=:
13411 hardcode_direct_FC
=yes
13412 hardcode_direct_absolute_FC
=yes
13413 export_dynamic_flag_spec_FC
='${wl}-E'
13414 # hardcode_minus_L: Not really in the search PATH,
13415 # but as the default location of the library.
13416 hardcode_minus_L_FC
=yes
13421 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
13424 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13427 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13430 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13436 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13439 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13442 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13446 if test "$with_gnu_ld" = no
; then
13447 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13448 hardcode_libdir_separator_FC
=:
13452 hardcode_direct_FC
=no
13453 hardcode_shlibpath_var_FC
=no
13456 hardcode_direct_FC
=yes
13457 hardcode_direct_absolute_FC
=yes
13458 export_dynamic_flag_spec_FC
='${wl}-E'
13460 # hardcode_minus_L: Not really in the search PATH,
13461 # but as the default location of the library.
13462 hardcode_minus_L_FC
=yes
13468 irix5
* | irix6
* | nonstopux
*)
13469 if test "$GCC" = yes; then
13470 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13471 # Try to use the -exported_symbol ld option, if it does not
13472 # work, assume that -exports_file does not work either and
13473 # implicitly export all symbols.
13474 save_LDFLAGS
="$LDFLAGS"
13475 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13476 if test x
$gcc_no_link = xyes
; then
13477 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13479 cat > conftest.
$ac_ext <<_ACEOF
13482 if ac_fn_fc_try_link
"$LINENO"; then :
13483 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
13486 rm -f core conftest.err conftest.
$ac_objext \
13487 conftest
$ac_exeext conftest.
$ac_ext
13488 LDFLAGS
="$save_LDFLAGS"
13490 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13491 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
13493 archive_cmds_need_lc_FC
='no'
13494 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13495 hardcode_libdir_separator_FC
=:
13496 inherit_rpath_FC
=yes
13497 link_all_deplibs_FC
=yes
13501 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13502 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13504 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13506 hardcode_libdir_flag_spec_FC
='-R$libdir'
13507 hardcode_direct_FC
=yes
13508 hardcode_shlibpath_var_FC
=no
13512 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13513 hardcode_direct_FC
=yes
13514 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13515 hardcode_libdir_separator_FC
=:
13516 hardcode_shlibpath_var_FC
=no
13523 if test -f /usr
/libexec
/ld.so
; then
13524 hardcode_direct_FC
=yes
13525 hardcode_shlibpath_var_FC
=no
13526 hardcode_direct_absolute_FC
=yes
13527 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13528 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13529 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13530 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13531 export_dynamic_flag_spec_FC
='${wl}-E'
13534 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13535 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13536 hardcode_libdir_flag_spec_FC
='-R$libdir'
13539 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13540 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13550 hardcode_libdir_flag_spec_FC
='-L$libdir'
13551 hardcode_minus_L_FC
=yes
13552 allow_undefined_flag_FC
=unsupported
13553 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'
13554 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13558 if test "$GCC" = yes; then
13559 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13560 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13562 allow_undefined_flag_FC
=' -expect_unresolved \*'
13563 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13565 archive_cmds_need_lc_FC
='no'
13566 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13567 hardcode_libdir_separator_FC
=:
13570 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13571 if test "$GCC" = yes; then
13572 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13573 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13574 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13576 allow_undefined_flag_FC
=' -expect_unresolved \*'
13577 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13578 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~
13579 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
13581 # Both c and cxx compiler support -rpath directly
13582 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13584 archive_cmds_need_lc_FC
='no'
13585 hardcode_libdir_separator_FC
=:
13589 no_undefined_flag_FC
=' -z defs'
13590 if test "$GCC" = yes; then
13592 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13593 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13594 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13596 case `$CC -V 2>&1` in
13599 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13600 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13601 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13605 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13606 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13607 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13611 hardcode_libdir_flag_spec_FC
='-R$libdir'
13612 hardcode_shlibpath_var_FC
=no
13614 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13616 # The compiler driver will combine and reorder linker options,
13617 # but understands `-z linker_flag'. GCC discards it without `$wl',
13618 # but is careful enough not to reorder.
13619 # Supported since Solaris 2.6 (maybe 2.5.1?)
13620 if test "$GCC" = yes; then
13621 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13623 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13627 link_all_deplibs_FC
=yes
13631 if test "x$host_vendor" = xsequent
; then
13632 # Use $CC to link under sequent, because it throws in some extra .o
13633 # files that make .init and .fini sections work.
13634 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13636 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13638 hardcode_libdir_flag_spec_FC
='-L$libdir'
13639 hardcode_direct_FC
=yes
13640 hardcode_minus_L_FC
=yes
13641 hardcode_shlibpath_var_FC
=no
13645 case $host_vendor in
13647 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13648 hardcode_direct_FC
=yes # is this really true???
13651 ## LD is ld it makes a PLAMLIB
13652 ## CC just makes a GrossModule.
13653 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13654 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13655 hardcode_direct_FC
=no
13658 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13659 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13662 runpath_var
='LD_RUN_PATH'
13663 hardcode_shlibpath_var_FC
=no
13667 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13668 hardcode_shlibpath_var_FC
=no
13669 export_dynamic_flag_spec_FC
='-Bexport'
13673 if test -d /usr
/nec
; then
13674 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13675 hardcode_shlibpath_var_FC
=no
13676 runpath_var
=LD_RUN_PATH
13677 hardcode_runpath_var
=yes
13682 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13683 no_undefined_flag_FC
='${wl}-z,text'
13684 archive_cmds_need_lc_FC
=no
13685 hardcode_shlibpath_var_FC
=no
13686 runpath_var
='LD_RUN_PATH'
13688 if test "$GCC" = yes; then
13689 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13690 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13692 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13693 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13697 sysv5
* | sco3.2v5
* | sco5v6
*)
13698 # Note: We can NOT use -z defs as we might desire, because we do not
13699 # link with -lc, and that would cause any symbols used from libc to
13700 # always be unresolved, which means just about no library would
13701 # ever link correctly. If we're not using GNU ld we use -z text
13702 # though, which does catch some bad symbols but isn't as heavy-handed
13704 no_undefined_flag_FC
='${wl}-z,text'
13705 allow_undefined_flag_FC
='${wl}-z,nodefs'
13706 archive_cmds_need_lc_FC
=no
13707 hardcode_shlibpath_var_FC
=no
13708 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13709 hardcode_libdir_separator_FC
=':'
13710 link_all_deplibs_FC
=yes
13711 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13712 runpath_var
='LD_RUN_PATH'
13714 if test "$GCC" = yes; then
13715 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13716 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13718 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13719 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13724 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13725 hardcode_libdir_flag_spec_FC
='-L$libdir'
13726 hardcode_shlibpath_var_FC
=no
13734 if test x
$host_vendor = xsni
; then
13736 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13737 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13744 $as_echo "$ld_shlibs_FC" >&6; }
13745 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13747 with_gnu_ld_FC
=$with_gnu_ld
13755 # Do we need to explicitly link libc?
13757 case "x$archive_cmds_need_lc_FC" in
13759 # Assume -lc should be added
13760 archive_cmds_need_lc_FC
=yes
13762 if test "$enable_shared" = yes && test "$GCC" = yes; then
13763 case $archive_cmds_FC in
13765 # FIXME: we may have to deal with multi-command sequences.
13768 # Test whether the compiler implicitly links with -lc since on some
13769 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13770 # to ld, don't add -lc before -lgcc.
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13772 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13773 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13774 $as_echo_n "(cached) " >&6
13777 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13780 (eval $ac_compile) 2>&5
13782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13783 test $ac_status = 0; } 2>conftest.err
; then
13786 libobjs
=conftest.
$ac_objext
13788 wl
=$lt_prog_compiler_wl_FC
13789 pic_flag
=$lt_prog_compiler_pic_FC
13795 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13796 allow_undefined_flag_FC
=
13797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13798 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13801 test $ac_status = 0; }
13803 lt_cv_archive_cmds_need_lc_FC
=no
13805 lt_cv_archive_cmds_need_lc_FC
=yes
13807 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13809 cat conftest.err
1>&5
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13815 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13816 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13887 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13889 library_names_spec
=
13890 libname_spec
='lib$name'
13894 postuninstall_cmds
=
13898 shlibpath_overrides_runpath
=unknown
13900 dynamic_linker
="$host_os ld.so"
13901 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13902 need_lib_prefix
=unknown
13903 hardcode_into_libs
=no
13905 # when you set need_version to no, make sure it does not cause -set_version
13906 # flags to be left without arguments
13907 need_version
=unknown
13912 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13913 shlibpath_var
=LIBPATH
13915 # AIX 3 has no versioning support, so we append a major version to the name.
13916 soname_spec
='${libname}${release}${shared_ext}$major'
13923 hardcode_into_libs
=yes
13924 if test "$host_cpu" = ia64
; then
13925 # AIX 5 supports IA64
13926 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13927 shlibpath_var
=LD_LIBRARY_PATH
13929 # With GCC up to 2.95.x, collect2 would create an import file
13930 # for dependence libraries. The import file would start with
13931 # the line `#! .'. This would cause the generated library to
13932 # depend on `.', always an invalid library. This was fixed in
13933 # development snapshots of GCC prior to 3.0.
13935 aix4 | aix4.
[01] | aix4.
[01].
*)
13936 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13938 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13941 can_build_shared
=no
13945 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13946 # soname into executable. Probably we can add versioning support to
13947 # collect2, so additional links can be useful in future.
13948 if test "$aix_use_runtimelinking" = yes; then
13949 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13950 # instead of lib<name>.a to let people know that these are not
13951 # typical AIX shared libraries.
13952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13954 # We preserve .a as extension for shared libraries through AIX4.2
13955 # and later when we are not doing run time linking.
13956 library_names_spec
='${libname}${release}.a $libname.a'
13957 soname_spec
='${libname}${release}${shared_ext}$major'
13959 shlibpath_var
=LIBPATH
13966 # Since July 2007 AmigaOS4 officially supports .so libraries.
13967 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13971 library_names_spec
='$libname.ixlibrary $libname.a'
13972 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13973 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
13979 library_names_spec
='${libname}${shared_ext}'
13980 dynamic_linker
="$host_os ld.so"
13981 shlibpath_var
=LIBRARY_PATH
13987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13988 soname_spec
='${libname}${release}${shared_ext}$major'
13989 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13990 shlibpath_var
=LD_LIBRARY_PATH
13991 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13992 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13993 # the default ld.so.conf also contains /usr/contrib/lib and
13994 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13995 # libtool to hard-code these into programs
13998 cygwin
* | mingw
* | pw32
* | cegcc
*)
13999 version_type
=windows
14004 case $GCC,$host_os in
14005 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14006 library_names_spec
='$libname.dll.a'
14007 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14008 postinstall_cmds
='base_file=`basename \${file}`~
14009 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14010 dldir=$destdir/`dirname \$dlpath`~
14011 test -d \$dldir || mkdir -p \$dldir~
14012 $install_prog $dir/$dlname \$dldir/$dlname~
14013 chmod a+x \$dldir/$dlname~
14014 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14015 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14017 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14018 dlpath=$dir/\$dldll~
14020 shlibpath_overrides_runpath
=yes
14024 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14025 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14026 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14029 # MinGW DLLs use traditional 'lib' prefix
14030 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14031 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14032 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14033 # It is most probably a Windows format PATH printed by
14034 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14035 # path with ; separators, and with drive letters. We can handle the
14036 # drive letters (cygwin fileutils understands them), so leave them,
14037 # especially as we might pass files found there to a mingw objdump,
14038 # which wouldn't understand a cygwinified path. Ahh.
14039 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14041 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14045 # pw32 DLLs use 'pw' prefix rather than 'lib'
14046 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14052 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14055 dynamic_linker
='Win32 ld.exe'
14056 # FIXME: first we should search . and the directory the executable is in
14060 darwin
* | rhapsody
*)
14061 dynamic_linker
="$host_os dyld"
14062 version_type
=darwin
14065 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14066 soname_spec
='${libname}${release}${major}$shared_ext'
14067 shlibpath_overrides_runpath
=yes
14068 shlibpath_var
=DYLD_LIBRARY_PATH
14069 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14071 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14079 soname_spec
='${libname}${release}${shared_ext}$major'
14080 shlibpath_var
=LD_LIBRARY_PATH
14087 freebsd
* | dragonfly
*)
14088 # DragonFly does not have aout. When/if they implement a new
14089 # versioning mechanism, adjust this.
14090 if test -x /usr
/bin
/objformat
; then
14091 objformat
=`/usr/bin/objformat`
14094 freebsd
[123]*) objformat
=aout
;;
14095 *) objformat
=elf
;;
14098 version_type
=freebsd-
$objformat
14099 case $version_type in
14101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14106 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14110 shlibpath_var
=LD_LIBRARY_PATH
14113 shlibpath_overrides_runpath
=yes
14115 freebsd3.
[01]* | freebsdelf3.
[01]*)
14116 shlibpath_overrides_runpath
=yes
14117 hardcode_into_libs
=yes
14119 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14120 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14121 shlibpath_overrides_runpath
=no
14122 hardcode_into_libs
=yes
14124 *) # from 4.6 on, and DragonFly
14125 shlibpath_overrides_runpath
=yes
14126 hardcode_into_libs
=yes
14135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14136 soname_spec
='${libname}${release}${shared_ext}$major'
14137 shlibpath_var
=LD_LIBRARY_PATH
14138 hardcode_into_libs
=yes
14141 hpux9
* | hpux10
* | hpux11
*)
14142 # Give a soname corresponding to the major version so that dld.sl refuses to
14143 # link against other versions.
14150 hardcode_into_libs
=yes
14151 dynamic_linker
="$host_os dld.so"
14152 shlibpath_var
=LD_LIBRARY_PATH
14153 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14155 soname_spec
='${libname}${release}${shared_ext}$major'
14156 if test "X$HPUX_IA64_MODE" = X32
; then
14157 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14159 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14161 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14165 hardcode_into_libs
=yes
14166 dynamic_linker
="$host_os dld.sl"
14167 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14168 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14170 soname_spec
='${libname}${release}${shared_ext}$major'
14171 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14172 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14176 dynamic_linker
="$host_os dld.sl"
14177 shlibpath_var
=SHLIB_PATH
14178 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180 soname_spec
='${libname}${release}${shared_ext}$major'
14183 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14184 postinstall_cmds
='chmod 555 $lib'
14191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14192 soname_spec
='${libname}${release}${shared_ext}$major'
14193 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14194 shlibpath_var
=LD_LIBRARY_PATH
14195 shlibpath_overrides_runpath
=no
14196 hardcode_into_libs
=yes
14199 irix5
* | irix6
* | nonstopux
*)
14201 nonstopux
*) version_type
=nonstopux
;;
14203 if test "$lt_cv_prog_gnu_ld" = yes; then
14211 soname_spec
='${libname}${release}${shared_ext}$major'
14212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14214 irix5
* | nonstopux
*)
14215 libsuff
= shlibsuff
=
14218 case $LD in # libtool.m4 will add one of these switches to LD
14219 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14220 libsuff
= shlibsuff
= libmagic
=32-bit;;
14221 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14222 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14223 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14224 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14225 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14229 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14230 shlibpath_overrides_runpath
=no
14231 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14232 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14233 hardcode_into_libs
=yes
14236 # No shared lib support for Linux oldld, aout, or coff.
14237 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14241 # This must be Linux ELF.
14242 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14247 soname_spec
='${libname}${release}${shared_ext}$major'
14248 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14249 shlibpath_var
=LD_LIBRARY_PATH
14250 shlibpath_overrides_runpath
=no
14252 # Some binutils ld are patched to set DT_RUNPATH
14253 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14254 $as_echo_n "(cached) " >&6
14256 lt_cv_shlibpath_overrides_runpath
=no
14257 save_LDFLAGS
=$LDFLAGS
14258 save_libdir
=$libdir
14259 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14260 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14261 if test x
$gcc_no_link = xyes
; then
14262 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14264 cat > conftest.
$ac_ext <<_ACEOF
14269 if ac_fn_fc_try_link
"$LINENO"; then :
14270 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14271 lt_cv_shlibpath_overrides_runpath
=yes
14274 rm -f core conftest.err conftest.
$ac_objext \
14275 conftest
$ac_exeext conftest.
$ac_ext
14276 LDFLAGS
=$save_LDFLAGS
14277 libdir
=$save_libdir
14281 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14283 # This implies no fast_install, which is unacceptable.
14284 # Some rework will be needed to allow for fast_install
14285 # before this can be enabled.
14286 hardcode_into_libs
=yes
14288 # Append ld.so.conf contents to the search path
14289 if test -f /etc
/ld.so.conf
; then
14290 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;/^$/d' | tr '\n' ' '`
14291 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14294 # We used to test for /lib/ld.so.1 and disable shared libraries on
14295 # powerpc, because MkLinux only supported shared libraries with the
14296 # GNU dynamic linker. Since this was broken with cross compilers,
14297 # most powerpc-linux boxes support dynamic linking these days and
14298 # people can always --disable-shared, the test was removed, and we
14299 # assume the GNU/Linux dynamic linker is in use.
14300 dynamic_linker
='GNU/Linux ld.so'
14307 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14309 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14310 dynamic_linker
='NetBSD (a.out) ld.so'
14312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14313 soname_spec
='${libname}${release}${shared_ext}$major'
14314 dynamic_linker
='NetBSD ld.elf_so'
14316 shlibpath_var
=LD_LIBRARY_PATH
14317 shlibpath_overrides_runpath
=yes
14318 hardcode_into_libs
=yes
14323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14324 shlibpath_var
=LD_LIBRARY_PATH
14325 shlibpath_overrides_runpath
=yes
14332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14333 soname_spec
='${libname}${release}${shared_ext}$major'
14334 shlibpath_var
=LD_LIBRARY_PATH
14335 shlibpath_overrides_runpath
=no
14336 hardcode_into_libs
=yes
14337 dynamic_linker
='ldqnx.so'
14342 sys_lib_dlsearch_path_spec
="/usr/lib"
14344 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14346 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14347 *) need_version
=no
;;
14349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14350 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14351 shlibpath_var
=LD_LIBRARY_PATH
14352 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14354 openbsd2.
[89] | openbsd2.
[89].
*)
14355 shlibpath_overrides_runpath
=no
14358 shlibpath_overrides_runpath
=yes
14362 shlibpath_overrides_runpath
=yes
14367 libname_spec
='$name'
14370 library_names_spec
='$libname${shared_ext} $libname.a'
14371 dynamic_linker
='OS/2 ld.exe'
14372 shlibpath_var
=LIBPATH
14375 osf3
* | osf4
* | osf5
*)
14379 soname_spec
='${libname}${release}${shared_ext}$major'
14380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14381 shlibpath_var
=LD_LIBRARY_PATH
14382 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14383 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14395 soname_spec
='${libname}${release}${shared_ext}$major'
14396 shlibpath_var
=LD_LIBRARY_PATH
14397 shlibpath_overrides_runpath
=yes
14398 hardcode_into_libs
=yes
14399 # ldd complains unless libraries are executable
14400 postinstall_cmds
='chmod +x $lib'
14405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14406 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14407 shlibpath_var
=LD_LIBRARY_PATH
14408 shlibpath_overrides_runpath
=yes
14409 if test "$with_gnu_ld" = yes; then
14417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14418 soname_spec
='${libname}${release}${shared_ext}$major'
14419 shlibpath_var
=LD_LIBRARY_PATH
14420 case $host_vendor in
14422 shlibpath_overrides_runpath
=no
14424 runpath_var
=LD_RUN_PATH
14432 shlibpath_overrides_runpath
=no
14433 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14439 if test -d /usr
/nec
;then
14441 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14442 soname_spec
='$libname${shared_ext}.$major'
14443 shlibpath_var
=LD_LIBRARY_PATH
14447 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14448 version_type
=freebsd-elf
14451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14452 soname_spec
='${libname}${release}${shared_ext}$major'
14453 shlibpath_var
=LD_LIBRARY_PATH
14454 shlibpath_overrides_runpath
=yes
14455 hardcode_into_libs
=yes
14456 if test "$with_gnu_ld" = yes; then
14457 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14459 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14462 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14466 sys_lib_dlsearch_path_spec
='/usr/lib'
14470 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14475 shlibpath_var
=LD_LIBRARY_PATH
14476 shlibpath_overrides_runpath
=no
14477 hardcode_into_libs
=yes
14482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14483 soname_spec
='${libname}${release}${shared_ext}$major'
14484 shlibpath_var
=LD_LIBRARY_PATH
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14492 $as_echo "$dynamic_linker" >&6; }
14493 test "$dynamic_linker" = no
&& can_build_shared
=no
14495 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14496 if test "$GCC" = yes; then
14497 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14500 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14501 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14503 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14504 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14543 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14544 hardcode_action_FC
=
14545 if test -n "$hardcode_libdir_flag_spec_FC" ||
14546 test -n "$runpath_var_FC" ||
14547 test "X$hardcode_automatic_FC" = "Xyes" ; then
14549 # We can hardcode non-existent directories.
14550 if test "$hardcode_direct_FC" != no
&&
14551 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14552 # have to relink, otherwise we might link with an installed library
14553 # when we should be linking with a yet-to-be-installed one
14554 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14555 test "$hardcode_minus_L_FC" != no
; then
14556 # Linking always hardcodes the temporary library directory.
14557 hardcode_action_FC
=relink
14559 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14560 hardcode_action_FC
=immediate
14563 # We cannot hardcode anything, or else we can only hardcode existing
14565 hardcode_action_FC
=unsupported
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14568 $as_echo "$hardcode_action_FC" >&6; }
14570 if test "$hardcode_action_FC" = relink ||
14571 test "$inherit_rpath_FC" = yes; then
14572 # Fast installation is not supported
14573 enable_fast_install
=no
14574 elif test "$shlibpath_overrides_runpath" = yes ||
14575 test "$enable_shared" = no
; then
14576 # Fast installation is not necessary
14577 enable_fast_install
=needless
14586 fi # test -n "$compiler"
14590 fi # test "$_lt_disable_FC" != yes
14593 ac_cpp
='$CPP $CPPFLAGS'
14594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14600 # extra LD Flags which are required for targets
14603 # Darwin needs -single_module when linking libgfortran
14604 extra_ldflags_libgfortran
=-Wl,-single_module
14609 # We need a working compiler at that point, otherwise give a clear
14610 # error message and bail out.
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14613 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14614 ac_ext
=${ac_fc_srcext-f}
14615 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14616 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14617 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
14619 cat > conftest.
$ac_ext <<_ACEOF
14622 real, parameter :: bar = sin (12.34 / 2.5)
14625 if ac_fn_fc_try_compile
"$LINENO"; then :
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14627 $as_echo "yes" >&6; }
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14630 $as_echo "no" >&6; }
14631 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14636 ac_cpp
='$CPP $CPPFLAGS'
14637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14643 # Check whether --enable-largefile was given.
14644 if test "${enable_largefile+set}" = set; then :
14645 enableval
=$enable_largefile;
14648 if test "$enable_largefile" != no
; then
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14651 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14652 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14653 $as_echo_n "(cached) " >&6
14655 ac_cv_sys_largefile_CC
=no
14656 if test "$GCC" != yes; then
14659 # IRIX 6.2 and later do not support large files by default,
14660 # so use the C compiler's -n32 option if that helps.
14661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14663 #include <sys/types.h>
14664 /* Check that off_t can represent 2**63 - 1 correctly.
14665 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14666 since some C++ compilers masquerading as C compilers
14667 incorrectly reject 9223372036854775807. */
14668 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14669 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14670 && LARGE_OFF_T % 2147483647 == 1)
14680 if ac_fn_c_try_compile
"$LINENO"; then :
14683 rm -f core conftest.err conftest.
$ac_objext
14685 if ac_fn_c_try_compile
"$LINENO"; then :
14686 ac_cv_sys_largefile_CC
=' -n32'; break
14688 rm -f core conftest.err conftest.
$ac_objext
14692 rm -f conftest.
$ac_ext
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14696 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14697 if test "$ac_cv_sys_largefile_CC" != no
; then
14698 CC
=$CC$ac_cv_sys_largefile_CC
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14702 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14703 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14704 $as_echo_n "(cached) " >&6
14707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14709 #include <sys/types.h>
14710 /* Check that off_t can represent 2**63 - 1 correctly.
14711 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14712 since some C++ compilers masquerading as C compilers
14713 incorrectly reject 9223372036854775807. */
14714 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14715 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14716 && LARGE_OFF_T % 2147483647 == 1)
14726 if ac_fn_c_try_compile
"$LINENO"; then :
14727 ac_cv_sys_file_offset_bits
=no
; break
14729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14732 #define _FILE_OFFSET_BITS 64
14733 #include <sys/types.h>
14734 /* Check that off_t can represent 2**63 - 1 correctly.
14735 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14736 since some C++ compilers masquerading as C compilers
14737 incorrectly reject 9223372036854775807. */
14738 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14739 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14740 && LARGE_OFF_T % 2147483647 == 1)
14750 if ac_fn_c_try_compile
"$LINENO"; then :
14751 ac_cv_sys_file_offset_bits
=64; break
14753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14754 ac_cv_sys_file_offset_bits
=unknown
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14759 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14760 case $ac_cv_sys_file_offset_bits in #(
14763 cat >>confdefs.h
<<_ACEOF
14764 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14769 if test $ac_cv_sys_file_offset_bits = unknown
; then
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14771 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14772 if test "${ac_cv_sys_large_files+set}" = set; then :
14773 $as_echo_n "(cached) " >&6
14776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14778 #include <sys/types.h>
14779 /* Check that off_t can represent 2**63 - 1 correctly.
14780 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14781 since some C++ compilers masquerading as C compilers
14782 incorrectly reject 9223372036854775807. */
14783 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14784 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14785 && LARGE_OFF_T % 2147483647 == 1)
14795 if ac_fn_c_try_compile
"$LINENO"; then :
14796 ac_cv_sys_large_files
=no
; break
14798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14801 #define _LARGE_FILES 1
14802 #include <sys/types.h>
14803 /* Check that off_t can represent 2**63 - 1 correctly.
14804 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14805 since some C++ compilers masquerading as C compilers
14806 incorrectly reject 9223372036854775807. */
14807 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14808 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14809 && LARGE_OFF_T % 2147483647 == 1)
14819 if ac_fn_c_try_compile
"$LINENO"; then :
14820 ac_cv_sys_large_files
=1; break
14822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14823 ac_cv_sys_large_files
=unknown
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14828 $as_echo "$ac_cv_sys_large_files" >&6; }
14829 case $ac_cv_sys_large_files in #(
14832 cat >>confdefs.h
<<_ACEOF
14833 #define _LARGE_FILES $ac_cv_sys_large_files
14841 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14842 if test "x$ac_cv_type_off_t" = x
""yes; then :
14846 cat >>confdefs.h
<<_ACEOF
14847 #define off_t long int
14853 # check header files
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14855 $as_echo_n "checking for ANSI C header files... " >&6; }
14856 if test "${ac_cv_header_stdc+set}" = set; then :
14857 $as_echo_n "(cached) " >&6
14859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14861 #include <stdlib.h>
14862 #include <stdarg.h>
14863 #include <string.h>
14874 if ac_fn_c_try_compile
"$LINENO"; then :
14875 ac_cv_header_stdc
=yes
14877 ac_cv_header_stdc
=no
14879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14881 if test $ac_cv_header_stdc = yes; then
14882 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14885 #include <string.h>
14888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14889 $EGREP "memchr" >/dev
/null
2>&1; then :
14892 ac_cv_header_stdc
=no
14898 if test $ac_cv_header_stdc = yes; then
14899 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14902 #include <stdlib.h>
14905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14906 $EGREP "free" >/dev
/null
2>&1; then :
14909 ac_cv_header_stdc
=no
14915 if test $ac_cv_header_stdc = yes; then
14916 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14917 if test "$cross_compiling" = yes; then :
14920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14921 /* end confdefs.h. */
14923 #include <stdlib.h>
14924 #if ((' ' & 0x0FF) == 0x020)
14925 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14926 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14928 # define ISLOWER(c) \
14929 (('a' <= (c) && (c) <= 'i') \
14930 || ('j' <= (c) && (c) <= 'r') \
14931 || ('s' <= (c) && (c) <= 'z'))
14932 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14935 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14940 for (i = 0; i < 256; i++)
14941 if (XOR (islower (i), ISLOWER (i))
14942 || toupper (i) != TOUPPER (i))
14947 if ac_fn_c_try_run
"$LINENO"; then :
14950 ac_cv_header_stdc
=no
14952 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14953 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14959 $as_echo "$ac_cv_header_stdc" >&6; }
14960 if test $ac_cv_header_stdc = yes; then
14962 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14967 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14968 if test "${ac_cv_header_time+set}" = set; then :
14969 $as_echo_n "(cached) " >&6
14971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14973 #include <sys/types.h>
14974 #include <sys/time.h>
14980 if ((struct tm *) 0)
14986 if ac_fn_c_try_compile
"$LINENO"; then :
14987 ac_cv_header_time
=yes
14989 ac_cv_header_time
=no
14991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14994 $as_echo "$ac_cv_header_time" >&6; }
14995 if test $ac_cv_header_time = yes; then
14997 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15001 for ac_header
in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15003 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15004 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15005 eval as_val
=\$
$as_ac_Header
15006 if test "x$as_val" = x
""yes; then :
15007 cat >>confdefs.h
<<_ACEOF
15008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15015 for ac_header
in time.h sys
/time.h sys
/times.h sys
/resource.h
15017 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15018 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15019 eval as_val
=\$
$as_ac_Header
15020 if test "x$as_val" = x
""yes; then :
15021 cat >>confdefs.h
<<_ACEOF
15022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15029 for ac_header
in sys
/types.h sys
/stat.h sys
/wait.h floatingpoint.h ieeefp.h
15031 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15032 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15033 eval as_val
=\$
$as_ac_Header
15034 if test "x$as_val" = x
""yes; then :
15035 cat >>confdefs.h
<<_ACEOF
15036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15043 for ac_header
in fenv.h fptrap.h float.h execinfo.h
pwd.h
15045 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15046 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15047 eval as_val
=\$
$as_ac_Header
15048 if test "x$as_val" = x
""yes; then :
15049 cat >>confdefs.h
<<_ACEOF
15050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15057 ac_fn_c_check_header_mongrel
"$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15058 if test "x$ac_cv_header_complex_h" = x
""yes; then :
15060 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15067 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15069 acx_cv_header_stdint
=stddef.h
15070 acx_cv_header_stdint_kind
="(already complete)"
15071 for i
in stdint.h
$inttype_headers; do
15072 unset ac_cv_type_uintptr_t
15073 unset ac_cv_type_uintmax_t
15074 unset ac_cv_type_int_least32_t
15075 unset ac_cv_type_int_fast32_t
15076 unset ac_cv_type_uint64_t
15077 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15078 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15081 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
15082 acx_cv_header_stdint
=$i
15087 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15090 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15093 acx_cv_header_stdint_kind
="(mostly complete)"
15096 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15099 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
15102 acx_cv_header_stdint_kind
="(mostly complete)"
15105 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15108 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
15111 acx_cv_header_stdint_kind
="(mostly complete)"
15114 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15117 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15120 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15125 if test "$acx_cv_header_stdint" = stddef.h
; then
15126 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15127 for i
in stdint.h
$inttype_headers; do
15128 unset ac_cv_type_uintptr_t
15129 unset ac_cv_type_uint32_t
15130 unset ac_cv_type_uint64_t
15131 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15132 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15135 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
15136 acx_cv_header_stdint
=$i
15141 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15144 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15148 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15151 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15158 if test "$acx_cv_header_stdint" = stddef.h
; then
15159 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15160 for i
in sys
/types.h
$inttype_headers; do
15161 unset ac_cv_type_u_int32_t
15162 unset ac_cv_type_u_int64_t
15163 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15164 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15167 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
15168 acx_cv_header_stdint
=$i
15173 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15176 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
15183 if test "$acx_cv_header_stdint" = stddef.h
; then
15184 acx_cv_header_stdint_kind
="(using manual detection)"
15187 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15188 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15189 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15190 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15191 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15193 # ----------------- Summarize what we found so far
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15196 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15198 case `$as_basename -- gstdint.h ||
15199 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15200 Xgstdint.h : 'X\(//\)$' \| \
15201 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15202 $as_echo X/gstdint.h |
15203 sed '/^.*\/\([^/][^/]*\)\/*$/{
15216 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15217 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15218 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15219 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15224 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15226 # ----------------- done included file, check C basic types --------
15228 # Lacking an uintptr_t? Test size of void *
15229 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15230 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15233 # This bug is HP SR number 8606223364.
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15235 $as_echo_n "checking size of void *... " >&6; }
15236 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15237 $as_echo_n "(cached) " >&6
15239 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15242 if test "$ac_cv_type_void_p" = yes; then
15243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15245 { as_fn_set_status
77
15246 as_fn_error
"cannot compute sizeof (void *)
15247 See \`config.log' for more details." "$LINENO" 5; }; }
15249 ac_cv_sizeof_void_p
=0
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15255 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15259 cat >>confdefs.h
<<_ACEOF
15260 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15266 # Lacking an uint64_t? Test size of long
15267 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15268 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15269 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15270 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15271 # This bug is HP SR number 8606223364.
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15273 $as_echo_n "checking size of long... " >&6; }
15274 if test "${ac_cv_sizeof_long+set}" = set; then :
15275 $as_echo_n "(cached) " >&6
15277 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15280 if test "$ac_cv_type_long" = yes; then
15281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15283 { as_fn_set_status
77
15284 as_fn_error
"cannot compute sizeof (long)
15285 See \`config.log' for more details." "$LINENO" 5; }; }
15287 ac_cv_sizeof_long
=0
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15293 $as_echo "$ac_cv_sizeof_long" >&6; }
15297 cat >>confdefs.h
<<_ACEOF
15298 #define SIZEOF_LONG $ac_cv_sizeof_long
15304 if test $acx_cv_header_stdint = stddef.h
; then
15305 # Lacking a good header? Test size of everything and deduce all types.
15306 # The cast to long int works around a bug in the HP C Compiler
15307 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15308 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15309 # This bug is HP SR number 8606223364.
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15311 $as_echo_n "checking size of int... " >&6; }
15312 if test "${ac_cv_sizeof_int+set}" = set; then :
15313 $as_echo_n "(cached) " >&6
15315 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15318 if test "$ac_cv_type_int" = yes; then
15319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15321 { as_fn_set_status
77
15322 as_fn_error
"cannot compute sizeof (int)
15323 See \`config.log' for more details." "$LINENO" 5; }; }
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15331 $as_echo "$ac_cv_sizeof_int" >&6; }
15335 cat >>confdefs.h
<<_ACEOF
15336 #define SIZEOF_INT $ac_cv_sizeof_int
15340 # The cast to long int works around a bug in the HP C Compiler
15341 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15342 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15343 # This bug is HP SR number 8606223364.
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15345 $as_echo_n "checking size of short... " >&6; }
15346 if test "${ac_cv_sizeof_short+set}" = set; then :
15347 $as_echo_n "(cached) " >&6
15349 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15352 if test "$ac_cv_type_short" = yes; then
15353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15355 { as_fn_set_status
77
15356 as_fn_error
"cannot compute sizeof (short)
15357 See \`config.log' for more details." "$LINENO" 5; }; }
15359 ac_cv_sizeof_short
=0
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15365 $as_echo "$ac_cv_sizeof_short" >&6; }
15369 cat >>confdefs.h
<<_ACEOF
15370 #define SIZEOF_SHORT $ac_cv_sizeof_short
15374 # The cast to long int works around a bug in the HP C Compiler
15375 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15376 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15377 # This bug is HP SR number 8606223364.
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15379 $as_echo_n "checking size of char... " >&6; }
15380 if test "${ac_cv_sizeof_char+set}" = set; then :
15381 $as_echo_n "(cached) " >&6
15383 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15386 if test "$ac_cv_type_char" = yes; then
15387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15389 { as_fn_set_status
77
15390 as_fn_error
"cannot compute sizeof (char)
15391 See \`config.log' for more details." "$LINENO" 5; }; }
15393 ac_cv_sizeof_char
=0
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15399 $as_echo "$ac_cv_sizeof_char" >&6; }
15403 cat >>confdefs.h
<<_ACEOF
15404 #define SIZEOF_CHAR $ac_cv_sizeof_char
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15410 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15411 case "$ac_cv_sizeof_char" in
15412 1) acx_cv_type_int8_t
=char
;;
15413 *) { as_fn_set_status please report a bug
15414 as_fn_error
"no 8-bit type" "$LINENO" 5; }
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15417 $as_echo "$acx_cv_type_int8_t" >&6; }
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15420 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15421 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15422 2:*) acx_cv_type_int16_t
=int
;;
15423 *:2) acx_cv_type_int16_t
=short
;;
15424 *) { as_fn_set_status please report a bug
15425 as_fn_error
"no 16-bit type" "$LINENO" 5; }
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15428 $as_echo "$acx_cv_type_int16_t" >&6; }
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15431 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15432 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15433 4:*) acx_cv_type_int32_t
=int
;;
15434 *:4) acx_cv_type_int32_t
=long
;;
15435 *) { as_fn_set_status please report a bug
15436 as_fn_error
"no 32-bit type" "$LINENO" 5; }
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15439 $as_echo "$acx_cv_type_int32_t" >&6; }
15442 # These tests are here to make the output prettier
15444 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15445 case "$ac_cv_sizeof_long" in
15446 8) acx_cv_type_int64_t
=long
;;
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15449 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15451 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15454 # Now we can use the above types
15456 if test "$ac_cv_type_uintptr_t" != yes; then
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15458 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15459 case $ac_cv_sizeof_void_p in
15460 2) acx_cv_type_intptr_t
=int16_t
;;
15461 4) acx_cv_type_intptr_t
=int32_t
;;
15462 8) acx_cv_type_intptr_t
=int64_t
;;
15463 *) { as_fn_set_status please report a bug
15464 as_fn_error
"no equivalent for intptr_t" "$LINENO" 5; }
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15467 $as_echo "$acx_cv_type_intptr_t" >&6; }
15470 # ----------------- done all checks, emit header -------------
15471 ac_config_commands
="$ac_config_commands gstdint.h"
15476 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15477 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
15479 cat >>confdefs.h
<<_ACEOF
15480 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15486 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15487 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
15489 cat >>confdefs.h
<<_ACEOF
15490 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15496 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15497 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
15499 cat >>confdefs.h
<<_ACEOF
15500 #define HAVE_STRUCT_STAT_ST_RDEV 1
15507 # Check for library functions.
15508 for ac_func
in getrusage
times mkstemp strtof strtold snprintf ftruncate chsize
15510 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15511 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15512 eval as_val
=\$
$as_ac_var
15513 if test "x$as_val" = x
""yes; then :
15514 cat >>confdefs.h
<<_ACEOF
15515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15521 for ac_func
in chdir strerror getlogin gethostname
kill link symlink perror
15523 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15524 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15525 eval as_val
=\$
$as_ac_var
15526 if test "x$as_val" = x
""yes; then :
15527 cat >>confdefs.h
<<_ACEOF
15528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15534 for ac_func
in sleep time ttyname signal alarm ctime
clock access fork execl
15536 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15537 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15538 eval as_val
=\$
$as_ac_var
15539 if test "x$as_val" = x
""yes; then :
15540 cat >>confdefs.h
<<_ACEOF
15541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15547 for ac_func
in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15549 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15550 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15551 eval as_val
=\$
$as_ac_var
15552 if test "x$as_val" = x
""yes; then :
15553 cat >>confdefs.h
<<_ACEOF
15554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15560 for ac_func
in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15562 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15563 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15564 eval as_val
=\$
$as_ac_var
15565 if test "x$as_val" = x
""yes; then :
15566 cat >>confdefs.h
<<_ACEOF
15567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15573 for ac_func
in localtime_r gmtime_r
15575 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15576 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15577 eval as_val
=\$
$as_ac_var
15578 if test "x$as_val" = x
""yes; then :
15579 cat >>confdefs.h
<<_ACEOF
15580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15587 # Check for glibc backtrace functions
15588 for ac_func
in backtrace backtrace_symbols
15590 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15591 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15592 eval as_val
=\$
$as_ac_var
15593 if test "x$as_val" = x
""yes; then :
15594 cat >>confdefs.h
<<_ACEOF
15595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15603 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15604 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15606 cat >>confdefs.h
<<_ACEOF
15607 #define HAVE_INTPTR_T 1
15613 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15614 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15616 cat >>confdefs.h
<<_ACEOF
15617 #define HAVE_UINTPTR_T 1
15624 # Check libc for getgid, getpid, getuid
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15626 $as_echo_n "checking for getgid in -lc... " >&6; }
15627 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15628 $as_echo_n "(cached) " >&6
15630 ac_check_lib_save_LIBS
=$LIBS
15632 if test x
$gcc_no_link = xyes
; then
15633 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15636 /* end confdefs.h. */
15638 /* Override any GCC internal prototype to avoid an error.
15639 Use char because int might match the return type of a GCC
15640 builtin and then its argument prototype would still apply. */
15653 if ac_fn_c_try_link
"$LINENO"; then :
15654 ac_cv_lib_c_getgid
=yes
15656 ac_cv_lib_c_getgid
=no
15658 rm -f core conftest.err conftest.
$ac_objext \
15659 conftest
$ac_exeext conftest.
$ac_ext
15660 LIBS
=$ac_check_lib_save_LIBS
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15663 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15664 if test "x$ac_cv_lib_c_getgid" = x
""yes; then :
15666 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15671 $as_echo_n "checking for getpid in -lc... " >&6; }
15672 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15673 $as_echo_n "(cached) " >&6
15675 ac_check_lib_save_LIBS
=$LIBS
15677 if test x
$gcc_no_link = xyes
; then
15678 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15683 /* Override any GCC internal prototype to avoid an error.
15684 Use char because int might match the return type of a GCC
15685 builtin and then its argument prototype would still apply. */
15698 if ac_fn_c_try_link
"$LINENO"; then :
15699 ac_cv_lib_c_getpid
=yes
15701 ac_cv_lib_c_getpid
=no
15703 rm -f core conftest.err conftest.
$ac_objext \
15704 conftest
$ac_exeext conftest.
$ac_ext
15705 LIBS
=$ac_check_lib_save_LIBS
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15708 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15709 if test "x$ac_cv_lib_c_getpid" = x
""yes; then :
15711 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15716 $as_echo_n "checking for getppid in -lc... " >&6; }
15717 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15718 $as_echo_n "(cached) " >&6
15720 ac_check_lib_save_LIBS
=$LIBS
15722 if test x
$gcc_no_link = xyes
; then
15723 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15728 /* Override any GCC internal prototype to avoid an error.
15729 Use char because int might match the return type of a GCC
15730 builtin and then its argument prototype would still apply. */
15743 if ac_fn_c_try_link
"$LINENO"; then :
15744 ac_cv_lib_c_getppid
=yes
15746 ac_cv_lib_c_getppid
=no
15748 rm -f core conftest.err conftest.
$ac_objext \
15749 conftest
$ac_exeext conftest.
$ac_ext
15750 LIBS
=$ac_check_lib_save_LIBS
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15753 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15754 if test "x$ac_cv_lib_c_getppid" = x
""yes; then :
15756 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15761 $as_echo_n "checking for getuid in -lc... " >&6; }
15762 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15763 $as_echo_n "(cached) " >&6
15765 ac_check_lib_save_LIBS
=$LIBS
15767 if test x
$gcc_no_link = xyes
; then
15768 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15773 /* Override any GCC internal prototype to avoid an error.
15774 Use char because int might match the return type of a GCC
15775 builtin and then its argument prototype would still apply. */
15788 if ac_fn_c_try_link
"$LINENO"; then :
15789 ac_cv_lib_c_getuid
=yes
15791 ac_cv_lib_c_getuid
=no
15793 rm -f core conftest.err conftest.
$ac_objext \
15794 conftest
$ac_exeext conftest.
$ac_ext
15795 LIBS
=$ac_check_lib_save_LIBS
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15798 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15799 if test "x$ac_cv_lib_c_getuid" = x
""yes; then :
15801 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15806 $as_echo_n "checking for geteuid in -lc... " >&6; }
15807 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15808 $as_echo_n "(cached) " >&6
15810 ac_check_lib_save_LIBS
=$LIBS
15812 if test x
$gcc_no_link = xyes
; then
15813 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15816 /* end confdefs.h. */
15818 /* Override any GCC internal prototype to avoid an error.
15819 Use char because int might match the return type of a GCC
15820 builtin and then its argument prototype would still apply. */
15833 if ac_fn_c_try_link
"$LINENO"; then :
15834 ac_cv_lib_c_geteuid
=yes
15836 ac_cv_lib_c_geteuid
=no
15838 rm -f core conftest.err conftest.
$ac_objext \
15839 conftest
$ac_exeext conftest.
$ac_ext
15840 LIBS
=$ac_check_lib_save_LIBS
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15843 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15844 if test "x$ac_cv_lib_c_geteuid" = x
""yes; then :
15846 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15851 # Check for C99 (and other IEEE) math functions
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15853 $as_echo_n "checking for acosf in -lm... " >&6; }
15854 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15855 $as_echo_n "(cached) " >&6
15857 ac_check_lib_save_LIBS
=$LIBS
15859 if test x
$gcc_no_link = xyes
; then
15860 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15863 /* end confdefs.h. */
15865 /* Override any GCC internal prototype to avoid an error.
15866 Use char because int might match the return type of a GCC
15867 builtin and then its argument prototype would still apply. */
15880 if ac_fn_c_try_link
"$LINENO"; then :
15881 ac_cv_lib_m_acosf
=yes
15883 ac_cv_lib_m_acosf
=no
15885 rm -f core conftest.err conftest.
$ac_objext \
15886 conftest
$ac_exeext conftest.
$ac_ext
15887 LIBS
=$ac_check_lib_save_LIBS
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15890 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15891 if test "x$ac_cv_lib_m_acosf" = x
""yes; then :
15893 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15898 $as_echo_n "checking for acos in -lm... " >&6; }
15899 if test "${ac_cv_lib_m_acos+set}" = set; then :
15900 $as_echo_n "(cached) " >&6
15902 ac_check_lib_save_LIBS
=$LIBS
15904 if test x
$gcc_no_link = xyes
; then
15905 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15910 /* Override any GCC internal prototype to avoid an error.
15911 Use char because int might match the return type of a GCC
15912 builtin and then its argument prototype would still apply. */
15925 if ac_fn_c_try_link
"$LINENO"; then :
15926 ac_cv_lib_m_acos
=yes
15928 ac_cv_lib_m_acos
=no
15930 rm -f core conftest.err conftest.
$ac_objext \
15931 conftest
$ac_exeext conftest.
$ac_ext
15932 LIBS
=$ac_check_lib_save_LIBS
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15935 $as_echo "$ac_cv_lib_m_acos" >&6; }
15936 if test "x$ac_cv_lib_m_acos" = x
""yes; then :
15938 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
15943 $as_echo_n "checking for acosl in -lm... " >&6; }
15944 if test "${ac_cv_lib_m_acosl+set}" = set; then :
15945 $as_echo_n "(cached) " >&6
15947 ac_check_lib_save_LIBS
=$LIBS
15949 if test x
$gcc_no_link = xyes
; then
15950 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15953 /* end confdefs.h. */
15955 /* Override any GCC internal prototype to avoid an error.
15956 Use char because int might match the return type of a GCC
15957 builtin and then its argument prototype would still apply. */
15970 if ac_fn_c_try_link
"$LINENO"; then :
15971 ac_cv_lib_m_acosl
=yes
15973 ac_cv_lib_m_acosl
=no
15975 rm -f core conftest.err conftest.
$ac_objext \
15976 conftest
$ac_exeext conftest.
$ac_ext
15977 LIBS
=$ac_check_lib_save_LIBS
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
15980 $as_echo "$ac_cv_lib_m_acosl" >&6; }
15981 if test "x$ac_cv_lib_m_acosl" = x
""yes; then :
15983 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
15988 $as_echo_n "checking for acoshf in -lm... " >&6; }
15989 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
15990 $as_echo_n "(cached) " >&6
15992 ac_check_lib_save_LIBS
=$LIBS
15994 if test x
$gcc_no_link = xyes
; then
15995 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15998 /* end confdefs.h. */
16000 /* Override any GCC internal prototype to avoid an error.
16001 Use char because int might match the return type of a GCC
16002 builtin and then its argument prototype would still apply. */
16015 if ac_fn_c_try_link
"$LINENO"; then :
16016 ac_cv_lib_m_acoshf
=yes
16018 ac_cv_lib_m_acoshf
=no
16020 rm -f core conftest.err conftest.
$ac_objext \
16021 conftest
$ac_exeext conftest.
$ac_ext
16022 LIBS
=$ac_check_lib_save_LIBS
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16025 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16026 if test "x$ac_cv_lib_m_acoshf" = x
""yes; then :
16028 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16033 $as_echo_n "checking for acosh in -lm... " >&6; }
16034 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16035 $as_echo_n "(cached) " >&6
16037 ac_check_lib_save_LIBS
=$LIBS
16039 if test x
$gcc_no_link = xyes
; then
16040 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16043 /* end confdefs.h. */
16045 /* Override any GCC internal prototype to avoid an error.
16046 Use char because int might match the return type of a GCC
16047 builtin and then its argument prototype would still apply. */
16060 if ac_fn_c_try_link
"$LINENO"; then :
16061 ac_cv_lib_m_acosh
=yes
16063 ac_cv_lib_m_acosh
=no
16065 rm -f core conftest.err conftest.
$ac_objext \
16066 conftest
$ac_exeext conftest.
$ac_ext
16067 LIBS
=$ac_check_lib_save_LIBS
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16070 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16071 if test "x$ac_cv_lib_m_acosh" = x
""yes; then :
16073 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16078 $as_echo_n "checking for acoshl in -lm... " >&6; }
16079 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16080 $as_echo_n "(cached) " >&6
16082 ac_check_lib_save_LIBS
=$LIBS
16084 if test x
$gcc_no_link = xyes
; then
16085 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16088 /* end confdefs.h. */
16090 /* Override any GCC internal prototype to avoid an error.
16091 Use char because int might match the return type of a GCC
16092 builtin and then its argument prototype would still apply. */
16105 if ac_fn_c_try_link
"$LINENO"; then :
16106 ac_cv_lib_m_acoshl
=yes
16108 ac_cv_lib_m_acoshl
=no
16110 rm -f core conftest.err conftest.
$ac_objext \
16111 conftest
$ac_exeext conftest.
$ac_ext
16112 LIBS
=$ac_check_lib_save_LIBS
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16115 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16116 if test "x$ac_cv_lib_m_acoshl" = x
""yes; then :
16118 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16123 $as_echo_n "checking for asinf in -lm... " >&6; }
16124 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16125 $as_echo_n "(cached) " >&6
16127 ac_check_lib_save_LIBS
=$LIBS
16129 if test x
$gcc_no_link = xyes
; then
16130 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16150 if ac_fn_c_try_link
"$LINENO"; then :
16151 ac_cv_lib_m_asinf
=yes
16153 ac_cv_lib_m_asinf
=no
16155 rm -f core conftest.err conftest.
$ac_objext \
16156 conftest
$ac_exeext conftest.
$ac_ext
16157 LIBS
=$ac_check_lib_save_LIBS
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16160 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16161 if test "x$ac_cv_lib_m_asinf" = x
""yes; then :
16163 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16168 $as_echo_n "checking for asin in -lm... " >&6; }
16169 if test "${ac_cv_lib_m_asin+set}" = set; then :
16170 $as_echo_n "(cached) " >&6
16172 ac_check_lib_save_LIBS
=$LIBS
16174 if test x
$gcc_no_link = xyes
; then
16175 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16178 /* end confdefs.h. */
16180 /* Override any GCC internal prototype to avoid an error.
16181 Use char because int might match the return type of a GCC
16182 builtin and then its argument prototype would still apply. */
16195 if ac_fn_c_try_link
"$LINENO"; then :
16196 ac_cv_lib_m_asin
=yes
16198 ac_cv_lib_m_asin
=no
16200 rm -f core conftest.err conftest.
$ac_objext \
16201 conftest
$ac_exeext conftest.
$ac_ext
16202 LIBS
=$ac_check_lib_save_LIBS
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16205 $as_echo "$ac_cv_lib_m_asin" >&6; }
16206 if test "x$ac_cv_lib_m_asin" = x
""yes; then :
16208 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16213 $as_echo_n "checking for asinl in -lm... " >&6; }
16214 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16215 $as_echo_n "(cached) " >&6
16217 ac_check_lib_save_LIBS
=$LIBS
16219 if test x
$gcc_no_link = xyes
; then
16220 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16223 /* end confdefs.h. */
16225 /* Override any GCC internal prototype to avoid an error.
16226 Use char because int might match the return type of a GCC
16227 builtin and then its argument prototype would still apply. */
16240 if ac_fn_c_try_link
"$LINENO"; then :
16241 ac_cv_lib_m_asinl
=yes
16243 ac_cv_lib_m_asinl
=no
16245 rm -f core conftest.err conftest.
$ac_objext \
16246 conftest
$ac_exeext conftest.
$ac_ext
16247 LIBS
=$ac_check_lib_save_LIBS
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16250 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16251 if test "x$ac_cv_lib_m_asinl" = x
""yes; then :
16253 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16258 $as_echo_n "checking for asinhf in -lm... " >&6; }
16259 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16260 $as_echo_n "(cached) " >&6
16262 ac_check_lib_save_LIBS
=$LIBS
16264 if test x
$gcc_no_link = xyes
; then
16265 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16270 /* Override any GCC internal prototype to avoid an error.
16271 Use char because int might match the return type of a GCC
16272 builtin and then its argument prototype would still apply. */
16285 if ac_fn_c_try_link
"$LINENO"; then :
16286 ac_cv_lib_m_asinhf
=yes
16288 ac_cv_lib_m_asinhf
=no
16290 rm -f core conftest.err conftest.
$ac_objext \
16291 conftest
$ac_exeext conftest.
$ac_ext
16292 LIBS
=$ac_check_lib_save_LIBS
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16295 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16296 if test "x$ac_cv_lib_m_asinhf" = x
""yes; then :
16298 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16303 $as_echo_n "checking for asinh in -lm... " >&6; }
16304 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16305 $as_echo_n "(cached) " >&6
16307 ac_check_lib_save_LIBS
=$LIBS
16309 if test x
$gcc_no_link = xyes
; then
16310 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16315 /* Override any GCC internal prototype to avoid an error.
16316 Use char because int might match the return type of a GCC
16317 builtin and then its argument prototype would still apply. */
16330 if ac_fn_c_try_link
"$LINENO"; then :
16331 ac_cv_lib_m_asinh
=yes
16333 ac_cv_lib_m_asinh
=no
16335 rm -f core conftest.err conftest.
$ac_objext \
16336 conftest
$ac_exeext conftest.
$ac_ext
16337 LIBS
=$ac_check_lib_save_LIBS
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16340 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16341 if test "x$ac_cv_lib_m_asinh" = x
""yes; then :
16343 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16348 $as_echo_n "checking for asinhl in -lm... " >&6; }
16349 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16350 $as_echo_n "(cached) " >&6
16352 ac_check_lib_save_LIBS
=$LIBS
16354 if test x
$gcc_no_link = xyes
; then
16355 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16360 /* Override any GCC internal prototype to avoid an error.
16361 Use char because int might match the return type of a GCC
16362 builtin and then its argument prototype would still apply. */
16375 if ac_fn_c_try_link
"$LINENO"; then :
16376 ac_cv_lib_m_asinhl
=yes
16378 ac_cv_lib_m_asinhl
=no
16380 rm -f core conftest.err conftest.
$ac_objext \
16381 conftest
$ac_exeext conftest.
$ac_ext
16382 LIBS
=$ac_check_lib_save_LIBS
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16385 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16386 if test "x$ac_cv_lib_m_asinhl" = x
""yes; then :
16388 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16393 $as_echo_n "checking for atan2f in -lm... " >&6; }
16394 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16395 $as_echo_n "(cached) " >&6
16397 ac_check_lib_save_LIBS
=$LIBS
16399 if test x
$gcc_no_link = xyes
; then
16400 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16403 /* end confdefs.h. */
16405 /* Override any GCC internal prototype to avoid an error.
16406 Use char because int might match the return type of a GCC
16407 builtin and then its argument prototype would still apply. */
16420 if ac_fn_c_try_link
"$LINENO"; then :
16421 ac_cv_lib_m_atan2f
=yes
16423 ac_cv_lib_m_atan2f
=no
16425 rm -f core conftest.err conftest.
$ac_objext \
16426 conftest
$ac_exeext conftest.
$ac_ext
16427 LIBS
=$ac_check_lib_save_LIBS
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16430 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16431 if test "x$ac_cv_lib_m_atan2f" = x
""yes; then :
16433 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16438 $as_echo_n "checking for atan2 in -lm... " >&6; }
16439 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16440 $as_echo_n "(cached) " >&6
16442 ac_check_lib_save_LIBS
=$LIBS
16444 if test x
$gcc_no_link = xyes
; then
16445 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16448 /* end confdefs.h. */
16450 /* Override any GCC internal prototype to avoid an error.
16451 Use char because int might match the return type of a GCC
16452 builtin and then its argument prototype would still apply. */
16465 if ac_fn_c_try_link
"$LINENO"; then :
16466 ac_cv_lib_m_atan2
=yes
16468 ac_cv_lib_m_atan2
=no
16470 rm -f core conftest.err conftest.
$ac_objext \
16471 conftest
$ac_exeext conftest.
$ac_ext
16472 LIBS
=$ac_check_lib_save_LIBS
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16475 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16476 if test "x$ac_cv_lib_m_atan2" = x
""yes; then :
16478 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16483 $as_echo_n "checking for atan2l in -lm... " >&6; }
16484 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16485 $as_echo_n "(cached) " >&6
16487 ac_check_lib_save_LIBS
=$LIBS
16489 if test x
$gcc_no_link = xyes
; then
16490 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16495 /* Override any GCC internal prototype to avoid an error.
16496 Use char because int might match the return type of a GCC
16497 builtin and then its argument prototype would still apply. */
16510 if ac_fn_c_try_link
"$LINENO"; then :
16511 ac_cv_lib_m_atan2l
=yes
16513 ac_cv_lib_m_atan2l
=no
16515 rm -f core conftest.err conftest.
$ac_objext \
16516 conftest
$ac_exeext conftest.
$ac_ext
16517 LIBS
=$ac_check_lib_save_LIBS
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16520 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16521 if test "x$ac_cv_lib_m_atan2l" = x
""yes; then :
16523 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16528 $as_echo_n "checking for atanf in -lm... " >&6; }
16529 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16530 $as_echo_n "(cached) " >&6
16532 ac_check_lib_save_LIBS
=$LIBS
16534 if test x
$gcc_no_link = xyes
; then
16535 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16540 /* Override any GCC internal prototype to avoid an error.
16541 Use char because int might match the return type of a GCC
16542 builtin and then its argument prototype would still apply. */
16555 if ac_fn_c_try_link
"$LINENO"; then :
16556 ac_cv_lib_m_atanf
=yes
16558 ac_cv_lib_m_atanf
=no
16560 rm -f core conftest.err conftest.
$ac_objext \
16561 conftest
$ac_exeext conftest.
$ac_ext
16562 LIBS
=$ac_check_lib_save_LIBS
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16565 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16566 if test "x$ac_cv_lib_m_atanf" = x
""yes; then :
16568 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16573 $as_echo_n "checking for atan in -lm... " >&6; }
16574 if test "${ac_cv_lib_m_atan+set}" = set; then :
16575 $as_echo_n "(cached) " >&6
16577 ac_check_lib_save_LIBS
=$LIBS
16579 if test x
$gcc_no_link = xyes
; then
16580 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16585 /* Override any GCC internal prototype to avoid an error.
16586 Use char because int might match the return type of a GCC
16587 builtin and then its argument prototype would still apply. */
16600 if ac_fn_c_try_link
"$LINENO"; then :
16601 ac_cv_lib_m_atan
=yes
16603 ac_cv_lib_m_atan
=no
16605 rm -f core conftest.err conftest.
$ac_objext \
16606 conftest
$ac_exeext conftest.
$ac_ext
16607 LIBS
=$ac_check_lib_save_LIBS
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16610 $as_echo "$ac_cv_lib_m_atan" >&6; }
16611 if test "x$ac_cv_lib_m_atan" = x
""yes; then :
16613 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16618 $as_echo_n "checking for atanl in -lm... " >&6; }
16619 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16620 $as_echo_n "(cached) " >&6
16622 ac_check_lib_save_LIBS
=$LIBS
16624 if test x
$gcc_no_link = xyes
; then
16625 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16630 /* Override any GCC internal prototype to avoid an error.
16631 Use char because int might match the return type of a GCC
16632 builtin and then its argument prototype would still apply. */
16645 if ac_fn_c_try_link
"$LINENO"; then :
16646 ac_cv_lib_m_atanl
=yes
16648 ac_cv_lib_m_atanl
=no
16650 rm -f core conftest.err conftest.
$ac_objext \
16651 conftest
$ac_exeext conftest.
$ac_ext
16652 LIBS
=$ac_check_lib_save_LIBS
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16655 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16656 if test "x$ac_cv_lib_m_atanl" = x
""yes; then :
16658 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16663 $as_echo_n "checking for atanhf in -lm... " >&6; }
16664 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16665 $as_echo_n "(cached) " >&6
16667 ac_check_lib_save_LIBS
=$LIBS
16669 if test x
$gcc_no_link = xyes
; then
16670 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16675 /* Override any GCC internal prototype to avoid an error.
16676 Use char because int might match the return type of a GCC
16677 builtin and then its argument prototype would still apply. */
16690 if ac_fn_c_try_link
"$LINENO"; then :
16691 ac_cv_lib_m_atanhf
=yes
16693 ac_cv_lib_m_atanhf
=no
16695 rm -f core conftest.err conftest.
$ac_objext \
16696 conftest
$ac_exeext conftest.
$ac_ext
16697 LIBS
=$ac_check_lib_save_LIBS
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16700 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16701 if test "x$ac_cv_lib_m_atanhf" = x
""yes; then :
16703 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16708 $as_echo_n "checking for atanh in -lm... " >&6; }
16709 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16710 $as_echo_n "(cached) " >&6
16712 ac_check_lib_save_LIBS
=$LIBS
16714 if test x
$gcc_no_link = xyes
; then
16715 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16720 /* Override any GCC internal prototype to avoid an error.
16721 Use char because int might match the return type of a GCC
16722 builtin and then its argument prototype would still apply. */
16735 if ac_fn_c_try_link
"$LINENO"; then :
16736 ac_cv_lib_m_atanh
=yes
16738 ac_cv_lib_m_atanh
=no
16740 rm -f core conftest.err conftest.
$ac_objext \
16741 conftest
$ac_exeext conftest.
$ac_ext
16742 LIBS
=$ac_check_lib_save_LIBS
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16745 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16746 if test "x$ac_cv_lib_m_atanh" = x
""yes; then :
16748 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16753 $as_echo_n "checking for atanhl in -lm... " >&6; }
16754 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16755 $as_echo_n "(cached) " >&6
16757 ac_check_lib_save_LIBS
=$LIBS
16759 if test x
$gcc_no_link = xyes
; then
16760 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16765 /* Override any GCC internal prototype to avoid an error.
16766 Use char because int might match the return type of a GCC
16767 builtin and then its argument prototype would still apply. */
16780 if ac_fn_c_try_link
"$LINENO"; then :
16781 ac_cv_lib_m_atanhl
=yes
16783 ac_cv_lib_m_atanhl
=no
16785 rm -f core conftest.err conftest.
$ac_objext \
16786 conftest
$ac_exeext conftest.
$ac_ext
16787 LIBS
=$ac_check_lib_save_LIBS
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16790 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16791 if test "x$ac_cv_lib_m_atanhl" = x
""yes; then :
16793 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16798 $as_echo_n "checking for cargf in -lm... " >&6; }
16799 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16800 $as_echo_n "(cached) " >&6
16802 ac_check_lib_save_LIBS
=$LIBS
16804 if test x
$gcc_no_link = xyes
; then
16805 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16810 /* Override any GCC internal prototype to avoid an error.
16811 Use char because int might match the return type of a GCC
16812 builtin and then its argument prototype would still apply. */
16825 if ac_fn_c_try_link
"$LINENO"; then :
16826 ac_cv_lib_m_cargf
=yes
16828 ac_cv_lib_m_cargf
=no
16830 rm -f core conftest.err conftest.
$ac_objext \
16831 conftest
$ac_exeext conftest.
$ac_ext
16832 LIBS
=$ac_check_lib_save_LIBS
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16835 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16836 if test "x$ac_cv_lib_m_cargf" = x
""yes; then :
16838 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16843 $as_echo_n "checking for carg in -lm... " >&6; }
16844 if test "${ac_cv_lib_m_carg+set}" = set; then :
16845 $as_echo_n "(cached) " >&6
16847 ac_check_lib_save_LIBS
=$LIBS
16849 if test x
$gcc_no_link = xyes
; then
16850 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16855 /* Override any GCC internal prototype to avoid an error.
16856 Use char because int might match the return type of a GCC
16857 builtin and then its argument prototype would still apply. */
16870 if ac_fn_c_try_link
"$LINENO"; then :
16871 ac_cv_lib_m_carg
=yes
16873 ac_cv_lib_m_carg
=no
16875 rm -f core conftest.err conftest.
$ac_objext \
16876 conftest
$ac_exeext conftest.
$ac_ext
16877 LIBS
=$ac_check_lib_save_LIBS
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16880 $as_echo "$ac_cv_lib_m_carg" >&6; }
16881 if test "x$ac_cv_lib_m_carg" = x
""yes; then :
16883 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16888 $as_echo_n "checking for cargl in -lm... " >&6; }
16889 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16890 $as_echo_n "(cached) " >&6
16892 ac_check_lib_save_LIBS
=$LIBS
16894 if test x
$gcc_no_link = xyes
; then
16895 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16900 /* Override any GCC internal prototype to avoid an error.
16901 Use char because int might match the return type of a GCC
16902 builtin and then its argument prototype would still apply. */
16915 if ac_fn_c_try_link
"$LINENO"; then :
16916 ac_cv_lib_m_cargl
=yes
16918 ac_cv_lib_m_cargl
=no
16920 rm -f core conftest.err conftest.
$ac_objext \
16921 conftest
$ac_exeext conftest.
$ac_ext
16922 LIBS
=$ac_check_lib_save_LIBS
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16925 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16926 if test "x$ac_cv_lib_m_cargl" = x
""yes; then :
16928 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16933 $as_echo_n "checking for ceilf in -lm... " >&6; }
16934 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16935 $as_echo_n "(cached) " >&6
16937 ac_check_lib_save_LIBS
=$LIBS
16939 if test x
$gcc_no_link = xyes
; then
16940 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16945 /* Override any GCC internal prototype to avoid an error.
16946 Use char because int might match the return type of a GCC
16947 builtin and then its argument prototype would still apply. */
16960 if ac_fn_c_try_link
"$LINENO"; then :
16961 ac_cv_lib_m_ceilf
=yes
16963 ac_cv_lib_m_ceilf
=no
16965 rm -f core conftest.err conftest.
$ac_objext \
16966 conftest
$ac_exeext conftest.
$ac_ext
16967 LIBS
=$ac_check_lib_save_LIBS
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
16970 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
16971 if test "x$ac_cv_lib_m_ceilf" = x
""yes; then :
16973 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
16978 $as_echo_n "checking for ceil in -lm... " >&6; }
16979 if test "${ac_cv_lib_m_ceil+set}" = set; then :
16980 $as_echo_n "(cached) " >&6
16982 ac_check_lib_save_LIBS
=$LIBS
16984 if test x
$gcc_no_link = xyes
; then
16985 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16990 /* Override any GCC internal prototype to avoid an error.
16991 Use char because int might match the return type of a GCC
16992 builtin and then its argument prototype would still apply. */
17005 if ac_fn_c_try_link
"$LINENO"; then :
17006 ac_cv_lib_m_ceil
=yes
17008 ac_cv_lib_m_ceil
=no
17010 rm -f core conftest.err conftest.
$ac_objext \
17011 conftest
$ac_exeext conftest.
$ac_ext
17012 LIBS
=$ac_check_lib_save_LIBS
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17015 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17016 if test "x$ac_cv_lib_m_ceil" = x
""yes; then :
17018 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17023 $as_echo_n "checking for ceill in -lm... " >&6; }
17024 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17025 $as_echo_n "(cached) " >&6
17027 ac_check_lib_save_LIBS
=$LIBS
17029 if test x
$gcc_no_link = xyes
; then
17030 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17035 /* Override any GCC internal prototype to avoid an error.
17036 Use char because int might match the return type of a GCC
17037 builtin and then its argument prototype would still apply. */
17050 if ac_fn_c_try_link
"$LINENO"; then :
17051 ac_cv_lib_m_ceill
=yes
17053 ac_cv_lib_m_ceill
=no
17055 rm -f core conftest.err conftest.
$ac_objext \
17056 conftest
$ac_exeext conftest.
$ac_ext
17057 LIBS
=$ac_check_lib_save_LIBS
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17060 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17061 if test "x$ac_cv_lib_m_ceill" = x
""yes; then :
17063 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17068 $as_echo_n "checking for copysignf in -lm... " >&6; }
17069 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17070 $as_echo_n "(cached) " >&6
17072 ac_check_lib_save_LIBS
=$LIBS
17074 if test x
$gcc_no_link = xyes
; then
17075 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17080 /* Override any GCC internal prototype to avoid an error.
17081 Use char because int might match the return type of a GCC
17082 builtin and then its argument prototype would still apply. */
17090 return copysignf ();
17095 if ac_fn_c_try_link
"$LINENO"; then :
17096 ac_cv_lib_m_copysignf
=yes
17098 ac_cv_lib_m_copysignf
=no
17100 rm -f core conftest.err conftest.
$ac_objext \
17101 conftest
$ac_exeext conftest.
$ac_ext
17102 LIBS
=$ac_check_lib_save_LIBS
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17105 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17106 if test "x$ac_cv_lib_m_copysignf" = x
""yes; then :
17108 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17113 $as_echo_n "checking for copysign in -lm... " >&6; }
17114 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17115 $as_echo_n "(cached) " >&6
17117 ac_check_lib_save_LIBS
=$LIBS
17119 if test x
$gcc_no_link = xyes
; then
17120 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17125 /* Override any GCC internal prototype to avoid an error.
17126 Use char because int might match the return type of a GCC
17127 builtin and then its argument prototype would still apply. */
17135 return copysign ();
17140 if ac_fn_c_try_link
"$LINENO"; then :
17141 ac_cv_lib_m_copysign
=yes
17143 ac_cv_lib_m_copysign
=no
17145 rm -f core conftest.err conftest.
$ac_objext \
17146 conftest
$ac_exeext conftest.
$ac_ext
17147 LIBS
=$ac_check_lib_save_LIBS
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17150 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17151 if test "x$ac_cv_lib_m_copysign" = x
""yes; then :
17153 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17158 $as_echo_n "checking for copysignl in -lm... " >&6; }
17159 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17160 $as_echo_n "(cached) " >&6
17162 ac_check_lib_save_LIBS
=$LIBS
17164 if test x
$gcc_no_link = xyes
; then
17165 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17170 /* Override any GCC internal prototype to avoid an error.
17171 Use char because int might match the return type of a GCC
17172 builtin and then its argument prototype would still apply. */
17180 return copysignl ();
17185 if ac_fn_c_try_link
"$LINENO"; then :
17186 ac_cv_lib_m_copysignl
=yes
17188 ac_cv_lib_m_copysignl
=no
17190 rm -f core conftest.err conftest.
$ac_objext \
17191 conftest
$ac_exeext conftest.
$ac_ext
17192 LIBS
=$ac_check_lib_save_LIBS
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17195 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17196 if test "x$ac_cv_lib_m_copysignl" = x
""yes; then :
17198 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17203 $as_echo_n "checking for cosf in -lm... " >&6; }
17204 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17205 $as_echo_n "(cached) " >&6
17207 ac_check_lib_save_LIBS
=$LIBS
17209 if test x
$gcc_no_link = xyes
; then
17210 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h. */
17215 /* Override any GCC internal prototype to avoid an error.
17216 Use char because int might match the return type of a GCC
17217 builtin and then its argument prototype would still apply. */
17230 if ac_fn_c_try_link
"$LINENO"; then :
17231 ac_cv_lib_m_cosf
=yes
17233 ac_cv_lib_m_cosf
=no
17235 rm -f core conftest.err conftest.
$ac_objext \
17236 conftest
$ac_exeext conftest.
$ac_ext
17237 LIBS
=$ac_check_lib_save_LIBS
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17240 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17241 if test "x$ac_cv_lib_m_cosf" = x
""yes; then :
17243 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17248 $as_echo_n "checking for cos in -lm... " >&6; }
17249 if test "${ac_cv_lib_m_cos+set}" = set; then :
17250 $as_echo_n "(cached) " >&6
17252 ac_check_lib_save_LIBS
=$LIBS
17254 if test x
$gcc_no_link = xyes
; then
17255 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17260 /* Override any GCC internal prototype to avoid an error.
17261 Use char because int might match the return type of a GCC
17262 builtin and then its argument prototype would still apply. */
17275 if ac_fn_c_try_link
"$LINENO"; then :
17276 ac_cv_lib_m_cos
=yes
17280 rm -f core conftest.err conftest.
$ac_objext \
17281 conftest
$ac_exeext conftest.
$ac_ext
17282 LIBS
=$ac_check_lib_save_LIBS
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17285 $as_echo "$ac_cv_lib_m_cos" >&6; }
17286 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
17288 $as_echo "#define HAVE_COS 1" >>confdefs.h
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17293 $as_echo_n "checking for cosl in -lm... " >&6; }
17294 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17295 $as_echo_n "(cached) " >&6
17297 ac_check_lib_save_LIBS
=$LIBS
17299 if test x
$gcc_no_link = xyes
; then
17300 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17305 /* Override any GCC internal prototype to avoid an error.
17306 Use char because int might match the return type of a GCC
17307 builtin and then its argument prototype would still apply. */
17320 if ac_fn_c_try_link
"$LINENO"; then :
17321 ac_cv_lib_m_cosl
=yes
17323 ac_cv_lib_m_cosl
=no
17325 rm -f core conftest.err conftest.
$ac_objext \
17326 conftest
$ac_exeext conftest.
$ac_ext
17327 LIBS
=$ac_check_lib_save_LIBS
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17330 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17331 if test "x$ac_cv_lib_m_cosl" = x
""yes; then :
17333 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17338 $as_echo_n "checking for ccosf in -lm... " >&6; }
17339 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17340 $as_echo_n "(cached) " >&6
17342 ac_check_lib_save_LIBS
=$LIBS
17344 if test x
$gcc_no_link = xyes
; then
17345 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17350 /* Override any GCC internal prototype to avoid an error.
17351 Use char because int might match the return type of a GCC
17352 builtin and then its argument prototype would still apply. */
17365 if ac_fn_c_try_link
"$LINENO"; then :
17366 ac_cv_lib_m_ccosf
=yes
17368 ac_cv_lib_m_ccosf
=no
17370 rm -f core conftest.err conftest.
$ac_objext \
17371 conftest
$ac_exeext conftest.
$ac_ext
17372 LIBS
=$ac_check_lib_save_LIBS
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17375 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17376 if test "x$ac_cv_lib_m_ccosf" = x
""yes; then :
17378 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17383 $as_echo_n "checking for ccos in -lm... " >&6; }
17384 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17385 $as_echo_n "(cached) " >&6
17387 ac_check_lib_save_LIBS
=$LIBS
17389 if test x
$gcc_no_link = xyes
; then
17390 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17395 /* Override any GCC internal prototype to avoid an error.
17396 Use char because int might match the return type of a GCC
17397 builtin and then its argument prototype would still apply. */
17410 if ac_fn_c_try_link
"$LINENO"; then :
17411 ac_cv_lib_m_ccos
=yes
17413 ac_cv_lib_m_ccos
=no
17415 rm -f core conftest.err conftest.
$ac_objext \
17416 conftest
$ac_exeext conftest.
$ac_ext
17417 LIBS
=$ac_check_lib_save_LIBS
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17420 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17421 if test "x$ac_cv_lib_m_ccos" = x
""yes; then :
17423 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17428 $as_echo_n "checking for ccosl in -lm... " >&6; }
17429 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17430 $as_echo_n "(cached) " >&6
17432 ac_check_lib_save_LIBS
=$LIBS
17434 if test x
$gcc_no_link = xyes
; then
17435 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17440 /* Override any GCC internal prototype to avoid an error.
17441 Use char because int might match the return type of a GCC
17442 builtin and then its argument prototype would still apply. */
17455 if ac_fn_c_try_link
"$LINENO"; then :
17456 ac_cv_lib_m_ccosl
=yes
17458 ac_cv_lib_m_ccosl
=no
17460 rm -f core conftest.err conftest.
$ac_objext \
17461 conftest
$ac_exeext conftest.
$ac_ext
17462 LIBS
=$ac_check_lib_save_LIBS
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17465 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17466 if test "x$ac_cv_lib_m_ccosl" = x
""yes; then :
17468 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17473 $as_echo_n "checking for coshf in -lm... " >&6; }
17474 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17475 $as_echo_n "(cached) " >&6
17477 ac_check_lib_save_LIBS
=$LIBS
17479 if test x
$gcc_no_link = xyes
; then
17480 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h. */
17485 /* Override any GCC internal prototype to avoid an error.
17486 Use char because int might match the return type of a GCC
17487 builtin and then its argument prototype would still apply. */
17500 if ac_fn_c_try_link
"$LINENO"; then :
17501 ac_cv_lib_m_coshf
=yes
17503 ac_cv_lib_m_coshf
=no
17505 rm -f core conftest.err conftest.
$ac_objext \
17506 conftest
$ac_exeext conftest.
$ac_ext
17507 LIBS
=$ac_check_lib_save_LIBS
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17510 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17511 if test "x$ac_cv_lib_m_coshf" = x
""yes; then :
17513 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17518 $as_echo_n "checking for cosh in -lm... " >&6; }
17519 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17520 $as_echo_n "(cached) " >&6
17522 ac_check_lib_save_LIBS
=$LIBS
17524 if test x
$gcc_no_link = xyes
; then
17525 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17530 /* Override any GCC internal prototype to avoid an error.
17531 Use char because int might match the return type of a GCC
17532 builtin and then its argument prototype would still apply. */
17545 if ac_fn_c_try_link
"$LINENO"; then :
17546 ac_cv_lib_m_cosh
=yes
17548 ac_cv_lib_m_cosh
=no
17550 rm -f core conftest.err conftest.
$ac_objext \
17551 conftest
$ac_exeext conftest.
$ac_ext
17552 LIBS
=$ac_check_lib_save_LIBS
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17555 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17556 if test "x$ac_cv_lib_m_cosh" = x
""yes; then :
17558 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17563 $as_echo_n "checking for coshl in -lm... " >&6; }
17564 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17565 $as_echo_n "(cached) " >&6
17567 ac_check_lib_save_LIBS
=$LIBS
17569 if test x
$gcc_no_link = xyes
; then
17570 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17575 /* Override any GCC internal prototype to avoid an error.
17576 Use char because int might match the return type of a GCC
17577 builtin and then its argument prototype would still apply. */
17590 if ac_fn_c_try_link
"$LINENO"; then :
17591 ac_cv_lib_m_coshl
=yes
17593 ac_cv_lib_m_coshl
=no
17595 rm -f core conftest.err conftest.
$ac_objext \
17596 conftest
$ac_exeext conftest.
$ac_ext
17597 LIBS
=$ac_check_lib_save_LIBS
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17600 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17601 if test "x$ac_cv_lib_m_coshl" = x
""yes; then :
17603 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17608 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17609 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17610 $as_echo_n "(cached) " >&6
17612 ac_check_lib_save_LIBS
=$LIBS
17614 if test x
$gcc_no_link = xyes
; then
17615 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17620 /* Override any GCC internal prototype to avoid an error.
17621 Use char because int might match the return type of a GCC
17622 builtin and then its argument prototype would still apply. */
17635 if ac_fn_c_try_link
"$LINENO"; then :
17636 ac_cv_lib_m_ccoshf
=yes
17638 ac_cv_lib_m_ccoshf
=no
17640 rm -f core conftest.err conftest.
$ac_objext \
17641 conftest
$ac_exeext conftest.
$ac_ext
17642 LIBS
=$ac_check_lib_save_LIBS
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17645 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17646 if test "x$ac_cv_lib_m_ccoshf" = x
""yes; then :
17648 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17653 $as_echo_n "checking for ccosh in -lm... " >&6; }
17654 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17655 $as_echo_n "(cached) " >&6
17657 ac_check_lib_save_LIBS
=$LIBS
17659 if test x
$gcc_no_link = xyes
; then
17660 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17665 /* Override any GCC internal prototype to avoid an error.
17666 Use char because int might match the return type of a GCC
17667 builtin and then its argument prototype would still apply. */
17680 if ac_fn_c_try_link
"$LINENO"; then :
17681 ac_cv_lib_m_ccosh
=yes
17683 ac_cv_lib_m_ccosh
=no
17685 rm -f core conftest.err conftest.
$ac_objext \
17686 conftest
$ac_exeext conftest.
$ac_ext
17687 LIBS
=$ac_check_lib_save_LIBS
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17690 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17691 if test "x$ac_cv_lib_m_ccosh" = x
""yes; then :
17693 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17698 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17699 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17700 $as_echo_n "(cached) " >&6
17702 ac_check_lib_save_LIBS
=$LIBS
17704 if test x
$gcc_no_link = xyes
; then
17705 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17710 /* Override any GCC internal prototype to avoid an error.
17711 Use char because int might match the return type of a GCC
17712 builtin and then its argument prototype would still apply. */
17725 if ac_fn_c_try_link
"$LINENO"; then :
17726 ac_cv_lib_m_ccoshl
=yes
17728 ac_cv_lib_m_ccoshl
=no
17730 rm -f core conftest.err conftest.
$ac_objext \
17731 conftest
$ac_exeext conftest.
$ac_ext
17732 LIBS
=$ac_check_lib_save_LIBS
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17735 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17736 if test "x$ac_cv_lib_m_ccoshl" = x
""yes; then :
17738 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17743 $as_echo_n "checking for expf in -lm... " >&6; }
17744 if test "${ac_cv_lib_m_expf+set}" = set; then :
17745 $as_echo_n "(cached) " >&6
17747 ac_check_lib_save_LIBS
=$LIBS
17749 if test x
$gcc_no_link = xyes
; then
17750 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17755 /* Override any GCC internal prototype to avoid an error.
17756 Use char because int might match the return type of a GCC
17757 builtin and then its argument prototype would still apply. */
17770 if ac_fn_c_try_link
"$LINENO"; then :
17771 ac_cv_lib_m_expf
=yes
17773 ac_cv_lib_m_expf
=no
17775 rm -f core conftest.err conftest.
$ac_objext \
17776 conftest
$ac_exeext conftest.
$ac_ext
17777 LIBS
=$ac_check_lib_save_LIBS
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17780 $as_echo "$ac_cv_lib_m_expf" >&6; }
17781 if test "x$ac_cv_lib_m_expf" = x
""yes; then :
17783 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17788 $as_echo_n "checking for exp in -lm... " >&6; }
17789 if test "${ac_cv_lib_m_exp+set}" = set; then :
17790 $as_echo_n "(cached) " >&6
17792 ac_check_lib_save_LIBS
=$LIBS
17794 if test x
$gcc_no_link = xyes
; then
17795 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17800 /* Override any GCC internal prototype to avoid an error.
17801 Use char because int might match the return type of a GCC
17802 builtin and then its argument prototype would still apply. */
17815 if ac_fn_c_try_link
"$LINENO"; then :
17816 ac_cv_lib_m_exp
=yes
17820 rm -f core conftest.err conftest.
$ac_objext \
17821 conftest
$ac_exeext conftest.
$ac_ext
17822 LIBS
=$ac_check_lib_save_LIBS
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17825 $as_echo "$ac_cv_lib_m_exp" >&6; }
17826 if test "x$ac_cv_lib_m_exp" = x
""yes; then :
17828 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17833 $as_echo_n "checking for expl in -lm... " >&6; }
17834 if test "${ac_cv_lib_m_expl+set}" = set; then :
17835 $as_echo_n "(cached) " >&6
17837 ac_check_lib_save_LIBS
=$LIBS
17839 if test x
$gcc_no_link = xyes
; then
17840 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17843 /* end confdefs.h. */
17845 /* Override any GCC internal prototype to avoid an error.
17846 Use char because int might match the return type of a GCC
17847 builtin and then its argument prototype would still apply. */
17860 if ac_fn_c_try_link
"$LINENO"; then :
17861 ac_cv_lib_m_expl
=yes
17863 ac_cv_lib_m_expl
=no
17865 rm -f core conftest.err conftest.
$ac_objext \
17866 conftest
$ac_exeext conftest.
$ac_ext
17867 LIBS
=$ac_check_lib_save_LIBS
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17870 $as_echo "$ac_cv_lib_m_expl" >&6; }
17871 if test "x$ac_cv_lib_m_expl" = x
""yes; then :
17873 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17878 $as_echo_n "checking for cexpf in -lm... " >&6; }
17879 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17880 $as_echo_n "(cached) " >&6
17882 ac_check_lib_save_LIBS
=$LIBS
17884 if test x
$gcc_no_link = xyes
; then
17885 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17890 /* Override any GCC internal prototype to avoid an error.
17891 Use char because int might match the return type of a GCC
17892 builtin and then its argument prototype would still apply. */
17905 if ac_fn_c_try_link
"$LINENO"; then :
17906 ac_cv_lib_m_cexpf
=yes
17908 ac_cv_lib_m_cexpf
=no
17910 rm -f core conftest.err conftest.
$ac_objext \
17911 conftest
$ac_exeext conftest.
$ac_ext
17912 LIBS
=$ac_check_lib_save_LIBS
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17915 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17916 if test "x$ac_cv_lib_m_cexpf" = x
""yes; then :
17918 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17923 $as_echo_n "checking for cexp in -lm... " >&6; }
17924 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17925 $as_echo_n "(cached) " >&6
17927 ac_check_lib_save_LIBS
=$LIBS
17929 if test x
$gcc_no_link = xyes
; then
17930 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17933 /* end confdefs.h. */
17935 /* Override any GCC internal prototype to avoid an error.
17936 Use char because int might match the return type of a GCC
17937 builtin and then its argument prototype would still apply. */
17950 if ac_fn_c_try_link
"$LINENO"; then :
17951 ac_cv_lib_m_cexp
=yes
17953 ac_cv_lib_m_cexp
=no
17955 rm -f core conftest.err conftest.
$ac_objext \
17956 conftest
$ac_exeext conftest.
$ac_ext
17957 LIBS
=$ac_check_lib_save_LIBS
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
17960 $as_echo "$ac_cv_lib_m_cexp" >&6; }
17961 if test "x$ac_cv_lib_m_cexp" = x
""yes; then :
17963 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
17968 $as_echo_n "checking for cexpl in -lm... " >&6; }
17969 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
17970 $as_echo_n "(cached) " >&6
17972 ac_check_lib_save_LIBS
=$LIBS
17974 if test x
$gcc_no_link = xyes
; then
17975 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h. */
17980 /* Override any GCC internal prototype to avoid an error.
17981 Use char because int might match the return type of a GCC
17982 builtin and then its argument prototype would still apply. */
17995 if ac_fn_c_try_link
"$LINENO"; then :
17996 ac_cv_lib_m_cexpl
=yes
17998 ac_cv_lib_m_cexpl
=no
18000 rm -f core conftest.err conftest.
$ac_objext \
18001 conftest
$ac_exeext conftest.
$ac_ext
18002 LIBS
=$ac_check_lib_save_LIBS
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18005 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18006 if test "x$ac_cv_lib_m_cexpl" = x
""yes; then :
18008 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18013 $as_echo_n "checking for fabsf in -lm... " >&6; }
18014 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18015 $as_echo_n "(cached) " >&6
18017 ac_check_lib_save_LIBS
=$LIBS
18019 if test x
$gcc_no_link = xyes
; then
18020 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18023 /* end confdefs.h. */
18025 /* Override any GCC internal prototype to avoid an error.
18026 Use char because int might match the return type of a GCC
18027 builtin and then its argument prototype would still apply. */
18040 if ac_fn_c_try_link
"$LINENO"; then :
18041 ac_cv_lib_m_fabsf
=yes
18043 ac_cv_lib_m_fabsf
=no
18045 rm -f core conftest.err conftest.
$ac_objext \
18046 conftest
$ac_exeext conftest.
$ac_ext
18047 LIBS
=$ac_check_lib_save_LIBS
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18050 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18051 if test "x$ac_cv_lib_m_fabsf" = x
""yes; then :
18053 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18058 $as_echo_n "checking for fabs in -lm... " >&6; }
18059 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18060 $as_echo_n "(cached) " >&6
18062 ac_check_lib_save_LIBS
=$LIBS
18064 if test x
$gcc_no_link = xyes
; then
18065 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18068 /* end confdefs.h. */
18070 /* Override any GCC internal prototype to avoid an error.
18071 Use char because int might match the return type of a GCC
18072 builtin and then its argument prototype would still apply. */
18085 if ac_fn_c_try_link
"$LINENO"; then :
18086 ac_cv_lib_m_fabs
=yes
18088 ac_cv_lib_m_fabs
=no
18090 rm -f core conftest.err conftest.
$ac_objext \
18091 conftest
$ac_exeext conftest.
$ac_ext
18092 LIBS
=$ac_check_lib_save_LIBS
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18095 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18096 if test "x$ac_cv_lib_m_fabs" = x
""yes; then :
18098 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18103 $as_echo_n "checking for fabsl in -lm... " >&6; }
18104 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18105 $as_echo_n "(cached) " >&6
18107 ac_check_lib_save_LIBS
=$LIBS
18109 if test x
$gcc_no_link = xyes
; then
18110 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18113 /* end confdefs.h. */
18115 /* Override any GCC internal prototype to avoid an error.
18116 Use char because int might match the return type of a GCC
18117 builtin and then its argument prototype would still apply. */
18130 if ac_fn_c_try_link
"$LINENO"; then :
18131 ac_cv_lib_m_fabsl
=yes
18133 ac_cv_lib_m_fabsl
=no
18135 rm -f core conftest.err conftest.
$ac_objext \
18136 conftest
$ac_exeext conftest.
$ac_ext
18137 LIBS
=$ac_check_lib_save_LIBS
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18140 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18141 if test "x$ac_cv_lib_m_fabsl" = x
""yes; then :
18143 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18148 $as_echo_n "checking for cabsf in -lm... " >&6; }
18149 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18150 $as_echo_n "(cached) " >&6
18152 ac_check_lib_save_LIBS
=$LIBS
18154 if test x
$gcc_no_link = xyes
; then
18155 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18158 /* end confdefs.h. */
18160 /* Override any GCC internal prototype to avoid an error.
18161 Use char because int might match the return type of a GCC
18162 builtin and then its argument prototype would still apply. */
18175 if ac_fn_c_try_link
"$LINENO"; then :
18176 ac_cv_lib_m_cabsf
=yes
18178 ac_cv_lib_m_cabsf
=no
18180 rm -f core conftest.err conftest.
$ac_objext \
18181 conftest
$ac_exeext conftest.
$ac_ext
18182 LIBS
=$ac_check_lib_save_LIBS
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18185 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18186 if test "x$ac_cv_lib_m_cabsf" = x
""yes; then :
18188 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18193 $as_echo_n "checking for cabs in -lm... " >&6; }
18194 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18195 $as_echo_n "(cached) " >&6
18197 ac_check_lib_save_LIBS
=$LIBS
18199 if test x
$gcc_no_link = xyes
; then
18200 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18203 /* end confdefs.h. */
18205 /* Override any GCC internal prototype to avoid an error.
18206 Use char because int might match the return type of a GCC
18207 builtin and then its argument prototype would still apply. */
18220 if ac_fn_c_try_link
"$LINENO"; then :
18221 ac_cv_lib_m_cabs
=yes
18223 ac_cv_lib_m_cabs
=no
18225 rm -f core conftest.err conftest.
$ac_objext \
18226 conftest
$ac_exeext conftest.
$ac_ext
18227 LIBS
=$ac_check_lib_save_LIBS
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18230 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18231 if test "x$ac_cv_lib_m_cabs" = x
""yes; then :
18233 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18238 $as_echo_n "checking for cabsl in -lm... " >&6; }
18239 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18240 $as_echo_n "(cached) " >&6
18242 ac_check_lib_save_LIBS
=$LIBS
18244 if test x
$gcc_no_link = xyes
; then
18245 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18250 /* Override any GCC internal prototype to avoid an error.
18251 Use char because int might match the return type of a GCC
18252 builtin and then its argument prototype would still apply. */
18265 if ac_fn_c_try_link
"$LINENO"; then :
18266 ac_cv_lib_m_cabsl
=yes
18268 ac_cv_lib_m_cabsl
=no
18270 rm -f core conftest.err conftest.
$ac_objext \
18271 conftest
$ac_exeext conftest.
$ac_ext
18272 LIBS
=$ac_check_lib_save_LIBS
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18275 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18276 if test "x$ac_cv_lib_m_cabsl" = x
""yes; then :
18278 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18283 $as_echo_n "checking for floorf in -lm... " >&6; }
18284 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18285 $as_echo_n "(cached) " >&6
18287 ac_check_lib_save_LIBS
=$LIBS
18289 if test x
$gcc_no_link = xyes
; then
18290 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18295 /* Override any GCC internal prototype to avoid an error.
18296 Use char because int might match the return type of a GCC
18297 builtin and then its argument prototype would still apply. */
18310 if ac_fn_c_try_link
"$LINENO"; then :
18311 ac_cv_lib_m_floorf
=yes
18313 ac_cv_lib_m_floorf
=no
18315 rm -f core conftest.err conftest.
$ac_objext \
18316 conftest
$ac_exeext conftest.
$ac_ext
18317 LIBS
=$ac_check_lib_save_LIBS
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18320 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18321 if test "x$ac_cv_lib_m_floorf" = x
""yes; then :
18323 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18328 $as_echo_n "checking for floor in -lm... " >&6; }
18329 if test "${ac_cv_lib_m_floor+set}" = set; then :
18330 $as_echo_n "(cached) " >&6
18332 ac_check_lib_save_LIBS
=$LIBS
18334 if test x
$gcc_no_link = xyes
; then
18335 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18340 /* Override any GCC internal prototype to avoid an error.
18341 Use char because int might match the return type of a GCC
18342 builtin and then its argument prototype would still apply. */
18355 if ac_fn_c_try_link
"$LINENO"; then :
18356 ac_cv_lib_m_floor
=yes
18358 ac_cv_lib_m_floor
=no
18360 rm -f core conftest.err conftest.
$ac_objext \
18361 conftest
$ac_exeext conftest.
$ac_ext
18362 LIBS
=$ac_check_lib_save_LIBS
18364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18365 $as_echo "$ac_cv_lib_m_floor" >&6; }
18366 if test "x$ac_cv_lib_m_floor" = x
""yes; then :
18368 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18373 $as_echo_n "checking for floorl in -lm... " >&6; }
18374 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18375 $as_echo_n "(cached) " >&6
18377 ac_check_lib_save_LIBS
=$LIBS
18379 if test x
$gcc_no_link = xyes
; then
18380 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18383 /* end confdefs.h. */
18385 /* Override any GCC internal prototype to avoid an error.
18386 Use char because int might match the return type of a GCC
18387 builtin and then its argument prototype would still apply. */
18400 if ac_fn_c_try_link
"$LINENO"; then :
18401 ac_cv_lib_m_floorl
=yes
18403 ac_cv_lib_m_floorl
=no
18405 rm -f core conftest.err conftest.
$ac_objext \
18406 conftest
$ac_exeext conftest.
$ac_ext
18407 LIBS
=$ac_check_lib_save_LIBS
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18410 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18411 if test "x$ac_cv_lib_m_floorl" = x
""yes; then :
18413 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18418 $as_echo_n "checking for fmodf in -lm... " >&6; }
18419 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18420 $as_echo_n "(cached) " >&6
18422 ac_check_lib_save_LIBS
=$LIBS
18424 if test x
$gcc_no_link = xyes
; then
18425 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18428 /* end confdefs.h. */
18430 /* Override any GCC internal prototype to avoid an error.
18431 Use char because int might match the return type of a GCC
18432 builtin and then its argument prototype would still apply. */
18445 if ac_fn_c_try_link
"$LINENO"; then :
18446 ac_cv_lib_m_fmodf
=yes
18448 ac_cv_lib_m_fmodf
=no
18450 rm -f core conftest.err conftest.
$ac_objext \
18451 conftest
$ac_exeext conftest.
$ac_ext
18452 LIBS
=$ac_check_lib_save_LIBS
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18455 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18456 if test "x$ac_cv_lib_m_fmodf" = x
""yes; then :
18458 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18463 $as_echo_n "checking for fmod in -lm... " >&6; }
18464 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18465 $as_echo_n "(cached) " >&6
18467 ac_check_lib_save_LIBS
=$LIBS
18469 if test x
$gcc_no_link = xyes
; then
18470 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18475 /* Override any GCC internal prototype to avoid an error.
18476 Use char because int might match the return type of a GCC
18477 builtin and then its argument prototype would still apply. */
18490 if ac_fn_c_try_link
"$LINENO"; then :
18491 ac_cv_lib_m_fmod
=yes
18493 ac_cv_lib_m_fmod
=no
18495 rm -f core conftest.err conftest.
$ac_objext \
18496 conftest
$ac_exeext conftest.
$ac_ext
18497 LIBS
=$ac_check_lib_save_LIBS
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18500 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18501 if test "x$ac_cv_lib_m_fmod" = x
""yes; then :
18503 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18508 $as_echo_n "checking for fmodl in -lm... " >&6; }
18509 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18510 $as_echo_n "(cached) " >&6
18512 ac_check_lib_save_LIBS
=$LIBS
18514 if test x
$gcc_no_link = xyes
; then
18515 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18520 /* Override any GCC internal prototype to avoid an error.
18521 Use char because int might match the return type of a GCC
18522 builtin and then its argument prototype would still apply. */
18535 if ac_fn_c_try_link
"$LINENO"; then :
18536 ac_cv_lib_m_fmodl
=yes
18538 ac_cv_lib_m_fmodl
=no
18540 rm -f core conftest.err conftest.
$ac_objext \
18541 conftest
$ac_exeext conftest.
$ac_ext
18542 LIBS
=$ac_check_lib_save_LIBS
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18545 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18546 if test "x$ac_cv_lib_m_fmodl" = x
""yes; then :
18548 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18553 $as_echo_n "checking for frexpf in -lm... " >&6; }
18554 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18555 $as_echo_n "(cached) " >&6
18557 ac_check_lib_save_LIBS
=$LIBS
18559 if test x
$gcc_no_link = xyes
; then
18560 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18565 /* Override any GCC internal prototype to avoid an error.
18566 Use char because int might match the return type of a GCC
18567 builtin and then its argument prototype would still apply. */
18580 if ac_fn_c_try_link
"$LINENO"; then :
18581 ac_cv_lib_m_frexpf
=yes
18583 ac_cv_lib_m_frexpf
=no
18585 rm -f core conftest.err conftest.
$ac_objext \
18586 conftest
$ac_exeext conftest.
$ac_ext
18587 LIBS
=$ac_check_lib_save_LIBS
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18590 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18591 if test "x$ac_cv_lib_m_frexpf" = x
""yes; then :
18593 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18598 $as_echo_n "checking for frexp in -lm... " >&6; }
18599 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18600 $as_echo_n "(cached) " >&6
18602 ac_check_lib_save_LIBS
=$LIBS
18604 if test x
$gcc_no_link = xyes
; then
18605 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18608 /* end confdefs.h. */
18610 /* Override any GCC internal prototype to avoid an error.
18611 Use char because int might match the return type of a GCC
18612 builtin and then its argument prototype would still apply. */
18625 if ac_fn_c_try_link
"$LINENO"; then :
18626 ac_cv_lib_m_frexp
=yes
18628 ac_cv_lib_m_frexp
=no
18630 rm -f core conftest.err conftest.
$ac_objext \
18631 conftest
$ac_exeext conftest.
$ac_ext
18632 LIBS
=$ac_check_lib_save_LIBS
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18635 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18636 if test "x$ac_cv_lib_m_frexp" = x
""yes; then :
18638 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18643 $as_echo_n "checking for frexpl in -lm... " >&6; }
18644 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18645 $as_echo_n "(cached) " >&6
18647 ac_check_lib_save_LIBS
=$LIBS
18649 if test x
$gcc_no_link = xyes
; then
18650 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18653 /* end confdefs.h. */
18655 /* Override any GCC internal prototype to avoid an error.
18656 Use char because int might match the return type of a GCC
18657 builtin and then its argument prototype would still apply. */
18670 if ac_fn_c_try_link
"$LINENO"; then :
18671 ac_cv_lib_m_frexpl
=yes
18673 ac_cv_lib_m_frexpl
=no
18675 rm -f core conftest.err conftest.
$ac_objext \
18676 conftest
$ac_exeext conftest.
$ac_ext
18677 LIBS
=$ac_check_lib_save_LIBS
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18680 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18681 if test "x$ac_cv_lib_m_frexpl" = x
""yes; then :
18683 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18688 $as_echo_n "checking for hypotf in -lm... " >&6; }
18689 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18690 $as_echo_n "(cached) " >&6
18692 ac_check_lib_save_LIBS
=$LIBS
18694 if test x
$gcc_no_link = xyes
; then
18695 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18700 /* Override any GCC internal prototype to avoid an error.
18701 Use char because int might match the return type of a GCC
18702 builtin and then its argument prototype would still apply. */
18715 if ac_fn_c_try_link
"$LINENO"; then :
18716 ac_cv_lib_m_hypotf
=yes
18718 ac_cv_lib_m_hypotf
=no
18720 rm -f core conftest.err conftest.
$ac_objext \
18721 conftest
$ac_exeext conftest.
$ac_ext
18722 LIBS
=$ac_check_lib_save_LIBS
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18725 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18726 if test "x$ac_cv_lib_m_hypotf" = x
""yes; then :
18728 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18733 $as_echo_n "checking for hypot in -lm... " >&6; }
18734 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18735 $as_echo_n "(cached) " >&6
18737 ac_check_lib_save_LIBS
=$LIBS
18739 if test x
$gcc_no_link = xyes
; then
18740 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h. */
18745 /* Override any GCC internal prototype to avoid an error.
18746 Use char because int might match the return type of a GCC
18747 builtin and then its argument prototype would still apply. */
18760 if ac_fn_c_try_link
"$LINENO"; then :
18761 ac_cv_lib_m_hypot
=yes
18763 ac_cv_lib_m_hypot
=no
18765 rm -f core conftest.err conftest.
$ac_objext \
18766 conftest
$ac_exeext conftest.
$ac_ext
18767 LIBS
=$ac_check_lib_save_LIBS
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18770 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18771 if test "x$ac_cv_lib_m_hypot" = x
""yes; then :
18773 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18778 $as_echo_n "checking for hypotl in -lm... " >&6; }
18779 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18780 $as_echo_n "(cached) " >&6
18782 ac_check_lib_save_LIBS
=$LIBS
18784 if test x
$gcc_no_link = xyes
; then
18785 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18790 /* Override any GCC internal prototype to avoid an error.
18791 Use char because int might match the return type of a GCC
18792 builtin and then its argument prototype would still apply. */
18805 if ac_fn_c_try_link
"$LINENO"; then :
18806 ac_cv_lib_m_hypotl
=yes
18808 ac_cv_lib_m_hypotl
=no
18810 rm -f core conftest.err conftest.
$ac_objext \
18811 conftest
$ac_exeext conftest.
$ac_ext
18812 LIBS
=$ac_check_lib_save_LIBS
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18815 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18816 if test "x$ac_cv_lib_m_hypotl" = x
""yes; then :
18818 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18823 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18824 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18825 $as_echo_n "(cached) " >&6
18827 ac_check_lib_save_LIBS
=$LIBS
18829 if test x
$gcc_no_link = xyes
; then
18830 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18835 /* Override any GCC internal prototype to avoid an error.
18836 Use char because int might match the return type of a GCC
18837 builtin and then its argument prototype would still apply. */
18850 if ac_fn_c_try_link
"$LINENO"; then :
18851 ac_cv_lib_m_ldexpf
=yes
18853 ac_cv_lib_m_ldexpf
=no
18855 rm -f core conftest.err conftest.
$ac_objext \
18856 conftest
$ac_exeext conftest.
$ac_ext
18857 LIBS
=$ac_check_lib_save_LIBS
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18860 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18861 if test "x$ac_cv_lib_m_ldexpf" = x
""yes; then :
18863 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18868 $as_echo_n "checking for ldexp in -lm... " >&6; }
18869 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18870 $as_echo_n "(cached) " >&6
18872 ac_check_lib_save_LIBS
=$LIBS
18874 if test x
$gcc_no_link = xyes
; then
18875 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18878 /* end confdefs.h. */
18880 /* Override any GCC internal prototype to avoid an error.
18881 Use char because int might match the return type of a GCC
18882 builtin and then its argument prototype would still apply. */
18895 if ac_fn_c_try_link
"$LINENO"; then :
18896 ac_cv_lib_m_ldexp
=yes
18898 ac_cv_lib_m_ldexp
=no
18900 rm -f core conftest.err conftest.
$ac_objext \
18901 conftest
$ac_exeext conftest.
$ac_ext
18902 LIBS
=$ac_check_lib_save_LIBS
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18905 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18906 if test "x$ac_cv_lib_m_ldexp" = x
""yes; then :
18908 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18913 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18914 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18915 $as_echo_n "(cached) " >&6
18917 ac_check_lib_save_LIBS
=$LIBS
18919 if test x
$gcc_no_link = xyes
; then
18920 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18923 /* end confdefs.h. */
18925 /* Override any GCC internal prototype to avoid an error.
18926 Use char because int might match the return type of a GCC
18927 builtin and then its argument prototype would still apply. */
18940 if ac_fn_c_try_link
"$LINENO"; then :
18941 ac_cv_lib_m_ldexpl
=yes
18943 ac_cv_lib_m_ldexpl
=no
18945 rm -f core conftest.err conftest.
$ac_objext \
18946 conftest
$ac_exeext conftest.
$ac_ext
18947 LIBS
=$ac_check_lib_save_LIBS
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
18950 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
18951 if test "x$ac_cv_lib_m_ldexpl" = x
""yes; then :
18953 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
18958 $as_echo_n "checking for logf in -lm... " >&6; }
18959 if test "${ac_cv_lib_m_logf+set}" = set; then :
18960 $as_echo_n "(cached) " >&6
18962 ac_check_lib_save_LIBS
=$LIBS
18964 if test x
$gcc_no_link = xyes
; then
18965 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18970 /* Override any GCC internal prototype to avoid an error.
18971 Use char because int might match the return type of a GCC
18972 builtin and then its argument prototype would still apply. */
18985 if ac_fn_c_try_link
"$LINENO"; then :
18986 ac_cv_lib_m_logf
=yes
18988 ac_cv_lib_m_logf
=no
18990 rm -f core conftest.err conftest.
$ac_objext \
18991 conftest
$ac_exeext conftest.
$ac_ext
18992 LIBS
=$ac_check_lib_save_LIBS
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
18995 $as_echo "$ac_cv_lib_m_logf" >&6; }
18996 if test "x$ac_cv_lib_m_logf" = x
""yes; then :
18998 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19003 $as_echo_n "checking for log in -lm... " >&6; }
19004 if test "${ac_cv_lib_m_log+set}" = set; then :
19005 $as_echo_n "(cached) " >&6
19007 ac_check_lib_save_LIBS
=$LIBS
19009 if test x
$gcc_no_link = xyes
; then
19010 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19013 /* end confdefs.h. */
19015 /* Override any GCC internal prototype to avoid an error.
19016 Use char because int might match the return type of a GCC
19017 builtin and then its argument prototype would still apply. */
19030 if ac_fn_c_try_link
"$LINENO"; then :
19031 ac_cv_lib_m_log
=yes
19035 rm -f core conftest.err conftest.
$ac_objext \
19036 conftest
$ac_exeext conftest.
$ac_ext
19037 LIBS
=$ac_check_lib_save_LIBS
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19040 $as_echo "$ac_cv_lib_m_log" >&6; }
19041 if test "x$ac_cv_lib_m_log" = x
""yes; then :
19043 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19048 $as_echo_n "checking for logl in -lm... " >&6; }
19049 if test "${ac_cv_lib_m_logl+set}" = set; then :
19050 $as_echo_n "(cached) " >&6
19052 ac_check_lib_save_LIBS
=$LIBS
19054 if test x
$gcc_no_link = xyes
; then
19055 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19058 /* end confdefs.h. */
19060 /* Override any GCC internal prototype to avoid an error.
19061 Use char because int might match the return type of a GCC
19062 builtin and then its argument prototype would still apply. */
19075 if ac_fn_c_try_link
"$LINENO"; then :
19076 ac_cv_lib_m_logl
=yes
19078 ac_cv_lib_m_logl
=no
19080 rm -f core conftest.err conftest.
$ac_objext \
19081 conftest
$ac_exeext conftest.
$ac_ext
19082 LIBS
=$ac_check_lib_save_LIBS
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19085 $as_echo "$ac_cv_lib_m_logl" >&6; }
19086 if test "x$ac_cv_lib_m_logl" = x
""yes; then :
19088 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19093 $as_echo_n "checking for clogf in -lm... " >&6; }
19094 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19095 $as_echo_n "(cached) " >&6
19097 ac_check_lib_save_LIBS
=$LIBS
19099 if test x
$gcc_no_link = xyes
; then
19100 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19103 /* end confdefs.h. */
19105 /* Override any GCC internal prototype to avoid an error.
19106 Use char because int might match the return type of a GCC
19107 builtin and then its argument prototype would still apply. */
19120 if ac_fn_c_try_link
"$LINENO"; then :
19121 ac_cv_lib_m_clogf
=yes
19123 ac_cv_lib_m_clogf
=no
19125 rm -f core conftest.err conftest.
$ac_objext \
19126 conftest
$ac_exeext conftest.
$ac_ext
19127 LIBS
=$ac_check_lib_save_LIBS
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19130 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19131 if test "x$ac_cv_lib_m_clogf" = x
""yes; then :
19133 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19138 $as_echo_n "checking for clog in -lm... " >&6; }
19139 if test "${ac_cv_lib_m_clog+set}" = set; then :
19140 $as_echo_n "(cached) " >&6
19142 ac_check_lib_save_LIBS
=$LIBS
19144 if test x
$gcc_no_link = xyes
; then
19145 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19148 /* end confdefs.h. */
19150 /* Override any GCC internal prototype to avoid an error.
19151 Use char because int might match the return type of a GCC
19152 builtin and then its argument prototype would still apply. */
19165 if ac_fn_c_try_link
"$LINENO"; then :
19166 ac_cv_lib_m_clog
=yes
19168 ac_cv_lib_m_clog
=no
19170 rm -f core conftest.err conftest.
$ac_objext \
19171 conftest
$ac_exeext conftest.
$ac_ext
19172 LIBS
=$ac_check_lib_save_LIBS
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19175 $as_echo "$ac_cv_lib_m_clog" >&6; }
19176 if test "x$ac_cv_lib_m_clog" = x
""yes; then :
19178 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19183 $as_echo_n "checking for clogl in -lm... " >&6; }
19184 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19185 $as_echo_n "(cached) " >&6
19187 ac_check_lib_save_LIBS
=$LIBS
19189 if test x
$gcc_no_link = xyes
; then
19190 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19195 /* Override any GCC internal prototype to avoid an error.
19196 Use char because int might match the return type of a GCC
19197 builtin and then its argument prototype would still apply. */
19210 if ac_fn_c_try_link
"$LINENO"; then :
19211 ac_cv_lib_m_clogl
=yes
19213 ac_cv_lib_m_clogl
=no
19215 rm -f core conftest.err conftest.
$ac_objext \
19216 conftest
$ac_exeext conftest.
$ac_ext
19217 LIBS
=$ac_check_lib_save_LIBS
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19220 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19221 if test "x$ac_cv_lib_m_clogl" = x
""yes; then :
19223 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19228 $as_echo_n "checking for log10f in -lm... " >&6; }
19229 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19230 $as_echo_n "(cached) " >&6
19232 ac_check_lib_save_LIBS
=$LIBS
19234 if test x
$gcc_no_link = xyes
; then
19235 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19240 /* Override any GCC internal prototype to avoid an error.
19241 Use char because int might match the return type of a GCC
19242 builtin and then its argument prototype would still apply. */
19255 if ac_fn_c_try_link
"$LINENO"; then :
19256 ac_cv_lib_m_log10f
=yes
19258 ac_cv_lib_m_log10f
=no
19260 rm -f core conftest.err conftest.
$ac_objext \
19261 conftest
$ac_exeext conftest.
$ac_ext
19262 LIBS
=$ac_check_lib_save_LIBS
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19265 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19266 if test "x$ac_cv_lib_m_log10f" = x
""yes; then :
19268 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19273 $as_echo_n "checking for log10 in -lm... " >&6; }
19274 if test "${ac_cv_lib_m_log10+set}" = set; then :
19275 $as_echo_n "(cached) " >&6
19277 ac_check_lib_save_LIBS
=$LIBS
19279 if test x
$gcc_no_link = xyes
; then
19280 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19283 /* end confdefs.h. */
19285 /* Override any GCC internal prototype to avoid an error.
19286 Use char because int might match the return type of a GCC
19287 builtin and then its argument prototype would still apply. */
19300 if ac_fn_c_try_link
"$LINENO"; then :
19301 ac_cv_lib_m_log10
=yes
19303 ac_cv_lib_m_log10
=no
19305 rm -f core conftest.err conftest.
$ac_objext \
19306 conftest
$ac_exeext conftest.
$ac_ext
19307 LIBS
=$ac_check_lib_save_LIBS
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19310 $as_echo "$ac_cv_lib_m_log10" >&6; }
19311 if test "x$ac_cv_lib_m_log10" = x
""yes; then :
19313 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19318 $as_echo_n "checking for log10l in -lm... " >&6; }
19319 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19320 $as_echo_n "(cached) " >&6
19322 ac_check_lib_save_LIBS
=$LIBS
19324 if test x
$gcc_no_link = xyes
; then
19325 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19328 /* end confdefs.h. */
19330 /* Override any GCC internal prototype to avoid an error.
19331 Use char because int might match the return type of a GCC
19332 builtin and then its argument prototype would still apply. */
19345 if ac_fn_c_try_link
"$LINENO"; then :
19346 ac_cv_lib_m_log10l
=yes
19348 ac_cv_lib_m_log10l
=no
19350 rm -f core conftest.err conftest.
$ac_objext \
19351 conftest
$ac_exeext conftest.
$ac_ext
19352 LIBS
=$ac_check_lib_save_LIBS
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19355 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19356 if test "x$ac_cv_lib_m_log10l" = x
""yes; then :
19358 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19363 $as_echo_n "checking for clog10f in -lm... " >&6; }
19364 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19365 $as_echo_n "(cached) " >&6
19367 ac_check_lib_save_LIBS
=$LIBS
19369 if test x
$gcc_no_link = xyes
; then
19370 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19375 /* Override any GCC internal prototype to avoid an error.
19376 Use char because int might match the return type of a GCC
19377 builtin and then its argument prototype would still apply. */
19390 if ac_fn_c_try_link
"$LINENO"; then :
19391 ac_cv_lib_m_clog10f
=yes
19393 ac_cv_lib_m_clog10f
=no
19395 rm -f core conftest.err conftest.
$ac_objext \
19396 conftest
$ac_exeext conftest.
$ac_ext
19397 LIBS
=$ac_check_lib_save_LIBS
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19400 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19401 if test "x$ac_cv_lib_m_clog10f" = x
""yes; then :
19403 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19408 $as_echo_n "checking for clog10 in -lm... " >&6; }
19409 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19410 $as_echo_n "(cached) " >&6
19412 ac_check_lib_save_LIBS
=$LIBS
19414 if test x
$gcc_no_link = xyes
; then
19415 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19420 /* Override any GCC internal prototype to avoid an error.
19421 Use char because int might match the return type of a GCC
19422 builtin and then its argument prototype would still apply. */
19435 if ac_fn_c_try_link
"$LINENO"; then :
19436 ac_cv_lib_m_clog10
=yes
19438 ac_cv_lib_m_clog10
=no
19440 rm -f core conftest.err conftest.
$ac_objext \
19441 conftest
$ac_exeext conftest.
$ac_ext
19442 LIBS
=$ac_check_lib_save_LIBS
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19445 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19446 if test "x$ac_cv_lib_m_clog10" = x
""yes; then :
19448 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19453 $as_echo_n "checking for clog10l in -lm... " >&6; }
19454 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19455 $as_echo_n "(cached) " >&6
19457 ac_check_lib_save_LIBS
=$LIBS
19459 if test x
$gcc_no_link = xyes
; then
19460 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19463 /* end confdefs.h. */
19465 /* Override any GCC internal prototype to avoid an error.
19466 Use char because int might match the return type of a GCC
19467 builtin and then its argument prototype would still apply. */
19480 if ac_fn_c_try_link
"$LINENO"; then :
19481 ac_cv_lib_m_clog10l
=yes
19483 ac_cv_lib_m_clog10l
=no
19485 rm -f core conftest.err conftest.
$ac_objext \
19486 conftest
$ac_exeext conftest.
$ac_ext
19487 LIBS
=$ac_check_lib_save_LIBS
19489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19490 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19491 if test "x$ac_cv_lib_m_clog10l" = x
""yes; then :
19493 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19498 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19499 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19500 $as_echo_n "(cached) " >&6
19502 ac_check_lib_save_LIBS
=$LIBS
19504 if test x
$gcc_no_link = xyes
; then
19505 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19508 /* end confdefs.h. */
19510 /* Override any GCC internal prototype to avoid an error.
19511 Use char because int might match the return type of a GCC
19512 builtin and then its argument prototype would still apply. */
19516 char nextafterf ();
19520 return nextafterf ();
19525 if ac_fn_c_try_link
"$LINENO"; then :
19526 ac_cv_lib_m_nextafterf
=yes
19528 ac_cv_lib_m_nextafterf
=no
19530 rm -f core conftest.err conftest.
$ac_objext \
19531 conftest
$ac_exeext conftest.
$ac_ext
19532 LIBS
=$ac_check_lib_save_LIBS
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19535 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19536 if test "x$ac_cv_lib_m_nextafterf" = x
""yes; then :
19538 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19543 $as_echo_n "checking for nextafter in -lm... " >&6; }
19544 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19545 $as_echo_n "(cached) " >&6
19547 ac_check_lib_save_LIBS
=$LIBS
19549 if test x
$gcc_no_link = xyes
; then
19550 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19555 /* Override any GCC internal prototype to avoid an error.
19556 Use char because int might match the return type of a GCC
19557 builtin and then its argument prototype would still apply. */
19565 return nextafter ();
19570 if ac_fn_c_try_link
"$LINENO"; then :
19571 ac_cv_lib_m_nextafter
=yes
19573 ac_cv_lib_m_nextafter
=no
19575 rm -f core conftest.err conftest.
$ac_objext \
19576 conftest
$ac_exeext conftest.
$ac_ext
19577 LIBS
=$ac_check_lib_save_LIBS
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19580 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19581 if test "x$ac_cv_lib_m_nextafter" = x
""yes; then :
19583 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19588 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19589 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19590 $as_echo_n "(cached) " >&6
19592 ac_check_lib_save_LIBS
=$LIBS
19594 if test x
$gcc_no_link = xyes
; then
19595 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19600 /* Override any GCC internal prototype to avoid an error.
19601 Use char because int might match the return type of a GCC
19602 builtin and then its argument prototype would still apply. */
19606 char nextafterl ();
19610 return nextafterl ();
19615 if ac_fn_c_try_link
"$LINENO"; then :
19616 ac_cv_lib_m_nextafterl
=yes
19618 ac_cv_lib_m_nextafterl
=no
19620 rm -f core conftest.err conftest.
$ac_objext \
19621 conftest
$ac_exeext conftest.
$ac_ext
19622 LIBS
=$ac_check_lib_save_LIBS
19624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19625 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19626 if test "x$ac_cv_lib_m_nextafterl" = x
""yes; then :
19628 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19633 $as_echo_n "checking for powf in -lm... " >&6; }
19634 if test "${ac_cv_lib_m_powf+set}" = set; then :
19635 $as_echo_n "(cached) " >&6
19637 ac_check_lib_save_LIBS
=$LIBS
19639 if test x
$gcc_no_link = xyes
; then
19640 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19645 /* Override any GCC internal prototype to avoid an error.
19646 Use char because int might match the return type of a GCC
19647 builtin and then its argument prototype would still apply. */
19660 if ac_fn_c_try_link
"$LINENO"; then :
19661 ac_cv_lib_m_powf
=yes
19663 ac_cv_lib_m_powf
=no
19665 rm -f core conftest.err conftest.
$ac_objext \
19666 conftest
$ac_exeext conftest.
$ac_ext
19667 LIBS
=$ac_check_lib_save_LIBS
19669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19670 $as_echo "$ac_cv_lib_m_powf" >&6; }
19671 if test "x$ac_cv_lib_m_powf" = x
""yes; then :
19673 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19678 $as_echo_n "checking for pow in -lm... " >&6; }
19679 if test "${ac_cv_lib_m_pow+set}" = set; then :
19680 $as_echo_n "(cached) " >&6
19682 ac_check_lib_save_LIBS
=$LIBS
19684 if test x
$gcc_no_link = xyes
; then
19685 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19688 /* end confdefs.h. */
19690 /* Override any GCC internal prototype to avoid an error.
19691 Use char because int might match the return type of a GCC
19692 builtin and then its argument prototype would still apply. */
19705 if ac_fn_c_try_link
"$LINENO"; then :
19706 ac_cv_lib_m_pow
=yes
19710 rm -f core conftest.err conftest.
$ac_objext \
19711 conftest
$ac_exeext conftest.
$ac_ext
19712 LIBS
=$ac_check_lib_save_LIBS
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19715 $as_echo "$ac_cv_lib_m_pow" >&6; }
19716 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
19718 $as_echo "#define HAVE_POW 1" >>confdefs.h
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19723 $as_echo_n "checking for powl in -lm... " >&6; }
19724 if test "${ac_cv_lib_m_powl+set}" = set; then :
19725 $as_echo_n "(cached) " >&6
19727 ac_check_lib_save_LIBS
=$LIBS
19729 if test x
$gcc_no_link = xyes
; then
19730 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19735 /* Override any GCC internal prototype to avoid an error.
19736 Use char because int might match the return type of a GCC
19737 builtin and then its argument prototype would still apply. */
19750 if ac_fn_c_try_link
"$LINENO"; then :
19751 ac_cv_lib_m_powl
=yes
19753 ac_cv_lib_m_powl
=no
19755 rm -f core conftest.err conftest.
$ac_objext \
19756 conftest
$ac_exeext conftest.
$ac_ext
19757 LIBS
=$ac_check_lib_save_LIBS
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19760 $as_echo "$ac_cv_lib_m_powl" >&6; }
19761 if test "x$ac_cv_lib_m_powl" = x
""yes; then :
19763 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19768 $as_echo_n "checking for cpowf in -lm... " >&6; }
19769 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19770 $as_echo_n "(cached) " >&6
19772 ac_check_lib_save_LIBS
=$LIBS
19774 if test x
$gcc_no_link = xyes
; then
19775 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19780 /* Override any GCC internal prototype to avoid an error.
19781 Use char because int might match the return type of a GCC
19782 builtin and then its argument prototype would still apply. */
19795 if ac_fn_c_try_link
"$LINENO"; then :
19796 ac_cv_lib_m_cpowf
=yes
19798 ac_cv_lib_m_cpowf
=no
19800 rm -f core conftest.err conftest.
$ac_objext \
19801 conftest
$ac_exeext conftest.
$ac_ext
19802 LIBS
=$ac_check_lib_save_LIBS
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19805 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19806 if test "x$ac_cv_lib_m_cpowf" = x
""yes; then :
19808 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19813 $as_echo_n "checking for cpow in -lm... " >&6; }
19814 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19815 $as_echo_n "(cached) " >&6
19817 ac_check_lib_save_LIBS
=$LIBS
19819 if test x
$gcc_no_link = xyes
; then
19820 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19823 /* end confdefs.h. */
19825 /* Override any GCC internal prototype to avoid an error.
19826 Use char because int might match the return type of a GCC
19827 builtin and then its argument prototype would still apply. */
19840 if ac_fn_c_try_link
"$LINENO"; then :
19841 ac_cv_lib_m_cpow
=yes
19843 ac_cv_lib_m_cpow
=no
19845 rm -f core conftest.err conftest.
$ac_objext \
19846 conftest
$ac_exeext conftest.
$ac_ext
19847 LIBS
=$ac_check_lib_save_LIBS
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19850 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19851 if test "x$ac_cv_lib_m_cpow" = x
""yes; then :
19853 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19858 $as_echo_n "checking for cpowl in -lm... " >&6; }
19859 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19860 $as_echo_n "(cached) " >&6
19862 ac_check_lib_save_LIBS
=$LIBS
19864 if test x
$gcc_no_link = xyes
; then
19865 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19870 /* Override any GCC internal prototype to avoid an error.
19871 Use char because int might match the return type of a GCC
19872 builtin and then its argument prototype would still apply. */
19885 if ac_fn_c_try_link
"$LINENO"; then :
19886 ac_cv_lib_m_cpowl
=yes
19888 ac_cv_lib_m_cpowl
=no
19890 rm -f core conftest.err conftest.
$ac_objext \
19891 conftest
$ac_exeext conftest.
$ac_ext
19892 LIBS
=$ac_check_lib_save_LIBS
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19895 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19896 if test "x$ac_cv_lib_m_cpowl" = x
""yes; then :
19898 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19903 $as_echo_n "checking for roundf in -lm... " >&6; }
19904 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19905 $as_echo_n "(cached) " >&6
19907 ac_check_lib_save_LIBS
=$LIBS
19909 if test x
$gcc_no_link = xyes
; then
19910 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19913 /* end confdefs.h. */
19915 /* Override any GCC internal prototype to avoid an error.
19916 Use char because int might match the return type of a GCC
19917 builtin and then its argument prototype would still apply. */
19930 if ac_fn_c_try_link
"$LINENO"; then :
19931 ac_cv_lib_m_roundf
=yes
19933 ac_cv_lib_m_roundf
=no
19935 rm -f core conftest.err conftest.
$ac_objext \
19936 conftest
$ac_exeext conftest.
$ac_ext
19937 LIBS
=$ac_check_lib_save_LIBS
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
19940 $as_echo "$ac_cv_lib_m_roundf" >&6; }
19941 if test "x$ac_cv_lib_m_roundf" = x
""yes; then :
19943 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
19948 $as_echo_n "checking for round in -lm... " >&6; }
19949 if test "${ac_cv_lib_m_round+set}" = set; then :
19950 $as_echo_n "(cached) " >&6
19952 ac_check_lib_save_LIBS
=$LIBS
19954 if test x
$gcc_no_link = xyes
; then
19955 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19960 /* Override any GCC internal prototype to avoid an error.
19961 Use char because int might match the return type of a GCC
19962 builtin and then its argument prototype would still apply. */
19975 if ac_fn_c_try_link
"$LINENO"; then :
19976 ac_cv_lib_m_round
=yes
19978 ac_cv_lib_m_round
=no
19980 rm -f core conftest.err conftest.
$ac_objext \
19981 conftest
$ac_exeext conftest.
$ac_ext
19982 LIBS
=$ac_check_lib_save_LIBS
19984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
19985 $as_echo "$ac_cv_lib_m_round" >&6; }
19986 if test "x$ac_cv_lib_m_round" = x
""yes; then :
19988 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
19993 $as_echo_n "checking for roundl in -lm... " >&6; }
19994 if test "${ac_cv_lib_m_roundl+set}" = set; then :
19995 $as_echo_n "(cached) " >&6
19997 ac_check_lib_save_LIBS
=$LIBS
19999 if test x
$gcc_no_link = xyes
; then
20000 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h. */
20005 /* Override any GCC internal prototype to avoid an error.
20006 Use char because int might match the return type of a GCC
20007 builtin and then its argument prototype would still apply. */
20020 if ac_fn_c_try_link
"$LINENO"; then :
20021 ac_cv_lib_m_roundl
=yes
20023 ac_cv_lib_m_roundl
=no
20025 rm -f core conftest.err conftest.
$ac_objext \
20026 conftest
$ac_exeext conftest.
$ac_ext
20027 LIBS
=$ac_check_lib_save_LIBS
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20030 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20031 if test "x$ac_cv_lib_m_roundl" = x
""yes; then :
20033 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20038 $as_echo_n "checking for lroundf in -lm... " >&6; }
20039 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20040 $as_echo_n "(cached) " >&6
20042 ac_check_lib_save_LIBS
=$LIBS
20044 if test x
$gcc_no_link = xyes
; then
20045 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20050 /* Override any GCC internal prototype to avoid an error.
20051 Use char because int might match the return type of a GCC
20052 builtin and then its argument prototype would still apply. */
20065 if ac_fn_c_try_link
"$LINENO"; then :
20066 ac_cv_lib_m_lroundf
=yes
20068 ac_cv_lib_m_lroundf
=no
20070 rm -f core conftest.err conftest.
$ac_objext \
20071 conftest
$ac_exeext conftest.
$ac_ext
20072 LIBS
=$ac_check_lib_save_LIBS
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20075 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20076 if test "x$ac_cv_lib_m_lroundf" = x
""yes; then :
20078 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20083 $as_echo_n "checking for lround in -lm... " >&6; }
20084 if test "${ac_cv_lib_m_lround+set}" = set; then :
20085 $as_echo_n "(cached) " >&6
20087 ac_check_lib_save_LIBS
=$LIBS
20089 if test x
$gcc_no_link = xyes
; then
20090 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20093 /* end confdefs.h. */
20095 /* Override any GCC internal prototype to avoid an error.
20096 Use char because int might match the return type of a GCC
20097 builtin and then its argument prototype would still apply. */
20110 if ac_fn_c_try_link
"$LINENO"; then :
20111 ac_cv_lib_m_lround
=yes
20113 ac_cv_lib_m_lround
=no
20115 rm -f core conftest.err conftest.
$ac_objext \
20116 conftest
$ac_exeext conftest.
$ac_ext
20117 LIBS
=$ac_check_lib_save_LIBS
20119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20120 $as_echo "$ac_cv_lib_m_lround" >&6; }
20121 if test "x$ac_cv_lib_m_lround" = x
""yes; then :
20123 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20128 $as_echo_n "checking for lroundl in -lm... " >&6; }
20129 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20130 $as_echo_n "(cached) " >&6
20132 ac_check_lib_save_LIBS
=$LIBS
20134 if test x
$gcc_no_link = xyes
; then
20135 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20140 /* Override any GCC internal prototype to avoid an error.
20141 Use char because int might match the return type of a GCC
20142 builtin and then its argument prototype would still apply. */
20155 if ac_fn_c_try_link
"$LINENO"; then :
20156 ac_cv_lib_m_lroundl
=yes
20158 ac_cv_lib_m_lroundl
=no
20160 rm -f core conftest.err conftest.
$ac_objext \
20161 conftest
$ac_exeext conftest.
$ac_ext
20162 LIBS
=$ac_check_lib_save_LIBS
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20165 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20166 if test "x$ac_cv_lib_m_lroundl" = x
""yes; then :
20168 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20173 $as_echo_n "checking for llroundf in -lm... " >&6; }
20174 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20175 $as_echo_n "(cached) " >&6
20177 ac_check_lib_save_LIBS
=$LIBS
20179 if test x
$gcc_no_link = xyes
; then
20180 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20183 /* end confdefs.h. */
20185 /* Override any GCC internal prototype to avoid an error.
20186 Use char because int might match the return type of a GCC
20187 builtin and then its argument prototype would still apply. */
20195 return llroundf ();
20200 if ac_fn_c_try_link
"$LINENO"; then :
20201 ac_cv_lib_m_llroundf
=yes
20203 ac_cv_lib_m_llroundf
=no
20205 rm -f core conftest.err conftest.
$ac_objext \
20206 conftest
$ac_exeext conftest.
$ac_ext
20207 LIBS
=$ac_check_lib_save_LIBS
20209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20210 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20211 if test "x$ac_cv_lib_m_llroundf" = x
""yes; then :
20213 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20218 $as_echo_n "checking for llround in -lm... " >&6; }
20219 if test "${ac_cv_lib_m_llround+set}" = set; then :
20220 $as_echo_n "(cached) " >&6
20222 ac_check_lib_save_LIBS
=$LIBS
20224 if test x
$gcc_no_link = xyes
; then
20225 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20230 /* Override any GCC internal prototype to avoid an error.
20231 Use char because int might match the return type of a GCC
20232 builtin and then its argument prototype would still apply. */
20245 if ac_fn_c_try_link
"$LINENO"; then :
20246 ac_cv_lib_m_llround
=yes
20248 ac_cv_lib_m_llround
=no
20250 rm -f core conftest.err conftest.
$ac_objext \
20251 conftest
$ac_exeext conftest.
$ac_ext
20252 LIBS
=$ac_check_lib_save_LIBS
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20255 $as_echo "$ac_cv_lib_m_llround" >&6; }
20256 if test "x$ac_cv_lib_m_llround" = x
""yes; then :
20258 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20263 $as_echo_n "checking for llroundl in -lm... " >&6; }
20264 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20265 $as_echo_n "(cached) " >&6
20267 ac_check_lib_save_LIBS
=$LIBS
20269 if test x
$gcc_no_link = xyes
; then
20270 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20273 /* end confdefs.h. */
20275 /* Override any GCC internal prototype to avoid an error.
20276 Use char because int might match the return type of a GCC
20277 builtin and then its argument prototype would still apply. */
20285 return llroundl ();
20290 if ac_fn_c_try_link
"$LINENO"; then :
20291 ac_cv_lib_m_llroundl
=yes
20293 ac_cv_lib_m_llroundl
=no
20295 rm -f core conftest.err conftest.
$ac_objext \
20296 conftest
$ac_exeext conftest.
$ac_ext
20297 LIBS
=$ac_check_lib_save_LIBS
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20300 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20301 if test "x$ac_cv_lib_m_llroundl" = x
""yes; then :
20303 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20308 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20309 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20310 $as_echo_n "(cached) " >&6
20312 ac_check_lib_save_LIBS
=$LIBS
20314 if test x
$gcc_no_link = xyes
; then
20315 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20318 /* end confdefs.h. */
20320 /* Override any GCC internal prototype to avoid an error.
20321 Use char because int might match the return type of a GCC
20322 builtin and then its argument prototype would still apply. */
20335 if ac_fn_c_try_link
"$LINENO"; then :
20336 ac_cv_lib_m_scalbnf
=yes
20338 ac_cv_lib_m_scalbnf
=no
20340 rm -f core conftest.err conftest.
$ac_objext \
20341 conftest
$ac_exeext conftest.
$ac_ext
20342 LIBS
=$ac_check_lib_save_LIBS
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20345 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20346 if test "x$ac_cv_lib_m_scalbnf" = x
""yes; then :
20348 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20353 $as_echo_n "checking for scalbn in -lm... " >&6; }
20354 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20355 $as_echo_n "(cached) " >&6
20357 ac_check_lib_save_LIBS
=$LIBS
20359 if test x
$gcc_no_link = xyes
; then
20360 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20363 /* end confdefs.h. */
20365 /* Override any GCC internal prototype to avoid an error.
20366 Use char because int might match the return type of a GCC
20367 builtin and then its argument prototype would still apply. */
20380 if ac_fn_c_try_link
"$LINENO"; then :
20381 ac_cv_lib_m_scalbn
=yes
20383 ac_cv_lib_m_scalbn
=no
20385 rm -f core conftest.err conftest.
$ac_objext \
20386 conftest
$ac_exeext conftest.
$ac_ext
20387 LIBS
=$ac_check_lib_save_LIBS
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20390 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20391 if test "x$ac_cv_lib_m_scalbn" = x
""yes; then :
20393 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20398 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20399 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20400 $as_echo_n "(cached) " >&6
20402 ac_check_lib_save_LIBS
=$LIBS
20404 if test x
$gcc_no_link = xyes
; then
20405 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20408 /* end confdefs.h. */
20410 /* Override any GCC internal prototype to avoid an error.
20411 Use char because int might match the return type of a GCC
20412 builtin and then its argument prototype would still apply. */
20425 if ac_fn_c_try_link
"$LINENO"; then :
20426 ac_cv_lib_m_scalbnl
=yes
20428 ac_cv_lib_m_scalbnl
=no
20430 rm -f core conftest.err conftest.
$ac_objext \
20431 conftest
$ac_exeext conftest.
$ac_ext
20432 LIBS
=$ac_check_lib_save_LIBS
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20435 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20436 if test "x$ac_cv_lib_m_scalbnl" = x
""yes; then :
20438 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20443 $as_echo_n "checking for sinf in -lm... " >&6; }
20444 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20445 $as_echo_n "(cached) " >&6
20447 ac_check_lib_save_LIBS
=$LIBS
20449 if test x
$gcc_no_link = xyes
; then
20450 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20453 /* end confdefs.h. */
20455 /* Override any GCC internal prototype to avoid an error.
20456 Use char because int might match the return type of a GCC
20457 builtin and then its argument prototype would still apply. */
20470 if ac_fn_c_try_link
"$LINENO"; then :
20471 ac_cv_lib_m_sinf
=yes
20473 ac_cv_lib_m_sinf
=no
20475 rm -f core conftest.err conftest.
$ac_objext \
20476 conftest
$ac_exeext conftest.
$ac_ext
20477 LIBS
=$ac_check_lib_save_LIBS
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20480 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20481 if test "x$ac_cv_lib_m_sinf" = x
""yes; then :
20483 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20488 $as_echo_n "checking for sin in -lm... " >&6; }
20489 if test "${ac_cv_lib_m_sin+set}" = set; then :
20490 $as_echo_n "(cached) " >&6
20492 ac_check_lib_save_LIBS
=$LIBS
20494 if test x
$gcc_no_link = xyes
; then
20495 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20498 /* end confdefs.h. */
20500 /* Override any GCC internal prototype to avoid an error.
20501 Use char because int might match the return type of a GCC
20502 builtin and then its argument prototype would still apply. */
20515 if ac_fn_c_try_link
"$LINENO"; then :
20516 ac_cv_lib_m_sin
=yes
20520 rm -f core conftest.err conftest.
$ac_objext \
20521 conftest
$ac_exeext conftest.
$ac_ext
20522 LIBS
=$ac_check_lib_save_LIBS
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20525 $as_echo "$ac_cv_lib_m_sin" >&6; }
20526 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
20528 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20533 $as_echo_n "checking for sinl in -lm... " >&6; }
20534 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20535 $as_echo_n "(cached) " >&6
20537 ac_check_lib_save_LIBS
=$LIBS
20539 if test x
$gcc_no_link = xyes
; then
20540 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20543 /* end confdefs.h. */
20545 /* Override any GCC internal prototype to avoid an error.
20546 Use char because int might match the return type of a GCC
20547 builtin and then its argument prototype would still apply. */
20560 if ac_fn_c_try_link
"$LINENO"; then :
20561 ac_cv_lib_m_sinl
=yes
20563 ac_cv_lib_m_sinl
=no
20565 rm -f core conftest.err conftest.
$ac_objext \
20566 conftest
$ac_exeext conftest.
$ac_ext
20567 LIBS
=$ac_check_lib_save_LIBS
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20570 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20571 if test "x$ac_cv_lib_m_sinl" = x
""yes; then :
20573 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20578 $as_echo_n "checking for csinf in -lm... " >&6; }
20579 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20580 $as_echo_n "(cached) " >&6
20582 ac_check_lib_save_LIBS
=$LIBS
20584 if test x
$gcc_no_link = xyes
; then
20585 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20588 /* end confdefs.h. */
20590 /* Override any GCC internal prototype to avoid an error.
20591 Use char because int might match the return type of a GCC
20592 builtin and then its argument prototype would still apply. */
20605 if ac_fn_c_try_link
"$LINENO"; then :
20606 ac_cv_lib_m_csinf
=yes
20608 ac_cv_lib_m_csinf
=no
20610 rm -f core conftest.err conftest.
$ac_objext \
20611 conftest
$ac_exeext conftest.
$ac_ext
20612 LIBS
=$ac_check_lib_save_LIBS
20614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20615 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20616 if test "x$ac_cv_lib_m_csinf" = x
""yes; then :
20618 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20623 $as_echo_n "checking for csin in -lm... " >&6; }
20624 if test "${ac_cv_lib_m_csin+set}" = set; then :
20625 $as_echo_n "(cached) " >&6
20627 ac_check_lib_save_LIBS
=$LIBS
20629 if test x
$gcc_no_link = xyes
; then
20630 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20633 /* end confdefs.h. */
20635 /* Override any GCC internal prototype to avoid an error.
20636 Use char because int might match the return type of a GCC
20637 builtin and then its argument prototype would still apply. */
20650 if ac_fn_c_try_link
"$LINENO"; then :
20651 ac_cv_lib_m_csin
=yes
20653 ac_cv_lib_m_csin
=no
20655 rm -f core conftest.err conftest.
$ac_objext \
20656 conftest
$ac_exeext conftest.
$ac_ext
20657 LIBS
=$ac_check_lib_save_LIBS
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20660 $as_echo "$ac_cv_lib_m_csin" >&6; }
20661 if test "x$ac_cv_lib_m_csin" = x
""yes; then :
20663 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20668 $as_echo_n "checking for csinl in -lm... " >&6; }
20669 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20670 $as_echo_n "(cached) " >&6
20672 ac_check_lib_save_LIBS
=$LIBS
20674 if test x
$gcc_no_link = xyes
; then
20675 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20680 /* Override any GCC internal prototype to avoid an error.
20681 Use char because int might match the return type of a GCC
20682 builtin and then its argument prototype would still apply. */
20695 if ac_fn_c_try_link
"$LINENO"; then :
20696 ac_cv_lib_m_csinl
=yes
20698 ac_cv_lib_m_csinl
=no
20700 rm -f core conftest.err conftest.
$ac_objext \
20701 conftest
$ac_exeext conftest.
$ac_ext
20702 LIBS
=$ac_check_lib_save_LIBS
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20705 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20706 if test "x$ac_cv_lib_m_csinl" = x
""yes; then :
20708 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20713 $as_echo_n "checking for sinhf in -lm... " >&6; }
20714 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20715 $as_echo_n "(cached) " >&6
20717 ac_check_lib_save_LIBS
=$LIBS
20719 if test x
$gcc_no_link = xyes
; then
20720 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h. */
20725 /* Override any GCC internal prototype to avoid an error.
20726 Use char because int might match the return type of a GCC
20727 builtin and then its argument prototype would still apply. */
20740 if ac_fn_c_try_link
"$LINENO"; then :
20741 ac_cv_lib_m_sinhf
=yes
20743 ac_cv_lib_m_sinhf
=no
20745 rm -f core conftest.err conftest.
$ac_objext \
20746 conftest
$ac_exeext conftest.
$ac_ext
20747 LIBS
=$ac_check_lib_save_LIBS
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20750 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20751 if test "x$ac_cv_lib_m_sinhf" = x
""yes; then :
20753 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20758 $as_echo_n "checking for sinh in -lm... " >&6; }
20759 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20760 $as_echo_n "(cached) " >&6
20762 ac_check_lib_save_LIBS
=$LIBS
20764 if test x
$gcc_no_link = xyes
; then
20765 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20770 /* Override any GCC internal prototype to avoid an error.
20771 Use char because int might match the return type of a GCC
20772 builtin and then its argument prototype would still apply. */
20785 if ac_fn_c_try_link
"$LINENO"; then :
20786 ac_cv_lib_m_sinh
=yes
20788 ac_cv_lib_m_sinh
=no
20790 rm -f core conftest.err conftest.
$ac_objext \
20791 conftest
$ac_exeext conftest.
$ac_ext
20792 LIBS
=$ac_check_lib_save_LIBS
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20795 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20796 if test "x$ac_cv_lib_m_sinh" = x
""yes; then :
20798 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20803 $as_echo_n "checking for sinhl in -lm... " >&6; }
20804 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20805 $as_echo_n "(cached) " >&6
20807 ac_check_lib_save_LIBS
=$LIBS
20809 if test x
$gcc_no_link = xyes
; then
20810 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20813 /* end confdefs.h. */
20815 /* Override any GCC internal prototype to avoid an error.
20816 Use char because int might match the return type of a GCC
20817 builtin and then its argument prototype would still apply. */
20830 if ac_fn_c_try_link
"$LINENO"; then :
20831 ac_cv_lib_m_sinhl
=yes
20833 ac_cv_lib_m_sinhl
=no
20835 rm -f core conftest.err conftest.
$ac_objext \
20836 conftest
$ac_exeext conftest.
$ac_ext
20837 LIBS
=$ac_check_lib_save_LIBS
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20840 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20841 if test "x$ac_cv_lib_m_sinhl" = x
""yes; then :
20843 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20848 $as_echo_n "checking for csinhf in -lm... " >&6; }
20849 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20850 $as_echo_n "(cached) " >&6
20852 ac_check_lib_save_LIBS
=$LIBS
20854 if test x
$gcc_no_link = xyes
; then
20855 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20860 /* Override any GCC internal prototype to avoid an error.
20861 Use char because int might match the return type of a GCC
20862 builtin and then its argument prototype would still apply. */
20875 if ac_fn_c_try_link
"$LINENO"; then :
20876 ac_cv_lib_m_csinhf
=yes
20878 ac_cv_lib_m_csinhf
=no
20880 rm -f core conftest.err conftest.
$ac_objext \
20881 conftest
$ac_exeext conftest.
$ac_ext
20882 LIBS
=$ac_check_lib_save_LIBS
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20885 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20886 if test "x$ac_cv_lib_m_csinhf" = x
""yes; then :
20888 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20893 $as_echo_n "checking for csinh in -lm... " >&6; }
20894 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20895 $as_echo_n "(cached) " >&6
20897 ac_check_lib_save_LIBS
=$LIBS
20899 if test x
$gcc_no_link = xyes
; then
20900 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20903 /* end confdefs.h. */
20905 /* Override any GCC internal prototype to avoid an error.
20906 Use char because int might match the return type of a GCC
20907 builtin and then its argument prototype would still apply. */
20920 if ac_fn_c_try_link
"$LINENO"; then :
20921 ac_cv_lib_m_csinh
=yes
20923 ac_cv_lib_m_csinh
=no
20925 rm -f core conftest.err conftest.
$ac_objext \
20926 conftest
$ac_exeext conftest.
$ac_ext
20927 LIBS
=$ac_check_lib_save_LIBS
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20930 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20931 if test "x$ac_cv_lib_m_csinh" = x
""yes; then :
20933 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20938 $as_echo_n "checking for csinhl in -lm... " >&6; }
20939 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
20940 $as_echo_n "(cached) " >&6
20942 ac_check_lib_save_LIBS
=$LIBS
20944 if test x
$gcc_no_link = xyes
; then
20945 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20948 /* end confdefs.h. */
20950 /* Override any GCC internal prototype to avoid an error.
20951 Use char because int might match the return type of a GCC
20952 builtin and then its argument prototype would still apply. */
20965 if ac_fn_c_try_link
"$LINENO"; then :
20966 ac_cv_lib_m_csinhl
=yes
20968 ac_cv_lib_m_csinhl
=no
20970 rm -f core conftest.err conftest.
$ac_objext \
20971 conftest
$ac_exeext conftest.
$ac_ext
20972 LIBS
=$ac_check_lib_save_LIBS
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
20975 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
20976 if test "x$ac_cv_lib_m_csinhl" = x
""yes; then :
20978 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
20983 $as_echo_n "checking for sqrtf in -lm... " >&6; }
20984 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
20985 $as_echo_n "(cached) " >&6
20987 ac_check_lib_save_LIBS
=$LIBS
20989 if test x
$gcc_no_link = xyes
; then
20990 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h. */
20995 /* Override any GCC internal prototype to avoid an error.
20996 Use char because int might match the return type of a GCC
20997 builtin and then its argument prototype would still apply. */
21010 if ac_fn_c_try_link
"$LINENO"; then :
21011 ac_cv_lib_m_sqrtf
=yes
21013 ac_cv_lib_m_sqrtf
=no
21015 rm -f core conftest.err conftest.
$ac_objext \
21016 conftest
$ac_exeext conftest.
$ac_ext
21017 LIBS
=$ac_check_lib_save_LIBS
21019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21020 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21021 if test "x$ac_cv_lib_m_sqrtf" = x
""yes; then :
21023 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21028 $as_echo_n "checking for sqrt in -lm... " >&6; }
21029 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21030 $as_echo_n "(cached) " >&6
21032 ac_check_lib_save_LIBS
=$LIBS
21034 if test x
$gcc_no_link = xyes
; then
21035 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21038 /* end confdefs.h. */
21040 /* Override any GCC internal prototype to avoid an error.
21041 Use char because int might match the return type of a GCC
21042 builtin and then its argument prototype would still apply. */
21055 if ac_fn_c_try_link
"$LINENO"; then :
21056 ac_cv_lib_m_sqrt
=yes
21058 ac_cv_lib_m_sqrt
=no
21060 rm -f core conftest.err conftest.
$ac_objext \
21061 conftest
$ac_exeext conftest.
$ac_ext
21062 LIBS
=$ac_check_lib_save_LIBS
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21065 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21066 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
21068 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21073 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21074 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21075 $as_echo_n "(cached) " >&6
21077 ac_check_lib_save_LIBS
=$LIBS
21079 if test x
$gcc_no_link = xyes
; then
21080 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21083 /* end confdefs.h. */
21085 /* Override any GCC internal prototype to avoid an error.
21086 Use char because int might match the return type of a GCC
21087 builtin and then its argument prototype would still apply. */
21100 if ac_fn_c_try_link
"$LINENO"; then :
21101 ac_cv_lib_m_sqrtl
=yes
21103 ac_cv_lib_m_sqrtl
=no
21105 rm -f core conftest.err conftest.
$ac_objext \
21106 conftest
$ac_exeext conftest.
$ac_ext
21107 LIBS
=$ac_check_lib_save_LIBS
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21110 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21111 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then :
21113 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21118 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21119 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21120 $as_echo_n "(cached) " >&6
21122 ac_check_lib_save_LIBS
=$LIBS
21124 if test x
$gcc_no_link = xyes
; then
21125 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21128 /* end confdefs.h. */
21130 /* Override any GCC internal prototype to avoid an error.
21131 Use char because int might match the return type of a GCC
21132 builtin and then its argument prototype would still apply. */
21145 if ac_fn_c_try_link
"$LINENO"; then :
21146 ac_cv_lib_m_csqrtf
=yes
21148 ac_cv_lib_m_csqrtf
=no
21150 rm -f core conftest.err conftest.
$ac_objext \
21151 conftest
$ac_exeext conftest.
$ac_ext
21152 LIBS
=$ac_check_lib_save_LIBS
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21155 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21156 if test "x$ac_cv_lib_m_csqrtf" = x
""yes; then :
21158 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21163 $as_echo_n "checking for csqrt in -lm... " >&6; }
21164 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21165 $as_echo_n "(cached) " >&6
21167 ac_check_lib_save_LIBS
=$LIBS
21169 if test x
$gcc_no_link = xyes
; then
21170 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21173 /* end confdefs.h. */
21175 /* Override any GCC internal prototype to avoid an error.
21176 Use char because int might match the return type of a GCC
21177 builtin and then its argument prototype would still apply. */
21190 if ac_fn_c_try_link
"$LINENO"; then :
21191 ac_cv_lib_m_csqrt
=yes
21193 ac_cv_lib_m_csqrt
=no
21195 rm -f core conftest.err conftest.
$ac_objext \
21196 conftest
$ac_exeext conftest.
$ac_ext
21197 LIBS
=$ac_check_lib_save_LIBS
21199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21200 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21201 if test "x$ac_cv_lib_m_csqrt" = x
""yes; then :
21203 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21208 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21209 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21210 $as_echo_n "(cached) " >&6
21212 ac_check_lib_save_LIBS
=$LIBS
21214 if test x
$gcc_no_link = xyes
; then
21215 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21218 /* end confdefs.h. */
21220 /* Override any GCC internal prototype to avoid an error.
21221 Use char because int might match the return type of a GCC
21222 builtin and then its argument prototype would still apply. */
21235 if ac_fn_c_try_link
"$LINENO"; then :
21236 ac_cv_lib_m_csqrtl
=yes
21238 ac_cv_lib_m_csqrtl
=no
21240 rm -f core conftest.err conftest.
$ac_objext \
21241 conftest
$ac_exeext conftest.
$ac_ext
21242 LIBS
=$ac_check_lib_save_LIBS
21244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21245 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21246 if test "x$ac_cv_lib_m_csqrtl" = x
""yes; then :
21248 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21253 $as_echo_n "checking for tanf in -lm... " >&6; }
21254 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21255 $as_echo_n "(cached) " >&6
21257 ac_check_lib_save_LIBS
=$LIBS
21259 if test x
$gcc_no_link = xyes
; then
21260 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21263 /* end confdefs.h. */
21265 /* Override any GCC internal prototype to avoid an error.
21266 Use char because int might match the return type of a GCC
21267 builtin and then its argument prototype would still apply. */
21280 if ac_fn_c_try_link
"$LINENO"; then :
21281 ac_cv_lib_m_tanf
=yes
21283 ac_cv_lib_m_tanf
=no
21285 rm -f core conftest.err conftest.
$ac_objext \
21286 conftest
$ac_exeext conftest.
$ac_ext
21287 LIBS
=$ac_check_lib_save_LIBS
21289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21290 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21291 if test "x$ac_cv_lib_m_tanf" = x
""yes; then :
21293 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21298 $as_echo_n "checking for tan in -lm... " >&6; }
21299 if test "${ac_cv_lib_m_tan+set}" = set; then :
21300 $as_echo_n "(cached) " >&6
21302 ac_check_lib_save_LIBS
=$LIBS
21304 if test x
$gcc_no_link = xyes
; then
21305 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21308 /* end confdefs.h. */
21310 /* Override any GCC internal prototype to avoid an error.
21311 Use char because int might match the return type of a GCC
21312 builtin and then its argument prototype would still apply. */
21325 if ac_fn_c_try_link
"$LINENO"; then :
21326 ac_cv_lib_m_tan
=yes
21330 rm -f core conftest.err conftest.
$ac_objext \
21331 conftest
$ac_exeext conftest.
$ac_ext
21332 LIBS
=$ac_check_lib_save_LIBS
21334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21335 $as_echo "$ac_cv_lib_m_tan" >&6; }
21336 if test "x$ac_cv_lib_m_tan" = x
""yes; then :
21338 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21343 $as_echo_n "checking for tanl in -lm... " >&6; }
21344 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21345 $as_echo_n "(cached) " >&6
21347 ac_check_lib_save_LIBS
=$LIBS
21349 if test x
$gcc_no_link = xyes
; then
21350 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21355 /* Override any GCC internal prototype to avoid an error.
21356 Use char because int might match the return type of a GCC
21357 builtin and then its argument prototype would still apply. */
21370 if ac_fn_c_try_link
"$LINENO"; then :
21371 ac_cv_lib_m_tanl
=yes
21373 ac_cv_lib_m_tanl
=no
21375 rm -f core conftest.err conftest.
$ac_objext \
21376 conftest
$ac_exeext conftest.
$ac_ext
21377 LIBS
=$ac_check_lib_save_LIBS
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21380 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21381 if test "x$ac_cv_lib_m_tanl" = x
""yes; then :
21383 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21388 $as_echo_n "checking for ctanf in -lm... " >&6; }
21389 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21390 $as_echo_n "(cached) " >&6
21392 ac_check_lib_save_LIBS
=$LIBS
21394 if test x
$gcc_no_link = xyes
; then
21395 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21398 /* end confdefs.h. */
21400 /* Override any GCC internal prototype to avoid an error.
21401 Use char because int might match the return type of a GCC
21402 builtin and then its argument prototype would still apply. */
21415 if ac_fn_c_try_link
"$LINENO"; then :
21416 ac_cv_lib_m_ctanf
=yes
21418 ac_cv_lib_m_ctanf
=no
21420 rm -f core conftest.err conftest.
$ac_objext \
21421 conftest
$ac_exeext conftest.
$ac_ext
21422 LIBS
=$ac_check_lib_save_LIBS
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21425 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21426 if test "x$ac_cv_lib_m_ctanf" = x
""yes; then :
21428 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21433 $as_echo_n "checking for ctan in -lm... " >&6; }
21434 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21435 $as_echo_n "(cached) " >&6
21437 ac_check_lib_save_LIBS
=$LIBS
21439 if test x
$gcc_no_link = xyes
; then
21440 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21443 /* end confdefs.h. */
21445 /* Override any GCC internal prototype to avoid an error.
21446 Use char because int might match the return type of a GCC
21447 builtin and then its argument prototype would still apply. */
21460 if ac_fn_c_try_link
"$LINENO"; then :
21461 ac_cv_lib_m_ctan
=yes
21463 ac_cv_lib_m_ctan
=no
21465 rm -f core conftest.err conftest.
$ac_objext \
21466 conftest
$ac_exeext conftest.
$ac_ext
21467 LIBS
=$ac_check_lib_save_LIBS
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21470 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21471 if test "x$ac_cv_lib_m_ctan" = x
""yes; then :
21473 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21478 $as_echo_n "checking for ctanl in -lm... " >&6; }
21479 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21480 $as_echo_n "(cached) " >&6
21482 ac_check_lib_save_LIBS
=$LIBS
21484 if test x
$gcc_no_link = xyes
; then
21485 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21490 /* Override any GCC internal prototype to avoid an error.
21491 Use char because int might match the return type of a GCC
21492 builtin and then its argument prototype would still apply. */
21505 if ac_fn_c_try_link
"$LINENO"; then :
21506 ac_cv_lib_m_ctanl
=yes
21508 ac_cv_lib_m_ctanl
=no
21510 rm -f core conftest.err conftest.
$ac_objext \
21511 conftest
$ac_exeext conftest.
$ac_ext
21512 LIBS
=$ac_check_lib_save_LIBS
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21515 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21516 if test "x$ac_cv_lib_m_ctanl" = x
""yes; then :
21518 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21523 $as_echo_n "checking for tanhf in -lm... " >&6; }
21524 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21525 $as_echo_n "(cached) " >&6
21527 ac_check_lib_save_LIBS
=$LIBS
21529 if test x
$gcc_no_link = xyes
; then
21530 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21533 /* end confdefs.h. */
21535 /* Override any GCC internal prototype to avoid an error.
21536 Use char because int might match the return type of a GCC
21537 builtin and then its argument prototype would still apply. */
21550 if ac_fn_c_try_link
"$LINENO"; then :
21551 ac_cv_lib_m_tanhf
=yes
21553 ac_cv_lib_m_tanhf
=no
21555 rm -f core conftest.err conftest.
$ac_objext \
21556 conftest
$ac_exeext conftest.
$ac_ext
21557 LIBS
=$ac_check_lib_save_LIBS
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21560 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21561 if test "x$ac_cv_lib_m_tanhf" = x
""yes; then :
21563 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21568 $as_echo_n "checking for tanh in -lm... " >&6; }
21569 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21570 $as_echo_n "(cached) " >&6
21572 ac_check_lib_save_LIBS
=$LIBS
21574 if test x
$gcc_no_link = xyes
; then
21575 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21578 /* end confdefs.h. */
21580 /* Override any GCC internal prototype to avoid an error.
21581 Use char because int might match the return type of a GCC
21582 builtin and then its argument prototype would still apply. */
21595 if ac_fn_c_try_link
"$LINENO"; then :
21596 ac_cv_lib_m_tanh
=yes
21598 ac_cv_lib_m_tanh
=no
21600 rm -f core conftest.err conftest.
$ac_objext \
21601 conftest
$ac_exeext conftest.
$ac_ext
21602 LIBS
=$ac_check_lib_save_LIBS
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21605 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21606 if test "x$ac_cv_lib_m_tanh" = x
""yes; then :
21608 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21613 $as_echo_n "checking for tanhl in -lm... " >&6; }
21614 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21615 $as_echo_n "(cached) " >&6
21617 ac_check_lib_save_LIBS
=$LIBS
21619 if test x
$gcc_no_link = xyes
; then
21620 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21623 /* end confdefs.h. */
21625 /* Override any GCC internal prototype to avoid an error.
21626 Use char because int might match the return type of a GCC
21627 builtin and then its argument prototype would still apply. */
21640 if ac_fn_c_try_link
"$LINENO"; then :
21641 ac_cv_lib_m_tanhl
=yes
21643 ac_cv_lib_m_tanhl
=no
21645 rm -f core conftest.err conftest.
$ac_objext \
21646 conftest
$ac_exeext conftest.
$ac_ext
21647 LIBS
=$ac_check_lib_save_LIBS
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21650 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21651 if test "x$ac_cv_lib_m_tanhl" = x
""yes; then :
21653 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21658 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21659 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21660 $as_echo_n "(cached) " >&6
21662 ac_check_lib_save_LIBS
=$LIBS
21664 if test x
$gcc_no_link = xyes
; then
21665 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21668 /* end confdefs.h. */
21670 /* Override any GCC internal prototype to avoid an error.
21671 Use char because int might match the return type of a GCC
21672 builtin and then its argument prototype would still apply. */
21685 if ac_fn_c_try_link
"$LINENO"; then :
21686 ac_cv_lib_m_ctanhf
=yes
21688 ac_cv_lib_m_ctanhf
=no
21690 rm -f core conftest.err conftest.
$ac_objext \
21691 conftest
$ac_exeext conftest.
$ac_ext
21692 LIBS
=$ac_check_lib_save_LIBS
21694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21695 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21696 if test "x$ac_cv_lib_m_ctanhf" = x
""yes; then :
21698 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21703 $as_echo_n "checking for ctanh in -lm... " >&6; }
21704 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21705 $as_echo_n "(cached) " >&6
21707 ac_check_lib_save_LIBS
=$LIBS
21709 if test x
$gcc_no_link = xyes
; then
21710 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21713 /* end confdefs.h. */
21715 /* Override any GCC internal prototype to avoid an error.
21716 Use char because int might match the return type of a GCC
21717 builtin and then its argument prototype would still apply. */
21730 if ac_fn_c_try_link
"$LINENO"; then :
21731 ac_cv_lib_m_ctanh
=yes
21733 ac_cv_lib_m_ctanh
=no
21735 rm -f core conftest.err conftest.
$ac_objext \
21736 conftest
$ac_exeext conftest.
$ac_ext
21737 LIBS
=$ac_check_lib_save_LIBS
21739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21740 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21741 if test "x$ac_cv_lib_m_ctanh" = x
""yes; then :
21743 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21748 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21749 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21750 $as_echo_n "(cached) " >&6
21752 ac_check_lib_save_LIBS
=$LIBS
21754 if test x
$gcc_no_link = xyes
; then
21755 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21758 /* end confdefs.h. */
21760 /* Override any GCC internal prototype to avoid an error.
21761 Use char because int might match the return type of a GCC
21762 builtin and then its argument prototype would still apply. */
21775 if ac_fn_c_try_link
"$LINENO"; then :
21776 ac_cv_lib_m_ctanhl
=yes
21778 ac_cv_lib_m_ctanhl
=no
21780 rm -f core conftest.err conftest.
$ac_objext \
21781 conftest
$ac_exeext conftest.
$ac_ext
21782 LIBS
=$ac_check_lib_save_LIBS
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21785 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21786 if test "x$ac_cv_lib_m_ctanhl" = x
""yes; then :
21788 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21793 $as_echo_n "checking for truncf in -lm... " >&6; }
21794 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21795 $as_echo_n "(cached) " >&6
21797 ac_check_lib_save_LIBS
=$LIBS
21799 if test x
$gcc_no_link = xyes
; then
21800 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h. */
21805 /* Override any GCC internal prototype to avoid an error.
21806 Use char because int might match the return type of a GCC
21807 builtin and then its argument prototype would still apply. */
21820 if ac_fn_c_try_link
"$LINENO"; then :
21821 ac_cv_lib_m_truncf
=yes
21823 ac_cv_lib_m_truncf
=no
21825 rm -f core conftest.err conftest.
$ac_objext \
21826 conftest
$ac_exeext conftest.
$ac_ext
21827 LIBS
=$ac_check_lib_save_LIBS
21829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21830 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21831 if test "x$ac_cv_lib_m_truncf" = x
""yes; then :
21833 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21838 $as_echo_n "checking for trunc in -lm... " >&6; }
21839 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21840 $as_echo_n "(cached) " >&6
21842 ac_check_lib_save_LIBS
=$LIBS
21844 if test x
$gcc_no_link = xyes
; then
21845 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21848 /* end confdefs.h. */
21850 /* Override any GCC internal prototype to avoid an error.
21851 Use char because int might match the return type of a GCC
21852 builtin and then its argument prototype would still apply. */
21865 if ac_fn_c_try_link
"$LINENO"; then :
21866 ac_cv_lib_m_trunc
=yes
21868 ac_cv_lib_m_trunc
=no
21870 rm -f core conftest.err conftest.
$ac_objext \
21871 conftest
$ac_exeext conftest.
$ac_ext
21872 LIBS
=$ac_check_lib_save_LIBS
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21875 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21876 if test "x$ac_cv_lib_m_trunc" = x
""yes; then :
21878 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21883 $as_echo_n "checking for truncl in -lm... " >&6; }
21884 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21885 $as_echo_n "(cached) " >&6
21887 ac_check_lib_save_LIBS
=$LIBS
21889 if test x
$gcc_no_link = xyes
; then
21890 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21893 /* end confdefs.h. */
21895 /* Override any GCC internal prototype to avoid an error.
21896 Use char because int might match the return type of a GCC
21897 builtin and then its argument prototype would still apply. */
21910 if ac_fn_c_try_link
"$LINENO"; then :
21911 ac_cv_lib_m_truncl
=yes
21913 ac_cv_lib_m_truncl
=no
21915 rm -f core conftest.err conftest.
$ac_objext \
21916 conftest
$ac_exeext conftest.
$ac_ext
21917 LIBS
=$ac_check_lib_save_LIBS
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21920 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21921 if test "x$ac_cv_lib_m_truncl" = x
""yes; then :
21923 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21928 $as_echo_n "checking for erff in -lm... " >&6; }
21929 if test "${ac_cv_lib_m_erff+set}" = set; then :
21930 $as_echo_n "(cached) " >&6
21932 ac_check_lib_save_LIBS
=$LIBS
21934 if test x
$gcc_no_link = xyes
; then
21935 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21938 /* end confdefs.h. */
21940 /* Override any GCC internal prototype to avoid an error.
21941 Use char because int might match the return type of a GCC
21942 builtin and then its argument prototype would still apply. */
21955 if ac_fn_c_try_link
"$LINENO"; then :
21956 ac_cv_lib_m_erff
=yes
21958 ac_cv_lib_m_erff
=no
21960 rm -f core conftest.err conftest.
$ac_objext \
21961 conftest
$ac_exeext conftest.
$ac_ext
21962 LIBS
=$ac_check_lib_save_LIBS
21964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
21965 $as_echo "$ac_cv_lib_m_erff" >&6; }
21966 if test "x$ac_cv_lib_m_erff" = x
""yes; then :
21968 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
21973 $as_echo_n "checking for erf in -lm... " >&6; }
21974 if test "${ac_cv_lib_m_erf+set}" = set; then :
21975 $as_echo_n "(cached) " >&6
21977 ac_check_lib_save_LIBS
=$LIBS
21979 if test x
$gcc_no_link = xyes
; then
21980 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21983 /* end confdefs.h. */
21985 /* Override any GCC internal prototype to avoid an error.
21986 Use char because int might match the return type of a GCC
21987 builtin and then its argument prototype would still apply. */
22000 if ac_fn_c_try_link
"$LINENO"; then :
22001 ac_cv_lib_m_erf
=yes
22005 rm -f core conftest.err conftest.
$ac_objext \
22006 conftest
$ac_exeext conftest.
$ac_ext
22007 LIBS
=$ac_check_lib_save_LIBS
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22010 $as_echo "$ac_cv_lib_m_erf" >&6; }
22011 if test "x$ac_cv_lib_m_erf" = x
""yes; then :
22013 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22018 $as_echo_n "checking for erfl in -lm... " >&6; }
22019 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22020 $as_echo_n "(cached) " >&6
22022 ac_check_lib_save_LIBS
=$LIBS
22024 if test x
$gcc_no_link = xyes
; then
22025 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22028 /* end confdefs.h. */
22030 /* Override any GCC internal prototype to avoid an error.
22031 Use char because int might match the return type of a GCC
22032 builtin and then its argument prototype would still apply. */
22045 if ac_fn_c_try_link
"$LINENO"; then :
22046 ac_cv_lib_m_erfl
=yes
22048 ac_cv_lib_m_erfl
=no
22050 rm -f core conftest.err conftest.
$ac_objext \
22051 conftest
$ac_exeext conftest.
$ac_ext
22052 LIBS
=$ac_check_lib_save_LIBS
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22055 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22056 if test "x$ac_cv_lib_m_erfl" = x
""yes; then :
22058 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22063 $as_echo_n "checking for erfcf in -lm... " >&6; }
22064 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22065 $as_echo_n "(cached) " >&6
22067 ac_check_lib_save_LIBS
=$LIBS
22069 if test x
$gcc_no_link = xyes
; then
22070 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22073 /* end confdefs.h. */
22075 /* Override any GCC internal prototype to avoid an error.
22076 Use char because int might match the return type of a GCC
22077 builtin and then its argument prototype would still apply. */
22090 if ac_fn_c_try_link
"$LINENO"; then :
22091 ac_cv_lib_m_erfcf
=yes
22093 ac_cv_lib_m_erfcf
=no
22095 rm -f core conftest.err conftest.
$ac_objext \
22096 conftest
$ac_exeext conftest.
$ac_ext
22097 LIBS
=$ac_check_lib_save_LIBS
22099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22100 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22101 if test "x$ac_cv_lib_m_erfcf" = x
""yes; then :
22103 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22108 $as_echo_n "checking for erfc in -lm... " >&6; }
22109 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22110 $as_echo_n "(cached) " >&6
22112 ac_check_lib_save_LIBS
=$LIBS
22114 if test x
$gcc_no_link = xyes
; then
22115 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22118 /* end confdefs.h. */
22120 /* Override any GCC internal prototype to avoid an error.
22121 Use char because int might match the return type of a GCC
22122 builtin and then its argument prototype would still apply. */
22135 if ac_fn_c_try_link
"$LINENO"; then :
22136 ac_cv_lib_m_erfc
=yes
22138 ac_cv_lib_m_erfc
=no
22140 rm -f core conftest.err conftest.
$ac_objext \
22141 conftest
$ac_exeext conftest.
$ac_ext
22142 LIBS
=$ac_check_lib_save_LIBS
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22145 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22146 if test "x$ac_cv_lib_m_erfc" = x
""yes; then :
22148 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22153 $as_echo_n "checking for erfcl in -lm... " >&6; }
22154 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22155 $as_echo_n "(cached) " >&6
22157 ac_check_lib_save_LIBS
=$LIBS
22159 if test x
$gcc_no_link = xyes
; then
22160 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22163 /* end confdefs.h. */
22165 /* Override any GCC internal prototype to avoid an error.
22166 Use char because int might match the return type of a GCC
22167 builtin and then its argument prototype would still apply. */
22180 if ac_fn_c_try_link
"$LINENO"; then :
22181 ac_cv_lib_m_erfcl
=yes
22183 ac_cv_lib_m_erfcl
=no
22185 rm -f core conftest.err conftest.
$ac_objext \
22186 conftest
$ac_exeext conftest.
$ac_ext
22187 LIBS
=$ac_check_lib_save_LIBS
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22190 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22191 if test "x$ac_cv_lib_m_erfcl" = x
""yes; then :
22193 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22198 $as_echo_n "checking for j0f in -lm... " >&6; }
22199 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22200 $as_echo_n "(cached) " >&6
22202 ac_check_lib_save_LIBS
=$LIBS
22204 if test x
$gcc_no_link = xyes
; then
22205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22208 /* end confdefs.h. */
22210 /* Override any GCC internal prototype to avoid an error.
22211 Use char because int might match the return type of a GCC
22212 builtin and then its argument prototype would still apply. */
22225 if ac_fn_c_try_link
"$LINENO"; then :
22226 ac_cv_lib_m_j0f
=yes
22230 rm -f core conftest.err conftest.
$ac_objext \
22231 conftest
$ac_exeext conftest.
$ac_ext
22232 LIBS
=$ac_check_lib_save_LIBS
22234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22235 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22236 if test "x$ac_cv_lib_m_j0f" = x
""yes; then :
22238 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22243 $as_echo_n "checking for j0 in -lm... " >&6; }
22244 if test "${ac_cv_lib_m_j0+set}" = set; then :
22245 $as_echo_n "(cached) " >&6
22247 ac_check_lib_save_LIBS
=$LIBS
22249 if test x
$gcc_no_link = xyes
; then
22250 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22253 /* end confdefs.h. */
22255 /* Override any GCC internal prototype to avoid an error.
22256 Use char because int might match the return type of a GCC
22257 builtin and then its argument prototype would still apply. */
22270 if ac_fn_c_try_link
"$LINENO"; then :
22275 rm -f core conftest.err conftest.
$ac_objext \
22276 conftest
$ac_exeext conftest.
$ac_ext
22277 LIBS
=$ac_check_lib_save_LIBS
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22280 $as_echo "$ac_cv_lib_m_j0" >&6; }
22281 if test "x$ac_cv_lib_m_j0" = x
""yes; then :
22283 $as_echo "#define HAVE_J0 1" >>confdefs.h
22287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22288 $as_echo_n "checking for j0l in -lm... " >&6; }
22289 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22290 $as_echo_n "(cached) " >&6
22292 ac_check_lib_save_LIBS
=$LIBS
22294 if test x
$gcc_no_link = xyes
; then
22295 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22298 /* end confdefs.h. */
22300 /* Override any GCC internal prototype to avoid an error.
22301 Use char because int might match the return type of a GCC
22302 builtin and then its argument prototype would still apply. */
22315 if ac_fn_c_try_link
"$LINENO"; then :
22316 ac_cv_lib_m_j0l
=yes
22320 rm -f core conftest.err conftest.
$ac_objext \
22321 conftest
$ac_exeext conftest.
$ac_ext
22322 LIBS
=$ac_check_lib_save_LIBS
22324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22325 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22326 if test "x$ac_cv_lib_m_j0l" = x
""yes; then :
22328 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22333 $as_echo_n "checking for j1f in -lm... " >&6; }
22334 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22335 $as_echo_n "(cached) " >&6
22337 ac_check_lib_save_LIBS
=$LIBS
22339 if test x
$gcc_no_link = xyes
; then
22340 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22343 /* end confdefs.h. */
22345 /* Override any GCC internal prototype to avoid an error.
22346 Use char because int might match the return type of a GCC
22347 builtin and then its argument prototype would still apply. */
22360 if ac_fn_c_try_link
"$LINENO"; then :
22361 ac_cv_lib_m_j1f
=yes
22365 rm -f core conftest.err conftest.
$ac_objext \
22366 conftest
$ac_exeext conftest.
$ac_ext
22367 LIBS
=$ac_check_lib_save_LIBS
22369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22370 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22371 if test "x$ac_cv_lib_m_j1f" = x
""yes; then :
22373 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22378 $as_echo_n "checking for j1 in -lm... " >&6; }
22379 if test "${ac_cv_lib_m_j1+set}" = set; then :
22380 $as_echo_n "(cached) " >&6
22382 ac_check_lib_save_LIBS
=$LIBS
22384 if test x
$gcc_no_link = xyes
; then
22385 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22388 /* end confdefs.h. */
22390 /* Override any GCC internal prototype to avoid an error.
22391 Use char because int might match the return type of a GCC
22392 builtin and then its argument prototype would still apply. */
22405 if ac_fn_c_try_link
"$LINENO"; then :
22410 rm -f core conftest.err conftest.
$ac_objext \
22411 conftest
$ac_exeext conftest.
$ac_ext
22412 LIBS
=$ac_check_lib_save_LIBS
22414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22415 $as_echo "$ac_cv_lib_m_j1" >&6; }
22416 if test "x$ac_cv_lib_m_j1" = x
""yes; then :
22418 $as_echo "#define HAVE_J1 1" >>confdefs.h
22422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22423 $as_echo_n "checking for j1l in -lm... " >&6; }
22424 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22425 $as_echo_n "(cached) " >&6
22427 ac_check_lib_save_LIBS
=$LIBS
22429 if test x
$gcc_no_link = xyes
; then
22430 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22433 /* end confdefs.h. */
22435 /* Override any GCC internal prototype to avoid an error.
22436 Use char because int might match the return type of a GCC
22437 builtin and then its argument prototype would still apply. */
22450 if ac_fn_c_try_link
"$LINENO"; then :
22451 ac_cv_lib_m_j1l
=yes
22455 rm -f core conftest.err conftest.
$ac_objext \
22456 conftest
$ac_exeext conftest.
$ac_ext
22457 LIBS
=$ac_check_lib_save_LIBS
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22460 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22461 if test "x$ac_cv_lib_m_j1l" = x
""yes; then :
22463 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22468 $as_echo_n "checking for jnf in -lm... " >&6; }
22469 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22470 $as_echo_n "(cached) " >&6
22472 ac_check_lib_save_LIBS
=$LIBS
22474 if test x
$gcc_no_link = xyes
; then
22475 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22478 /* end confdefs.h. */
22480 /* Override any GCC internal prototype to avoid an error.
22481 Use char because int might match the return type of a GCC
22482 builtin and then its argument prototype would still apply. */
22495 if ac_fn_c_try_link
"$LINENO"; then :
22496 ac_cv_lib_m_jnf
=yes
22500 rm -f core conftest.err conftest.
$ac_objext \
22501 conftest
$ac_exeext conftest.
$ac_ext
22502 LIBS
=$ac_check_lib_save_LIBS
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22505 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22506 if test "x$ac_cv_lib_m_jnf" = x
""yes; then :
22508 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22513 $as_echo_n "checking for jn in -lm... " >&6; }
22514 if test "${ac_cv_lib_m_jn+set}" = set; then :
22515 $as_echo_n "(cached) " >&6
22517 ac_check_lib_save_LIBS
=$LIBS
22519 if test x
$gcc_no_link = xyes
; then
22520 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22523 /* end confdefs.h. */
22525 /* Override any GCC internal prototype to avoid an error.
22526 Use char because int might match the return type of a GCC
22527 builtin and then its argument prototype would still apply. */
22540 if ac_fn_c_try_link
"$LINENO"; then :
22545 rm -f core conftest.err conftest.
$ac_objext \
22546 conftest
$ac_exeext conftest.
$ac_ext
22547 LIBS
=$ac_check_lib_save_LIBS
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22550 $as_echo "$ac_cv_lib_m_jn" >&6; }
22551 if test "x$ac_cv_lib_m_jn" = x
""yes; then :
22553 $as_echo "#define HAVE_JN 1" >>confdefs.h
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22558 $as_echo_n "checking for jnl in -lm... " >&6; }
22559 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22560 $as_echo_n "(cached) " >&6
22562 ac_check_lib_save_LIBS
=$LIBS
22564 if test x
$gcc_no_link = xyes
; then
22565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22568 /* end confdefs.h. */
22570 /* Override any GCC internal prototype to avoid an error.
22571 Use char because int might match the return type of a GCC
22572 builtin and then its argument prototype would still apply. */
22585 if ac_fn_c_try_link
"$LINENO"; then :
22586 ac_cv_lib_m_jnl
=yes
22590 rm -f core conftest.err conftest.
$ac_objext \
22591 conftest
$ac_exeext conftest.
$ac_ext
22592 LIBS
=$ac_check_lib_save_LIBS
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22595 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22596 if test "x$ac_cv_lib_m_jnl" = x
""yes; then :
22598 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22603 $as_echo_n "checking for y0f in -lm... " >&6; }
22604 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22605 $as_echo_n "(cached) " >&6
22607 ac_check_lib_save_LIBS
=$LIBS
22609 if test x
$gcc_no_link = xyes
; then
22610 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22613 /* end confdefs.h. */
22615 /* Override any GCC internal prototype to avoid an error.
22616 Use char because int might match the return type of a GCC
22617 builtin and then its argument prototype would still apply. */
22630 if ac_fn_c_try_link
"$LINENO"; then :
22631 ac_cv_lib_m_y0f
=yes
22635 rm -f core conftest.err conftest.
$ac_objext \
22636 conftest
$ac_exeext conftest.
$ac_ext
22637 LIBS
=$ac_check_lib_save_LIBS
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22640 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22641 if test "x$ac_cv_lib_m_y0f" = x
""yes; then :
22643 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22648 $as_echo_n "checking for y0 in -lm... " >&6; }
22649 if test "${ac_cv_lib_m_y0+set}" = set; then :
22650 $as_echo_n "(cached) " >&6
22652 ac_check_lib_save_LIBS
=$LIBS
22654 if test x
$gcc_no_link = xyes
; then
22655 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22658 /* end confdefs.h. */
22660 /* Override any GCC internal prototype to avoid an error.
22661 Use char because int might match the return type of a GCC
22662 builtin and then its argument prototype would still apply. */
22675 if ac_fn_c_try_link
"$LINENO"; then :
22680 rm -f core conftest.err conftest.
$ac_objext \
22681 conftest
$ac_exeext conftest.
$ac_ext
22682 LIBS
=$ac_check_lib_save_LIBS
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22685 $as_echo "$ac_cv_lib_m_y0" >&6; }
22686 if test "x$ac_cv_lib_m_y0" = x
""yes; then :
22688 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22693 $as_echo_n "checking for y0l in -lm... " >&6; }
22694 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22695 $as_echo_n "(cached) " >&6
22697 ac_check_lib_save_LIBS
=$LIBS
22699 if test x
$gcc_no_link = xyes
; then
22700 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22703 /* end confdefs.h. */
22705 /* Override any GCC internal prototype to avoid an error.
22706 Use char because int might match the return type of a GCC
22707 builtin and then its argument prototype would still apply. */
22720 if ac_fn_c_try_link
"$LINENO"; then :
22721 ac_cv_lib_m_y0l
=yes
22725 rm -f core conftest.err conftest.
$ac_objext \
22726 conftest
$ac_exeext conftest.
$ac_ext
22727 LIBS
=$ac_check_lib_save_LIBS
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22730 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22731 if test "x$ac_cv_lib_m_y0l" = x
""yes; then :
22733 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22738 $as_echo_n "checking for y1f in -lm... " >&6; }
22739 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22740 $as_echo_n "(cached) " >&6
22742 ac_check_lib_save_LIBS
=$LIBS
22744 if test x
$gcc_no_link = xyes
; then
22745 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22748 /* end confdefs.h. */
22750 /* Override any GCC internal prototype to avoid an error.
22751 Use char because int might match the return type of a GCC
22752 builtin and then its argument prototype would still apply. */
22765 if ac_fn_c_try_link
"$LINENO"; then :
22766 ac_cv_lib_m_y1f
=yes
22770 rm -f core conftest.err conftest.
$ac_objext \
22771 conftest
$ac_exeext conftest.
$ac_ext
22772 LIBS
=$ac_check_lib_save_LIBS
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22775 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22776 if test "x$ac_cv_lib_m_y1f" = x
""yes; then :
22778 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22783 $as_echo_n "checking for y1 in -lm... " >&6; }
22784 if test "${ac_cv_lib_m_y1+set}" = set; then :
22785 $as_echo_n "(cached) " >&6
22787 ac_check_lib_save_LIBS
=$LIBS
22789 if test x
$gcc_no_link = xyes
; then
22790 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22793 /* end confdefs.h. */
22795 /* Override any GCC internal prototype to avoid an error.
22796 Use char because int might match the return type of a GCC
22797 builtin and then its argument prototype would still apply. */
22810 if ac_fn_c_try_link
"$LINENO"; then :
22815 rm -f core conftest.err conftest.
$ac_objext \
22816 conftest
$ac_exeext conftest.
$ac_ext
22817 LIBS
=$ac_check_lib_save_LIBS
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22820 $as_echo "$ac_cv_lib_m_y1" >&6; }
22821 if test "x$ac_cv_lib_m_y1" = x
""yes; then :
22823 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22828 $as_echo_n "checking for y1l in -lm... " >&6; }
22829 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22830 $as_echo_n "(cached) " >&6
22832 ac_check_lib_save_LIBS
=$LIBS
22834 if test x
$gcc_no_link = xyes
; then
22835 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22838 /* end confdefs.h. */
22840 /* Override any GCC internal prototype to avoid an error.
22841 Use char because int might match the return type of a GCC
22842 builtin and then its argument prototype would still apply. */
22855 if ac_fn_c_try_link
"$LINENO"; then :
22856 ac_cv_lib_m_y1l
=yes
22860 rm -f core conftest.err conftest.
$ac_objext \
22861 conftest
$ac_exeext conftest.
$ac_ext
22862 LIBS
=$ac_check_lib_save_LIBS
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22865 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22866 if test "x$ac_cv_lib_m_y1l" = x
""yes; then :
22868 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22873 $as_echo_n "checking for ynf in -lm... " >&6; }
22874 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22875 $as_echo_n "(cached) " >&6
22877 ac_check_lib_save_LIBS
=$LIBS
22879 if test x
$gcc_no_link = xyes
; then
22880 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22883 /* end confdefs.h. */
22885 /* Override any GCC internal prototype to avoid an error.
22886 Use char because int might match the return type of a GCC
22887 builtin and then its argument prototype would still apply. */
22900 if ac_fn_c_try_link
"$LINENO"; then :
22901 ac_cv_lib_m_ynf
=yes
22905 rm -f core conftest.err conftest.
$ac_objext \
22906 conftest
$ac_exeext conftest.
$ac_ext
22907 LIBS
=$ac_check_lib_save_LIBS
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22910 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22911 if test "x$ac_cv_lib_m_ynf" = x
""yes; then :
22913 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22918 $as_echo_n "checking for yn in -lm... " >&6; }
22919 if test "${ac_cv_lib_m_yn+set}" = set; then :
22920 $as_echo_n "(cached) " >&6
22922 ac_check_lib_save_LIBS
=$LIBS
22924 if test x
$gcc_no_link = xyes
; then
22925 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22928 /* end confdefs.h. */
22930 /* Override any GCC internal prototype to avoid an error.
22931 Use char because int might match the return type of a GCC
22932 builtin and then its argument prototype would still apply. */
22945 if ac_fn_c_try_link
"$LINENO"; then :
22950 rm -f core conftest.err conftest.
$ac_objext \
22951 conftest
$ac_exeext conftest.
$ac_ext
22952 LIBS
=$ac_check_lib_save_LIBS
22954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
22955 $as_echo "$ac_cv_lib_m_yn" >&6; }
22956 if test "x$ac_cv_lib_m_yn" = x
""yes; then :
22958 $as_echo "#define HAVE_YN 1" >>confdefs.h
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
22963 $as_echo_n "checking for ynl in -lm... " >&6; }
22964 if test "${ac_cv_lib_m_ynl+set}" = set; then :
22965 $as_echo_n "(cached) " >&6
22967 ac_check_lib_save_LIBS
=$LIBS
22969 if test x
$gcc_no_link = xyes
; then
22970 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22975 /* Override any GCC internal prototype to avoid an error.
22976 Use char because int might match the return type of a GCC
22977 builtin and then its argument prototype would still apply. */
22990 if ac_fn_c_try_link
"$LINENO"; then :
22991 ac_cv_lib_m_ynl
=yes
22995 rm -f core conftest.err conftest.
$ac_objext \
22996 conftest
$ac_exeext conftest.
$ac_ext
22997 LIBS
=$ac_check_lib_save_LIBS
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23000 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23001 if test "x$ac_cv_lib_m_ynl" = x
""yes; then :
23003 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23008 $as_echo_n "checking for tgamma in -lm... " >&6; }
23009 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23010 $as_echo_n "(cached) " >&6
23012 ac_check_lib_save_LIBS
=$LIBS
23014 if test x
$gcc_no_link = xyes
; then
23015 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23018 /* end confdefs.h. */
23020 /* Override any GCC internal prototype to avoid an error.
23021 Use char because int might match the return type of a GCC
23022 builtin and then its argument prototype would still apply. */
23035 if ac_fn_c_try_link
"$LINENO"; then :
23036 ac_cv_lib_m_tgamma
=yes
23038 ac_cv_lib_m_tgamma
=no
23040 rm -f core conftest.err conftest.
$ac_objext \
23041 conftest
$ac_exeext conftest.
$ac_ext
23042 LIBS
=$ac_check_lib_save_LIBS
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23045 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23046 if test "x$ac_cv_lib_m_tgamma" = x
""yes; then :
23048 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23053 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23054 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23055 $as_echo_n "(cached) " >&6
23057 ac_check_lib_save_LIBS
=$LIBS
23059 if test x
$gcc_no_link = xyes
; then
23060 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23063 /* end confdefs.h. */
23065 /* Override any GCC internal prototype to avoid an error.
23066 Use char because int might match the return type of a GCC
23067 builtin and then its argument prototype would still apply. */
23080 if ac_fn_c_try_link
"$LINENO"; then :
23081 ac_cv_lib_m_tgammaf
=yes
23083 ac_cv_lib_m_tgammaf
=no
23085 rm -f core conftest.err conftest.
$ac_objext \
23086 conftest
$ac_exeext conftest.
$ac_ext
23087 LIBS
=$ac_check_lib_save_LIBS
23089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23090 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23091 if test "x$ac_cv_lib_m_tgammaf" = x
""yes; then :
23093 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23098 $as_echo_n "checking for tgammal in -lm... " >&6; }
23099 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23100 $as_echo_n "(cached) " >&6
23102 ac_check_lib_save_LIBS
=$LIBS
23104 if test x
$gcc_no_link = xyes
; then
23105 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23108 /* end confdefs.h. */
23110 /* Override any GCC internal prototype to avoid an error.
23111 Use char because int might match the return type of a GCC
23112 builtin and then its argument prototype would still apply. */
23125 if ac_fn_c_try_link
"$LINENO"; then :
23126 ac_cv_lib_m_tgammal
=yes
23128 ac_cv_lib_m_tgammal
=no
23130 rm -f core conftest.err conftest.
$ac_objext \
23131 conftest
$ac_exeext conftest.
$ac_ext
23132 LIBS
=$ac_check_lib_save_LIBS
23134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23135 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23136 if test "x$ac_cv_lib_m_tgammal" = x
""yes; then :
23138 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23143 $as_echo_n "checking for lgamma in -lm... " >&6; }
23144 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23145 $as_echo_n "(cached) " >&6
23147 ac_check_lib_save_LIBS
=$LIBS
23149 if test x
$gcc_no_link = xyes
; then
23150 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23153 /* end confdefs.h. */
23155 /* Override any GCC internal prototype to avoid an error.
23156 Use char because int might match the return type of a GCC
23157 builtin and then its argument prototype would still apply. */
23170 if ac_fn_c_try_link
"$LINENO"; then :
23171 ac_cv_lib_m_lgamma
=yes
23173 ac_cv_lib_m_lgamma
=no
23175 rm -f core conftest.err conftest.
$ac_objext \
23176 conftest
$ac_exeext conftest.
$ac_ext
23177 LIBS
=$ac_check_lib_save_LIBS
23179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23180 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23181 if test "x$ac_cv_lib_m_lgamma" = x
""yes; then :
23183 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23188 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23189 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23190 $as_echo_n "(cached) " >&6
23192 ac_check_lib_save_LIBS
=$LIBS
23194 if test x
$gcc_no_link = xyes
; then
23195 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23198 /* end confdefs.h. */
23200 /* Override any GCC internal prototype to avoid an error.
23201 Use char because int might match the return type of a GCC
23202 builtin and then its argument prototype would still apply. */
23215 if ac_fn_c_try_link
"$LINENO"; then :
23216 ac_cv_lib_m_lgammaf
=yes
23218 ac_cv_lib_m_lgammaf
=no
23220 rm -f core conftest.err conftest.
$ac_objext \
23221 conftest
$ac_exeext conftest.
$ac_ext
23222 LIBS
=$ac_check_lib_save_LIBS
23224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23225 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23226 if test "x$ac_cv_lib_m_lgammaf" = x
""yes; then :
23228 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23233 $as_echo_n "checking for lgammal in -lm... " >&6; }
23234 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23235 $as_echo_n "(cached) " >&6
23237 ac_check_lib_save_LIBS
=$LIBS
23239 if test x
$gcc_no_link = xyes
; then
23240 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23243 /* end confdefs.h. */
23245 /* Override any GCC internal prototype to avoid an error.
23246 Use char because int might match the return type of a GCC
23247 builtin and then its argument prototype would still apply. */
23260 if ac_fn_c_try_link
"$LINENO"; then :
23261 ac_cv_lib_m_lgammal
=yes
23263 ac_cv_lib_m_lgammal
=no
23265 rm -f core conftest.err conftest.
$ac_objext \
23266 conftest
$ac_exeext conftest.
$ac_ext
23267 LIBS
=$ac_check_lib_save_LIBS
23269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23270 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23271 if test "x$ac_cv_lib_m_lgammal" = x
""yes; then :
23273 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23278 # On AIX, clog is present in libm as __clog
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
23280 $as_echo_n "checking for __clog in -lm... " >&6; }
23281 if test "${ac_cv_lib_m___clog+set}" = set; then :
23282 $as_echo_n "(cached) " >&6
23284 ac_check_lib_save_LIBS
=$LIBS
23286 if test x
$gcc_no_link = xyes
; then
23287 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23290 /* end confdefs.h. */
23292 /* Override any GCC internal prototype to avoid an error.
23293 Use char because int might match the return type of a GCC
23294 builtin and then its argument prototype would still apply. */
23307 if ac_fn_c_try_link
"$LINENO"; then :
23308 ac_cv_lib_m___clog
=yes
23310 ac_cv_lib_m___clog
=no
23312 rm -f core conftest.err conftest.
$ac_objext \
23313 conftest
$ac_exeext conftest.
$ac_ext
23314 LIBS
=$ac_check_lib_save_LIBS
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
23317 $as_echo "$ac_cv_lib_m___clog" >&6; }
23318 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
23320 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
23325 # Check for a isfinite macro that works on long doubles.
23327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isfinite is broken" >&5
23328 $as_echo_n "checking whether isfinite is broken... " >&6; }
23329 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then :
23330 $as_echo_n "(cached) " >&6
23333 libgfor_check_for_broken_isfinite_save_LIBS
=$LIBS
23335 if test "$cross_compiling" = yes; then :
23337 case "${target}" in
23338 hppa
*-*-hpux*) libgfor_cv_have_broken_isfinite
=yes ;;
23339 *) libgfor_cv_have_broken_isfinite
=no
;;
23342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23343 /* end confdefs.h. */
23351 if (!isfinite(LDBL_MAX)) return 1;
23354 if (!isfinite(DBL_MAX)) return 1;
23360 if ac_fn_c_try_run
"$LINENO"; then :
23361 libgfor_cv_have_broken_isfinite
=no
23363 libgfor_cv_have_broken_isfinite
=yes
23365 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23366 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23369 LIBS
=$libgfor_check_for_broken_isfinite_save_LIBS
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isfinite" >&5
23372 $as_echo "$libgfor_cv_have_broken_isfinite" >&6; }
23373 if test x
"$libgfor_cv_have_broken_isfinite" = xyes
; then
23375 $as_echo "#define HAVE_BROKEN_ISFINITE 1" >>confdefs.h
23379 # Check for a isnan macro that works on long doubles.
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan is broken" >&5
23382 $as_echo_n "checking whether isnan is broken... " >&6; }
23383 if test "${libgfor_cv_have_broken_isnan+set}" = set; then :
23384 $as_echo_n "(cached) " >&6
23387 libgfor_check_for_broken_isnan_save_LIBS
=$LIBS
23389 if test "$cross_compiling" = yes; then :
23391 case "${target}" in
23392 hppa
*-*-hpux*) libgfor_cv_have_broken_isnan
=yes ;;
23393 *) libgfor_cv_have_broken_isnan
=no
;;
23396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23397 /* end confdefs.h. */
23407 x = __builtin_nanl ("");
23408 if (!isnan(x)) return 1;
23409 if (isnan(LDBL_MAX)) return 1;
23411 x = (long double) NAN;
23412 if (!isnan(x)) return 1;
23419 y = __builtin_nan ("");
23420 if (!isnan(y)) return 1;
23421 if (isnan(DBL_MAX)) return 1;
23424 if (!isnan(y)) return 1;
23432 if ac_fn_c_try_run
"$LINENO"; then :
23433 libgfor_cv_have_broken_isnan
=no
23435 libgfor_cv_have_broken_isnan
=yes
23437 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23438 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23441 LIBS
=$libgfor_check_for_broken_isnan_save_LIBS
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isnan" >&5
23444 $as_echo "$libgfor_cv_have_broken_isnan" >&6; }
23445 if test x
"$libgfor_cv_have_broken_isnan" = xyes
; then
23447 $as_echo "#define HAVE_BROKEN_ISNAN 1" >>confdefs.h
23451 # Check for a fpclassify macro that works on long doubles.
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpclassify is broken" >&5
23454 $as_echo_n "checking whether fpclassify is broken... " >&6; }
23455 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then :
23456 $as_echo_n "(cached) " >&6
23459 libgfor_check_for_broken_fpclassify_save_LIBS
=$LIBS
23461 if test "$cross_compiling" = yes; then :
23463 case "${target}" in
23464 hppa
*-*-hpux*) libgfor_cv_have_broken_fpclassify
=yes ;;
23465 *) libgfor_cv_have_broken_fpclassify
=no
;;
23468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23469 /* end confdefs.h. */
23477 if (fpclassify(LDBL_MAX) == FP_NAN
23478 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
23481 if (fpclassify(DBL_MAX) == FP_NAN
23482 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
23488 if ac_fn_c_try_run
"$LINENO"; then :
23489 libgfor_cv_have_broken_fpclassify
=no
23491 libgfor_cv_have_broken_fpclassify
=yes
23493 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23494 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23497 LIBS
=$libgfor_check_for_broken_fpclassify_save_LIBS
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_fpclassify" >&5
23500 $as_echo "$libgfor_cv_have_broken_fpclassify" >&6; }
23501 if test x
"$libgfor_cv_have_broken_fpclassify" = xyes
; then
23503 $as_echo "#define HAVE_BROKEN_FPCLASSIFY 1" >>confdefs.h
23507 # Check whether the system has a working stat()
23509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
23510 $as_echo_n "checking whether the target stat is reliable... " >&6; }
23511 if test "${libgfor_cv_have_working_stat+set}" = set; then :
23512 $as_echo_n "(cached) " >&6
23515 if test "$cross_compiling" = yes; then :
23517 case "${target}" in
23518 *mingw
*) libgfor_cv_have_working_stat
=no
;;
23519 *) libgfor_cv_have_working_stat
=yes;;
23522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23523 /* end confdefs.h. */
23526 #include <sys/types.h>
23527 #include <sys/stat.h>
23528 #include <unistd.h>
23533 struct stat st1, st2;
23535 f = fopen ("foo", "w");
23536 g = fopen ("bar", "w");
23537 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
23539 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
23546 if ac_fn_c_try_run
"$LINENO"; then :
23547 libgfor_cv_have_working_stat
=yes
23549 libgfor_cv_have_working_stat
=no
23551 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23552 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
23557 $as_echo "$libgfor_cv_have_working_stat" >&6; }
23558 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
23560 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
23564 # Check whether __mingw_snprintf() is present
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
23567 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
23568 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
23569 $as_echo_n "(cached) " >&6
23572 if test x
$gcc_no_link = xyes
; then
23573 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23576 /* end confdefs.h. */
23579 extern int __mingw_snprintf (char *, size_t, const char *, ...);
23585 __mingw_snprintf (NULL, 0, "%d\n", 1);
23591 if ac_fn_c_try_link
"$LINENO"; then :
23592 eval "libgfor_cv_have_mingw_snprintf=yes"
23594 eval "libgfor_cv_have_mingw_snprintf=no"
23596 rm -f core conftest.err conftest.
$ac_objext \
23597 conftest
$ac_exeext conftest.
$ac_ext
23600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
23601 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
23602 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
23604 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
23609 # Check for a broken powf implementation
23611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
23612 $as_echo_n "checking whether powf is broken... " >&6; }
23613 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
23614 $as_echo_n "(cached) " >&6
23617 case "${target}" in
23618 hppa
*64*-*-hpux*) libgfor_cv_have_broken_powf
=yes ;;
23619 *) libgfor_cv_have_broken_powf
=no
;;
23622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
23623 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
23624 if test x
"$libgfor_cv_have_broken_powf" = xyes
; then
23626 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
23631 # Check for GNU libc feenableexcept
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
23633 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
23634 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
23635 $as_echo_n "(cached) " >&6
23637 ac_check_lib_save_LIBS
=$LIBS
23639 if test x
$gcc_no_link = xyes
; then
23640 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23645 /* Override any GCC internal prototype to avoid an error.
23646 Use char because int might match the return type of a GCC
23647 builtin and then its argument prototype would still apply. */
23651 char feenableexcept ();
23655 return feenableexcept ();
23660 if ac_fn_c_try_link
"$LINENO"; then :
23661 ac_cv_lib_m_feenableexcept
=yes
23663 ac_cv_lib_m_feenableexcept
=no
23665 rm -f core conftest.err conftest.
$ac_objext \
23666 conftest
$ac_exeext conftest.
$ac_ext
23667 LIBS
=$ac_check_lib_save_LIBS
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
23670 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
23671 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
23672 have_feenableexcept
=yes
23673 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
23678 # Check for SysV fpsetmask
23680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
23681 $as_echo_n "checking whether fpsetmask is present... " >&6; }
23682 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
23683 $as_echo_n "(cached) " >&6
23686 if test x
$gcc_no_link = xyes
; then
23687 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23690 /* end confdefs.h. */
23692 #if HAVE_FLOATINGPOINT_H
23693 # include <floatingpoint.h>
23694 #endif /* HAVE_FLOATINGPOINT_H */
23696 # include <ieeefp.h>
23697 #endif /* HAVE_IEEEFP_H */
23706 if ac_fn_c_try_link
"$LINENO"; then :
23707 eval "libgfor_cv_have_fpsetmask=yes"
23709 eval "libgfor_cv_have_fpsetmask=no"
23711 rm -f core conftest.err conftest.
$ac_objext \
23712 conftest
$ac_exeext conftest.
$ac_ext
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
23716 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
23717 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
23719 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
23724 # Check for AIX fp_trap and fp_enable
23725 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
23726 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
23728 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
23732 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
23733 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
23735 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
23740 # Runs configure.host to set up necessary host-dependent shell variables.
23741 # We then display a message about it, and propagate them through the
23743 .
${srcdir}/configure.
host
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
23745 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
23746 FPU_HOST_HEADER
=config
/${fpu_host}.h
23749 # Some targets require additional compiler options for IEEE compatibility.
23750 IEEE_FLAGS
="${ieee_flags}"
23753 # Check out attribute support.
23755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
23756 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
23757 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
23758 $as_echo_n "(cached) " >&6
23761 save_CFLAGS
="$CFLAGS"
23762 CFLAGS
="$CFLAGS -Werror"
23763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23764 /* end confdefs.h. */
23765 void __attribute__((visibility("hidden"))) foo(void) { }
23774 if ac_fn_c_try_compile
"$LINENO"; then :
23775 libgfor_cv_have_attribute_visibility
=yes
23777 libgfor_cv_have_attribute_visibility
=no
23779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23780 CFLAGS
="$save_CFLAGS"
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
23783 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
23784 if test $libgfor_cv_have_attribute_visibility = yes; then
23786 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
23791 $as_echo_n "checking whether the target supports dllexport... " >&6; }
23792 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
23793 $as_echo_n "(cached) " >&6
23796 save_CFLAGS
="$CFLAGS"
23797 CFLAGS
="$CFLAGS -Werror"
23798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23799 /* end confdefs.h. */
23800 void __attribute__((dllexport)) foo(void) { }
23809 if ac_fn_c_try_compile
"$LINENO"; then :
23810 libgfor_cv_have_attribute_dllexport
=yes
23812 libgfor_cv_have_attribute_dllexport
=no
23814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23815 CFLAGS
="$save_CFLAGS"
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
23818 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
23819 if test $libgfor_cv_have_attribute_dllexport = yes; then
23821 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
23825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
23826 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
23827 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
23828 $as_echo_n "(cached) " >&6
23831 if test x
$gcc_no_link = xyes
; then
23832 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23835 /* end confdefs.h. */
23838 extern void bar(void) __attribute__((alias("foo")));
23847 if ac_fn_c_try_link
"$LINENO"; then :
23848 libgfor_cv_have_attribute_alias
=yes
23850 libgfor_cv_have_attribute_alias
=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: $libgfor_cv_have_attribute_alias" >&5
23856 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
23857 if test $libgfor_cv_have_attribute_alias = yes; then
23859 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
23863 # Check out sync builtins support.
23865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
23866 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
23867 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
23868 $as_echo_n "(cached) " >&6
23871 if test x
$gcc_no_link = xyes
; then
23872 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23875 /* end confdefs.h. */
23881 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
23882 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
23887 if ac_fn_c_try_link
"$LINENO"; then :
23888 libgfor_cv_have_sync_fetch_and_add
=yes
23890 libgfor_cv_have_sync_fetch_and_add
=no
23892 rm -f core conftest.err conftest.
$ac_objext \
23893 conftest
$ac_exeext conftest.
$ac_ext
23895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
23896 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
23897 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
23899 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
23903 # Check out thread support.
23905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
23906 $as_echo_n "checking configured target thread model... " >&6; }
23907 if test "${libgfor_cv_target_thread_file+set}" = set; then :
23908 $as_echo_n "(cached) " >&6
23911 libgfor_cv_target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
23914 $as_echo "$libgfor_cv_target_thread_file" >&6; }
23916 if test $libgfor_cv_target_thread_file != single
; then
23918 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
23922 # Check out #pragma weak.
23924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
23925 $as_echo_n "checking whether pragma weak works... " >&6; }
23926 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
23927 $as_echo_n "(cached) " >&6
23930 gfor_save_CFLAGS
="$CFLAGS"
23931 CFLAGS
="$CFLAGS -Wunknown-pragmas"
23932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23933 /* end confdefs.h. */
23944 if ac_fn_c_try_compile
"$LINENO"; then :
23945 libgfor_cv_have_pragma_weak
=yes
23947 libgfor_cv_have_pragma_weak
=no
23949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
23952 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
23953 if test $libgfor_cv_have_pragma_weak = yes; then
23955 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
23959 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
23961 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
23966 # Various other checks on target
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
23969 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
23970 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
23971 $as_echo_n "(cached) " >&6
23974 if test "$cross_compiling" = yes; then :
23976 case "${target}" in
23977 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
23978 *) libgfor_cv_have_unlink_open_file
=yes;;
23981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23982 /* end confdefs.h. */
23986 #include <unistd.h>
23987 #include <sys/stat.h>
23993 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
23996 if (unlink ("testfile") == -1)
23998 write (fd, "This is a test\n", 15);
24001 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24007 if ac_fn_c_try_run
"$LINENO"; then :
24008 libgfor_cv_have_unlink_open_file
=yes
24010 libgfor_cv_have_unlink_open_file
=no
24012 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24013 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24018 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24019 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
24021 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24025 # Check whether line terminator is LF or CRLF
24027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24028 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24029 if test "${libgfor_cv_have_crlf+set}" = set; then :
24030 $as_echo_n "(cached) " >&6
24033 if test "$cross_compiling" = yes; then :
24035 case "${target}" in
24036 *mingw
*) libgfor_cv_have_crlf
=yes ;;
24037 *) libgfor_cv_have_crlf
=no
;;
24040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24041 /* end confdefs.h. */
24043 /* This test program should exit with status 0 if system uses a CRLF as
24044 line terminator, and status 1 otherwise.
24045 Since it is used to check for mingw systems, and should return 0 in any
24046 other case, in case of a failure we will not use CRLF. */
24047 #include <sys/stat.h>
24048 #include <stdlib.h>
24060 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24063 if (write (fd, "\n", 1) < 0)
24068 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24070 bytes = read (fd, buff, 5);
24071 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24078 if ac_fn_c_try_run
"$LINENO"; then :
24079 libgfor_cv_have_crlf
=yes
24081 libgfor_cv_have_crlf
=no
24083 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24084 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24089 $as_echo "$libgfor_cv_have_crlf" >&6; }
24090 if test x
"$libgfor_cv_have_crlf" = xyes
; then
24092 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24096 cat >confcache
<<\_ACEOF
24097 # This file is a shell script that caches the results of configure
24098 # tests run on this system so they can be shared between configure
24099 # scripts and configure runs, see configure's option --config-cache.
24100 # It is not useful on other systems. If it contains results you don't
24101 # want to keep, you may remove or edit it.
24103 # config.status only pays attention to the cache file if you give it
24104 # the --recheck option to rerun configure.
24106 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24107 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24108 # following values.
24112 # The following way of writing the cache mishandles newlines in values,
24113 # but we know of no workaround that is simple, portable, and efficient.
24114 # So, we kill variables containing newlines.
24115 # Ultrix sh set writes to stderr and can't be redirected directly,
24116 # and sets the high bit in the cache file unless we assign to the vars.
24118 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24119 eval ac_val
=\$
$ac_var
24123 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24124 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24127 _ | IFS | as_nl
) ;; #(
24128 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24129 *) { eval $ac_var=; unset $ac_var;} ;;
24135 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24136 *${as_nl}ac_space
=\
*)
24137 # `set' does not quote correctly, so add quotes: double-quote
24138 # substitution turns \\\\ into \\, and sed turns \\ into \.
24141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24144 # `set' quotes correctly as required by POSIX, so do not add quotes.
24145 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24154 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24156 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24158 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24159 if test -w "$cache_file"; then
24160 test "x$cache_file" != "x/dev/null" &&
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24162 $as_echo "$as_me: updating cache $cache_file" >&6;}
24163 cat confcache
>$cache_file
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24166 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24171 if test ${multilib} = yes; then
24172 multilib_arg
="--enable-multilib"
24177 # Write our Makefile.
24178 ac_config_files
="$ac_config_files Makefile"
24180 cat >confcache
<<\_ACEOF
24181 # This file is a shell script that caches the results of configure
24182 # tests run on this system so they can be shared between configure
24183 # scripts and configure runs, see configure's option --config-cache.
24184 # It is not useful on other systems. If it contains results you don't
24185 # want to keep, you may remove or edit it.
24187 # config.status only pays attention to the cache file if you give it
24188 # the --recheck option to rerun configure.
24190 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24191 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24192 # following values.
24196 # The following way of writing the cache mishandles newlines in values,
24197 # but we know of no workaround that is simple, portable, and efficient.
24198 # So, we kill variables containing newlines.
24199 # Ultrix sh set writes to stderr and can't be redirected directly,
24200 # and sets the high bit in the cache file unless we assign to the vars.
24202 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24203 eval ac_val
=\$
$ac_var
24207 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24211 _ | IFS | as_nl
) ;; #(
24212 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24213 *) { eval $ac_var=; unset $ac_var;} ;;
24219 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24220 *${as_nl}ac_space
=\
*)
24221 # `set' does not quote correctly, so add quotes: double-quote
24222 # substitution turns \\\\ into \\, and sed turns \\ into \.
24225 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24228 # `set' quotes correctly as required by POSIX, so do not add quotes.
24229 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24238 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24240 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24242 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24243 if test -w "$cache_file"; then
24244 test "x$cache_file" != "x/dev/null" &&
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24246 $as_echo "$as_me: updating cache $cache_file" >&6;}
24247 cat confcache
>$cache_file
24249 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24250 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24255 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24256 # Let make expand exec_prefix.
24257 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24259 DEFS
=-DHAVE_CONFIG_H
24263 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24264 # 1. Remove the extension, and $U if already installed.
24265 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24266 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24267 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24268 # will be set to the directory where LIBOBJS objects are built.
24269 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24270 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24272 LIBOBJS
=$ac_libobjs
24274 LTLIBOBJS
=$ac_ltlibobjs
24277 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
24278 as_fn_error
"conditional \"onestep\" was never defined.
24279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24281 if test -n "$EXEEXT"; then
24283 am__EXEEXT_FALSE
='#'
24285 am__EXEEXT_TRUE
='#'
24289 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24290 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
24291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24293 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24294 as_fn_error
"conditional \"AMDEP\" was never defined.
24295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24297 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24298 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24301 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
24302 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
24303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24306 : ${CONFIG_STATUS=./config.status}
24308 ac_clean_files_save
=$ac_clean_files
24309 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24310 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24311 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24313 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24315 # Generated by $as_me.
24316 # Run this file to recreate the current configuration.
24317 # Compiler output produced by configure, useful for debugging
24318 # configure, is in config.log if it exists.
24321 ac_cs_recheck=false
24324 SHELL=\${CONFIG_SHELL-$SHELL}
24327 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
24328 ## -------------------- ##
24329 ## M4sh Initialization. ##
24330 ## -------------------- ##
24332 # Be more Bourne compatible
24333 DUALCASE
=1; export DUALCASE
# for MKS sh
24334 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24337 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24338 # is contrary to our usage. Disable this feature.
24339 alias -g '${1+"$@"}'='"$@"'
24340 setopt NO_GLOB_SUBST
24342 case `(set -o) 2>/dev/null` in #(
24354 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24355 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24356 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24357 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24358 # Prefer a ksh shell builtin over an external printf program on Solaris,
24359 # but without wasting forks for bash or zsh.
24360 if test -z "$BASH_VERSION$ZSH_VERSION" \
24361 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24362 as_echo='print
-r --'
24363 as_echo_n='print
-rn --'
24364 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24365 as_echo='printf %s
\n'
24366 as_echo_n='printf %s
'
24368 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24369 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24370 as_echo_n='/usr
/ucb
/echo -n'
24372 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24373 as_echo_n_body='eval
24377 expr "X$arg" : "X\\(.*\\)$as_nl";
24378 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24380 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
24382 export as_echo_n_body
24383 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24385 export as_echo_body
24386 as_echo='sh
-c $as_echo_body as_echo
'
24389 # The user is always right.
24390 if test "${PATH_SEPARATOR+set}" != set; then
24392 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24393 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24400 # We need space, tab and new line, in precisely that order. Quoting is
24401 # there to prevent editors from complaining about space-tab.
24402 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24403 # splitting by setting IFS to empty value.)
24406 # Find who we are. Look in the path if we contain no directory separator.
24408 *[\\/]* ) as_myself=$0 ;;
24409 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24410 for as_dir in $PATH
24413 test -z "$as_dir" && as_dir=.
24414 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24420 # We did not find ourselves, most probably we were run as `sh COMMAND'
24421 # in which case we are not to be found in the path.
24422 if test "x$as_myself" = x
; then
24425 if test ! -f "$as_myself"; then
24426 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24430 # Unset variables that we do not need and which cause bugs (e.g. in
24431 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24432 # suppresses any "Segmentation fault" message there. '((' could
24433 # trigger a bug in pdksh 5.2.14.
24434 for as_var
in BASH_ENV ENV MAIL MAILPATH
24435 do eval test x\
${$as_var+set} = xset \
24436 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
24449 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
24452 # as_fn_error ERROR [LINENO LOG_FD]
24453 # ---------------------------------
24454 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24455 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24456 # script with status $?, using 1 if that was 0.
24459 as_status
=$?
; test $as_status -eq 0 && as_status
=1
24461 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
24462 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
24464 $as_echo "$as_me: error: $1" >&2
24465 as_fn_exit
$as_status
24469 # as_fn_set_status STATUS
24470 # -----------------------
24471 # Set $? to STATUS, without forking.
24472 as_fn_set_status
()
24475 } # as_fn_set_status
24477 # as_fn_exit STATUS
24478 # -----------------
24479 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24483 as_fn_set_status
$1
24489 # Portably unset VAR.
24492 { eval $1=; unset $1;}
24494 as_unset
=as_fn_unset
24495 # as_fn_append VAR VALUE
24496 # ----------------------
24497 # Append the text in VALUE to the end of the definition contained in VAR. Take
24498 # advantage of any shell optimizations that allow amortized linear growth over
24499 # repeated appends, instead of the typical quadratic growth present in naive
24501 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24502 eval 'as_fn_append ()
24513 # as_fn_arith ARG...
24514 # ------------------
24515 # Perform arithmetic evaluation on the ARGs, and store the result in the
24516 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24517 # must be portable across $(()) and expr.
24518 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24519 eval 'as_fn_arith ()
24526 as_val
=`expr "$@" || test $? -eq 1`
24531 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24532 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24538 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24539 as_basename
=basename
24544 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24550 as_me
=`$as_basename -- "$0" ||
24551 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24552 X"$0" : 'X\(//\)$' \| \
24553 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24555 sed '/^.*\/\([^/][^/]*\)\/*$/{
24569 # Avoid depending upon Character Ranges.
24570 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24571 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24572 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24573 as_cr_digits
='0123456789'
24574 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24576 ECHO_C
= ECHO_N
= ECHO_T
=
24577 case `echo -n x` in #(((((
24579 case `echo 'xy\c'` in
24580 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24582 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
24589 rm -f conf$$ conf$$.exe conf$$.
file
24590 if test -d conf$$.dir
; then
24591 rm -f conf$$.dir
/conf$$.
file
24594 mkdir conf$$.dir
2>/dev
/null
24596 if (echo >conf$$.
file) 2>/dev
/null
; then
24597 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24599 # ... but there are two gotchas:
24600 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24601 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24602 # In both cases, we have to default to `cp -p'.
24603 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24605 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24613 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24614 rmdir conf$$.dir
2>/dev
/null
24619 # Create "$as_dir" as a directory, including parents if necessary.
24624 -*) as_dir
=.
/$as_dir;;
24626 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
24630 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24631 *) as_qdir
=$as_dir;;
24633 as_dirs
="'$as_qdir' $as_dirs"
24634 as_dir
=`$as_dirname -- "$as_dir" ||
24635 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24636 X"$as_dir" : 'X\(//\)[^/]' \| \
24637 X"$as_dir" : 'X\(//\)$' \| \
24638 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24639 $as_echo X"$as_dir" |
24640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24644 /^X\(\/\/\)[^/].*/{
24657 test -d "$as_dir" && break
24659 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24660 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
24664 if mkdir
-p .
2>/dev
/null
; then
24665 as_mkdir_p
='mkdir -p "$as_dir"'
24667 test -d .
/-p && rmdir .
/-p
24671 if test -x / >/dev
/null
2>&1; then
24672 as_test_x
='test -x'
24674 if ls -dL / >/dev
/null
2>&1; then
24681 if test -d "$1"; then
24687 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
24688 ???[sx]*):;;*)false;;esac;fi
24692 as_executable_p
=$as_test_x
24694 # Sed expression to map a string onto a valid CPP name.
24695 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24697 # Sed expression to map a string onto a valid variable name.
24698 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24702 ## ----------------------------------- ##
24703 ## Main body of $CONFIG_STATUS script. ##
24704 ## ----------------------------------- ##
24706 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
24708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24709 # Save the log message, to keep $0 and so on meaningful, and to
24710 # report actual input values of CONFIG_FILES etc. instead of their
24711 # values after options handling.
24713 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
24714 generated by GNU Autoconf 2.64. Invocation command line was
24716 CONFIG_FILES = $CONFIG_FILES
24717 CONFIG_HEADERS = $CONFIG_HEADERS
24718 CONFIG_LINKS = $CONFIG_LINKS
24719 CONFIG_COMMANDS = $CONFIG_COMMANDS
24722 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24727 case $ac_config_files in *"
24728 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
24731 case $ac_config_headers in *"
24732 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
24736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24737 # Files that config.status was made for.
24738 config_files="$ac_config_files"
24739 config_headers="$ac_config_headers"
24740 config_commands="$ac_config_commands"
24744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24746 \`$as_me' instantiates files and other configuration actions
24747 from templates according to the current configuration. Unless the files
24748 and actions are specified as TAGs, all are instantiated by default.
24750 Usage: $0 [OPTION]... [TAG]...
24752 -h, --help print this help, then exit
24753 -V, --version print version number and configuration settings, then exit
24754 -q, --quiet, --silent
24755 do not print progress messages
24756 -d, --debug don't remove temporary files
24757 --recheck update $as_me by reconfiguring in the same conditions
24758 --file=FILE[:TEMPLATE]
24759 instantiate the configuration file FILE
24760 --header=FILE[:TEMPLATE]
24761 instantiate the configuration header FILE
24763 Configuration files:
24766 Configuration headers:
24769 Configuration commands:
24772 Report bugs to the package provider.
24773 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
24774 General help using GNU software: <http://www.gnu.org/gethelp/>."
24777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24779 GNU Fortran Runtime Library config.status 0.3
24780 configured by $0, generated by GNU Autoconf 2.64,
24781 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24783 Copyright (C) 2009 Free Software Foundation, Inc.
24784 This config.status script is free software; the Free Software Foundation
24785 gives unlimited permission to copy, distribute and modify it."
24792 test -n "\$AWK" || AWK=awk
24795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24796 # The default lists apply if the user does not specify any file.
24802 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24803 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24814 # Handling of the options.
24815 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24817 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24818 $as_echo "$ac_cs_version"; exit ;;
24819 --debug |
--debu |
--deb |
--de |
--d |
-d )
24821 --file |
--fil |
--fi |
--f )
24824 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24826 as_fn_append CONFIG_FILES
" '$ac_optarg'"
24827 ac_need_defaults
=false
;;
24828 --header |
--heade |
--head |
--hea )
24831 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24833 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
24834 ac_need_defaults
=false
;;
24836 # Conflict between --help and --header
24837 as_fn_error
"ambiguous option: \`$1'
24838 Try \`$0 --help' for more information.";;
24839 --help |
--hel |
-h )
24840 $as_echo "$ac_cs_usage"; exit ;;
24841 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24842 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24845 # This is an error.
24846 -*) as_fn_error
"unrecognized option: \`$1'
24847 Try \`$0 --help' for more information." ;;
24849 *) as_fn_append ac_config_targets
" $1"
24850 ac_need_defaults
=false
;;
24856 ac_configure_extra_args
=
24858 if $ac_cs_silent; then
24860 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24865 if \$ac_cs_recheck; then
24866 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24868 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
24869 CONFIG_SHELL='$SHELL'
24870 export CONFIG_SHELL
24875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24879 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24880 ## Running $as_me. ##
24886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24894 with_multisubdir="$with_multisubdir"
24895 with_multisrctop="$with_multisrctop"
24896 with_target_subdir="$with_target_subdir"
24897 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24898 multi_basedir="$multi_basedir"
24899 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24902 GFORTRAN="$GFORTRAN"
24904 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24907 # The HP-UX ksh and POSIX shell print the target directory to stdout
24908 # if CDPATH is set.
24909 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24911 sed_quote_subst='$sed_quote_subst'
24912 double_quote_subst='$double_quote_subst'
24913 delay_variable_subst='$delay_variable_subst'
24914 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
24915 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
24916 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
24917 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
24918 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
24919 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
24920 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
24921 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
24922 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
24923 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
24924 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
24925 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
24926 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
24927 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
24928 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
24929 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
24930 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
24931 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
24932 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
24933 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
24934 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
24935 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
24936 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
24937 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
24938 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
24939 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
24940 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
24941 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24942 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
24943 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
24944 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
24945 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
24946 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
24947 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
24948 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
24949 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24950 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24951 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24952 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
24953 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
24954 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
24955 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
24956 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
24957 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
24958 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
24959 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
24960 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
24961 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
24962 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
24963 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
24964 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
24965 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
24966 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
24967 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
24968 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
24969 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
24970 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
24971 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
24972 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
24973 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
24974 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
24975 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
24976 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24977 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24978 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
24979 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
24980 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
24981 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
24982 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
24983 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24984 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24985 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24986 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24987 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24988 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24989 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
24990 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
24991 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
24992 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
24993 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
24994 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
24995 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
24996 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
24997 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
24998 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
24999 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
25000 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
25001 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
25002 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
25003 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
25004 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25005 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
25006 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
25007 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25008 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
25009 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
25010 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
25011 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
25012 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
25013 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25014 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25015 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
25016 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
25017 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
25018 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
25019 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25020 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25021 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25022 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
25023 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
25024 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
25025 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
25026 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
25027 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
25028 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
25029 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
25030 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
25031 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
25032 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
25033 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
25034 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
25035 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
25036 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
25037 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
25038 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
25039 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25040 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
25041 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
25042 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
25043 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
25044 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
25045 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
25046 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
25047 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
25048 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
25049 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
25050 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
25051 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
25052 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25053 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25054 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25055 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25056 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25057 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25058 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
25059 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
25060 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
25061 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
25062 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
25063 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
25064 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
25065 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
25066 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
25067 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
25068 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
25069 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
25070 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
25071 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
25072 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
25073 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25074 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
25075 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
25076 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25077 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
25078 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
25079 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
25080 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
25081 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
25082 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
25083 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
25084 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
25087 LTCFLAGS='$LTCFLAGS'
25088 compiler='$compiler_DEFAULT'
25090 # Quote evaled strings.
25102 deplibs_check_method \
25111 lt_cv_sys_global_symbol_pipe \
25112 lt_cv_sys_global_symbol_to_cdecl \
25113 lt_cv_sys_global_symbol_to_c_name_address \
25114 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25117 lt_prog_compiler_no_builtin_flag \
25118 lt_prog_compiler_wl \
25119 lt_prog_compiler_pic \
25120 lt_prog_compiler_static \
25121 lt_cv_prog_compiler_c_o \
25129 export_dynamic_flag_spec \
25130 whole_archive_flag_spec \
25131 compiler_needs_object \
25133 allow_undefined_flag \
25134 no_undefined_flag \
25135 hardcode_libdir_flag_spec \
25136 hardcode_libdir_flag_spec_ld \
25137 hardcode_libdir_separator \
25142 variables_saved_for_relink \
25144 library_names_spec \
25149 compiler_lib_search_dirs \
25154 compiler_lib_search_path \
25157 lt_prog_compiler_no_builtin_flag_FC \
25158 lt_prog_compiler_wl_FC \
25159 lt_prog_compiler_pic_FC \
25160 lt_prog_compiler_static_FC \
25161 lt_cv_prog_compiler_c_o_FC \
25162 export_dynamic_flag_spec_FC \
25163 whole_archive_flag_spec_FC \
25164 compiler_needs_object_FC \
25166 allow_undefined_flag_FC \
25167 no_undefined_flag_FC \
25168 hardcode_libdir_flag_spec_FC \
25169 hardcode_libdir_flag_spec_ld_FC \
25170 hardcode_libdir_separator_FC \
25171 fix_srcfile_path_FC \
25172 exclude_expsyms_FC \
25173 include_expsyms_FC \
25174 file_list_spec_FC \
25175 compiler_lib_search_dirs_FC \
25176 predep_objects_FC \
25177 postdep_objects_FC \
25180 compiler_lib_search_path_FC; do
25181 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
25182 *[\\\\\\\`\\"\\\$]*)
25183 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25186 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25191 # Double-quote double-evaled strings.
25192 for var in reload_cmds \
25193 old_postinstall_cmds \
25194 old_postuninstall_cmds \
25196 extract_expsyms_cmds \
25197 old_archive_from_new_cmds \
25198 old_archive_from_expsyms_cmds \
25200 archive_expsym_cmds \
25202 module_expsym_cmds \
25203 export_symbols_cmds \
25206 postuninstall_cmds \
25208 sys_lib_search_path_spec \
25209 sys_lib_dlsearch_path_spec \
25210 old_archive_cmds_FC \
25211 old_archive_from_new_cmds_FC \
25212 old_archive_from_expsyms_cmds_FC \
25214 archive_expsym_cmds_FC \
25216 module_expsym_cmds_FC \
25217 export_symbols_cmds_FC \
25218 prelink_cmds_FC; do
25219 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
25220 *[\\\\\\\`\\"\\\$]*)
25221 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
25224 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25229 # Fix-up fallback echo if it was mangled by the above quoting rules.
25231 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
25235 ac_aux_dir='$ac_aux_dir'
25236 xsi_shell='$xsi_shell'
25237 lt_shell_append='$lt_shell_append'
25239 # See if we are running on zsh, and set the options which allow our
25240 # commands through without removal of \ escapes INIT.
25241 if test -n "\${ZSH_VERSION+set}" ; then
25242 setopt NO_GLOB_SUBST
25248 TIMESTAMP='$TIMESTAMP'
25259 acx_cv_header_stdint="$acx_cv_header_stdint"
25260 acx_cv_type_int8_t="$acx_cv_type_int8_t"
25261 acx_cv_type_int16_t="$acx_cv_type_int16_t"
25262 acx_cv_type_int32_t="$acx_cv_type_int32_t"
25263 acx_cv_type_int64_t="$acx_cv_type_int64_t"
25264 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
25265 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
25266 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
25267 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
25268 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
25269 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
25270 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
25271 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
25272 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
25277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25279 # Handling of arguments.
25280 for ac_config_target
in $ac_config_targets
25282 case $ac_config_target in
25283 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
25284 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
25285 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25286 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
25287 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
25288 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25290 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25295 # If the user did not use the arguments to specify the items to instantiate,
25296 # then the envvar interface is used. Set only those that are not.
25297 # We use the long form for the default assignment because of an extremely
25298 # bizarre bug on SunOS 4.1.3.
25299 if $ac_need_defaults; then
25300 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25301 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25302 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25305 # Have a temporary directory for convenience. Make it in the build tree
25306 # simply because there is no reason against having it here, and in addition,
25307 # creating and moving files from /tmp can sometimes cause problems.
25308 # Hook for its removal unless debugging.
25309 # Note that there is a small window in which the directory will not be cleaned:
25310 # after its creation but before its name has been assigned to `$tmp'.
25314 trap 'exit_status=$?
25315 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25317 trap 'as_fn_exit 1' 1 2 13 15
25319 # Create a (secure) tmp directory for tmp files.
25322 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25323 test -n "$tmp" && test -d "$tmp"
25326 tmp
=.
/conf$$
-$RANDOM
25327 (umask 077 && mkdir
"$tmp")
25328 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
25330 # Set up the scripts for CONFIG_FILES section.
25331 # No need to generate them if there are no CONFIG_FILES.
25332 # This happens for instance with `./config.status config.h'.
25333 if test -n "$CONFIG_FILES"; then
25336 ac_cr
=`echo X | tr X '\015'`
25337 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25338 # But we know of no other shell where ac_cr would be empty at this
25339 # point, so we can use a bashism as a fallback.
25340 if test "x$ac_cr" = x
; then
25341 eval ac_cr
=\$
\'\\r
\'
25343 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25344 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25347 ac_cs_awk_cr
=$ac_cr
25350 echo 'BEGIN {' >"$tmp/subs1.awk" &&
25355 echo "cat >conf$$subs.awk <<_ACEOF" &&
25356 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25358 } >conf$$subs.sh ||
25359 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25360 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
25362 for ac_last_try in false false false false false :; do
25363 . ./conf$$subs.sh ||
25364 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25366 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25367 if test $ac_delim_n = $ac_delim_num; then
25369 elif $ac_last_try; then
25370 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
25372 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25375 rm -f conf$$subs.sh
25377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25378 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
25382 s/^/S["/; s
/!.
*/"]=/
25392 s/\(.\{148\}\).*/\1/
25394 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25399 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25406 s/\(.\{148\}\).*/\1/
25408 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25412 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25417 ' <conf$$subs.awk | sed '
25422 ' >>$CONFIG_STATUS || ac_write_fail=1
25423 rm -f conf$$subs.awk
25424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25426 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
25427 for (key in S) S_is_set[key] = 1
25433 nfields = split(line, field, "@
")
25435 len = length(field[1])
25436 for (i = 2; i < nfields; i++) {
25438 keylen = length(key)
25439 if (S_is_set[key]) {
25441 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25442 len += length(value) + length(field[++i])
25453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25454 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25455 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25458 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
25459 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
25462 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25463 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
25464 # trailing colons and then remove the whole line if VPATH becomes empty
25465 # (actually we leave an empty line to preserve line numbers).
25466 if test "x
$srcdir" = x.; then
25467 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25468 s/:*\$(srcdir):*/:/
25469 s/:*\${srcdir}:*/:/
25471 s/^\([^=]*=[ ]*\):*/\1/
25477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25478 fi # test -n "$CONFIG_FILES"
25480 # Set up the scripts for CONFIG_HEADERS section.
25481 # No need to generate them if there are no CONFIG_HEADERS.
25482 # This happens for instance with `./config.status Makefile'.
25483 if test -n "$CONFIG_HEADERS"; then
25484 cat >"$tmp/defines.
awk" <<\_ACAWK ||
25488 # Transform confdefs.h into an awk script `defines.awk', embedded as
25489 # here-document in config.status, that substitutes the proper values into
25490 # config.h.in to produce config.h.
25492 # Create a delimiter string that does not exist in confdefs.h, to ease
25493 # handling of long lines.
25495 for ac_last_try in false false :; do
25496 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
25497 if test -z "$ac_t"; then
25499 elif $ac_last_try; then
25500 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
25502 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25506 # For the awk script, D is an array of macro values keyed by name,
25507 # likewise P contains macro parameters if any. Preserve backslash
25508 # newline sequences.
25510 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25512 s/.\{148\}/&'"$ac_delim"'/g
25515 s/^[ ]*#[ ]*define[ ][ ]*/ /
25522 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
25524 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
25528 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
25529 D["\
1"]=" \
3\\\\\\n
"\\/p
25531 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
25536 s/.\{148\}/&'"$ac_delim"'/g
25541 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
25544 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
25546 ' <confdefs.h | sed '
25547 s/'"$ac_delim"'/"\\\
25548 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25551 for (key in D) D_is_set[key] = 1
25554 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25556 split(line, arg, " ")
25557 if (arg[1] == "#") {
25561 defundef
= substr
(arg
[1], 2)
25564 split(mac1
, mac2
, "(") #)
25566 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
25567 if (D_is_set
[macro
]) {
25568 # Preserve the white space surrounding the "#".
25569 print prefix
"define", macro P
[macro
] D
[macro
]
25572 # Replace #undef with comments. This is necessary, for example,
25573 # in the case of _POSIX_SOURCE, which is predefined and required
25574 # on some systems where configure will not decide to define it.
25575 if (defundef
== "undef") {
25576 print
"/*", prefix defundef
, macro
, "*/"
25584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25585 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
25586 fi # test -n "$CONFIG_HEADERS"
25589 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
25594 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25596 case $ac_mode$ac_tag in
25598 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
25599 :[FH
]-) ac_tag
=-:-;;
25600 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25617 -) ac_f
="$tmp/stdin";;
25618 *) # Look for the file first in the build tree, then in the source tree
25619 # (if the path is not absolute). The absolute path cannot be DOS-style,
25620 # because $ac_f cannot contain `:'.
25624 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25626 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
25628 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25629 as_fn_append ac_file_inputs
" '$ac_f'"
25632 # Let's still pretend it is `configure' which instantiates (i.e., don't
25633 # use $as_me), people would be surprised to read:
25634 # /* config.h. Generated by config.status. */
25635 configure_input
='Generated from '`
25636 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25638 if test x
"$ac_file" != x-
; then
25639 configure_input
="$ac_file. $configure_input"
25640 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25641 $as_echo "$as_me: creating $ac_file" >&6;}
25643 # Neutralize special characters interpreted by sed in replacement strings.
25644 case $configure_input in #(
25645 *\
&* |
*\|
* |
*\\* )
25646 ac_sed_conf_input
=`$as_echo "$configure_input" |
25647 sed 's/[\\\\&|]/\\\\&/g'`;; #(
25648 *) ac_sed_conf_input
=$configure_input;;
25652 *:-:* |
*:-) cat >"$tmp/stdin" \
25653 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
25658 ac_dir
=`$as_dirname -- "$ac_file" ||
25659 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25660 X"$ac_file" : 'X\(//\)[^/]' \| \
25661 X"$ac_file" : 'X\(//\)$' \| \
25662 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25663 $as_echo X"$ac_file" |
25664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25668 /^X\(\/\/\)[^/].*/{
25681 as_dir
="$ac_dir"; as_fn_mkdir_p
25685 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25687 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25688 # A ".." for each directory in $ac_dir_suffix.
25689 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25690 case $ac_top_builddir_sub in
25691 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25692 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25695 ac_abs_top_builddir
=$ac_pwd
25696 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25697 # for backward compatibility:
25698 ac_top_builddir
=$ac_top_build_prefix
25701 .
) # We are building in place.
25703 ac_top_srcdir
=$ac_top_builddir_sub
25704 ac_abs_top_srcdir
=$ac_pwd ;;
25705 [\\/]* | ?
:[\\/]* ) # Absolute name.
25706 ac_srcdir
=$srcdir$ac_dir_suffix;
25707 ac_top_srcdir
=$srcdir
25708 ac_abs_top_srcdir
=$srcdir ;;
25709 *) # Relative name.
25710 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25711 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25712 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25714 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25724 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25725 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25727 ac_MKDIR_P
=$MKDIR_P
25729 [\\/$
]* | ?
:[\\/]* ) ;;
25730 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
25734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25735 # If the template does not know about datarootdir, expand it.
25736 # FIXME: This hack should be removed a few years after 2.60.
25737 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25748 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25749 *datarootdir
*) ac_datarootdir_seen
=yes;;
25750 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25752 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25755 ac_datarootdir_hack='
25756 s&@datadir@&$datadir&g
25757 s&@docdir@&$docdir&g
25758 s&@infodir@&$infodir&g
25759 s&@localedir@&$localedir&g
25760 s&@mandir@&$mandir&g
25761 s&\\\${datarootdir}&$datarootdir&g' ;;
25765 # Neutralize VPATH when `$srcdir' = `.'.
25766 # Shell code in configure.ac might set extrasub.
25767 # FIXME: do we really want to maintain this feature?
25768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25769 ac_sed_extra="$ac_vpsub
25772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25774 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25775 s|@configure_input@|
$ac_sed_conf_input|
;t t
25776 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25777 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
25778 s
&@srcdir@
&$ac_srcdir&;t t
25779 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25780 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25781 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25782 s
&@builddir@
&$ac_builddir&;t t
25783 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25784 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25785 s
&@INSTALL@
&$ac_INSTALL&;t t
25786 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
25787 $ac_datarootdir_hack
25789 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
25790 || as_fn_error "could not create
$ac_file" "$LINENO" 5
25792 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25793 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25794 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25796 which seems to be undefined. Please make sure it is defined." >&5
25797 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25798 which seems to be undefined. Please make sure it is defined." >&2;}
25802 -) cat "$tmp/out" && rm -f "$tmp/out";;
25803 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
25805 || as_fn_error "could not create $ac_file" "$LINENO" 5
25811 if test x"$ac_file" != x-; then
25813 $as_echo "/* $configure_input */" \
25814 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
25815 } >"$tmp/config.h" \
25816 || as_fn_error "could not create $ac_file" "$LINENO" 5
25817 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
25819 $as_echo "$as_me: $ac_file is unchanged" >&6;}
25822 mv "$tmp/config.h" "$ac_file" \
25823 || as_fn_error "could not create $ac_file" "$LINENO" 5
25826 $as_echo "/* $configure_input */" \
25827 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
25828 || as_fn_error "could not create -" "$LINENO" 5
25830 # Compute "$ac_file"'s index
in $config_headers.
25833 for _am_header
in $config_headers :; do
25834 case $_am_header in
25835 $_am_arg |
$_am_arg:* )
25838 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25841 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25842 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25843 X"$_am_arg" : 'X\(//\)[^/]' \| \
25844 X"$_am_arg" : 'X\(//\)$' \| \
25845 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25846 $as_echo X"$_am_arg" |
25847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25851 /^X\(\/\/\)[^/].*/{
25863 s/.*/./; q'`/stamp-h
$_am_stamp_count
25866 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
25867 $as_echo "$as_me: executing $ac_file commands" >&6;}
25872 case $ac_file$ac_mode in
25874 # Only add multilib support code if we just rebuilt the top-level
25876 case " $CONFIG_FILES " in
25878 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
25881 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
25882 # Autoconf 2.62 quotes --file arguments for eval, but not when files
25883 # are listed without --file. Let's play safe and only enable the eval
25884 # if we detect the quoting.
25885 case $CONFIG_FILES in
25886 *\'*) eval set x
"$CONFIG_FILES" ;;
25887 *) set x
$CONFIG_FILES ;;
25892 # Strip MF so we end up with the name of the file.
25893 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25894 # Check whether this is an Automake generated Makefile or not.
25895 # We used to match only the files named `Makefile.in', but
25896 # some people rename them; so instead we look at the file content.
25897 # Grep'ing the first line is not enough: some people post-process
25898 # each Makefile.in and add a new line on top of each file to say so.
25899 # Grep'ing the whole file is not good either: AIX grep has a line
25900 # limit of 2048, but all sed's we know have understand at least 4000.
25901 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
25902 dirpart
=`$as_dirname -- "$mf" ||
25903 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25904 X"$mf" : 'X\(//\)[^/]' \| \
25905 X"$mf" : 'X\(//\)$' \| \
25906 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25912 /^X\(\/\/\)[^/].*/{
25928 # Extract the definition of DEPDIR, am__include, and am__quote
25929 # from the Makefile without running `make'.
25930 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
25931 test -z "$DEPDIR" && continue
25932 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
25933 test -z "am__include" && continue
25934 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
25935 # When using ansi2knr, U may be empty or an underscore; expand it
25936 U
=`sed -n 's/^U = //p' < "$mf"`
25937 # Find all dependency output files, they are included files with
25938 # $(DEPDIR) in their names. We invoke sed twice because it is the
25939 # simplest approach to changing $(DEPDIR) to its actual value in the
25941 for file in `sed -n "
25942 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25943 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25944 # Make sure the directory exists.
25945 test -f "$dirpart/$file" && continue
25946 fdir
=`$as_dirname -- "$file" ||
25947 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25948 X"$file" : 'X\(//\)[^/]' \| \
25949 X"$file" : 'X\(//\)$' \| \
25950 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25951 $as_echo X"$file" |
25952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25956 /^X\(\/\/\)[^/].*/{
25969 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
25970 # echo "creating $dirpart/$file"
25971 echo '# dummy' > "$dirpart/$file"
25978 # See if we are running on zsh, and set the options which allow our
25979 # commands through without removal of \ escapes.
25980 if test -n "${ZSH_VERSION+set}" ; then
25981 setopt NO_GLOB_SUBST
25984 cfgfile
="${ofile}T"
25985 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
25988 cat <<_LT_EOF >> "$cfgfile"
25991 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
25992 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
25993 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25994 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
25996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25997 # 2006, 2007, 2008 Free Software Foundation, Inc.
25998 # Written by Gordon Matzigkeit, 1996
26000 # This file is part of GNU Libtool.
26002 # GNU Libtool is free software; you can redistribute it and/or
26003 # modify it under the terms of the GNU General Public License as
26004 # published by the Free Software Foundation; either version 2 of
26005 # the License, or (at your option) any later version.
26007 # As a special exception to the GNU General Public License,
26008 # if you distribute this file as part of a program or library that
26009 # is built using GNU Libtool, you may include this file under the
26010 # same distribution terms that you use for the rest of that program.
26012 # GNU Libtool is distributed in the hope that it will be useful,
26013 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26014 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26015 # GNU General Public License for more details.
26017 # You should have received a copy of the GNU General Public License
26018 # along with GNU Libtool; see the file COPYING. If not, a copy
26019 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26020 # obtained by writing to the Free Software Foundation, Inc.,
26021 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26024 # The names of the tagged configurations supported by this script.
26025 available_tags="FC "
26027 # ### BEGIN LIBTOOL CONFIG
26029 # Which release of libtool.m4 was used?
26030 macro_version=$macro_version
26031 macro_revision=$macro_revision
26033 # Whether or not to build shared libraries.
26034 build_libtool_libs=$enable_shared
26036 # Whether or not to build static libraries.
26037 build_old_libs=$enable_static
26039 # What type of objects to build.
26042 # Whether or not to optimize for fast installation.
26043 fast_install=$enable_fast_install
26046 host_alias=$host_alias
26050 # The build system.
26051 build_alias=$build_alias
26055 # A sed program that does not truncate output.
26058 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26059 Xsed="\$SED -e 1s/^X//"
26061 # A grep program that handles long lines.
26067 # A literal string matcher.
26070 # A BSD- or MS-compatible name lister.
26073 # Whether we need soft or hard links.
26076 # What is the maximum length of a command?
26077 max_cmd_len=$max_cmd_len
26079 # Object file suffix (normally "o").
26082 # Executable file suffix (normally "").
26085 # whether the shell understands "unset".
26088 # turn spaces into newlines.
26091 # turn newlines into spaces.
26094 # How to create reloadable object files.
26095 reload_flag=$lt_reload_flag
26096 reload_cmds=$lt_reload_cmds
26098 # An object symbol dumper.
26099 OBJDUMP=$lt_OBJDUMP
26101 # Method to check whether dependent libraries are shared objects.
26102 deplibs_check_method=$lt_deplibs_check_method
26104 # Command to use when deplibs_check_method == "file_magic".
26105 file_magic_cmd=$lt_file_magic_cmd
26109 AR_FLAGS=$lt_AR_FLAGS
26111 # A symbol stripping program.
26114 # Commands used to install an old-style archive.
26116 old_postinstall_cmds=$lt_old_postinstall_cmds
26117 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26122 # LTCC compiler flags.
26123 LTCFLAGS=$lt_CFLAGS
26125 # Take the output of nm and produce a listing of raw symbols and C names.
26126 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26128 # Transform the output of nm in a proper C declaration.
26129 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26131 # Transform the output of nm in a C name address pair.
26132 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26134 # Transform the output of nm in a C name address pair when lib prefix is needed.
26135 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26137 # The name of the directory that contains temporary libtool files.
26140 # Shell to use when invoking shell scripts.
26143 # An echo program that does not interpret backslashes.
26146 # Used to examine libraries when file_magic_cmd begins with "file".
26147 MAGIC_CMD=$MAGIC_CMD
26149 # Must we lock files when doing compilation?
26150 need_locks=$lt_need_locks
26152 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26153 DSYMUTIL=$lt_DSYMUTIL
26155 # Tool to change global to local symbols on Mac OS X.
26158 # Tool to manipulate fat objects and archives on Mac OS X.
26161 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26164 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26165 OTOOL64=$lt_OTOOL64
26167 # Old archive suffix (normally "a").
26170 # Shared library suffix (normally ".so").
26171 shrext_cmds=$lt_shrext_cmds
26173 # The commands to extract the exported symbol list from a shared archive.
26174 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26176 # Variables whose values should be saved in libtool wrapper scripts and
26177 # restored at link time.
26178 variables_saved_for_relink=$lt_variables_saved_for_relink
26180 # Do we need the "lib" prefix for modules?
26181 need_lib_prefix=$need_lib_prefix
26183 # Do we need a version for libraries?
26184 need_version=$need_version
26186 # Library versioning type.
26187 version_type=$version_type
26189 # Shared library runtime path variable.
26190 runpath_var=$runpath_var
26192 # Shared library path variable.
26193 shlibpath_var=$shlibpath_var
26195 # Is shlibpath searched before the hard-coded library search path?
26196 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26198 # Format of library name prefix.
26199 libname_spec=$lt_libname_spec
26201 # List of archive names. First name is the real one, the rest are links.
26202 # The last name is the one that the linker finds with -lNAME
26203 library_names_spec=$lt_library_names_spec
26205 # The coded name of the library, if different from the real name.
26206 soname_spec=$lt_soname_spec
26208 # Command to use after installation of a shared archive.
26209 postinstall_cmds=$lt_postinstall_cmds
26211 # Command to use after uninstallation of a shared archive.
26212 postuninstall_cmds=$lt_postuninstall_cmds
26214 # Commands used to finish a libtool library installation in a directory.
26215 finish_cmds=$lt_finish_cmds
26217 # As "finish_cmds", except a single script fragment to be evaled but
26219 finish_eval=$lt_finish_eval
26221 # Whether we should hardcode library paths into libraries.
26222 hardcode_into_libs=$hardcode_into_libs
26224 # Compile-time system search path for libraries.
26225 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26227 # Run-time system search path for libraries.
26228 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26230 # Whether dlopen is supported.
26231 dlopen_support=$enable_dlopen
26233 # Whether dlopen of programs is supported.
26234 dlopen_self=$enable_dlopen_self
26236 # Whether dlopen of statically linked programs is supported.
26237 dlopen_self_static=$enable_dlopen_self_static
26239 # Commands to strip libraries.
26240 old_striplib=$lt_old_striplib
26241 striplib=$lt_striplib
26244 # The linker used to build libraries.
26247 # Commands used to build an old-style archive.
26248 old_archive_cmds=$lt_old_archive_cmds
26250 # A language specific compiler.
26253 # Is the compiler the GNU compiler?
26256 # Compiler flag to turn off builtin functions.
26257 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26259 # How to pass a linker flag through the compiler.
26260 wl=$lt_lt_prog_compiler_wl
26262 # Additional compiler flags for building library objects.
26263 pic_flag=$lt_lt_prog_compiler_pic
26265 # Compiler flag to prevent dynamic linking.
26266 link_static_flag=$lt_lt_prog_compiler_static
26268 # Does compiler simultaneously support -c and -o options?
26269 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26271 # Whether or not to add -lc for building shared libraries.
26272 build_libtool_need_lc=$archive_cmds_need_lc
26274 # Whether or not to disallow shared libs when runtime libs are static.
26275 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26277 # Compiler flag to allow reflexive dlopens.
26278 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26280 # Compiler flag to generate shared objects directly from archives.
26281 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26283 # Whether the compiler copes with passing no objects directly.
26284 compiler_needs_object=$lt_compiler_needs_object
26286 # Create an old-style archive from a shared archive.
26287 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26289 # Create a temporary old-style archive to link instead of a shared archive.
26290 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26292 # Commands used to build a shared archive.
26293 archive_cmds=$lt_archive_cmds
26294 archive_expsym_cmds=$lt_archive_expsym_cmds
26296 # Commands used to build a loadable module if different from building
26297 # a shared archive.
26298 module_cmds=$lt_module_cmds
26299 module_expsym_cmds=$lt_module_expsym_cmds
26301 # Whether we are building with GNU ld or not.
26302 with_gnu_ld=$lt_with_gnu_ld
26304 # Flag that allows shared libraries with undefined symbols to be built.
26305 allow_undefined_flag=$lt_allow_undefined_flag
26307 # Flag that enforces no undefined symbols.
26308 no_undefined_flag=$lt_no_undefined_flag
26310 # Flag to hardcode \$libdir into a binary during linking.
26311 # This must work even if \$libdir does not exist
26312 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26314 # If ld is used when linking, flag to hardcode \$libdir into a binary
26315 # during linking. This must work even if \$libdir does not exist.
26316 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
26318 # Whether we need a single "-rpath" flag with a separated argument.
26319 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26321 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26322 # DIR into the resulting binary.
26323 hardcode_direct=$hardcode_direct
26325 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26326 # DIR into the resulting binary and the resulting library dependency is
26327 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
26328 # library is relocated.
26329 hardcode_direct_absolute=$hardcode_direct_absolute
26331 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26332 # into the resulting binary.
26333 hardcode_minus_L=$hardcode_minus_L
26335 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26336 # into the resulting binary.
26337 hardcode_shlibpath_var=$hardcode_shlibpath_var
26339 # Set to "yes" if building a shared library automatically hardcodes DIR
26340 # into the library and all subsequent libraries and executables linked
26342 hardcode_automatic=$hardcode_automatic
26344 # Set to yes if linker adds runtime paths of dependent libraries
26345 # to runtime path list.
26346 inherit_rpath=$inherit_rpath
26348 # Whether libtool must link a program against all its dependency libraries.
26349 link_all_deplibs=$link_all_deplibs
26351 # Fix the shell variable \$srcfile for the compiler.
26352 fix_srcfile_path=$lt_fix_srcfile_path
26354 # Set to "yes" if exported symbols are required.
26355 always_export_symbols=$always_export_symbols
26357 # The commands to list exported symbols.
26358 export_symbols_cmds=$lt_export_symbols_cmds
26360 # Symbols that should not be listed in the preloaded symbols.
26361 exclude_expsyms=$lt_exclude_expsyms
26363 # Symbols that must always be exported.
26364 include_expsyms=$lt_include_expsyms
26366 # Commands necessary for linking programs (against libraries) with templates.
26367 prelink_cmds=$lt_prelink_cmds
26369 # Specify filename containing input files.
26370 file_list_spec=$lt_file_list_spec
26372 # How to hardcode a shared library path into an executable.
26373 hardcode_action=$hardcode_action
26375 # The directories searched by this compiler when creating a shared library.
26376 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26378 # Dependencies to place before and after the objects being linked to
26379 # create a shared library.
26380 predep_objects=$lt_predep_objects
26381 postdep_objects=$lt_postdep_objects
26382 predeps=$lt_predeps
26383 postdeps=$lt_postdeps
26385 # The library search path used internally by the compiler when linking
26386 # a shared library.
26387 compiler_lib_search_path=$lt_compiler_lib_search_path
26389 # ### END LIBTOOL CONFIG
26395 cat <<\_LT_EOF
>> "$cfgfile"
26396 # AIX sometimes has problems with the GCC collect2 program. For some
26397 # reason, if we set the COLLECT_NAMES environment variable, the problems
26398 # vanish in a puff of smoke.
26399 if test "X${COLLECT_NAMES+set}" != Xset
; then
26401 export COLLECT_NAMES
26408 ltmain
="$ac_aux_dir/ltmain.sh"
26411 # We use sed instead of cat because bash on DJGPP gets confused if
26412 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26413 # text mode, it properly converts lines to CR/LF. This bash problem
26414 # is reportedly fixed, but why not run on old versions too?
26415 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
26416 ||
(rm -f "$cfgfile"; exit 1)
26420 cat << \_LT_EOF
>> "$cfgfile"
26422 # func_dirname file append nondir_replacement
26423 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
26424 # otherwise set result to NONDIR_REPLACEMENT.
26428 */*) func_dirname_result
="${1%/*}${2}" ;;
26429 * ) func_dirname_result
="${3}" ;;
26433 # func_basename file
26436 func_basename_result
="${1##*/}"
26439 # func_dirname_and_basename file append nondir_replacement
26440 # perform func_basename and func_dirname in a single function
26442 # dirname: Compute the dirname of FILE. If nonempty,
26443 # add APPEND to the result, otherwise set result
26444 # to NONDIR_REPLACEMENT.
26445 # value returned in "$func_dirname_result"
26446 # basename: Compute filename of FILE.
26447 # value retuned in "$func_basename_result"
26448 # Implementation must be kept synchronized with func_dirname
26449 # and func_basename. For efficiency, we do not delegate to
26450 # those functions but instead duplicate the functionality here.
26451 func_dirname_and_basename
()
26454 */*) func_dirname_result
="${1%/*}${2}" ;;
26455 * ) func_dirname_result
="${3}" ;;
26457 func_basename_result
="${1##*/}"
26460 # func_stripname prefix suffix name
26461 # strip PREFIX and SUFFIX off of NAME.
26462 # PREFIX and SUFFIX must not contain globbing or regex special
26463 # characters, hashes, percent signs, but SUFFIX may contain a leading
26464 # dot (in which case that matches only a dot).
26467 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
26468 # positional parameters, so assign one to ordinary parameter first.
26469 func_stripname_result
=${3}
26470 func_stripname_result
=${func_stripname_result#"${1}"}
26471 func_stripname_result
=${func_stripname_result%"${2}"}
26477 func_opt_split_opt
=${1%%=*}
26478 func_opt_split_arg
=${1#*=}
26485 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
26486 *) func_lo2o_result
=${1} ;;
26490 # func_xform libobj-or-source
26493 func_xform_result
=${1%.*}.lo
26496 # func_arith arithmetic-term...
26499 func_arith_result
=$
(( $
* ))
26503 # STRING may not start with a hyphen.
26506 func_len_result
=${#1}
26511 *) # Bourne compatible functions.
26512 cat << \_LT_EOF
>> "$cfgfile"
26514 # func_dirname file append nondir_replacement
26515 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
26516 # otherwise set result to NONDIR_REPLACEMENT.
26519 # Extract subdirectory from the argument.
26520 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
26521 if test "X$func_dirname_result" = "X${1}"; then
26522 func_dirname_result
="${3}"
26524 func_dirname_result
="$func_dirname_result${2}"
26528 # func_basename file
26531 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
26535 # func_stripname prefix suffix name
26536 # strip PREFIX and SUFFIX off of NAME.
26537 # PREFIX and SUFFIX must not contain globbing or regex special
26538 # characters, hashes, percent signs, but SUFFIX may contain a leading
26539 # dot (in which case that matches only a dot).
26540 # func_strip_suffix prefix name
26544 .
*) func_stripname_result
=`$ECHO "X${3}" \
26545 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
26546 *) func_stripname_result
=`$ECHO "X${3}" \
26547 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
26552 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
26553 my_sed_long_arg
='1s/^-[^=]*=//'
26558 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
26559 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
26565 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
26568 # func_xform libobj-or-source
26571 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
26574 # func_arith arithmetic-term...
26577 func_arith_result
=`expr "$@"`
26581 # STRING may not start with a hyphen.
26584 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
26590 case $lt_shell_append in
26592 cat << \_LT_EOF
>> "$cfgfile"
26594 # func_append var value
26595 # Append VALUE to the end of shell variable VAR.
26603 cat << \_LT_EOF
>> "$cfgfile"
26605 # func_append var value
26606 # Append VALUE to the end of shell variable VAR.
26617 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
26618 ||
(rm -f "$cfgfile"; exit 1)
26620 mv -f "$cfgfile" "$ofile" ||
26621 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
26625 cat <<_LT_EOF >> "$ofile"
26627 # ### BEGIN LIBTOOL TAG CONFIG: FC
26629 # The linker used to build libraries.
26632 # Commands used to build an old-style archive.
26633 old_archive_cmds=$lt_old_archive_cmds_FC
26635 # A language specific compiler.
26638 # Is the compiler the GNU compiler?
26641 # Compiler flag to turn off builtin functions.
26642 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
26644 # How to pass a linker flag through the compiler.
26645 wl=$lt_lt_prog_compiler_wl_FC
26647 # Additional compiler flags for building library objects.
26648 pic_flag=$lt_lt_prog_compiler_pic_FC
26650 # Compiler flag to prevent dynamic linking.
26651 link_static_flag=$lt_lt_prog_compiler_static_FC
26653 # Does compiler simultaneously support -c and -o options?
26654 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
26656 # Whether or not to add -lc for building shared libraries.
26657 build_libtool_need_lc=$archive_cmds_need_lc_FC
26659 # Whether or not to disallow shared libs when runtime libs are static.
26660 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
26662 # Compiler flag to allow reflexive dlopens.
26663 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
26665 # Compiler flag to generate shared objects directly from archives.
26666 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
26668 # Whether the compiler copes with passing no objects directly.
26669 compiler_needs_object=$lt_compiler_needs_object_FC
26671 # Create an old-style archive from a shared archive.
26672 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
26674 # Create a temporary old-style archive to link instead of a shared archive.
26675 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
26677 # Commands used to build a shared archive.
26678 archive_cmds=$lt_archive_cmds_FC
26679 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
26681 # Commands used to build a loadable module if different from building
26682 # a shared archive.
26683 module_cmds=$lt_module_cmds_FC
26684 module_expsym_cmds=$lt_module_expsym_cmds_FC
26686 # Whether we are building with GNU ld or not.
26687 with_gnu_ld=$lt_with_gnu_ld_FC
26689 # Flag that allows shared libraries with undefined symbols to be built.
26690 allow_undefined_flag=$lt_allow_undefined_flag_FC
26692 # Flag that enforces no undefined symbols.
26693 no_undefined_flag=$lt_no_undefined_flag_FC
26695 # Flag to hardcode \$libdir into a binary during linking.
26696 # This must work even if \$libdir does not exist
26697 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
26699 # If ld is used when linking, flag to hardcode \$libdir into a binary
26700 # during linking. This must work even if \$libdir does not exist.
26701 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
26703 # Whether we need a single "-rpath" flag with a separated argument.
26704 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
26706 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26707 # DIR into the resulting binary.
26708 hardcode_direct=$hardcode_direct_FC
26710 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26711 # DIR into the resulting binary and the resulting library dependency is
26712 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
26713 # library is relocated.
26714 hardcode_direct_absolute=$hardcode_direct_absolute_FC
26716 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26717 # into the resulting binary.
26718 hardcode_minus_L=$hardcode_minus_L_FC
26720 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26721 # into the resulting binary.
26722 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
26724 # Set to "yes" if building a shared library automatically hardcodes DIR
26725 # into the library and all subsequent libraries and executables linked
26727 hardcode_automatic=$hardcode_automatic_FC
26729 # Set to yes if linker adds runtime paths of dependent libraries
26730 # to runtime path list.
26731 inherit_rpath=$inherit_rpath_FC
26733 # Whether libtool must link a program against all its dependency libraries.
26734 link_all_deplibs=$link_all_deplibs_FC
26736 # Fix the shell variable \$srcfile for the compiler.
26737 fix_srcfile_path=$lt_fix_srcfile_path_FC
26739 # Set to "yes" if exported symbols are required.
26740 always_export_symbols=$always_export_symbols_FC
26742 # The commands to list exported symbols.
26743 export_symbols_cmds=$lt_export_symbols_cmds_FC
26745 # Symbols that should not be listed in the preloaded symbols.
26746 exclude_expsyms=$lt_exclude_expsyms_FC
26748 # Symbols that must always be exported.
26749 include_expsyms=$lt_include_expsyms_FC
26751 # Commands necessary for linking programs (against libraries) with templates.
26752 prelink_cmds=$lt_prelink_cmds_FC
26754 # Specify filename containing input files.
26755 file_list_spec=$lt_file_list_spec_FC
26757 # How to hardcode a shared library path into an executable.
26758 hardcode_action=$hardcode_action_FC
26760 # The directories searched by this compiler when creating a shared library.
26761 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
26763 # Dependencies to place before and after the objects being linked to
26764 # create a shared library.
26765 predep_objects=$lt_predep_objects_FC
26766 postdep_objects=$lt_postdep_objects_FC
26767 predeps=$lt_predeps_FC
26768 postdeps=$lt_postdeps_FC
26770 # The library search path used internally by the compiler when linking
26771 # a shared library.
26772 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
26774 # ### END LIBTOOL TAG CONFIG: FC
26779 if test "$GCC" = yes; then
26780 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
26782 echo "/* generated for $CC */" > tmp-stdint.h
26785 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26787 #ifndef GCC_GENERATED_STDINT_H
26788 #define GCC_GENERATED_STDINT_H 1
26790 #include <sys/types.h>
26793 if test "$acx_cv_header_stdint" != stdint.h
; then
26794 echo "#include <stddef.h>" >> tmp-stdint.h
26796 if test "$acx_cv_header_stdint" != stddef.h
; then
26797 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
26800 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26801 /* glibc uses these symbols as guards to prevent redefinitions. */
26802 #ifdef __int8_t_defined
26807 #ifdef __uint32_t_defined
26813 # ----------------- done header, emit basic int types -------------
26814 if test "$acx_cv_header_stdint" = stddef.h
; then
26815 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26819 #ifndef __uint8_t_defined
26820 #define __uint8_t_defined
26821 typedef unsigned $acx_cv_type_int8_t uint8_t;
26827 #ifndef __uint16_t_defined
26828 #define __uint16_t_defined
26829 typedef unsigned $acx_cv_type_int16_t uint16_t;
26835 #ifndef __uint32_t_defined
26836 #define __uint32_t_defined
26837 typedef unsigned $acx_cv_type_int32_t uint32_t;
26843 #ifndef __int8_t_defined
26844 #define __int8_t_defined
26845 typedef $acx_cv_type_int8_t int8_t;
26851 #ifndef __int16_t_defined
26852 #define __int16_t_defined
26853 typedef $acx_cv_type_int16_t int16_t;
26859 #ifndef __int32_t_defined
26860 #define __int32_t_defined
26861 typedef $acx_cv_type_int32_t int32_t;
26865 elif test "$ac_cv_type_u_int32_t" = yes; then
26866 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26868 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
26881 #ifndef __uint8_t_defined
26882 #define __uint8_t_defined
26883 typedef u_int8_t uint8_t;
26889 #ifndef __uint16_t_defined
26890 #define __uint16_t_defined
26891 typedef u_int16_t uint16_t;
26897 #ifndef __uint32_t_defined
26898 #define __uint32_t_defined
26899 typedef u_int32_t uint32_t;
26904 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26906 /* Some systems have guard macros to prevent redefinitions, define them. */
26928 # ------------- done basic int types, emit int64_t types ------------
26929 if test "$ac_cv_type_uint64_t" = yes; then
26930 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26932 /* system headers have good uint64_t and int64_t */
26940 elif test "$ac_cv_type_u_int64_t" = yes; then
26941 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26943 /* system headers have an u_int64_t (and int64_t) */
26949 #ifndef __uint64_t_defined
26950 #define __uint64_t_defined
26951 typedef u_int64_t uint64_t;
26955 elif test -n "$acx_cv_type_int64_t"; then
26956 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26958 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
26961 typedef $acx_cv_type_int64_t int64_t;
26965 #ifndef __uint64_t_defined
26966 #define __uint64_t_defined
26967 typedef unsigned $acx_cv_type_int64_t uint64_t;
26972 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26974 /* some common heuristics for int64_t, using compiler-specific tests */
26975 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
26978 #ifndef __int64_t_defined
26979 typedef long long int64_t;
26984 typedef unsigned long long uint64_t;
26987 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
26988 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
26989 does not implement __extension__. But that compiler doesn't define
26991 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
26992 # define __extension__
26997 __extension__ typedef long long int64_t;
27001 __extension__ typedef unsigned long long uint64_t;
27004 #elif !defined __STRICT_ANSI__
27005 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27009 typedef __int64 int64_t;
27013 typedef unsigned __int64 uint64_t;
27015 # endif /* compiler */
27017 #endif /* ANSI version */
27021 # ------------- done int64_t types, emit intptr types ------------
27022 if test "$ac_cv_type_uintptr_t" != yes; then
27023 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27025 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27026 #ifndef __uintptr_t_defined
27027 typedef u$acx_cv_type_intptr_t uintptr_t;
27029 #ifndef __intptr_t_defined
27030 typedef $acx_cv_type_intptr_t intptr_t;
27035 # ------------- done intptr types, emit int_least types ------------
27036 if test "$ac_cv_type_int_least32_t" != yes; then
27037 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27039 /* Define int_least types */
27040 typedef int8_t int_least8_t;
27041 typedef int16_t int_least16_t;
27042 typedef int32_t int_least32_t;
27044 typedef int64_t int_least64_t;
27047 typedef uint8_t uint_least8_t;
27048 typedef uint16_t uint_least16_t;
27049 typedef uint32_t uint_least32_t;
27051 typedef uint64_t uint_least64_t;
27056 # ------------- done intptr types, emit int_fast types ------------
27057 if test "$ac_cv_type_int_fast32_t" != yes; then
27058 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27060 /* Define int_fast types. short is often slow */
27061 typedef int8_t int_fast8_t;
27062 typedef int int_fast16_t;
27063 typedef int32_t int_fast32_t;
27065 typedef int64_t int_fast64_t;
27068 typedef uint8_t uint_fast8_t;
27069 typedef unsigned int uint_fast16_t;
27070 typedef uint32_t uint_fast32_t;
27072 typedef uint64_t uint_fast64_t;
27077 if test "$ac_cv_type_uintmax_t" != yes; then
27078 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27080 /* Define intmax based on what we found */
27082 typedef int64_t intmax_t;
27084 typedef long intmax_t;
27087 typedef uint64_t uintmax_t;
27089 typedef unsigned long uintmax_t;
27094 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27096 #endif /* GCC_GENERATED_STDINT_H */
27099 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
27102 mv -f tmp-stdint.h gstdint.h
27113 ac_clean_files
=$ac_clean_files_save
27115 test $ac_write_fail = 0 ||
27116 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27119 # configure is writing to config.log, and then calls config.status.
27120 # config.status does its own redirection, appending to config.log.
27121 # Unfortunately, on DOS this fails, as config.log is still kept open
27122 # by configure, so config.status won't be able to write to it; its
27123 # output is simply discarded. So we exec the FD to /dev/null,
27124 # effectively closing config.log, so it can be properly (re)opened and
27125 # appended to by config.status. When coming back to configure, we
27126 # need to make the FD available again.
27127 if test "$no_create" != yes; then
27129 ac_config_status_args
=
27130 test "$silent" = yes &&
27131 ac_config_status_args
="$ac_config_status_args --quiet"
27133 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27135 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27136 # would make configure fail if this is the last instruction.
27137 $ac_cs_success || as_fn_exit $?
27139 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27141 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}