2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir=.
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir=./$as_dir;;
291 test -d "$as_dir" || eval $as_mkdir_p || {
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
360 as_val=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status=$?; test $as_status -eq 0 && as_status=1
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 elif ln conf$$.file conf$$ 2>/dev/null; then
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
501 test -d ./-p && rmdir ./-p
505 if test -x / >/dev/null 2>&1; then
508 if ls -dL / >/dev/null 2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
556 # Identity of this package.
557 PACKAGE_NAME='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME='libgfortran'
559 PACKAGE_VERSION='0.3'
560 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
562 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
564 # Factoring default headers for most tests.
565 ac_includes_default="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
603 ac_subst_vars='am__EXEEXT_FALSE
609 LIBGFOR_BUILD_QUAD_FALSE
610 LIBGFOR_BUILD_QUAD_TRUE
615 extra_ldflags_libgfortran
640 LIBGFOR_USE_SYMVER_SUN_FALSE
641 LIBGFOR_USE_SYMVER_SUN_TRUE
642 LIBGFOR_USE_SYMVER_GNU_FALSE
643 LIBGFOR_USE_SYMVER_GNU_TRUE
644 LIBGFOR_USE_SYMVER_FALSE
645 LIBGFOR_USE_SYMVER_TRUE
671 MAINTAINER_MODE_FALSE
681 INSTALL_STRIP_PROGRAM
743 program_transform_name
756 enable_option_checking
758 enable_version_specific_runtime_libs
760 enable_maintainer_mode
762 enable_dependency_tracking
771 enable_libquadmath_support
772 with_system_libunwind
774 ac_precious_vars='build_alias
787 # Initialize some variables set by options.
789 ac_init_version=false
790 ac_unrecognized_opts=
792 # The variables have the same names as the options, with
793 # dashes changed to underlines.
801 program_transform_name=s,x,x,
809 # Installation directory options.
810 # These are left unexpanded so users can "make install exec_prefix=/foo"
811 # and all the variables that are supposed to be based on exec_prefix
812 # by default will actually change.
813 # Use braces instead of parens because sh, perl, etc. also accept them.
814 # (The list follows the same order as the GNU Coding Standards.)
815 bindir='${exec_prefix}/bin'
816 sbindir='${exec_prefix}/sbin'
817 libexecdir='${exec_prefix}/libexec'
818 datarootdir='${prefix}/share'
819 datadir='${datarootdir}'
820 sysconfdir='${prefix}/etc'
821 sharedstatedir='${prefix}/com'
822 localstatedir='${prefix}/var'
823 includedir='${prefix}/include'
824 oldincludedir='/usr/include'
825 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
826 infodir='${datarootdir}/info'
831 libdir='${exec_prefix}/lib'
832 localedir='${datarootdir}/locale'
833 mandir='${datarootdir}/man'
839 # If the previous option needs an argument, assign it.
840 if test -n "$ac_prev"; then
841 eval $ac_prev=\$ac_option
847 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 # Accept the important Cygnus configure options, so we can diagnose typos.
853 case $ac_dashdash$ac_option in
857 -bindir | --bindir | --bindi | --bind | --bin | --bi)
859 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 -build | --build | --buil | --bui | --bu)
863 ac_prev=build_alias ;;
864 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
865 build_alias=$ac_optarg ;;
867 -cache-file | --cache-file | --cache-fil | --cache-fi \
868 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
869 ac_prev=cache_file ;;
870 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
871 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
872 cache_file=$ac_optarg ;;
875 cache_file=config.cache ;;
877 -datadir | --datadir | --datadi | --datad)
879 -datadir=* | --datadir=* | --datadi=* | --datad=*)
880 datadir=$ac_optarg ;;
882 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
883 | --dataroo | --dataro | --datar)
884 ac_prev=datarootdir ;;
885 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
886 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
887 datarootdir=$ac_optarg ;;
889 -disable-* | --disable-*)
890 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893 as_fn_error "invalid feature name: $ac_useropt"
894 ac_useropt_orig=$ac_useropt
895 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901 ac_unrecognized_sep=', ';;
903 eval enable_$ac_useropt=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 -enable-* | --enable-*)
916 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
919 as_fn_error "invalid feature name: $ac_useropt"
920 ac_useropt_orig=$ac_useropt
921 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922 case $ac_user_opts in
926 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927 ac_unrecognized_sep=', ';;
929 eval enable_$ac_useropt=\$ac_optarg ;;
931 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
932 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
933 | --exec | --exe | --ex)
934 ac_prev=exec_prefix ;;
935 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
936 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
937 | --exec=* | --exe=* | --ex=*)
938 exec_prefix=$ac_optarg ;;
940 -gas | --gas | --ga | --g)
941 # Obsolete; use --with-gas.
944 -help | --help | --hel | --he | -h)
946 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
947 ac_init_help=recursive ;;
948 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
949 ac_init_help=short ;;
951 -host | --host | --hos | --ho)
952 ac_prev=host_alias ;;
953 -host=* | --host=* | --hos=* | --ho=*)
954 host_alias=$ac_optarg ;;
956 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
958 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
960 htmldir=$ac_optarg ;;
962 -includedir | --includedir | --includedi | --included | --include \
963 | --includ | --inclu | --incl | --inc)
964 ac_prev=includedir ;;
965 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
966 | --includ=* | --inclu=* | --incl=* | --inc=*)
967 includedir=$ac_optarg ;;
969 -infodir | --infodir | --infodi | --infod | --info | --inf)
971 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
972 infodir=$ac_optarg ;;
974 -libdir | --libdir | --libdi | --libd)
976 -libdir=* | --libdir=* | --libdi=* | --libd=*)
979 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
980 | --libexe | --libex | --libe)
981 ac_prev=libexecdir ;;
982 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
983 | --libexe=* | --libex=* | --libe=*)
984 libexecdir=$ac_optarg ;;
986 -localedir | --localedir | --localedi | --localed | --locale)
988 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
989 localedir=$ac_optarg ;;
991 -localstatedir | --localstatedir | --localstatedi | --localstated \
992 | --localstate | --localstat | --localsta | --localst | --locals)
993 ac_prev=localstatedir ;;
994 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
995 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
996 localstatedir=$ac_optarg ;;
998 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1000 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001 mandir=$ac_optarg ;;
1003 -nfp | --nfp | --nf)
1004 # Obsolete; use --without-fp.
1007 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1008 | --no-cr | --no-c | -n)
1011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1015 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1016 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1017 | --oldin | --oldi | --old | --ol | --o)
1018 ac_prev=oldincludedir ;;
1019 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1020 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1021 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1022 oldincludedir=$ac_optarg ;;
1024 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1026 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1027 prefix=$ac_optarg ;;
1029 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1030 | --program-pre | --program-pr | --program-p)
1031 ac_prev=program_prefix ;;
1032 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1033 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1034 program_prefix=$ac_optarg ;;
1036 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1037 | --program-suf | --program-su | --program-s)
1038 ac_prev=program_suffix ;;
1039 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1040 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1041 program_suffix=$ac_optarg ;;
1043 -program-transform-name | --program-transform-name \
1044 | --program-transform-nam | --program-transform-na \
1045 | --program-transform-n | --program-transform- \
1046 | --program-transform | --program-transfor \
1047 | --program-transfo | --program-transf \
1048 | --program-trans | --program-tran \
1049 | --progr-tra | --program-tr | --program-t)
1050 ac_prev=program_transform_name ;;
1051 -program-transform-name=* | --program-transform-name=* \
1052 | --program-transform-nam=* | --program-transform-na=* \
1053 | --program-transform-n=* | --program-transform-=* \
1054 | --program-transform=* | --program-transfor=* \
1055 | --program-transfo=* | --program-transf=* \
1056 | --program-trans=* | --program-tran=* \
1057 | --progr-tra=* | --program-tr=* | --program-t=*)
1058 program_transform_name=$ac_optarg ;;
1060 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1062 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1063 pdfdir=$ac_optarg ;;
1065 -psdir | --psdir | --psdi | --psd | --ps)
1067 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1071 | -silent | --silent | --silen | --sile | --sil)
1074 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1076 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1078 sbindir=$ac_optarg ;;
1080 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1081 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1082 | --sharedst | --shareds | --shared | --share | --shar \
1084 ac_prev=sharedstatedir ;;
1085 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1086 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1087 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1089 sharedstatedir=$ac_optarg ;;
1091 -site | --site | --sit)
1093 -site=* | --site=* | --sit=*)
1096 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1098 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1099 srcdir=$ac_optarg ;;
1101 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1102 | --syscon | --sysco | --sysc | --sys | --sy)
1103 ac_prev=sysconfdir ;;
1104 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1105 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1106 sysconfdir=$ac_optarg ;;
1108 -target | --target | --targe | --targ | --tar | --ta | --t)
1109 ac_prev=target_alias ;;
1110 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1111 target_alias=$ac_optarg ;;
1113 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1116 -version | --version | --versio | --versi | --vers | -V)
1117 ac_init_version=: ;;
1120 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123 as_fn_error "invalid package name: $ac_useropt"
1124 ac_useropt_orig=$ac_useropt
1125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131 ac_unrecognized_sep=', ';;
1133 eval with_$ac_useropt=\$ac_optarg ;;
1135 -without-* | --without-*)
1136 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139 as_fn_error "invalid package name: $ac_useropt"
1140 ac_useropt_orig=$ac_useropt
1141 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147 ac_unrecognized_sep=', ';;
1149 eval with_$ac_useropt=no ;;
1152 # Obsolete; use --with-x.
1155 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1156 | --x-incl | --x-inc | --x-in | --x-i)
1157 ac_prev=x_includes ;;
1158 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1159 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1160 x_includes=$ac_optarg ;;
1162 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1163 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1164 ac_prev=x_libraries ;;
1165 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1166 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1167 x_libraries=$ac_optarg ;;
1169 -*) as_fn_error "unrecognized option: \`$ac_option'
1170 Try \`$0 --help' for more information."
1174 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1175 # Reject names that are not valid shell variable names.
1176 case $ac_envvar in #(
1177 '' | [0-9]* | *[!_$as_cr_alnum]* )
1178 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1180 eval $ac_envvar=\$ac_optarg
1181 export $ac_envvar ;;
1184 # FIXME: should be removed in autoconf 3.0.
1185 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1194 if test -n "$ac_prev"; then
1195 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1196 as_fn_error "missing argument to $ac_option"
1199 if test -n "$ac_unrecognized_opts"; then
1200 case $enable_option_checking in
1202 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1203 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1207 # Check all directory arguments for consistency.
1208 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209 datadir sysconfdir sharedstatedir localstatedir includedir \
1210 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211 libdir localedir mandir
1213 eval ac_val=\$$ac_var
1214 # Remove trailing slashes.
1217 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1218 eval $ac_var=\$ac_val;;
1220 # Be sure to have absolute directory names.
1222 [\\/$]* | ?:[\\/]* ) continue;;
1223 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1225 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1228 # There might be people who depend on the old broken behavior: `$host'
1229 # used to hold the argument of --host etc.
1230 # FIXME: To remove some day.
1233 target=$target_alias
1235 # FIXME: To remove some day.
1236 if test "x$host_alias" != x; then
1237 if test "x$build_alias" = x; then
1238 cross_compiling=maybe
1239 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1240 If a cross compiler is detected then cross compile mode will be used." >&2
1241 elif test "x$build_alias" != "x$host_alias"; then
1247 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1249 test "$silent" = yes && exec 6>/dev/null
1252 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1253 ac_ls_di=`ls -di .` &&
1254 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1255 as_fn_error "working directory cannot be determined"
1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257 as_fn_error "pwd does not report name of working directory"
1260 # Find the source files, if location was not specified.
1261 if test -z "$srcdir"; then
1262 ac_srcdir_defaulted=yes
1263 # Try the directory containing this script, then the parent directory.
1264 ac_confdir=`$as_dirname -- "$as_myself" ||
1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266 X"$as_myself" : 'X\(//\)[^/]' \| \
1267 X"$as_myself" : 'X\(//\)$' \| \
1268 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269 $as_echo X"$as_myself" |
1270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1292 ac_srcdir_defaulted=no
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1296 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1298 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1300 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1302 # When building in place, set srcdir=.
1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 # Remove unnecessary trailing slashes from srcdir.
1307 # Double slashes in file names in object file debugging info
1308 # mess up M-x gdb in Emacs.
1310 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1312 for ac_var in $ac_precious_vars; do
1313 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1314 eval ac_env_${ac_var}_value=\$${ac_var}
1315 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1316 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1320 # Report the --help message.
1322 if test "$ac_init_help" = "long"; then
1323 # Omit some internal or obsolete options to make the list less imposing.
1324 # This message is too long to be a string in the A/UX 3.1 sh.
1326 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1328 Usage: $0 [OPTION]... [VAR=VALUE]...
1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331 VAR=VALUE. See below for descriptions of some of the useful variables.
1333 Defaults for the options are specified in brackets.
1336 -h, --help display this help and exit
1337 --help=short display options specific to this package
1338 --help=recursive display the short help of all the included packages
1339 -V, --version display version information and exit
1340 -q, --quiet, --silent do not print \`checking...' messages
1341 --cache-file=FILE cache test results in FILE [disabled]
1342 -C, --config-cache alias for \`--cache-file=config.cache'
1343 -n, --no-create do not create output files
1344 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1346 Installation directories:
1347 --prefix=PREFIX install architecture-independent files in PREFIX
1348 [$ac_default_prefix]
1349 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 By default, \`make install' will install all the files in
1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355 for instance \`--prefix=\$HOME'.
1357 For better control, use the options below.
1359 Fine tuning of the installation directories:
1360 --bindir=DIR user executables [EPREFIX/bin]
1361 --sbindir=DIR system admin executables [EPREFIX/sbin]
1362 --libexecdir=DIR program executables [EPREFIX/libexec]
1363 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1364 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1365 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1366 --libdir=DIR object code libraries [EPREFIX/lib]
1367 --includedir=DIR C header files [PREFIX/include]
1368 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1369 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1370 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1371 --infodir=DIR info documentation [DATAROOTDIR/info]
1372 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1373 --mandir=DIR man documentation [DATAROOTDIR/man]
1374 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1375 --htmldir=DIR html documentation [DOCDIR]
1376 --dvidir=DIR dvi documentation [DOCDIR]
1377 --pdfdir=DIR pdf documentation [DOCDIR]
1378 --psdir=DIR ps documentation [DOCDIR]
1384 --program-prefix=PREFIX prepend PREFIX to installed program names
1385 --program-suffix=SUFFIX append SUFFIX to installed program names
1386 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1389 --build=BUILD configure for building on BUILD [guessed]
1390 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1391 --target=TARGET configure for building compilers for TARGET [HOST]
1395 if test -n "$ac_init_help"; then
1396 case $ac_init_help in
1397 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1402 --disable-option-checking ignore unrecognized --enable/--with options
1403 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1404 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1405 --enable-version-specific-runtime-libs
1406 specify that runtime libraries should be installed
1407 in a compiler-specific directory
1408 --enable-intermodule build the library in one step
1409 --enable-maintainer-mode enable make rules and dependencies not useful
1410 (and sometimes confusing) to the casual installer
1411 --enable-multilib build many library versions (default)
1412 --disable-dependency-tracking speeds up one-time build
1413 --enable-dependency-tracking do not reject slow dependency extractors
1414 --disable-symvers disable symbol versioning for libgfortran
1415 --enable-shared[=PKGS] build shared libraries [default=yes]
1416 --enable-static[=PKGS] build static libraries [default=yes]
1417 --enable-fast-install[=PKGS]
1418 optimize for fast installation [default=yes]
1419 --disable-libtool-lock avoid locking (might break parallel builds)
1420 --disable-largefile omit support for large files
1421 --disable-libquadmath-support
1422 disable libquadmath support for Fortran
1425 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1426 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1427 --with-build-libsubdir=DIR Directory where to find libraries for build system
1428 --with-pic try to use only PIC/non-PIC objects [default=use
1430 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1431 --with-system-libunwind use installed libunwind
1433 Some influential environment variables:
1434 CC C compiler command
1435 CFLAGS C compiler flags
1436 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1437 nonstandard directory <lib dir>
1438 LIBS libraries to pass to the linker, e.g. -l<library>
1439 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1440 you have headers in a nonstandard directory <include dir>
1442 FC Fortran compiler command
1443 FCFLAGS Fortran compiler flags
1445 Use these variables to override the choices made by `configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1448 Report bugs to the package provider.
1449 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1450 General help using GNU software: <http://www.gnu.org/gethelp/>.
1455 if test "$ac_init_help" = "recursive"; then
1456 # If there are subdirs, report their specific --help.
1457 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458 test -d "$ac_dir" ||
1459 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1466 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1467 # A ".." for each directory in $ac_dir_suffix.
1468 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1469 case $ac_top_builddir_sub in
1470 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1474 ac_abs_top_builddir=$ac_pwd
1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476 # for backward compatibility:
1477 ac_top_builddir=$ac_top_build_prefix
1480 .) # We are building in place.
1482 ac_top_srcdir=$ac_top_builddir_sub
1483 ac_abs_top_srcdir=$ac_pwd ;;
1484 [\\/]* | ?:[\\/]* ) # Absolute name.
1485 ac_srcdir=$srcdir$ac_dir_suffix;
1486 ac_top_srcdir=$srcdir
1487 ac_abs_top_srcdir=$srcdir ;;
1489 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490 ac_top_srcdir=$ac_top_build_prefix$srcdir
1491 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1495 cd "$ac_dir" || { ac_status=$?; continue; }
1496 # Check for guested configure.
1497 if test -f "$ac_srcdir/configure.gnu"; then
1499 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500 elif test -f "$ac_srcdir/configure"; then
1502 $SHELL "$ac_srcdir/configure" --help=recursive
1504 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1506 cd "$ac_pwd" || { ac_status=$?; break; }
1510 test -n "$ac_init_help" && exit $ac_status
1511 if $ac_init_version; then
1513 GNU Fortran Runtime Library configure 0.3
1514 generated by GNU Autoconf 2.64
1516 Copyright (C) 2009 Free Software Foundation, Inc.
1517 This configure script is free software; the Free Software Foundation
1518 gives unlimited permission to copy, distribute and modify it.
1523 ## ------------------------ ##
1524 ## Autoconf initialization. ##
1525 ## ------------------------ ##
1527 # ac_fn_c_try_compile LINENO
1528 # --------------------------
1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1530 ac_fn_c_try_compile ()
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 rm -f conftest.$ac_objext
1534 if { { ac_try="$ac_compile"
1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537 *) ac_try_echo=$ac_try;;
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541 (eval "$ac_compile") 2>conftest.err
1543 if test -s conftest.err; then
1544 grep -v '^ *+' conftest.err >conftest.er1
1545 cat conftest.er1 >&5
1546 mv -f conftest.er1 conftest.err
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; } && {
1550 test -z "$ac_c_werror_flag" ||
1551 test ! -s conftest.err
1552 } && test -s conftest.$ac_objext; then :
1555 $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1560 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1563 } # ac_fn_c_try_compile
1565 # ac_fn_c_try_cpp LINENO
1566 # ----------------------
1567 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 if { { ac_try="$ac_cpp conftest.$ac_ext"
1573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1580 if test -s conftest.err; then
1581 grep -v '^ *+' conftest.err >conftest.er1
1582 cat conftest.er1 >&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } >/dev/null && {
1587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1588 test ! -s conftest.err
1592 $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.$ac_ext >&5
1597 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1602 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1603 # -------------------------------------------------------
1604 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1605 # the include files in INCLUDES and setting the cache variable VAR
1607 ac_fn_c_check_header_mongrel ()
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1612 $as_echo_n "checking for $2... " >&6; }
1613 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1614 $as_echo_n "(cached) " >&6
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 $as_echo "$ac_res" >&6; }
1620 # Is the header compilable?
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1622 $as_echo_n "checking $2 usability... " >&6; }
1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h. */
1628 if ac_fn_c_try_compile "$LINENO"; then :
1629 ac_header_compiler=yes
1631 ac_header_compiler=no
1633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1635 $as_echo "$ac_header_compiler" >&6; }
1637 # Is the header present?
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1639 $as_echo_n "checking $2 presence... " >&6; }
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1644 if ac_fn_c_try_cpp "$LINENO"; then :
1645 ac_header_preproc=yes
1647 ac_header_preproc=no
1649 rm -f conftest.err conftest.$ac_ext
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1651 $as_echo "$ac_header_preproc" >&6; }
1653 # So? What about this header?
1654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1657 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1663 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1665 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1667 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1669 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1677 $as_echo_n "(cached) " >&6
1679 eval "$3=\$ac_header_compiler"
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687 } # ac_fn_c_check_header_mongrel
1689 # ac_fn_c_try_run LINENO
1690 # ----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692 # that executables *can* be run.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1707 { { case "(($ac_try" in
1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_try") 2>&5
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; }; }; then :
1719 $as_echo "$as_me: program exited with status $ac_status" >&5
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1723 ac_retval=$ac_status
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1732 # -------------------------------------------------------
1733 # Tests whether HEADER exists and can be compiled using the include files in
1734 # INCLUDES, setting the cache variable VAR accordingly.
1735 ac_fn_c_check_header_compile ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1748 if ac_fn_c_try_compile "$LINENO"; then :
1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 } # ac_fn_c_check_header_compile
1762 # ac_fn_c_try_link LINENO
1763 # -----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded.
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext conftest$ac_exeext
1769 if { { ac_try="$ac_link"
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_link") 2>conftest.err
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest$ac_exeext && {
1788 test "$cross_compiling" = yes ||
1789 $as_test_x conftest$ac_exeext
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800 # interfere with the next link command; also delete a directory that is
1801 # left behind by Apple's compiler. We do this before executing the actions.
1802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806 } # ac_fn_c_try_link
1808 # ac_fn_c_check_func LINENO FUNC VAR
1809 # ----------------------------------
1810 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1811 ac_fn_c_check_func ()
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1817 $as_echo_n "(cached) " >&6
1819 if test x$gcc_no_link = xyes; then
1820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h. */
1824 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1826 #define $2 innocuous_$2
1828 /* System header to define __stub macros and hopefully few prototypes,
1829 which can conflict with char $2 (); below.
1830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1831 <limits.h> exists even on freestanding compilers. */
1834 # include <limits.h>
1836 # include <assert.h>
1841 /* Override any GCC internal prototype to avoid an error.
1842 Use char because int might match the return type of a GCC
1843 builtin and then its argument prototype would still apply. */
1848 /* The GNU C library defines this for functions which it implements
1849 to always fail with ENOSYS. Some functions are actually named
1850 something starting with __ and the normal name is an alias. */
1851 #if defined __stub_$2 || defined __stub___$2
1863 if ac_fn_c_try_link "$LINENO"; then :
1868 rm -f core conftest.err conftest.$ac_objext \
1869 conftest$ac_exeext conftest.$ac_ext
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1876 } # ac_fn_c_check_func
1878 # ac_fn_fc_try_compile LINENO
1879 # ---------------------------
1880 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1881 ac_fn_fc_try_compile ()
1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884 rm -f conftest.$ac_objext
1885 if { { ac_try="$ac_compile"
1887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1888 *) ac_try_echo=$ac_try;;
1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892 (eval "$ac_compile") 2>conftest.err
1894 if test -s conftest.err; then
1895 grep -v '^ *+' conftest.err >conftest.er1
1896 cat conftest.er1 >&5
1897 mv -f conftest.er1 conftest.err
1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900 test $ac_status = 0; } && {
1901 test -z "$ac_fc_werror_flag" ||
1902 test ! -s conftest.err
1903 } && test -s conftest.$ac_objext; then :
1906 $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 } # ac_fn_fc_try_compile
1916 # ac_fn_fc_try_link LINENO
1917 # ------------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded.
1919 ac_fn_fc_try_link ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 rm -f conftest.$ac_objext conftest$ac_exeext
1923 if { { ac_try="$ac_link"
1925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_link") 2>conftest.err
1932 if test -s conftest.err; then
1933 grep -v '^ *+' conftest.err >conftest.er1
1934 cat conftest.er1 >&5
1935 mv -f conftest.er1 conftest.err
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } && {
1939 test -z "$ac_fc_werror_flag" ||
1940 test ! -s conftest.err
1941 } && test -s conftest$ac_exeext && {
1942 test "$cross_compiling" = yes ||
1943 $as_test_x conftest$ac_exeext
1947 $as_echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.$ac_ext >&5
1952 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1953 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1954 # interfere with the next link command; also delete a directory that is
1955 # left behind by Apple's compiler. We do this before executing the actions.
1956 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1957 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1960 } # ac_fn_fc_try_link
1962 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1963 # -------------------------------------------
1964 # Tests whether TYPE exists after having included INCLUDES, setting cache
1965 # variable VAR accordingly.
1966 ac_fn_c_check_type ()
1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1970 $as_echo_n "checking for $2... " >&6; }
1971 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1972 $as_echo_n "(cached) " >&6
1975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1987 if ac_fn_c_try_compile "$LINENO"; then :
1988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
2000 if ac_fn_c_try_compile "$LINENO"; then :
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 } # ac_fn_c_check_type
2016 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2017 # --------------------------------------------
2018 # Tries to find the compile-time value of EXPR in a program that includes
2019 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2021 ac_fn_c_compute_int ()
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 if test "$cross_compiling" = yes; then
2025 # Depending upon the size, compute the lo and hi bounds.
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2032 static int test_array [1 - 2 * !(($2) >= 0)];
2039 if ac_fn_c_try_compile "$LINENO"; then :
2042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h. */
2048 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2055 if ac_fn_c_try_compile "$LINENO"; then :
2056 ac_hi=$ac_mid; break
2058 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2059 if test $ac_lo -le $ac_mid; then
2063 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2074 static int test_array [1 - 2 * !(($2) < 0)];
2081 if ac_fn_c_try_compile "$LINENO"; then :
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2090 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2097 if ac_fn_c_try_compile "$LINENO"; then :
2098 ac_lo=$ac_mid; break
2100 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2101 if test $ac_mid -le $ac_hi; then
2105 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 # Binary search between lo and hi bounds.
2116 while test "x$ac_lo" != "x$ac_hi"; do
2117 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2124 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2131 if ac_fn_c_try_compile "$LINENO"; then :
2134 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2139 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2146 static long int longval () { return $2; }
2147 static unsigned long int ulongval () { return $2; }
2154 FILE *f = fopen ("conftest.val", "w");
2159 long int i = longval ();
2162 fprintf (f, "%ld", i);
2166 unsigned long int i = ulongval ();
2169 fprintf (f, "%lu", i);
2171 /* Do not output a trailing newline, as this causes \r\n confusion
2172 on some platforms. */
2173 return ferror (f) || fclose (f) != 0;
2179 if ac_fn_c_try_run "$LINENO"; then :
2180 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2185 conftest.$ac_objext conftest.beam conftest.$ac_ext
2189 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2192 } # ac_fn_c_compute_int
2194 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2195 # ----------------------------------------------------
2196 # Tries to find if the field MEMBER exists in type AGGR, after including
2197 # INCLUDES, setting cache variable VAR accordingly.
2198 ac_fn_c_check_member ()
2200 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2202 $as_echo_n "checking for $2.$3... " >&6; }
2203 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2204 $as_echo_n "(cached) " >&6
2206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h. */
2219 if ac_fn_c_try_compile "$LINENO"; then :
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2229 if (sizeof ac_aggr.$3)
2235 if ac_fn_c_try_compile "$LINENO"; then :
2240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2246 $as_echo "$ac_res" >&6; }
2247 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2249 } # ac_fn_c_check_member
2250 cat >config.log <<_ACEOF
2251 This file contains any messages produced by compilers while
2252 running configure, to aid debugging if configure makes a mistake.
2254 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2255 generated by GNU Autoconf 2.64. Invocation command line was
2267 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2268 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2269 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2270 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2271 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2273 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2274 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2276 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2277 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2278 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2279 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2280 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2281 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2282 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir=.
2291 $as_echo "PATH: $as_dir"
2307 # Keep a trace of the command line.
2308 # Strip out --no-create and --no-recursion so they do not pile up.
2309 # Strip out --silent because we don't want to record it for future runs.
2310 # Also quote any args containing shell meta-characters.
2311 # Make two passes to allow for proper duplicate-argument suppression.
2315 ac_must_keep_next=false
2321 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2323 | -silent | --silent | --silen | --sile | --sil)
2326 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2329 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2331 as_fn_append ac_configure_args1 " '$ac_arg'"
2332 if test $ac_must_keep_next = true; then
2333 ac_must_keep_next=false # Got value, back to normal.
2336 *=* | --config-cache | -C | -disable-* | --disable-* \
2337 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2338 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2339 | -with-* | --with-* | -without-* | --without-* | --x)
2340 case "$ac_configure_args0 " in
2341 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2344 -* ) ac_must_keep_next=true ;;
2347 as_fn_append ac_configure_args " '$ac_arg'"
2352 { ac_configure_args0=; unset ac_configure_args0;}
2353 { ac_configure_args1=; unset ac_configure_args1;}
2355 # When interrupted or exit'd, cleanup temporary files, and complete
2356 # config.log. We remove comments because anyway the quotes in there
2357 # would cause problems or look ugly.
2358 # WARNING: Use '\'' to represent an apostrophe within the trap.
2359 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2360 trap 'exit_status=$?
2361 # Save into config.log some information that might help in debugging.
2366 ## ---------------- ##
2367 ## Cache variables. ##
2368 ## ---------------- ##
2371 # The following way of writing the cache mishandles newlines in values,
2373 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2374 eval ac_val=\$$ac_var
2378 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2379 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2382 _ | IFS | as_nl) ;; #(
2383 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2384 *) { eval $ac_var=; unset $ac_var;} ;;
2389 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2390 *${as_nl}ac_space=\ *)
2392 "s/'\''/'\''\\\\'\'''\''/g;
2393 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2404 ## ----------------- ##
2405 ## Output variables. ##
2406 ## ----------------- ##
2409 for ac_var in $ac_subst_vars
2411 eval ac_val=\$$ac_var
2413 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415 $as_echo "$ac_var='\''$ac_val'\''"
2419 if test -n "$ac_subst_files"; then
2421 ## ------------------- ##
2422 ## File substitutions. ##
2423 ## ------------------- ##
2426 for ac_var in $ac_subst_files
2428 eval ac_val=\$$ac_var
2430 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2432 $as_echo "$ac_var='\''$ac_val'\''"
2437 if test -s confdefs.h; then
2447 test "$ac_signal" != 0 &&
2448 $as_echo "$as_me: caught signal $ac_signal"
2449 $as_echo "$as_me: exit $exit_status"
2451 rm -f core *.core core.conftest.* &&
2452 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2455 for ac_signal in 1 2 13 15; do
2456 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2460 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2461 rm -f -r conftest* confdefs.h
2463 $as_echo "/* confdefs.h */" > confdefs.h
2465 # Predefined preprocessor variables.
2467 cat >>confdefs.h <<_ACEOF
2468 #define PACKAGE_NAME "$PACKAGE_NAME"
2471 cat >>confdefs.h <<_ACEOF
2472 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2475 cat >>confdefs.h <<_ACEOF
2476 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2479 cat >>confdefs.h <<_ACEOF
2480 #define PACKAGE_STRING "$PACKAGE_STRING"
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2487 cat >>confdefs.h <<_ACEOF
2488 #define PACKAGE_URL "$PACKAGE_URL"
2492 # Let the site file select an alternate cache file if it wants to.
2493 # Prefer an explicitly selected file to automatically selected ones.
2496 if test -n "$CONFIG_SITE"; then
2497 ac_site_file1=$CONFIG_SITE
2498 elif test "x$prefix" != xNONE; then
2499 ac_site_file1=$prefix/share/config.site
2500 ac_site_file2=$prefix/etc/config.site
2502 ac_site_file1=$ac_default_prefix/share/config.site
2503 ac_site_file2=$ac_default_prefix/etc/config.site
2505 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2507 test "x$ac_site_file" = xNONE && continue
2508 if test -r "$ac_site_file"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2510 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2511 sed 's/^/| /' "$ac_site_file" >&5
2516 if test -r "$cache_file"; then
2517 # Some versions of bash will fail to source /dev/null (special
2518 # files actually), so we avoid doing that.
2519 if test -f "$cache_file"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2521 $as_echo "$as_me: loading cache $cache_file" >&6;}
2523 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2524 *) . "./$cache_file";;
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2529 $as_echo "$as_me: creating cache $cache_file" >&6;}
2533 as_fn_append ac_header_list " unistd.h"
2534 as_fn_append ac_header_list " sys/time.h"
2535 as_fn_append ac_header_list " sys/times.h"
2536 as_fn_append ac_header_list " sys/resource.h"
2537 as_fn_append ac_header_list " sys/types.h"
2538 as_fn_append ac_header_list " sys/stat.h"
2539 as_fn_append ac_header_list " sys/wait.h"
2540 as_fn_append ac_header_list " floatingpoint.h"
2541 as_fn_append ac_header_list " ieeefp.h"
2542 as_fn_append ac_header_list " fenv.h"
2543 as_fn_append ac_header_list " fptrap.h"
2544 as_fn_append ac_header_list " pwd.h"
2545 as_fn_append ac_header_list " complex.h"
2546 as_fn_append ac_func_list " getrusage"
2547 as_fn_append ac_func_list " times"
2548 as_fn_append ac_func_list " mkstemp"
2549 as_fn_append ac_func_list " strtof"
2550 as_fn_append ac_func_list " strtold"
2551 as_fn_append ac_func_list " snprintf"
2552 as_fn_append ac_func_list " ftruncate"
2553 as_fn_append ac_func_list " chsize"
2554 as_fn_append ac_func_list " chdir"
2555 as_fn_append ac_func_list " getlogin"
2556 as_fn_append ac_func_list " gethostname"
2557 as_fn_append ac_func_list " kill"
2558 as_fn_append ac_func_list " link"
2559 as_fn_append ac_func_list " symlink"
2560 as_fn_append ac_func_list " sleep"
2561 as_fn_append ac_func_list " ttyname"
2562 as_fn_append ac_func_list " alarm"
2563 as_fn_append ac_func_list " access"
2564 as_fn_append ac_func_list " fork"
2565 as_fn_append ac_func_list " execl"
2566 as_fn_append ac_func_list " wait"
2567 as_fn_append ac_func_list " setmode"
2568 as_fn_append ac_func_list " execve"
2569 as_fn_append ac_func_list " pipe"
2570 as_fn_append ac_func_list " dup2"
2571 as_fn_append ac_func_list " close"
2572 as_fn_append ac_func_list " strcasestr"
2573 as_fn_append ac_func_list " getrlimit"
2574 as_fn_append ac_func_list " gettimeofday"
2575 as_fn_append ac_func_list " stat"
2576 as_fn_append ac_func_list " fstat"
2577 as_fn_append ac_func_list " lstat"
2578 as_fn_append ac_func_list " getpwuid"
2579 as_fn_append ac_func_list " vsnprintf"
2580 as_fn_append ac_func_list " dup"
2581 as_fn_append ac_func_list " getcwd"
2582 as_fn_append ac_func_list " localtime_r"
2583 as_fn_append ac_func_list " gmtime_r"
2584 as_fn_append ac_func_list " strerror_r"
2585 as_fn_append ac_func_list " getpwuid_r"
2586 as_fn_append ac_func_list " ttyname_r"
2587 as_fn_append ac_func_list " clock_gettime"
2588 as_fn_append ac_func_list " readlink"
2589 as_fn_append ac_func_list " getgid"
2590 as_fn_append ac_func_list " getpid"
2591 as_fn_append ac_func_list " getppid"
2592 as_fn_append ac_func_list " getuid"
2593 as_fn_append ac_func_list " geteuid"
2594 # Check that the precious variables saved in the cache have kept the same
2596 ac_cache_corrupted=false
2597 for ac_var in $ac_precious_vars; do
2598 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2599 eval ac_new_set=\$ac_env_${ac_var}_set
2600 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2601 eval ac_new_val=\$ac_env_${ac_var}_value
2602 case $ac_old_set,$ac_new_set in
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2605 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2606 ac_cache_corrupted=: ;;
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2609 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2610 ac_cache_corrupted=: ;;
2613 if test "x$ac_old_val" != "x$ac_new_val"; then
2614 # differences in whitespace do not lead to failure.
2615 ac_old_val_w=`echo x $ac_old_val`
2616 ac_new_val_w=`echo x $ac_new_val`
2617 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2619 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2620 ac_cache_corrupted=:
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2623 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2624 eval $ac_var=\$ac_old_val
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2627 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2629 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2632 # Pass precious variables to config.status.
2633 if test "$ac_new_set" = set; then
2635 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2636 *) ac_arg=$ac_var=$ac_new_val ;;
2638 case " $ac_configure_args " in
2639 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2640 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2644 if $ac_cache_corrupted; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2648 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2649 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2651 ## -------------------- ##
2652 ## Main body of script. ##
2653 ## -------------------- ##
2656 ac_cpp='$CPP $CPPFLAGS'
2657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2665 ac_config_headers="$ac_config_headers config.h"
2668 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2669 for ac_t in install-sh install.sh shtool; do
2670 if test -f "$ac_dir/$ac_t"; then
2672 ac_install_sh="$ac_aux_dir/$ac_t -c"
2677 if test -z "$ac_aux_dir"; then
2678 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2681 # These three variables are undocumented and unsupported,
2682 # and are intended to be withdrawn in a future Autoconf release.
2683 # They can cause serious problems if a builder's source tree is in a directory
2684 # whose full name contains unusual characters.
2685 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2686 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2687 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2690 # Make sure we can run config.sub.
2691 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2692 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2695 $as_echo_n "checking build system type... " >&6; }
2696 if test "${ac_cv_build+set}" = set; then :
2697 $as_echo_n "(cached) " >&6
2699 ac_build_alias=$build_alias
2700 test "x$ac_build_alias" = x &&
2701 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2702 test "x$ac_build_alias" = x &&
2703 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2704 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2705 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2709 $as_echo "$ac_cv_build" >&6; }
2710 case $ac_cv_build in
2712 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2715 ac_save_IFS=$IFS; IFS='-'
2721 # Remember, the first character of IFS is used to create $*,
2722 # except with old shells:
2725 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2728 case ${build_alias} in
2729 "") build_noncanonical=${build} ;;
2730 *) build_noncanonical=${build_alias} ;;
2733 case ${host_alias} in
2734 "") host_noncanonical=${build_noncanonical} ;;
2735 *) host_noncanonical=${host_alias} ;;
2738 case ${target_alias} in
2739 "") target_noncanonical=${host_noncanonical} ;;
2740 *) target_noncanonical=${target_alias} ;;
2744 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2745 # have matching libraries, they should use host libraries: Makefile.tpl
2746 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2747 # However, they still use the build modules, because the corresponding
2748 # host modules (e.g. bison) are only built for the host when bootstrap
2750 # - build_subdir is where we find build modules, and never changes.
2751 # - build_libsubdir is where we find build libraries, and can be overridden.
2753 # Prefix 'build-' so this never conflicts with target_subdir.
2754 build_subdir="build-${build_noncanonical}"
2756 # Check whether --with-build-libsubdir was given.
2757 if test "${with_build_libsubdir+set}" = set; then :
2758 withval=$with_build_libsubdir; build_libsubdir="$withval"
2760 build_libsubdir="$build_subdir"
2763 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2764 if ( test $srcdir = . && test -d gcc ) \
2765 || test -d $srcdir/../host-${host_noncanonical}; then
2766 host_subdir="host-${host_noncanonical}"
2771 target_subdir=${target_noncanonical}
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2779 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2780 # Check whether --enable-version-specific-runtime-libs was given.
2781 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2782 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2783 yes) version_specific_libs=yes ;;
2784 no) version_specific_libs=no ;;
2785 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2788 version_specific_libs=no
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2792 $as_echo "$version_specific_libs" >&6; }
2794 # Build with intermodule optimisations
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2796 $as_echo_n "checking for --enable-intermodule... " >&6; }
2797 # Check whether --enable-intermodule was given.
2798 if test "${enable_intermodule+set}" = set; then :
2799 enableval=$enable_intermodule; case "$enable_intermodule" in
2800 yes) onestep="-onestep";;
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2808 $as_echo "$enable_intermodule" >&6; }
2809 if test x$onestep = x-onestep; then
2819 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2821 # You will slowly go insane if you do not grok the following fact: when
2822 # building this library, the top-level /target/ becomes the library's /host/.
2824 # configure then causes --target to default to --host, exactly like any
2825 # other package using autoconf. Therefore, 'target' and 'host' will
2826 # always be the same. This makes sense both for native and cross compilers
2827 # just think about it for a little while. :-)
2829 # Also, if this library is being configured as part of a cross compiler, the
2830 # top-level configure script will pass the "real" host as $with_cross_host.
2832 # Do not delete or change the following two lines. For why, see
2833 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2835 $as_echo_n "checking host system type... " >&6; }
2836 if test "${ac_cv_host+set}" = set; then :
2837 $as_echo_n "(cached) " >&6
2839 if test "x$host_alias" = x; then
2840 ac_cv_host=$ac_cv_build
2842 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2843 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2848 $as_echo "$ac_cv_host" >&6; }
2851 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2854 ac_save_IFS=$IFS; IFS='-'
2860 # Remember, the first character of IFS is used to create $*,
2861 # except with old shells:
2864 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2868 $as_echo_n "checking target system type... " >&6; }
2869 if test "${ac_cv_target+set}" = set; then :
2870 $as_echo_n "(cached) " >&6
2872 if test "x$target_alias" = x; then
2873 ac_cv_target=$ac_cv_host
2875 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2876 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2881 $as_echo "$ac_cv_target" >&6; }
2882 case $ac_cv_target in
2884 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2886 target=$ac_cv_target
2887 ac_save_IFS=$IFS; IFS='-'
2893 # Remember, the first character of IFS is used to create $*,
2894 # except with old shells:
2897 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2900 # The aliases save the names the user supplied, while $host etc.
2901 # will get canonicalized.
2902 test -n "$target_alias" &&
2903 test "$program_prefix$program_suffix$program_transform_name" = \
2905 program_prefix=${target_alias}-
2910 target_alias=${target_alias-$host_alias}
2913 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2914 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2915 # 1.9.6: minimum required version
2916 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2917 # of other PACKAGE_* variables will, however, and there's nothing
2918 # we can do about that; they come from AC_INIT).
2919 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2920 # file in the top srcdir, etc, etc), so stop complaining.
2921 # no-dist: we don't want 'dist' and related rules.
2922 # -Wall: turns on all automake warnings...
2923 # -Wno-portability: ...except this one, since GNU make is required.
2924 am__api_version='1.11'
2926 # Find a good install program. We prefer a C program (faster),
2927 # so one script is as good as another. But avoid the broken or
2928 # incompatible versions:
2929 # SysV /etc/install, /usr/sbin/install
2930 # SunOS /usr/etc/install
2931 # IRIX /sbin/install
2933 # AmigaOS /C/install, which installs bootblocks on floppy discs
2934 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2935 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2936 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2937 # OS/2's system install, which has a completely different semantic
2938 # ./install, which can be erroneously created by make from ./install.sh.
2939 # Reject install programs that cannot install multiple files.
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2941 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2942 if test -z "$INSTALL"; then
2943 if test "${ac_cv_path_install+set}" = set; then :
2944 $as_echo_n "(cached) " >&6
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 # Account for people who put trailing slashes in PATH elements.
2952 case $as_dir/ in #((
2953 ./ | .// | /[cC]/* | \
2954 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2955 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2958 # OSF1 and SCO ODT 3.0 have their own names for install.
2959 # Don't use installbsd from OSF since it installs stuff as root
2961 for ac_prog in ginstall scoinst install; do
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2964 if test $ac_prog = install &&
2965 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2966 # AIX install. It has an incompatible calling convention.
2968 elif test $ac_prog = install &&
2969 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2970 # program-specific install script used by HP pwplus--don't use.
2973 rm -rf conftest.one conftest.two conftest.dir
2974 echo one > conftest.one
2975 echo two > conftest.two
2977 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2978 test -s conftest.one && test -s conftest.two &&
2979 test -s conftest.dir/conftest.one &&
2980 test -s conftest.dir/conftest.two
2982 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2995 rm -rf conftest.one conftest.two conftest.dir
2998 if test "${ac_cv_path_install+set}" = set; then
2999 INSTALL=$ac_cv_path_install
3001 # As a last resort, use the slow shell script. Don't cache a
3002 # value for INSTALL within a source directory, because that will
3003 # break other packages using the cache if that directory is
3004 # removed, or if the value is a relative name.
3005 INSTALL=$ac_install_sh
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3009 $as_echo "$INSTALL" >&6; }
3011 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3012 # It thinks the first close brace ends the variable substitution.
3013 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3015 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3017 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3020 $as_echo_n "checking whether build environment is sane... " >&6; }
3023 echo timestamp > conftest.file
3024 # Reject unsafe characters in $srcdir or the absolute working directory
3025 # name. Accept space and tab only in the latter.
3029 *[\\\"\#\$\&\'\`$am_lf]*)
3030 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3033 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3034 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3037 # Do `set' in a subshell so we don't clobber the current shell's
3038 # arguments. Must try -L first in case configure is actually a
3039 # symlink; some systems play weird games with the mod time of symlinks
3040 # (eg FreeBSD returns the mod time of the symlink's containing
3043 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3044 if test "$*" = "X"; then
3046 set X `ls -t "$srcdir/configure" conftest.file`
3049 if test "$*" != "X $srcdir/configure conftest.file" \
3050 && test "$*" != "X conftest.file $srcdir/configure"; then
3052 # If neither matched, then we have a broken ls. This can happen
3053 # if, for instance, CONFIG_SHELL is bash and it inherits a
3054 # broken ls alias from the environment. This has actually
3055 # happened. Such a system could not be considered "sane".
3056 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3057 alias in your environment" "$LINENO" 5
3060 test "$2" = conftest.file
3066 as_fn_error "newly created file is older than distributed files!
3067 Check your system clock" "$LINENO" 5
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3070 $as_echo "yes" >&6; }
3071 test "$program_prefix" != NONE &&
3072 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3073 # Use a double $ so make ignores it.
3074 test "$program_suffix" != NONE &&
3075 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3076 # Double any \ or $.
3077 # By default was `s,x,x', remove it if useless.
3078 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3079 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3081 # expand $ac_aux_dir to an absolute path
3082 am_aux_dir=`cd $ac_aux_dir && pwd`
3084 if test x"${MISSING+set}" != xset; then
3087 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3089 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3092 # Use eval to expand $SHELL
3093 if eval "$MISSING --run true"; then
3094 am_missing_run="$MISSING --run "
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3098 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3101 if test x"${install_sh}" != xset; then
3104 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3106 install_sh="\${SHELL} $am_aux_dir/install-sh"
3110 # Installed binaries are usually stripped using `strip' when the user
3111 # run `make install-strip'. However `strip' might not be the right
3112 # tool to use in cross-compilation environments, therefore Automake
3113 # will honor the `STRIP' environment variable to overrule this program.
3114 if test "$cross_compiling" != no; then
3115 if test -n "$ac_tool_prefix"; then
3116 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3117 set dummy ${ac_tool_prefix}strip; ac_word=$2
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3119 $as_echo_n "checking for $ac_word... " >&6; }
3120 if test "${ac_cv_prog_STRIP+set}" = set; then :
3121 $as_echo_n "(cached) " >&6
3123 if test -n "$STRIP"; then
3124 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 test -z "$as_dir" && as_dir=.
3131 for ac_exec_ext in '' $ac_executable_extensions; do
3132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3133 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 STRIP=$ac_cv_prog_STRIP
3144 if test -n "$STRIP"; then
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3146 $as_echo "$STRIP" >&6; }
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149 $as_echo "no" >&6; }
3154 if test -z "$ac_cv_prog_STRIP"; then
3156 # Extract the first word of "strip", so it can be a program name with args.
3157 set dummy strip; ac_word=$2
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 $as_echo_n "checking for $ac_word... " >&6; }
3160 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3161 $as_echo_n "(cached) " >&6
3163 if test -n "$ac_ct_STRIP"; then
3164 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170 test -z "$as_dir" && as_dir=.
3171 for ac_exec_ext in '' $ac_executable_extensions; do
3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 ac_cv_prog_ac_ct_STRIP="strip"
3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3184 if test -n "$ac_ct_STRIP"; then
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3186 $as_echo "$ac_ct_STRIP" >&6; }
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3192 if test "x$ac_ct_STRIP" = x; then
3195 case $cross_compiling:$ac_tool_warned in
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3199 ac_tool_warned=yes ;;
3204 STRIP="$ac_cv_prog_STRIP"
3208 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3211 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3212 if test -z "$MKDIR_P"; then
3213 if test "${ac_cv_path_mkdir+set}" = set; then :
3214 $as_echo_n "(cached) " >&6
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3220 test -z "$as_dir" && as_dir=.
3221 for ac_prog in mkdir gmkdir; do
3222 for ac_exec_ext in '' $ac_executable_extensions; do
3223 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3224 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3225 'mkdir (GNU coreutils) '* | \
3226 'mkdir (coreutils) '* | \
3227 'mkdir (fileutils) '4.1*)
3228 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3238 if test "${ac_cv_path_mkdir+set}" = set; then
3239 MKDIR_P="$ac_cv_path_mkdir -p"
3241 # As a last resort, use the slow shell script. Don't cache a
3242 # value for MKDIR_P within a source directory, because that will
3243 # break other packages using the cache if that directory is
3244 # removed, or if the value is a relative name.
3245 test -d ./--version && rmdir ./--version
3246 MKDIR_P="$ac_install_sh -d"
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3250 $as_echo "$MKDIR_P" >&6; }
3254 [\\/$]* | ?:[\\/]*) ;;
3255 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3258 for ac_prog in gawk mawk nawk awk
3260 # Extract the first word of "$ac_prog", so it can be a program name with args.
3261 set dummy $ac_prog; ac_word=$2
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263 $as_echo_n "checking for $ac_word... " >&6; }
3264 if test "${ac_cv_prog_AWK+set}" = set; then :
3265 $as_echo_n "(cached) " >&6
3267 if test -n "$AWK"; then
3268 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 test -z "$as_dir" && as_dir=.
3275 for ac_exec_ext in '' $ac_executable_extensions; do
3276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3277 ac_cv_prog_AWK="$ac_prog"
3278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 if test -n "$AWK"; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3290 $as_echo "$AWK" >&6; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3297 test -n "$AWK" && break
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3301 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3303 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3304 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3305 $as_echo_n "(cached) " >&6
3307 cat >conftest.make <<\_ACEOF
3310 @echo '@@@%%%=$(MAKE)=@@@%%%'
3312 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3313 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3315 eval ac_cv_prog_make_${ac_make}_set=yes;;
3317 eval ac_cv_prog_make_${ac_make}_set=no;;
3321 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3323 $as_echo "yes" >&6; }
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327 $as_echo "no" >&6; }
3328 SET_MAKE="MAKE=${MAKE-make}"
3331 rm -rf .tst 2>/dev/null
3332 mkdir .tst 2>/dev/null
3333 if test -d .tst; then
3338 rmdir .tst 2>/dev/null
3340 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3341 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3342 # is not polluted with repeated "-I."
3343 am__isrc=' -I$(srcdir)'
3344 # test to see if srcdir already configured
3345 if test -f $srcdir/config.status; then
3346 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3350 # test whether we have cygpath
3351 if test -z "$CYGPATH_W"; then
3352 if (cygpath --version) >/dev/null 2>/dev/null; then
3353 CYGPATH_W='cygpath -w'
3360 # Define the identity of the package.
3361 PACKAGE='libgfortran'
3365 # Some tools Automake needs.
3367 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3370 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3373 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3376 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3379 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3381 # We need awk for the "check" target. The system "awk" is bad on
3383 # Always define AMTAR for backward compatibility.
3385 AMTAR=${AMTAR-"${am_missing_run}tar"}
3387 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3396 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3397 # Check whether --enable-maintainer-mode was given.
3398 if test "${enable_maintainer_mode+set}" = set; then :
3399 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3401 USE_MAINTAINER_MODE=no
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3405 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3406 if test $USE_MAINTAINER_MODE = yes; then
3407 MAINTAINER_MODE_TRUE=
3408 MAINTAINER_MODE_FALSE='#'
3410 MAINTAINER_MODE_TRUE='#'
3411 MAINTAINER_MODE_FALSE=
3414 MAINT=$MAINTAINER_MODE_TRUE
3417 # Default to --enable-multilib
3418 # Check whether --enable-multilib was given.
3419 if test "${enable_multilib+set}" = set; then :
3420 enableval=$enable_multilib; case "$enableval" in
3421 yes) multilib=yes ;;
3423 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3430 # We may get other options which we leave undocumented:
3431 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3432 # See config-ml.in if you want the gory details.
3434 if test "$srcdir" = "."; then
3435 if test "$with_target_subdir" != "."; then
3436 multi_basedir="$srcdir/$with_multisrctop../.."
3438 multi_basedir="$srcdir/$with_multisrctop.."
3441 multi_basedir="$srcdir/.."
3445 # Even if the default multilib is not a cross compilation,
3446 # it may be that some of the other multilibs are.
3447 if test $cross_compiling = no && test $multilib = yes \
3448 && test "x${with_multisubdir}" != x ; then
3449 cross_compiling=maybe
3452 ac_config_commands="$ac_config_commands default-1"
3455 # Handy for debugging:
3456 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3458 # Are we being configured with some form of cross compiler?
3459 # NB: We don't actually need to know this just now, but when, say, a test
3460 # suite is included, we'll have to know.
3461 if test "$build" != "$host"; then
3462 LIBGFOR_IS_NATIVE=false
3465 LIBGFOR_IS_NATIVE=true
3468 DEPDIR="${am__leading_dot}deps"
3470 ac_config_commands="$ac_config_commands depfiles"
3473 am_make=${MAKE-make}
3474 cat > confinc << 'END'
3476 @echo this is the am__doit target
3479 # If we don't find an include directive, just comment out the code.
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3481 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3485 # First try GNU make style include.
3486 echo "include confinc" > confmf
3487 # Ignore all kinds of additional output from `make'.
3488 case `$am_make -s -f confmf 2> /dev/null` in #(
3489 *the\ am__doit\ target*)
3495 # Now try BSD make style include.
3496 if test "$am__include" = "#"; then
3497 echo '.include "confinc"' > confmf
3498 case `$am_make -s -f confmf 2> /dev/null` in #(
3499 *the\ am__doit\ target*)
3500 am__include=.include
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3509 $as_echo "$_am_result" >&6; }
3510 rm -f confinc confmf
3512 # Check whether --enable-dependency-tracking was given.
3513 if test "${enable_dependency_tracking+set}" = set; then :
3514 enableval=$enable_dependency_tracking;
3517 if test "x$enable_dependency_tracking" != xno; then
3518 am_depcomp="$ac_aux_dir/depcomp"
3521 if test "x$enable_dependency_tracking" != xno; then
3531 ac_cpp='$CPP $CPPFLAGS'
3532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535 if test -n "$ac_tool_prefix"; then
3536 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3537 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3539 $as_echo_n "checking for $ac_word... " >&6; }
3540 if test "${ac_cv_prog_CC+set}" = set; then :
3541 $as_echo_n "(cached) " >&6
3543 if test -n "$CC"; then
3544 ac_cv_prog_CC="$CC" # Let the user override the test.
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 if test -n "$CC"; then
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3566 $as_echo "$CC" >&6; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3574 if test -z "$ac_cv_prog_CC"; then
3576 # Extract the first word of "gcc", so it can be a program name with args.
3577 set dummy gcc; ac_word=$2
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3579 $as_echo_n "checking for $ac_word... " >&6; }
3580 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3581 $as_echo_n "(cached) " >&6
3583 if test -n "$ac_ct_CC"; then
3584 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir=.
3591 for ac_exec_ext in '' $ac_executable_extensions; do
3592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3593 ac_cv_prog_ac_ct_CC="gcc"
3594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3604 if test -n "$ac_ct_CC"; then
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3606 $as_echo "$ac_ct_CC" >&6; }
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3609 $as_echo "no" >&6; }
3612 if test "x$ac_ct_CC" = x; then
3615 case $cross_compiling:$ac_tool_warned in
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3619 ac_tool_warned=yes ;;
3627 if test -z "$CC"; then
3628 if test -n "$ac_tool_prefix"; then
3629 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3630 set dummy ${ac_tool_prefix}cc; ac_word=$2
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3632 $as_echo_n "checking for $ac_word... " >&6; }
3633 if test "${ac_cv_prog_CC+set}" = set; then :
3634 $as_echo_n "(cached) " >&6
3636 if test -n "$CC"; then
3637 ac_cv_prog_CC="$CC" # Let the user override the test.
3639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 test -z "$as_dir" && as_dir=.
3644 for ac_exec_ext in '' $ac_executable_extensions; do
3645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3646 ac_cv_prog_CC="${ac_tool_prefix}cc"
3647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3657 if test -n "$CC"; then
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3659 $as_echo "$CC" >&6; }
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3668 if test -z "$CC"; then
3669 # Extract the first word of "cc", so it can be a program name with args.
3670 set dummy cc; ac_word=$2
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672 $as_echo_n "checking for $ac_word... " >&6; }
3673 if test "${ac_cv_prog_CC+set}" = set; then :
3674 $as_echo_n "(cached) " >&6
3676 if test -n "$CC"; then
3677 ac_cv_prog_CC="$CC" # Let the user override the test.
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3687 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3688 ac_prog_rejected=yes
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 if test $ac_prog_rejected = yes; then
3700 # We found a bogon in the path, so make sure we never use it.
3701 set dummy $ac_cv_prog_CC
3703 if test $# != 0; then
3704 # We chose a different compiler from the bogus one.
3705 # However, it has the same basename, so the bogon will be chosen
3706 # first if we set CC to just the basename; use the full file name.
3708 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3714 if test -n "$CC"; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3716 $as_echo "$CC" >&6; }
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3724 if test -z "$CC"; then
3725 if test -n "$ac_tool_prefix"; then
3726 for ac_prog in cl.exe
3728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if test "${ac_cv_prog_CC+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC="$CC" # Let the user override the test.
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3742 test -z "$as_dir" && as_dir=.
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3745 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3765 test -n "$CC" && break
3768 if test -z "$CC"; then
3770 for ac_prog in cl.exe
3772 # Extract the first word of "$ac_prog", so it can be a program name with args.
3773 set dummy $ac_prog; ac_word=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3777 $as_echo_n "(cached) " >&6
3779 if test -n "$ac_ct_CC"; then
3780 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 test -z "$as_dir" && as_dir=.
3787 for ac_exec_ext in '' $ac_executable_extensions; do
3788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3789 ac_cv_prog_ac_ct_CC="$ac_prog"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3800 if test -n "$ac_ct_CC"; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3802 $as_echo "$ac_ct_CC" >&6; }
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3809 test -n "$ac_ct_CC" && break
3812 if test "x$ac_ct_CC" = x; then
3815 case $cross_compiling:$ac_tool_warned in
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3819 ac_tool_warned=yes ;;
3828 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3830 as_fn_error "no acceptable C compiler found in \$PATH
3831 See \`config.log' for more details." "$LINENO" 5; }
3833 # Provide some information about the compiler.
3834 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3837 for ac_option in --version -v -V -qversion; do
3838 { { ac_try="$ac_compiler $ac_option >&5"
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3844 $as_echo "$ac_try_echo"; } >&5
3845 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3847 if test -s conftest.err; then
3849 ... rest of stderr output deleted ...
3850 10q' conftest.err >conftest.er1
3851 cat conftest.er1 >&5
3852 rm -f conftest.er1 conftest.err
3854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855 test $ac_status = 0; }
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3870 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3871 (eval $ac_link) 2>&5
3873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874 test $ac_status = 0; }; then :
3879 if test x$gcc_no_link = xyes; then
3880 # Setting cross_compile will disable run tests; it will
3881 # also disable AC_CHECK_FILE but that's generally
3882 # correct if we can't link.
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3897 ac_clean_files_save=$ac_clean_files
3898 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3899 # Try to create an executable without -o first, disregard a.out.
3900 # It will help us diagnose broken compilers, and finding out an intuition
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3903 $as_echo_n "checking for C compiler default output file name... " >&6; }
3904 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3906 # The possible output files:
3907 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3910 for ac_file in $ac_files
3913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3914 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3919 if { { ac_try="$ac_link_default"
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926 (eval "$ac_link_default") 2>&5
3928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3929 test $ac_status = 0; }; then :
3930 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3931 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3932 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3933 # so that the user can short-circuit this test for compilers unknown to
3935 for ac_file in $ac_files ''
3937 test -f "$ac_file" || continue
3939 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3942 # We found the default executable, but exeext='' is most
3946 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3948 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3950 # We set ac_cv_exeext here because the later test for it is not
3951 # safe: cross compilers may not add the suffix if given an `-o'
3952 # argument, so we may need to know it at that point already.
3953 # Even if this section looks crufty: it has the advantage of
3960 test "$ac_cv_exeext" = no && ac_cv_exeext=
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3966 $as_echo "$ac_file" >&6; }
3967 if test -z "$ac_file"; then :
3968 $as_echo "$as_me: failed program was:" >&5
3969 sed 's/^/| /' conftest.$ac_ext >&5
3971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 { as_fn_set_status 77
3974 as_fn_error "C compiler cannot create executables
3975 See \`config.log' for more details." "$LINENO" 5; }; }
3977 ac_exeext=$ac_cv_exeext
3979 # Check that the compiler produces executables we can run. If not, either
3980 # the compiler is broken, or we cross compile.
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3982 $as_echo_n "checking whether the C compiler works... " >&6; }
3983 # If not cross compiling, check that we can run a simple program.
3984 if test "$cross_compiling" != yes; then
3985 if { ac_try='./$ac_file'
3986 { { case "(($ac_try" in
3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991 $as_echo "$ac_try_echo"; } >&5
3992 (eval "$ac_try") 2>&5
3994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3995 test $ac_status = 0; }; }; then
3998 if test "$cross_compiling" = maybe; then
4001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4003 as_fn_error "cannot run C compiled programs.
4004 If you meant to cross compile, use \`--host'.
4005 See \`config.log' for more details." "$LINENO" 5; }
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4010 $as_echo "yes" >&6; }
4012 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4013 ac_clean_files=$ac_clean_files_save
4014 # Check that the compiler produces executables we can run. If not, either
4015 # the compiler is broken, or we cross compile.
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4017 $as_echo_n "checking whether we are cross compiling... " >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4019 $as_echo "$cross_compiling" >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4022 $as_echo_n "checking for suffix of executables... " >&6; }
4023 if { { ac_try="$ac_link"
4025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4026 *) ac_try_echo=$ac_try;;
4028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4029 $as_echo "$ac_try_echo"; } >&5
4030 (eval "$ac_link") 2>&5
4032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4033 test $ac_status = 0; }; then :
4034 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4035 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4036 # work properly (i.e., refer to `conftest.exe'), while it won't with
4038 for ac_file in conftest.exe conftest conftest.*; do
4039 test -f "$ac_file" || continue
4041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4042 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 as_fn_error "cannot compute suffix of executables: cannot compile and link
4051 See \`config.log' for more details." "$LINENO" 5; }
4053 rm -f conftest$ac_cv_exeext
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4055 $as_echo "$ac_cv_exeext" >&6; }
4057 rm -f conftest.$ac_ext
4058 EXEEXT=$ac_cv_exeext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4062 $as_echo_n "checking for suffix of object files... " >&6; }
4063 if test "${ac_cv_objext+set}" = set; then :
4064 $as_echo_n "(cached) " >&6
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4077 rm -f conftest.o conftest.obj
4078 if { { ac_try="$ac_compile"
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085 (eval "$ac_compile") 2>&5
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }; then :
4089 for ac_file in conftest.o conftest.obj conftest.*; do
4090 test -f "$ac_file" || continue;
4092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4093 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4098 $as_echo "$as_me: failed program was:" >&5
4099 sed 's/^/| /' conftest.$ac_ext >&5
4101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4103 as_fn_error "cannot compute suffix of object files: cannot compile
4104 See \`config.log' for more details." "$LINENO" 5; }
4106 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4109 $as_echo "$ac_cv_objext" >&6; }
4110 OBJEXT=$ac_cv_objext
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4113 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4114 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4115 $as_echo_n "(cached) " >&6
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4131 if ac_fn_c_try_compile "$LINENO"; then :
4136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4141 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4142 if test $ac_compiler_gnu = yes; then
4147 ac_test_CFLAGS=${CFLAGS+set}
4148 ac_save_CFLAGS=$CFLAGS
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4150 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4151 if test "${ac_cv_prog_cc_g+set}" = set; then :
4152 $as_echo_n "(cached) " >&6
4154 ac_save_c_werror_flag=$ac_c_werror_flag
4155 ac_c_werror_flag=yes
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4169 if ac_fn_c_try_compile "$LINENO"; then :
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4184 if ac_fn_c_try_compile "$LINENO"; then :
4187 ac_c_werror_flag=$ac_save_c_werror_flag
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4200 if ac_fn_c_try_compile "$LINENO"; then :
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4211 $as_echo "$ac_cv_prog_cc_g" >&6; }
4212 if test "$ac_test_CFLAGS" = set; then
4213 CFLAGS=$ac_save_CFLAGS
4214 elif test $ac_cv_prog_cc_g = yes; then
4215 if test "$GCC" = yes; then
4221 if test "$GCC" = yes; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4228 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4229 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4230 $as_echo_n "(cached) " >&6
4232 ac_cv_prog_cc_c89=no
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4238 #include <sys/types.h>
4239 #include <sys/stat.h>
4240 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4241 struct buf { int x; };
4242 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4243 static char *e (p, i)
4249 static char *f (char * (*g) (char **, int), char **p, ...)
4254 s = g (p, va_arg (v,int));
4259 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4260 function prototypes and stuff, but not '\xHH' hex character constants.
4261 These don't provoke an error unfortunately, instead are silently treated
4262 as 'x'. The following induces an error, until -std is added to get
4263 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4264 array size at least. It's necessary to write '\x00'==0 to get something
4265 that's true only with -std. */
4266 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4268 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4269 inside strings and character constants. */
4271 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4273 int test (int i, double x);
4274 struct s1 {int (*f) (int a);};
4275 struct s2 {int (*f) (double a);};
4276 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4282 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4287 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4288 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4290 CC="$ac_save_CC $ac_arg"
4291 if ac_fn_c_try_compile "$LINENO"; then :
4292 ac_cv_prog_cc_c89=$ac_arg
4294 rm -f core conftest.err conftest.$ac_objext
4295 test "x$ac_cv_prog_cc_c89" != "xno" && break
4297 rm -f conftest.$ac_ext
4302 case "x$ac_cv_prog_cc_c89" in
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4305 $as_echo "none needed" >&6; } ;;
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4308 $as_echo "unsupported" >&6; } ;;
4310 CC="$CC $ac_cv_prog_cc_c89"
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4312 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4314 if test "x$ac_cv_prog_cc_c89" != xno; then :
4319 ac_cpp='$CPP $CPPFLAGS'
4320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4324 depcc="$CC" am_compiler_list=
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4327 $as_echo_n "checking dependency style of $depcc... " >&6; }
4328 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4331 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4332 # We make a subdir and do the tests there. Otherwise we can end up
4333 # making bogus files that we don't know about and never remove. For
4334 # instance it was reported that on HP-UX the gcc test will end up
4335 # making a dummy file named `D' -- because `-MD' means `put the output
4338 # Copy depcomp to subdir because otherwise we won't find it if we're
4339 # using a relative directory.
4340 cp "$am_depcomp" conftest.dir
4342 # We will build objects and dependencies in a subdirectory because
4343 # it helps to detect inapplicable dependency modes. For instance
4344 # both Tru64's cc and ICC support -MD to output dependencies as a
4345 # side effect of compilation, but ICC will put the dependencies in
4346 # the current directory while Tru64 will put them in the object
4350 am_cv_CC_dependencies_compiler_type=none
4351 if test "$am_compiler_list" = ""; then
4352 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4355 case " $depcc " in #(
4356 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4359 for depmode in $am_compiler_list; do
4360 # Setup a source with many dependencies, because some compilers
4361 # like to wrap large dependency lists on column 80 (with \), and
4362 # we should not choose a depcomp mode which is confused by this.
4364 # We need to recreate these files for each test, as the compiler may
4365 # overwrite some of them when testing with obscure command lines.
4366 # This happens at least with the AIX C compiler.
4368 for i in 1 2 3 4 5 6; do
4369 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4370 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4371 # Solaris 8's {/usr,}/bin/sh.
4372 touch sub/conftst$i.h
4374 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4376 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4377 # mode. It turns out that the SunPro C++ compiler does not properly
4378 # handle `-M -o', and we need to detect this. Also, some Intel
4379 # versions had trouble with output in subdirs
4380 am__obj=sub/conftest.${OBJEXT-o}
4381 am__minus_obj="-o $am__obj"
4384 # This depmode causes a compiler race in universal mode.
4385 test "$am__universal" = false || continue
4388 # after this tag, mechanisms are not by side-effect, so they'll
4389 # only be used when explicitly requested
4390 if test "x$enable_dependency_tracking" = xyes; then
4396 msvisualcpp | msvcmsys)
4397 # This compiler won't grok `-c -o', but also, the minuso test has
4398 # not run yet. These depmodes are late enough in the game, and
4399 # so weak that their functioning should not be impacted.
4400 am__obj=conftest.${OBJEXT-o}
4405 if depmode=$depmode \
4406 source=sub/conftest.c object=$am__obj \
4407 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4408 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4409 >/dev/null 2>conftest.err &&
4410 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4411 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4412 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4413 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4414 # icc doesn't choke on unknown options, it will just issue warnings
4415 # or remarks (even with -Werror). So we grep stderr for any message
4416 # that says an option was ignored or not supported.
4417 # When given -MP, icc 7.0 and 7.1 complain thusly:
4418 # icc: Command line warning: ignoring option '-M'; no argument required
4419 # The diagnosis changed in icc 8.0:
4420 # icc: Command line remark: option '-MP' not supported
4421 if (grep 'ignoring option' conftest.err ||
4422 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4423 am_cv_CC_dependencies_compiler_type=$depmode
4432 am_cv_CC_dependencies_compiler_type=none
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4437 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4438 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4441 test "x$enable_dependency_tracking" != xno \
4442 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4444 am__fastdepCC_FALSE='#'
4446 am__fastdepCC_TRUE='#'
4447 am__fastdepCC_FALSE=
4453 ac_cpp='$CPP $CPPFLAGS'
4454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4458 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4459 # On Suns, sometimes $CPP names a directory.
4460 if test -n "$CPP" && test -d "$CPP"; then
4463 if test -z "$CPP"; then
4464 if test "${ac_cv_prog_CPP+set}" = set; then :
4465 $as_echo_n "(cached) " >&6
4467 # Double quotes because CPP needs to be expanded
4468 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4471 for ac_c_preproc_warn_flag in '' yes
4473 # Use a header file that comes with gcc, so configuring glibc
4474 # with a fresh cross-compiler works.
4475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4476 # <limits.h> exists even on freestanding compilers.
4477 # On the NeXT, cc -E runs the code through the compiler's parser,
4478 # not just through cpp. "Syntax error" is here to catch this case.
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4482 # include <limits.h>
4484 # include <assert.h>
4488 if ac_fn_c_try_cpp "$LINENO"; then :
4491 # Broken: fails on valid input.
4494 rm -f conftest.err conftest.$ac_ext
4496 # OK, works on sane cases. Now check whether nonexistent headers
4497 # can be detected and how.
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4500 #include <ac_nonexistent.h>
4502 if ac_fn_c_try_cpp "$LINENO"; then :
4503 # Broken: success on invalid input.
4506 # Passes both tests.
4510 rm -f conftest.err conftest.$ac_ext
4513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4514 rm -f conftest.err conftest.$ac_ext
4515 if $ac_preproc_ok; then :
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4528 $as_echo "$CPP" >&6; }
4530 for ac_c_preproc_warn_flag in '' yes
4532 # Use a header file that comes with gcc, so configuring glibc
4533 # with a fresh cross-compiler works.
4534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4535 # <limits.h> exists even on freestanding compilers.
4536 # On the NeXT, cc -E runs the code through the compiler's parser,
4537 # not just through cpp. "Syntax error" is here to catch this case.
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4541 # include <limits.h>
4543 # include <assert.h>
4547 if ac_fn_c_try_cpp "$LINENO"; then :
4550 # Broken: fails on valid input.
4553 rm -f conftest.err conftest.$ac_ext
4555 # OK, works on sane cases. Now check whether nonexistent headers
4556 # can be detected and how.
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4559 #include <ac_nonexistent.h>
4561 if ac_fn_c_try_cpp "$LINENO"; then :
4562 # Broken: success on invalid input.
4565 # Passes both tests.
4569 rm -f conftest.err conftest.$ac_ext
4572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4573 rm -f conftest.err conftest.$ac_ext
4574 if $ac_preproc_ok; then :
4577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4579 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4580 See \`config.log' for more details." "$LINENO" 5; }
4584 ac_cpp='$CPP $CPPFLAGS'
4585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4591 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4592 if test "${ac_cv_path_GREP+set}" = set; then :
4593 $as_echo_n "(cached) " >&6
4595 if test -z "$GREP"; then
4596 ac_path_GREP_found=false
4597 # Loop through the user's path and test for each of PROGNAME-LIST
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4602 test -z "$as_dir" && as_dir=.
4603 for ac_prog in grep ggrep; do
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4605 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4606 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4607 # Check for GNU ac_path_GREP and select it if it is found.
4608 # Check for GNU $ac_path_GREP
4609 case `"$ac_path_GREP" --version 2>&1` in
4611 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4614 $as_echo_n 0123456789 >"conftest.in"
4617 cat "conftest.in" "conftest.in" >"conftest.tmp"
4618 mv "conftest.tmp" "conftest.in"
4619 cp "conftest.in" "conftest.nl"
4620 $as_echo 'GREP' >> "conftest.nl"
4621 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4622 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4623 as_fn_arith $ac_count + 1 && ac_count=$as_val
4624 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4625 # Best one so far, save it but keep looking for a better one
4626 ac_cv_path_GREP="$ac_path_GREP"
4627 ac_path_GREP_max=$ac_count
4629 # 10*(2^10) chars as input seems more than enough
4630 test $ac_count -gt 10 && break
4632 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4635 $ac_path_GREP_found && break 3
4640 if test -z "$ac_cv_path_GREP"; then
4641 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4644 ac_cv_path_GREP=$GREP
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4649 $as_echo "$ac_cv_path_GREP" >&6; }
4650 GREP="$ac_cv_path_GREP"
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4654 $as_echo_n "checking for egrep... " >&6; }
4655 if test "${ac_cv_path_EGREP+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4659 then ac_cv_path_EGREP="$GREP -E"
4661 if test -z "$EGREP"; then
4662 ac_path_EGREP_found=false
4663 # Loop through the user's path and test for each of PROGNAME-LIST
4664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4668 test -z "$as_dir" && as_dir=.
4669 for ac_prog in egrep; do
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4672 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4673 # Check for GNU ac_path_EGREP and select it if it is found.
4674 # Check for GNU $ac_path_EGREP
4675 case `"$ac_path_EGREP" --version 2>&1` in
4677 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4680 $as_echo_n 0123456789 >"conftest.in"
4683 cat "conftest.in" "conftest.in" >"conftest.tmp"
4684 mv "conftest.tmp" "conftest.in"
4685 cp "conftest.in" "conftest.nl"
4686 $as_echo 'EGREP' >> "conftest.nl"
4687 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4688 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4689 as_fn_arith $ac_count + 1 && ac_count=$as_val
4690 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4691 # Best one so far, save it but keep looking for a better one
4692 ac_cv_path_EGREP="$ac_path_EGREP"
4693 ac_path_EGREP_max=$ac_count
4695 # 10*(2^10) chars as input seems more than enough
4696 test $ac_count -gt 10 && break
4698 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4701 $ac_path_EGREP_found && break 3
4706 if test -z "$ac_cv_path_EGREP"; then
4707 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4710 ac_cv_path_EGREP=$EGREP
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4716 $as_echo "$ac_cv_path_EGREP" >&6; }
4717 EGREP="$ac_cv_path_EGREP"
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4721 $as_echo_n "checking for ANSI C header files... " >&6; }
4722 if test "${ac_cv_header_stdc+set}" = set; then :
4723 $as_echo_n "(cached) " >&6
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4740 if ac_fn_c_try_compile "$LINENO"; then :
4741 ac_cv_header_stdc=yes
4743 ac_cv_header_stdc=no
4745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4747 if test $ac_cv_header_stdc = yes; then
4748 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4755 $EGREP "memchr" >/dev/null 2>&1; then :
4758 ac_cv_header_stdc=no
4764 if test $ac_cv_header_stdc = yes; then
4765 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4772 $EGREP "free" >/dev/null 2>&1; then :
4775 ac_cv_header_stdc=no
4781 if test $ac_cv_header_stdc = yes; then
4782 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4783 if test "$cross_compiling" = yes; then :
4786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h. */
4790 #if ((' ' & 0x0FF) == 0x020)
4791 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4792 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4794 # define ISLOWER(c) \
4795 (('a' <= (c) && (c) <= 'i') \
4796 || ('j' <= (c) && (c) <= 'r') \
4797 || ('s' <= (c) && (c) <= 'z'))
4798 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4801 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4806 for (i = 0; i < 256; i++)
4807 if (XOR (islower (i), ISLOWER (i))
4808 || toupper (i) != TOUPPER (i))
4813 if ac_fn_c_try_run "$LINENO"; then :
4816 ac_cv_header_stdc=no
4818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4819 conftest.$ac_objext conftest.beam conftest.$ac_ext
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4825 $as_echo "$ac_cv_header_stdc" >&6; }
4826 if test $ac_cv_header_stdc = yes; then
4828 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4832 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4833 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4834 inttypes.h stdint.h unistd.h
4836 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4837 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4839 eval as_val=\$$as_ac_Header
4840 if test "x$as_val" = x""yes; then :
4841 cat >>confdefs.h <<_ACEOF
4842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4851 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4852 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4859 if test "$MINIX" = yes; then
4861 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4864 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4867 $as_echo "#define _MINIX 1" >>confdefs.h
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4873 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4874 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4875 $as_echo_n "(cached) " >&6
4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4880 # define __EXTENSIONS__ 1
4881 $ac_includes_default
4890 if ac_fn_c_try_compile "$LINENO"; then :
4891 ac_cv_safe_to_define___extensions__=yes
4893 ac_cv_safe_to_define___extensions__=no
4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4898 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4899 test $ac_cv_safe_to_define___extensions__ = yes &&
4900 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4902 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4904 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4906 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4908 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4912 # Calculate toolexeclibdir
4913 # Also toolexecdir, though it's only used in toolexeclibdir
4914 case ${version_specific_libs} in
4916 # Need the gcc compiler version to know where to install libraries
4917 # and header files if --enable-version-specific-runtime-libs option
4919 toolexecdir='$(libdir)/gcc/$(target_alias)'
4920 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4923 if test -n "$with_cross_host" &&
4924 test x"$with_cross_host" != x"no"; then
4925 # Install a library built with a cross compiler in tooldir, not libdir.
4926 toolexecdir='$(exec_prefix)/$(target_alias)'
4927 toolexeclibdir='$(toolexecdir)/lib'
4929 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4930 toolexeclibdir='$(libdir)'
4932 multi_os_directory=`$CC -print-multi-os-directory`
4933 case $multi_os_directory in
4934 .) ;; # Avoid trailing /.
4935 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4942 # Create a spec file, so that compile/link tests don't fail
4943 test -f libgfortran.spec || touch libgfortran.spec
4946 ac_cpp='$CPP $CPPFLAGS'
4947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4951 # Check the compiler.
4952 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4953 # We must force CC to /not/ be precious variables; otherwise
4954 # the wrong, non-multilib-adjusted value will be used in multilibs.
4955 # As a side effect, we have to subst CFLAGS ourselves.
4960 ac_cpp='$CPP $CPPFLAGS'
4961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4964 if test -n "$ac_tool_prefix"; then
4965 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4966 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 $as_echo_n "checking for $ac_word... " >&6; }
4969 if test "${ac_cv_prog_CC+set}" = set; then :
4970 $as_echo_n "(cached) " >&6
4972 if test -n "$CC"; then
4973 ac_cv_prog_CC="$CC" # Let the user override the test.
4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 test -z "$as_dir" && as_dir=.
4980 for ac_exec_ext in '' $ac_executable_extensions; do
4981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4982 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 if test -n "$CC"; then
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4995 $as_echo "$CC" >&6; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998 $as_echo "no" >&6; }
5003 if test -z "$ac_cv_prog_CC"; then
5005 # Extract the first word of "gcc", so it can be a program name with args.
5006 set dummy gcc; ac_word=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5010 $as_echo_n "(cached) " >&6
5012 if test -n "$ac_ct_CC"; then
5013 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir=.
5020 for ac_exec_ext in '' $ac_executable_extensions; do
5021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5022 ac_cv_prog_ac_ct_CC="gcc"
5023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5033 if test -n "$ac_ct_CC"; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5035 $as_echo "$ac_ct_CC" >&6; }
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5041 if test "x$ac_ct_CC" = x; then
5044 case $cross_compiling:$ac_tool_warned in
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5048 ac_tool_warned=yes ;;
5056 if test -z "$CC"; then
5057 if test -n "$ac_tool_prefix"; then
5058 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5059 set dummy ${ac_tool_prefix}cc; ac_word=$2
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 $as_echo_n "checking for $ac_word... " >&6; }
5062 if test "${ac_cv_prog_CC+set}" = set; then :
5063 $as_echo_n "(cached) " >&6
5065 if test -n "$CC"; then
5066 ac_cv_prog_CC="$CC" # Let the user override the test.
5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 test -z "$as_dir" && as_dir=.
5073 for ac_exec_ext in '' $ac_executable_extensions; do
5074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075 ac_cv_prog_CC="${ac_tool_prefix}cc"
5076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 if test -n "$CC"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5088 $as_echo "$CC" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5097 if test -z "$CC"; then
5098 # Extract the first word of "cc", so it can be a program name with args.
5099 set dummy cc; ac_word=$2
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if test "${ac_cv_prog_CC+set}" = set; then :
5103 $as_echo_n "(cached) " >&6
5105 if test -n "$CC"; then
5106 ac_cv_prog_CC="$CC" # Let the user override the test.
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5113 test -z "$as_dir" && as_dir=.
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5116 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5117 ac_prog_rejected=yes
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 if test $ac_prog_rejected = yes; then
5129 # We found a bogon in the path, so make sure we never use it.
5130 set dummy $ac_cv_prog_CC
5132 if test $# != 0; then
5133 # We chose a different compiler from the bogus one.
5134 # However, it has the same basename, so the bogon will be chosen
5135 # first if we set CC to just the basename; use the full file name.
5137 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5143 if test -n "$CC"; then
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5145 $as_echo "$CC" >&6; }
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5153 if test -z "$CC"; then
5154 if test -n "$ac_tool_prefix"; then
5155 for ac_prog in cl.exe
5157 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5158 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if test "${ac_cv_prog_CC+set}" = set; then :
5162 $as_echo_n "(cached) " >&6
5164 if test -n "$CC"; then
5165 ac_cv_prog_CC="$CC" # Let the user override the test.
5167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir=.
5172 for ac_exec_ext in '' $ac_executable_extensions; do
5173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5174 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 if test -n "$CC"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5187 $as_echo "$CC" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5194 test -n "$CC" && break
5197 if test -z "$CC"; then
5199 for ac_prog in cl.exe
5201 # Extract the first word of "$ac_prog", so it can be a program name with args.
5202 set dummy $ac_prog; ac_word=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5206 $as_echo_n "(cached) " >&6
5208 if test -n "$ac_ct_CC"; then
5209 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir=.
5216 for ac_exec_ext in '' $ac_executable_extensions; do
5217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218 ac_cv_prog_ac_ct_CC="$ac_prog"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5229 if test -n "$ac_ct_CC"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5231 $as_echo "$ac_ct_CC" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5238 test -n "$ac_ct_CC" && break
5241 if test "x$ac_ct_CC" = x; then
5244 case $cross_compiling:$ac_tool_warned in
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5248 ac_tool_warned=yes ;;
5257 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5259 as_fn_error "no acceptable C compiler found in \$PATH
5260 See \`config.log' for more details." "$LINENO" 5; }
5262 # Provide some information about the compiler.
5263 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5266 for ac_option in --version -v -V -qversion; do
5267 { { ac_try="$ac_compiler $ac_option >&5"
5269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5270 *) ac_try_echo=$ac_try;;
5272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5273 $as_echo "$ac_try_echo"; } >&5
5274 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5276 if test -s conftest.err; then
5278 ... rest of stderr output deleted ...
5279 10q' conftest.err >conftest.er1
5280 cat conftest.er1 >&5
5281 rm -f conftest.er1 conftest.err
5283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5284 test $ac_status = 0; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5288 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5289 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5290 $as_echo_n "(cached) " >&6
5292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5293 /* end confdefs.h. */
5306 if ac_fn_c_try_compile "$LINENO"; then :
5311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5312 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5316 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5317 if test $ac_compiler_gnu = yes; then
5322 ac_test_CFLAGS=${CFLAGS+set}
5323 ac_save_CFLAGS=$CFLAGS
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5325 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5326 if test "${ac_cv_prog_cc_g+set}" = set; then :
5327 $as_echo_n "(cached) " >&6
5329 ac_save_c_werror_flag=$ac_c_werror_flag
5330 ac_c_werror_flag=yes
5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5344 if ac_fn_c_try_compile "$LINENO"; then :
5348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5359 if ac_fn_c_try_compile "$LINENO"; then :
5362 ac_c_werror_flag=$ac_save_c_werror_flag
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5375 if ac_fn_c_try_compile "$LINENO"; then :
5378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5383 ac_c_werror_flag=$ac_save_c_werror_flag
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5386 $as_echo "$ac_cv_prog_cc_g" >&6; }
5387 if test "$ac_test_CFLAGS" = set; then
5388 CFLAGS=$ac_save_CFLAGS
5389 elif test $ac_cv_prog_cc_g = yes; then
5390 if test "$GCC" = yes; then
5396 if test "$GCC" = yes; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5403 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5404 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5405 $as_echo_n "(cached) " >&6
5407 ac_cv_prog_cc_c89=no
5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
5413 #include <sys/types.h>
5414 #include <sys/stat.h>
5415 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5416 struct buf { int x; };
5417 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5418 static char *e (p, i)
5424 static char *f (char * (*g) (char **, int), char **p, ...)
5429 s = g (p, va_arg (v,int));
5434 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5435 function prototypes and stuff, but not '\xHH' hex character constants.
5436 These don't provoke an error unfortunately, instead are silently treated
5437 as 'x'. The following induces an error, until -std is added to get
5438 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5439 array size at least. It's necessary to write '\x00'==0 to get something
5440 that's true only with -std. */
5441 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5443 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5444 inside strings and character constants. */
5446 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5448 int test (int i, double x);
5449 struct s1 {int (*f) (int a);};
5450 struct s2 {int (*f) (double a);};
5451 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5457 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5462 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5463 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5465 CC="$ac_save_CC $ac_arg"
5466 if ac_fn_c_try_compile "$LINENO"; then :
5467 ac_cv_prog_cc_c89=$ac_arg
5469 rm -f core conftest.err conftest.$ac_objext
5470 test "x$ac_cv_prog_cc_c89" != "xno" && break
5472 rm -f conftest.$ac_ext
5477 case "x$ac_cv_prog_cc_c89" in
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5480 $as_echo "none needed" >&6; } ;;
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5483 $as_echo "unsupported" >&6; } ;;
5485 CC="$CC $ac_cv_prog_cc_c89"
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5487 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5489 if test "x$ac_cv_prog_cc_c89" != xno; then :
5494 ac_cpp='$CPP $CPPFLAGS'
5495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5499 depcc="$CC" am_compiler_list=
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5502 $as_echo_n "checking dependency style of $depcc... " >&6; }
5503 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5504 $as_echo_n "(cached) " >&6
5506 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5507 # We make a subdir and do the tests there. Otherwise we can end up
5508 # making bogus files that we don't know about and never remove. For
5509 # instance it was reported that on HP-UX the gcc test will end up
5510 # making a dummy file named `D' -- because `-MD' means `put the output
5513 # Copy depcomp to subdir because otherwise we won't find it if we're
5514 # using a relative directory.
5515 cp "$am_depcomp" conftest.dir
5517 # We will build objects and dependencies in a subdirectory because
5518 # it helps to detect inapplicable dependency modes. For instance
5519 # both Tru64's cc and ICC support -MD to output dependencies as a
5520 # side effect of compilation, but ICC will put the dependencies in
5521 # the current directory while Tru64 will put them in the object
5525 am_cv_CC_dependencies_compiler_type=none
5526 if test "$am_compiler_list" = ""; then
5527 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5530 case " $depcc " in #(
5531 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5534 for depmode in $am_compiler_list; do
5535 # Setup a source with many dependencies, because some compilers
5536 # like to wrap large dependency lists on column 80 (with \), and
5537 # we should not choose a depcomp mode which is confused by this.
5539 # We need to recreate these files for each test, as the compiler may
5540 # overwrite some of them when testing with obscure command lines.
5541 # This happens at least with the AIX C compiler.
5543 for i in 1 2 3 4 5 6; do
5544 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5545 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5546 # Solaris 8's {/usr,}/bin/sh.
5547 touch sub/conftst$i.h
5549 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5551 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5552 # mode. It turns out that the SunPro C++ compiler does not properly
5553 # handle `-M -o', and we need to detect this. Also, some Intel
5554 # versions had trouble with output in subdirs
5555 am__obj=sub/conftest.${OBJEXT-o}
5556 am__minus_obj="-o $am__obj"
5559 # This depmode causes a compiler race in universal mode.
5560 test "$am__universal" = false || continue
5563 # after this tag, mechanisms are not by side-effect, so they'll
5564 # only be used when explicitly requested
5565 if test "x$enable_dependency_tracking" = xyes; then
5571 msvisualcpp | msvcmsys)
5572 # This compiler won't grok `-c -o', but also, the minuso test has
5573 # not run yet. These depmodes are late enough in the game, and
5574 # so weak that their functioning should not be impacted.
5575 am__obj=conftest.${OBJEXT-o}
5580 if depmode=$depmode \
5581 source=sub/conftest.c object=$am__obj \
5582 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5583 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5584 >/dev/null 2>conftest.err &&
5585 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5586 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5587 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5588 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5589 # icc doesn't choke on unknown options, it will just issue warnings
5590 # or remarks (even with -Werror). So we grep stderr for any message
5591 # that says an option was ignored or not supported.
5592 # When given -MP, icc 7.0 and 7.1 complain thusly:
5593 # icc: Command line warning: ignoring option '-M'; no argument required
5594 # The diagnosis changed in icc 8.0:
5595 # icc: Command line remark: option '-MP' not supported
5596 if (grep 'ignoring option' conftest.err ||
5597 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5598 am_cv_CC_dependencies_compiler_type=$depmode
5607 am_cv_CC_dependencies_compiler_type=none
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5612 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5613 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5616 test "x$enable_dependency_tracking" != xno \
5617 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5619 am__fastdepCC_FALSE='#'
5621 am__fastdepCC_TRUE='#'
5622 am__fastdepCC_FALSE=
5630 if test "x$CC" != xcc; then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5632 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5635 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5637 set dummy $CC; ac_cc=`$as_echo "$2" |
5638 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5639 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5640 $as_echo_n "(cached) " >&6
5642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5653 # Make sure it works both with $CC and with simple cc.
5654 # We do the test twice because some compilers refuse to overwrite an
5655 # existing .o file with -o, though they will create one.
5656 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5658 if { { case "(($ac_try" in
5659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5660 *) ac_try_echo=$ac_try;;
5662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5663 $as_echo "$ac_try_echo"; } >&5
5664 (eval "$ac_try") 2>&5
5666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5667 test $ac_status = 0; } &&
5668 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5670 *) ac_try_echo=$ac_try;;
5672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5673 $as_echo "$ac_try_echo"; } >&5
5674 (eval "$ac_try") 2>&5
5676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5677 test $ac_status = 0; };
5679 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5680 if test "x$CC" != xcc; then
5681 # Test first that cc exists at all.
5682 if { ac_try='cc -c conftest.$ac_ext >&5'
5683 { { case "(($ac_try" in
5684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5685 *) ac_try_echo=$ac_try;;
5687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5688 $as_echo "$ac_try_echo"; } >&5
5689 (eval "$ac_try") 2>&5
5691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5692 test $ac_status = 0; }; }; then
5693 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5695 if { { case "(($ac_try" in
5696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5700 $as_echo "$ac_try_echo"; } >&5
5701 (eval "$ac_try") 2>&5
5703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5704 test $ac_status = 0; } &&
5705 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5707 *) ac_try_echo=$ac_try;;
5709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5710 $as_echo "$ac_try_echo"; } >&5
5711 (eval "$ac_try") 2>&5
5713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5714 test $ac_status = 0; };
5719 # cc exists but doesn't like -o.
5720 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5725 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5727 rm -f core conftest*
5730 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5732 $as_echo "yes" >&6; }
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5737 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5741 # FIXME: we rely on the cache variable name because
5742 # there is no other way.
5744 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5745 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5746 if test "$am_t" != yes; then
5747 # Losing compiler, so override with the script.
5748 # FIXME: It is wrong to rewrite CC.
5749 # But if we don't then we get into trouble of one sort or another.
5750 # A longer-term fix would be to have automake use am__CC in this case,
5751 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5752 CC="$am_aux_dir/compile $CC"
5757 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5758 if test "x$GCC" = "xyes"; then
5759 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5760 ## We like to use C99 routines when available. This makes sure that
5761 ## __STDC_VERSION__ is set such that libc includes make them available.
5762 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5763 ## Compile the following tests with the same system header contents
5764 ## that we'll encounter when compiling our own source files.
5765 CFLAGS="-std=gnu99 $CFLAGS"
5771 # Check for symbol versioning (copied from libssp).
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5773 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5774 # Check whether --enable-symvers was given.
5775 if test "${enable_symvers+set}" = set; then :
5776 enableval=$enable_symvers; gfortran_use_symver=$enableval
5778 gfortran_use_symver=yes
5781 if test "x$gfortran_use_symver" = xyes; then
5782 save_LDFLAGS="$LDFLAGS"
5783 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5784 cat > conftest.map <<EOF
5786 global: *foo*; bar; local: *;
5789 if test x$gcc_no_link = xyes; then
5790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h. */
5803 if ac_fn_c_try_link "$LINENO"; then :
5804 gfortran_use_symver=gnu
5806 gfortran_use_symver=no
5808 rm -f core conftest.err conftest.$ac_objext \
5809 conftest$ac_exeext conftest.$ac_ext
5810 if test x$gfortran_use_symver = xno; then
5811 case "$target_os" in
5813 LDFLAGS="$save_LDFLAGS"
5814 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5815 # Sun ld cannot handle wildcards and treats all entries as undefined.
5816 cat > conftest.map <<EOF
5818 global: foo; local: *;
5821 if test x$gcc_no_link = xyes; then
5822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5835 if ac_fn_c_try_link "$LINENO"; then :
5836 gfortran_use_symver=sun
5838 gfortran_use_symver=no
5840 rm -f core conftest.err conftest.$ac_objext \
5841 conftest$ac_exeext conftest.$ac_ext
5845 LDFLAGS="$save_LDFLAGS"
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5848 $as_echo "$gfortran_use_symver" >&6; }
5849 if test "x$gfortran_use_symver" != xno; then
5850 LIBGFOR_USE_SYMVER_TRUE=
5851 LIBGFOR_USE_SYMVER_FALSE='#'
5853 LIBGFOR_USE_SYMVER_TRUE='#'
5854 LIBGFOR_USE_SYMVER_FALSE=
5857 if test "x$gfortran_use_symver" = xgnu; then
5858 LIBGFOR_USE_SYMVER_GNU_TRUE=
5859 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5861 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5862 LIBGFOR_USE_SYMVER_GNU_FALSE=
5865 if test "x$gfortran_use_symver" = xsun; then
5866 LIBGFOR_USE_SYMVER_SUN_TRUE=
5867 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5869 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5870 LIBGFOR_USE_SYMVER_SUN_FALSE=
5874 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5875 # similarly to how libstdc++ does it
5876 ac_test_CFLAGS="${CFLAGS+set}"
5877 ac_save_CFLAGS="$CFLAGS"
5879 # Check for -ffunction-sections -fdata-sections
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5881 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5882 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5894 if ac_fn_c_try_compile "$LINENO"; then :
5899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5900 if test "$ac_test_CFLAGS" = set; then
5901 CFLAGS="$ac_save_CFLAGS"
5903 # this is the suspicious part
5906 if test x"$ac_fdsections" = x"yes"; then
5907 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5910 $as_echo "$ac_fdsections" >&6; }
5913 # Find other programs we need.
5914 if test -n "$ac_tool_prefix"; then
5915 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5916 set dummy ${ac_tool_prefix}as; ac_word=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5918 $as_echo_n "checking for $ac_word... " >&6; }
5919 if test "${ac_cv_prog_AS+set}" = set; then :
5920 $as_echo_n "(cached) " >&6
5922 if test -n "$AS"; then
5923 ac_cv_prog_AS="$AS" # Let the user override the test.
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5932 ac_cv_prog_AS="${ac_tool_prefix}as"
5933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 if test -n "$AS"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5945 $as_echo "$AS" >&6; }
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5948 $as_echo "no" >&6; }
5953 if test -z "$ac_cv_prog_AS"; then
5955 # Extract the first word of "as", so it can be a program name with args.
5956 set dummy as; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5960 $as_echo_n "(cached) " >&6
5962 if test -n "$ac_ct_AS"; then
5963 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5972 ac_cv_prog_ac_ct_AS="as"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5983 if test -n "$ac_ct_AS"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5985 $as_echo "$ac_ct_AS" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5991 if test "x$ac_ct_AS" = x; then
5994 case $cross_compiling:$ac_tool_warned in
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5998 ac_tool_warned=yes ;;
6006 if test -n "$ac_tool_prefix"; then
6007 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6008 set dummy ${ac_tool_prefix}ar; ac_word=$2
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 $as_echo_n "checking for $ac_word... " >&6; }
6011 if test "${ac_cv_prog_AR+set}" = set; then :
6012 $as_echo_n "(cached) " >&6
6014 if test -n "$AR"; then
6015 ac_cv_prog_AR="$AR" # Let the user override the test.
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 test -z "$as_dir" && as_dir=.
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6024 ac_cv_prog_AR="${ac_tool_prefix}ar"
6025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 if test -n "$AR"; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6037 $as_echo "$AR" >&6; }
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 $as_echo "no" >&6; }
6045 if test -z "$ac_cv_prog_AR"; then
6047 # Extract the first word of "ar", so it can be a program name with args.
6048 set dummy ar; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6052 $as_echo_n "(cached) " >&6
6054 if test -n "$ac_ct_AR"; then
6055 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_ac_ct_AR="ar"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6075 if test -n "$ac_ct_AR"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6077 $as_echo "$ac_ct_AR" >&6; }
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6083 if test "x$ac_ct_AR" = x; then
6086 case $cross_compiling:$ac_tool_warned in
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6090 ac_tool_warned=yes ;;
6098 if test -n "$ac_tool_prefix"; then
6099 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6100 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6104 $as_echo_n "(cached) " >&6
6106 if test -n "$RANLIB"; then
6107 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 RANLIB=$ac_cv_prog_RANLIB
6127 if test -n "$RANLIB"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6129 $as_echo "$RANLIB" >&6; }
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6137 if test -z "$ac_cv_prog_RANLIB"; then
6138 ac_ct_RANLIB=$RANLIB
6139 # Extract the first word of "ranlib", so it can be a program name with args.
6140 set dummy ranlib; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142 $as_echo_n "checking for $ac_word... " >&6; }
6143 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6144 $as_echo_n "(cached) " >&6
6146 if test -n "$ac_ct_RANLIB"; then
6147 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 test -z "$as_dir" && as_dir=.
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6156 ac_cv_prog_ac_ct_RANLIB="ranlib"
6157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6166 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6167 if test -n "$ac_ct_RANLIB"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6169 $as_echo "$ac_ct_RANLIB" >&6; }
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6175 if test "x$ac_ct_RANLIB" = x; then
6176 RANLIB="ranlib-not-found-in-path-error"
6178 case $cross_compiling:$ac_tool_warned in
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6182 ac_tool_warned=yes ;;
6184 RANLIB=$ac_ct_RANLIB
6187 RANLIB="$ac_cv_prog_RANLIB"
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6191 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6193 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6194 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6195 $as_echo_n "(cached) " >&6
6197 cat >conftest.make <<\_ACEOF
6200 @echo '@@@%%%=$(MAKE)=@@@%%%'
6202 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6203 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6205 eval ac_cv_prog_make_${ac_make}_set=yes;;
6207 eval ac_cv_prog_make_${ac_make}_set=no;;
6211 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6213 $as_echo "yes" >&6; }
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6218 SET_MAKE="MAKE=${MAKE-make}"
6224 #AC_MSG_NOTICE([====== Starting libtool configuration])
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6232 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6237 macro_version='2.2.7a'
6238 macro_revision='1.3134'
6252 ltmain="$ac_aux_dir/ltmain.sh"
6254 # Backslashify metacharacters that are still active within
6255 # double-quoted strings.
6256 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6258 # Same as above, but do not quote variable references.
6259 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6261 # Sed substitution to delay expansion of an escaped shell variable in a
6262 # double_quote_subst'ed string.
6263 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6265 # Sed substitution to delay expansion of an escaped single quote.
6266 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6268 # Sed substitution to avoid accidental globbing in evaled expressions
6269 no_glob_subst='s/\*/\\\*/g'
6271 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6272 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6273 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6276 $as_echo_n "checking how to print strings... " >&6; }
6277 # Test print first, because it will be a builtin if present.
6278 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6279 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6281 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6284 # Use this function as a fallback that always works.
6285 func_fallback_echo ()
6287 eval 'cat <<_LTECHO_EOF
6291 ECHO='func_fallback_echo'
6294 # func_echo_all arg...
6295 # Invoke $ECHO with all args, space-separated.
6302 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6303 $as_echo "printf" >&6; } ;;
6304 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6305 $as_echo "print -r" >&6; } ;;
6306 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6307 $as_echo "cat" >&6; } ;;
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6324 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6325 if test "${ac_cv_path_SED+set}" = set; then :
6326 $as_echo_n "(cached) " >&6
6328 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6329 for ac_i in 1 2 3 4 5 6 7; do
6330 ac_script="$ac_script$as_nl$ac_script"
6332 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6333 { ac_script=; unset ac_script;}
6334 if test -z "$SED"; then
6335 ac_path_SED_found=false
6336 # Loop through the user's path and test for each of PROGNAME-LIST
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir=.
6342 for ac_prog in sed gsed; do
6343 for ac_exec_ext in '' $ac_executable_extensions; do
6344 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6345 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6346 # Check for GNU ac_path_SED and select it if it is found.
6347 # Check for GNU $ac_path_SED
6348 case `"$ac_path_SED" --version 2>&1` in
6350 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6353 $as_echo_n 0123456789 >"conftest.in"
6356 cat "conftest.in" "conftest.in" >"conftest.tmp"
6357 mv "conftest.tmp" "conftest.in"
6358 cp "conftest.in" "conftest.nl"
6359 $as_echo '' >> "conftest.nl"
6360 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6361 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6362 as_fn_arith $ac_count + 1 && ac_count=$as_val
6363 if test $ac_count -gt ${ac_path_SED_max-0}; then
6364 # Best one so far, save it but keep looking for a better one
6365 ac_cv_path_SED="$ac_path_SED"
6366 ac_path_SED_max=$ac_count
6368 # 10*(2^10) chars as input seems more than enough
6369 test $ac_count -gt 10 && break
6371 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6374 $ac_path_SED_found && break 3
6379 if test -z "$ac_cv_path_SED"; then
6380 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6388 $as_echo "$ac_cv_path_SED" >&6; }
6389 SED="$ac_cv_path_SED"
6392 test -z "$SED" && SED=sed
6393 Xsed="$SED -e 1s/^X//"
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6406 $as_echo_n "checking for fgrep... " >&6; }
6407 if test "${ac_cv_path_FGREP+set}" = set; then :
6408 $as_echo_n "(cached) " >&6
6410 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6411 then ac_cv_path_FGREP="$GREP -F"
6413 if test -z "$FGREP"; then
6414 ac_path_FGREP_found=false
6415 # Loop through the user's path and test for each of PROGNAME-LIST
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6420 test -z "$as_dir" && as_dir=.
6421 for ac_prog in fgrep; do
6422 for ac_exec_ext in '' $ac_executable_extensions; do
6423 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6424 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6425 # Check for GNU ac_path_FGREP and select it if it is found.
6426 # Check for GNU $ac_path_FGREP
6427 case `"$ac_path_FGREP" --version 2>&1` in
6429 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6432 $as_echo_n 0123456789 >"conftest.in"
6435 cat "conftest.in" "conftest.in" >"conftest.tmp"
6436 mv "conftest.tmp" "conftest.in"
6437 cp "conftest.in" "conftest.nl"
6438 $as_echo 'FGREP' >> "conftest.nl"
6439 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6440 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6441 as_fn_arith $ac_count + 1 && ac_count=$as_val
6442 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6443 # Best one so far, save it but keep looking for a better one
6444 ac_cv_path_FGREP="$ac_path_FGREP"
6445 ac_path_FGREP_max=$ac_count
6447 # 10*(2^10) chars as input seems more than enough
6448 test $ac_count -gt 10 && break
6450 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6453 $ac_path_FGREP_found && break 3
6458 if test -z "$ac_cv_path_FGREP"; then
6459 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6462 ac_cv_path_FGREP=$FGREP
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6468 $as_echo "$ac_cv_path_FGREP" >&6; }
6469 FGREP="$ac_cv_path_FGREP"
6472 test -z "$GREP" && GREP=grep
6492 # Check whether --with-gnu-ld was given.
6493 if test "${with_gnu_ld+set}" = set; then :
6494 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6500 if test "$GCC" = yes; then
6501 # Check if gcc -print-prog-name=ld gives a path.
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6503 $as_echo_n "checking for ld used by $CC... " >&6; }
6506 # gcc leaves a trailing carriage return which upsets mingw
6507 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6509 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6512 # Accept absolute paths.
6514 re_direlt='/[^/][^/]*/\.\./'
6515 # Canonicalize the pathname of ld
6516 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6517 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6518 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6520 test -z "$LD" && LD="$ac_prog"
6523 # If it fails, then pretend we aren't using GCC.
6527 # If it is relative, then search for the first ld in PATH.
6531 elif test "$with_gnu_ld" = yes; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6533 $as_echo_n "checking for GNU ld... " >&6; }
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6536 $as_echo_n "checking for non-GNU ld... " >&6; }
6538 if test "${lt_cv_path_LD+set}" = set; then :
6539 $as_echo_n "(cached) " >&6
6541 if test -z "$LD"; then
6542 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6543 for ac_dir in $PATH; do
6545 test -z "$ac_dir" && ac_dir=.
6546 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6547 lt_cv_path_LD="$ac_dir/$ac_prog"
6548 # Check to see if the program is GNU ld. I'd rather use --version,
6549 # but apparently some variants of GNU ld only accept -v.
6550 # Break only if it was the GNU/non-GNU ld that we prefer.
6551 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6552 *GNU* | *'with BFD'*)
6553 test "$with_gnu_ld" != no && break
6556 test "$with_gnu_ld" != yes && break
6563 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6568 if test -n "$LD"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6570 $as_echo "$LD" >&6; }
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6575 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6577 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6578 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6579 $as_echo_n "(cached) " >&6
6581 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6582 case `$LD -v 2>&1 </dev/null` in
6583 *GNU* | *'with BFD'*)
6584 lt_cv_prog_gnu_ld=yes
6587 lt_cv_prog_gnu_ld=no
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6592 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6593 with_gnu_ld=$lt_cv_prog_gnu_ld
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6604 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6605 if test "${lt_cv_path_NM+set}" = set; then :
6606 $as_echo_n "(cached) " >&6
6608 if test -n "$NM"; then
6609 # Let the user override the test.
6612 lt_nm_to_check="${ac_tool_prefix}nm"
6613 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6614 lt_nm_to_check="$lt_nm_to_check nm"
6616 for lt_tmp_nm in $lt_nm_to_check; do
6617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6618 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6620 test -z "$ac_dir" && ac_dir=.
6621 tmp_nm="$ac_dir/$lt_tmp_nm"
6622 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6623 # Check to see if the nm accepts a BSD-compat flag.
6624 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6625 # nm: unknown option "B" ignored
6626 # Tru64's nm complains that /dev/null is an invalid object file
6627 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6628 */dev/null* | *'Invalid file or object type'*)
6629 lt_cv_path_NM="$tmp_nm -B"
6633 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6635 lt_cv_path_NM="$tmp_nm -p"
6639 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6640 continue # so that we can try to find one that supports BSD flags
6649 : ${lt_cv_path_NM=no}
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6653 $as_echo "$lt_cv_path_NM" >&6; }
6654 if test "$lt_cv_path_NM" != "no"; then
6657 # Didn't find any BSD compatible name lister, look for dumpbin.
6658 if test -n "$DUMPBIN"; then :
6659 # Let the user override the test.
6661 if test -n "$ac_tool_prefix"; then
6662 for ac_prog in dumpbin "link -dump"
6664 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6665 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6669 $as_echo_n "(cached) " >&6
6671 if test -n "$DUMPBIN"; then
6672 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 test -z "$as_dir" && as_dir=.
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 DUMPBIN=$ac_cv_prog_DUMPBIN
6692 if test -n "$DUMPBIN"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6694 $as_echo "$DUMPBIN" >&6; }
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6701 test -n "$DUMPBIN" && break
6704 if test -z "$DUMPBIN"; then
6705 ac_ct_DUMPBIN=$DUMPBIN
6706 for ac_prog in dumpbin "link -dump"
6708 # Extract the first word of "$ac_prog", so it can be a program name with args.
6709 set dummy $ac_prog; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 $as_echo_n "checking for $ac_word... " >&6; }
6712 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6713 $as_echo_n "(cached) " >&6
6715 if test -n "$ac_ct_DUMPBIN"; then
6716 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6736 if test -n "$ac_ct_DUMPBIN"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6738 $as_echo "$ac_ct_DUMPBIN" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6745 test -n "$ac_ct_DUMPBIN" && break
6748 if test "x$ac_ct_DUMPBIN" = x; then
6751 case $cross_compiling:$ac_tool_warned in
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6755 ac_tool_warned=yes ;;
6757 DUMPBIN=$ac_ct_DUMPBIN
6761 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6763 DUMPBIN="$DUMPBIN -symbols"
6771 if test "$DUMPBIN" != ":"; then
6775 test -z "$NM" && NM=nm
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6783 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6784 if test "${lt_cv_nm_interface+set}" = set; then :
6785 $as_echo_n "(cached) " >&6
6787 lt_cv_nm_interface="BSD nm"
6788 echo "int some_variable = 0;" > conftest.$ac_ext
6789 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6790 (eval "$ac_compile" 2>conftest.err)
6791 cat conftest.err >&5
6792 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6793 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6794 cat conftest.err >&5
6795 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6796 cat conftest.out >&5
6797 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6798 lt_cv_nm_interface="MS dumpbin"
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6803 $as_echo "$lt_cv_nm_interface" >&6; }
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6806 $as_echo_n "checking whether ln -s works... " >&6; }
6808 if test "$LN_S" = "ln -s"; then
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6810 $as_echo "yes" >&6; }
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6813 $as_echo "no, using $LN_S" >&6; }
6816 # find the maximum length of command line arguments
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6818 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6819 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6820 $as_echo_n "(cached) " >&6
6827 # On DJGPP, this test can blow up pretty badly due to problems in libc
6828 # (any single argument exceeding 2000 bytes causes a buffer overrun
6829 # during glob expansion). Even if it were fixed, the result of this
6830 # check would be larger than it should be.
6831 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6835 # Under GNU Hurd, this test is not required because there is
6836 # no limit to the length of command line arguments.
6837 # Libtool will interpret -1 as no limit whatsoever
6838 lt_cv_sys_max_cmd_len=-1;
6841 cygwin* | mingw* | cegcc*)
6842 # On Win9x/ME, this test blows up -- it succeeds, but takes
6843 # about 5 minutes as the teststring grows exponentially.
6844 # Worse, since 9x/ME are not pre-emptively multitasking,
6845 # you end up with a "frozen" computer, even though with patience
6846 # the test eventually succeeds (with a max line length of 256k).
6847 # Instead, let's just punt: use the minimum linelength reported by
6848 # all of the supported platforms: 8192 (on NT/2K/XP).
6849 lt_cv_sys_max_cmd_len=8192;
6853 # On MiNT this can take a long time and run out of memory.
6854 lt_cv_sys_max_cmd_len=8192;
6858 # On AmigaOS with pdksh, this test takes hours, literally.
6859 # So we just punt and use a minimum line length of 8192.
6860 lt_cv_sys_max_cmd_len=8192;
6863 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6864 # This has been around since 386BSD, at least. Likely further.
6865 if test -x /sbin/sysctl; then
6866 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6867 elif test -x /usr/sbin/sysctl; then
6868 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6870 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6872 # And add a safety zone
6873 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6874 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6878 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6879 lt_cv_sys_max_cmd_len=196608
6883 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6884 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6885 # nice to cause kernel panics so lets avoid the loop below.
6886 # First set a reasonable default.
6887 lt_cv_sys_max_cmd_len=16384
6889 if test -x /sbin/sysconfig; then
6890 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6891 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6896 lt_cv_sys_max_cmd_len=102400
6898 sysv5* | sco5v6* | sysv4.2uw2*)
6899 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6900 if test -n "$kargmax"; then
6901 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6903 lt_cv_sys_max_cmd_len=32768
6907 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6908 if test -n "$lt_cv_sys_max_cmd_len"; then
6909 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6910 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6912 # Make teststring a little bigger before we do anything with it.
6913 # a 1K string should be a reasonable start.
6914 for i in 1 2 3 4 5 6 7 8 ; do
6915 teststring=$teststring$teststring
6917 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6918 # If test is not a shell built-in, we'll probably end up computing a
6919 # maximum length that is only half of the actual maximum length, but
6921 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6922 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6923 test $i != 17 # 1/2 MB should be enough
6926 teststring=$teststring$teststring
6928 # Only check the string length outside the loop.
6929 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6931 # Add a significant safety factor because C++ compilers can tack on
6932 # massive amounts of additional arguments before passing them to the
6933 # linker. It appears as though 1/2 is a usable value.
6934 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6941 if test -n $lt_cv_sys_max_cmd_len ; then
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6943 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6946 $as_echo "none" >&6; }
6948 max_cmd_len=$lt_cv_sys_max_cmd_len
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6960 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6961 # Try some XSI features
6964 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6966 && eval 'test $(( 1 + 1 )) -eq 2 \
6967 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6970 $as_echo "$xsi_shell" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6974 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6976 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6978 && lt_shell_append=yes
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6980 $as_echo "$lt_shell_append" >&6; }
6983 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6993 # test EBCDIC or ASCII
6994 case `echo X|tr X '\101'` in
6995 A) # ASCII based system
6996 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6997 lt_SP2NL='tr \040 \012'
6998 lt_NL2SP='tr \015\012 \040\040'
7000 *) # EBCDIC based system
7001 lt_SP2NL='tr \100 \n'
7002 lt_NL2SP='tr \r\n \100\100'
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7015 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7016 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7017 $as_echo_n "(cached) " >&6
7019 lt_cv_ld_reload_flag='-r'
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7022 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7023 reload_flag=$lt_cv_ld_reload_flag
7024 case $reload_flag in
7026 *) reload_flag=" $reload_flag" ;;
7028 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7031 if test "$GCC" = yes; then
7032 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7034 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7047 if test -n "$ac_tool_prefix"; then
7048 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7049 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7051 $as_echo_n "checking for $ac_word... " >&6; }
7052 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7053 $as_echo_n "(cached) " >&6
7055 if test -n "$OBJDUMP"; then
7056 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062 test -z "$as_dir" && as_dir=.
7063 for ac_exec_ext in '' $ac_executable_extensions; do
7064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7065 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075 OBJDUMP=$ac_cv_prog_OBJDUMP
7076 if test -n "$OBJDUMP"; then
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7078 $as_echo "$OBJDUMP" >&6; }
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7081 $as_echo "no" >&6; }
7086 if test -z "$ac_cv_prog_OBJDUMP"; then
7087 ac_ct_OBJDUMP=$OBJDUMP
7088 # Extract the first word of "objdump", so it can be a program name with args.
7089 set dummy objdump; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 $as_echo_n "checking for $ac_word... " >&6; }
7092 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7093 $as_echo_n "(cached) " >&6
7095 if test -n "$ac_ct_OBJDUMP"; then
7096 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 test -z "$as_dir" && as_dir=.
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7115 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7116 if test -n "$ac_ct_OBJDUMP"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7118 $as_echo "$ac_ct_OBJDUMP" >&6; }
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7124 if test "x$ac_ct_OBJDUMP" = x; then
7127 case $cross_compiling:$ac_tool_warned in
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7131 ac_tool_warned=yes ;;
7133 OBJDUMP=$ac_ct_OBJDUMP
7136 OBJDUMP="$ac_cv_prog_OBJDUMP"
7139 test -z "$OBJDUMP" && OBJDUMP=objdump
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7150 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7151 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7152 $as_echo_n "(cached) " >&6
7154 lt_cv_file_magic_cmd='$MAGIC_CMD'
7155 lt_cv_file_magic_test_file=
7156 lt_cv_deplibs_check_method='unknown'
7157 # Need to set the preceding variable on all platforms that support
7158 # interlibrary dependencies.
7159 # 'none' -- dependencies not supported.
7160 # `unknown' -- same as none, but documents that we really don't know.
7161 # 'pass_all' -- all dependencies passed with no checks.
7162 # 'test_compile' -- check by making test program.
7163 # 'file_magic [[regex]]' -- check by looking for files in library path
7164 # which responds to the $file_magic_cmd with a given extended regex.
7165 # If you have `file' or equivalent on your system and you're not sure
7166 # whether `pass_all' will *always* work, you probably want this one.
7170 lt_cv_deplibs_check_method=pass_all
7174 lt_cv_deplibs_check_method=pass_all
7178 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7179 lt_cv_file_magic_cmd='/usr/bin/file -L'
7180 lt_cv_file_magic_test_file=/shlib/libc.so
7184 # func_win32_libid is a shell function defined in ltmain.sh
7185 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7186 lt_cv_file_magic_cmd='func_win32_libid'
7190 # Base MSYS/MinGW do not provide the 'file' command needed by
7191 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7192 # unless we find 'file', for example because we are cross-compiling.
7193 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7194 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7195 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7196 lt_cv_file_magic_cmd='func_win32_libid'
7198 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7199 lt_cv_file_magic_cmd='$OBJDUMP -f'
7204 # use the weaker test based on 'objdump'. See mingw*.
7205 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7206 lt_cv_file_magic_cmd='$OBJDUMP -f'
7209 darwin* | rhapsody*)
7210 lt_cv_deplibs_check_method=pass_all
7213 freebsd* | dragonfly*)
7214 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7217 # Not sure whether the presence of OpenBSD here was a mistake.
7218 # Let's accept both of them until this is cleared up.
7219 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7220 lt_cv_file_magic_cmd=/usr/bin/file
7221 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7225 lt_cv_deplibs_check_method=pass_all
7230 lt_cv_deplibs_check_method=pass_all
7234 lt_cv_deplibs_check_method=pass_all
7237 hpux10.20* | hpux11*)
7238 lt_cv_file_magic_cmd=/usr/bin/file
7241 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7242 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7245 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7246 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7249 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7250 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7256 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7257 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7260 irix5* | irix6* | nonstopux*)
7262 *-32|*"-32 ") libmagic=32-bit;;
7263 *-n32|*"-n32 ") libmagic=N32;;
7264 *-64|*"-64 ") libmagic=64-bit;;
7265 *) libmagic=never-match;;
7267 lt_cv_deplibs_check_method=pass_all
7270 # This must be Linux ELF.
7271 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7272 lt_cv_deplibs_check_method=pass_all
7276 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7279 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7284 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7285 lt_cv_file_magic_cmd=/usr/bin/file
7286 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7290 lt_cv_deplibs_check_method=pass_all
7294 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7297 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7301 osf3* | osf4* | osf5*)
7302 lt_cv_deplibs_check_method=pass_all
7306 lt_cv_deplibs_check_method=pass_all
7310 lt_cv_deplibs_check_method=pass_all
7313 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7314 lt_cv_deplibs_check_method=pass_all
7318 case $host_vendor in
7320 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]'
7321 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7324 lt_cv_deplibs_check_method=pass_all
7327 lt_cv_file_magic_cmd='/bin/file'
7328 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7331 lt_cv_file_magic_cmd='/bin/file'
7332 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7333 lt_cv_file_magic_test_file=/lib/libc.so
7336 lt_cv_deplibs_check_method=pass_all
7339 lt_cv_deplibs_check_method=pass_all
7345 lt_cv_deplibs_check_method=pass_all
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7351 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7352 file_magic_cmd=$lt_cv_file_magic_cmd
7353 deplibs_check_method=$lt_cv_deplibs_check_method
7354 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7367 if test -n "$ac_tool_prefix"; then
7368 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7369 set dummy ${ac_tool_prefix}ar; ac_word=$2
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if test "${ac_cv_prog_AR+set}" = set; then :
7373 $as_echo_n "(cached) " >&6
7375 if test -n "$AR"; then
7376 ac_cv_prog_AR="$AR" # Let the user override the test.
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 test -z "$as_dir" && as_dir=.
7383 for ac_exec_ext in '' $ac_executable_extensions; do
7384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7385 ac_cv_prog_AR="${ac_tool_prefix}ar"
7386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396 if test -n "$AR"; then
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7398 $as_echo "$AR" >&6; }
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7401 $as_echo "no" >&6; }
7406 if test -z "$ac_cv_prog_AR"; then
7408 # Extract the first word of "ar", so it can be a program name with args.
7409 set dummy ar; ac_word=$2
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411 $as_echo_n "checking for $ac_word... " >&6; }
7412 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7413 $as_echo_n "(cached) " >&6
7415 if test -n "$ac_ct_AR"; then
7416 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 test -z "$as_dir" && as_dir=.
7423 for ac_exec_ext in '' $ac_executable_extensions; do
7424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7425 ac_cv_prog_ac_ct_AR="ar"
7426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7436 if test -n "$ac_ct_AR"; then
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7438 $as_echo "$ac_ct_AR" >&6; }
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 $as_echo "no" >&6; }
7444 if test "x$ac_ct_AR" = x; then
7447 case $cross_compiling:$ac_tool_warned in
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7451 ac_tool_warned=yes ;;
7459 test -z "$AR" && AR=ar
7460 test -z "$AR_FLAGS" && AR_FLAGS=cru
7472 if test -n "$ac_tool_prefix"; then
7473 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7474 set dummy ${ac_tool_prefix}strip; ac_word=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if test "${ac_cv_prog_STRIP+set}" = set; then :
7478 $as_echo_n "(cached) " >&6
7480 if test -n "$STRIP"; then
7481 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7487 test -z "$as_dir" && as_dir=.
7488 for ac_exec_ext in '' $ac_executable_extensions; do
7489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7490 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 STRIP=$ac_cv_prog_STRIP
7501 if test -n "$STRIP"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7503 $as_echo "$STRIP" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7511 if test -z "$ac_cv_prog_STRIP"; then
7513 # Extract the first word of "strip", so it can be a program name with args.
7514 set dummy strip; ac_word=$2
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7516 $as_echo_n "checking for $ac_word... " >&6; }
7517 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7518 $as_echo_n "(cached) " >&6
7520 if test -n "$ac_ct_STRIP"; then
7521 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 test -z "$as_dir" && as_dir=.
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7530 ac_cv_prog_ac_ct_STRIP="strip"
7531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7540 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7541 if test -n "$ac_ct_STRIP"; then
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7543 $as_echo "$ac_ct_STRIP" >&6; }
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546 $as_echo "no" >&6; }
7549 if test "x$ac_ct_STRIP" = x; then
7552 case $cross_compiling:$ac_tool_warned in
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7556 ac_tool_warned=yes ;;
7561 STRIP="$ac_cv_prog_STRIP"
7564 test -z "$STRIP" && STRIP=:
7571 if test -n "$ac_tool_prefix"; then
7572 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7573 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7577 $as_echo_n "(cached) " >&6
7579 if test -n "$RANLIB"; then
7580 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7586 test -z "$as_dir" && as_dir=.
7587 for ac_exec_ext in '' $ac_executable_extensions; do
7588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7589 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7599 RANLIB=$ac_cv_prog_RANLIB
7600 if test -n "$RANLIB"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7602 $as_echo "$RANLIB" >&6; }
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7610 if test -z "$ac_cv_prog_RANLIB"; then
7611 ac_ct_RANLIB=$RANLIB
7612 # Extract the first word of "ranlib", so it can be a program name with args.
7613 set dummy ranlib; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7617 $as_echo_n "(cached) " >&6
7619 if test -n "$ac_ct_RANLIB"; then
7620 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629 ac_cv_prog_ac_ct_RANLIB="ranlib"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7639 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7640 if test -n "$ac_ct_RANLIB"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7642 $as_echo "$ac_ct_RANLIB" >&6; }
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7648 if test "x$ac_ct_RANLIB" = x; then
7651 case $cross_compiling:$ac_tool_warned in
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7655 ac_tool_warned=yes ;;
7657 RANLIB=$ac_ct_RANLIB
7660 RANLIB="$ac_cv_prog_RANLIB"
7663 test -z "$RANLIB" && RANLIB=:
7670 # Determine commands to create old-style static archives.
7671 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7672 old_postinstall_cmds='chmod 644 $oldlib'
7673 old_postuninstall_cmds=
7675 if test -n "$RANLIB"; then
7678 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7681 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7684 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7689 lock_old_archive_extraction=yes ;;
7691 lock_old_archive_extraction=no ;;
7732 # If no C compiler was specified, use CC.
7735 # If no C compiler flags were specified, use CFLAGS.
7736 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7738 # Allow CC to be a program name with arguments.
7742 # Check for command to grab the raw symbol name followed by C symbol from nm.
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7744 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7745 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7746 $as_echo_n "(cached) " >&6
7749 # These are sane defaults that work on at least a few old systems.
7750 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7752 # Character class describing NM global symbol codes.
7753 symcode='[BCDEGRST]'
7755 # Regexp to match symbols that can be accessed directly from C.
7756 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7758 # Define system-specific variables.
7763 cygwin* | mingw* | pw32* | cegcc*)
7764 symcode='[ABCDGISTW]'
7767 if test "$host_cpu" = ia64; then
7768 symcode='[ABCDEGRST]'
7772 symcode='[BCDEGRST]'
7775 symcode='[BCDEGQRST]'
7786 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7794 # If we're using GNU nm, then use its standard symbol codes.
7795 case `$NM -V 2>&1` in
7796 *GNU* | *'with BFD'*)
7797 symcode='[ABCDGIRSTW]' ;;
7800 # Transform an extracted symbol line into a proper C declaration.
7801 # Some systems (esp. on ia64) link data and code symbols differently,
7802 # so use this general approach.
7803 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7805 # Transform an extracted symbol line into symbol name and symbol address
7806 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7807 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'"
7809 # Handle CRLF in mingw tool chain
7813 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7817 # Try without a prefix underscore, then with it.
7818 for ac_symprfx in "" "_"; do
7820 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7821 symxfrm="\\1 $ac_symprfx\\2 \\2"
7823 # Write the raw and C identifiers.
7824 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7825 # Fake it for dumpbin and say T for any non-static function
7826 # and D for any global variable.
7827 # Also find C++ and __fastcall symbols from MSVC++,
7828 # which start with @ or ?.
7829 lt_cv_sys_global_symbol_pipe="$AWK '"\
7830 " {last_section=section; section=\$ 3};"\
7831 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7832 " \$ 0!~/External *\|/{next};"\
7833 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7834 " {if(hide[section]) next};"\
7835 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7836 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7837 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7838 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7839 " ' prfx=^$ac_symprfx"
7841 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7844 # Check to see that the pipe works correctly.
7848 cat > conftest.$ac_ext <<_LT_EOF
7853 void nm_test_func(void);
7854 void nm_test_func(void){}
7858 int main(){nm_test_var='a';nm_test_func();return(0);}
7861 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7862 (eval $ac_compile) 2>&5
7864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7865 test $ac_status = 0; }; then
7866 # Now try to grab the symbols.
7868 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7869 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7872 test $ac_status = 0; } && test -s "$nlist"; then
7873 # Try sorting and uniquifying the output.
7874 if sort "$nlist" | uniq > "$nlist"T; then
7875 mv -f "$nlist"T "$nlist"
7880 # Make sure that we snagged all the symbols we need.
7881 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7882 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7883 cat <<_LT_EOF > conftest.$ac_ext
7889 # Now generate the symbol file.
7890 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7892 cat <<_LT_EOF >> conftest.$ac_ext
7894 /* The mapping between symbol names and symbols. */
7899 lt__PROGRAM__LTX_preloaded_symbols[] =
7901 { "@PROGRAM@", (void *) 0 },
7903 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7904 cat <<\_LT_EOF >> conftest.$ac_ext
7908 /* This works around a problem in FreeBSD linker */
7909 #ifdef FREEBSD_WORKAROUND
7910 static const void *lt_preloaded_setup() {
7911 return lt__PROGRAM__LTX_preloaded_symbols;
7919 # Now try linking the two files.
7920 mv conftest.$ac_objext conftstm.$ac_objext
7921 lt_save_LIBS="$LIBS"
7922 lt_save_CFLAGS="$CFLAGS"
7923 LIBS="conftstm.$ac_objext"
7924 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7926 (eval $ac_link) 2>&5
7928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7929 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7932 LIBS="$lt_save_LIBS"
7933 CFLAGS="$lt_save_CFLAGS"
7935 echo "cannot find nm_test_func in $nlist" >&5
7938 echo "cannot find nm_test_var in $nlist" >&5
7941 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7944 echo "$progname: failed program was:" >&5
7945 cat conftest.$ac_ext >&5
7947 rm -rf conftest* conftst*
7949 # Do not use the global_symbol_pipe unless it works.
7950 if test "$pipe_works" = yes; then
7953 lt_cv_sys_global_symbol_pipe=
7959 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7960 lt_cv_sys_global_symbol_to_cdecl=
7962 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7964 $as_echo "failed" >&6; }
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7967 $as_echo "ok" >&6; }
7991 # Check whether --enable-libtool-lock was given.
7992 if test "${enable_libtool_lock+set}" = set; then :
7993 enableval=$enable_libtool_lock;
7996 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7998 # Some flags need to be propagated to the compiler or linker for good
8002 # Find out which ABI we are using.
8003 echo 'int i;' > conftest.$ac_ext
8004 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8005 (eval $ac_compile) 2>&5
8007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8008 test $ac_status = 0; }; then
8009 case `/usr/bin/file conftest.$ac_objext` in
8021 # Find out which ABI we are using.
8022 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8024 (eval $ac_compile) 2>&5
8026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8027 test $ac_status = 0; }; then
8028 if test "$lt_cv_prog_gnu_ld" = yes; then
8029 case `/usr/bin/file conftest.$ac_objext` in
8031 LD="${LD-ld} -melf32bsmip"
8034 LD="${LD-ld} -melf32bmipn32"
8037 LD="${LD-ld} -melf64bmip"
8041 case `/usr/bin/file conftest.$ac_objext` in
8057 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8058 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8059 # Find out which ABI we are using.
8060 echo 'int i;' > conftest.$ac_ext
8061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8062 (eval $ac_compile) 2>&5
8064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8065 test $ac_status = 0; }; then
8066 case `/usr/bin/file conftest.o` in
8069 x86_64-*kfreebsd*-gnu)
8070 LD="${LD-ld} -m elf_i386_fbsd"
8073 LD="${LD-ld} -m elf_i386"
8075 ppc64-*linux*|powerpc64-*linux*)
8076 LD="${LD-ld} -m elf32ppclinux"
8079 LD="${LD-ld} -m elf_s390"
8082 LD="${LD-ld} -m elf32_sparc"
8088 x86_64-*kfreebsd*-gnu)
8089 LD="${LD-ld} -m elf_x86_64_fbsd"
8092 LD="${LD-ld} -m elf_x86_64"
8094 ppc*-*linux*|powerpc*-*linux*)
8095 LD="${LD-ld} -m elf64ppc"
8097 s390*-*linux*|s390*-*tpf*)
8098 LD="${LD-ld} -m elf64_s390"
8101 LD="${LD-ld} -m elf64_sparc"
8111 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8112 SAVE_CFLAGS="$CFLAGS"
8113 CFLAGS="$CFLAGS -belf"
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8115 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8116 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8117 $as_echo_n "(cached) " >&6
8120 ac_cpp='$CPP $CPPFLAGS'
8121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8125 if test x$gcc_no_link = xyes; then
8126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8129 /* end confdefs.h. */
8139 if ac_fn_c_try_link "$LINENO"; then :
8140 lt_cv_cc_needs_belf=yes
8142 lt_cv_cc_needs_belf=no
8144 rm -f core conftest.err conftest.$ac_objext \
8145 conftest$ac_exeext conftest.$ac_ext
8147 ac_cpp='$CPP $CPPFLAGS'
8148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8154 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8155 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8156 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8157 CFLAGS="$SAVE_CFLAGS"
8161 # Find out which ABI we are using.
8162 echo 'int i;' > conftest.$ac_ext
8163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8164 (eval $ac_compile) 2>&5
8166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8167 test $ac_status = 0; }; then
8168 case `/usr/bin/file conftest.o` in
8170 case $lt_cv_prog_gnu_ld in
8171 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8173 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8185 need_locks="$enable_libtool_lock"
8189 rhapsody* | darwin*)
8190 if test -n "$ac_tool_prefix"; then
8191 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8192 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8194 $as_echo_n "checking for $ac_word... " >&6; }
8195 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8196 $as_echo_n "(cached) " >&6
8198 if test -n "$DSYMUTIL"; then
8199 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8205 test -z "$as_dir" && as_dir=.
8206 for ac_exec_ext in '' $ac_executable_extensions; do
8207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8208 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8219 if test -n "$DSYMUTIL"; then
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8221 $as_echo "$DSYMUTIL" >&6; }
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224 $as_echo "no" >&6; }
8229 if test -z "$ac_cv_prog_DSYMUTIL"; then
8230 ac_ct_DSYMUTIL=$DSYMUTIL
8231 # Extract the first word of "dsymutil", so it can be a program name with args.
8232 set dummy dsymutil; ac_word=$2
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8234 $as_echo_n "checking for $ac_word... " >&6; }
8235 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8236 $as_echo_n "(cached) " >&6
8238 if test -n "$ac_ct_DSYMUTIL"; then
8239 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8245 test -z "$as_dir" && as_dir=.
8246 for ac_exec_ext in '' $ac_executable_extensions; do
8247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8248 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8258 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8259 if test -n "$ac_ct_DSYMUTIL"; then
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8261 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8264 $as_echo "no" >&6; }
8267 if test "x$ac_ct_DSYMUTIL" = x; then
8270 case $cross_compiling:$ac_tool_warned in
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8274 ac_tool_warned=yes ;;
8276 DSYMUTIL=$ac_ct_DSYMUTIL
8279 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8282 if test -n "$ac_tool_prefix"; then
8283 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8284 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8286 $as_echo_n "checking for $ac_word... " >&6; }
8287 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8288 $as_echo_n "(cached) " >&6
8290 if test -n "$NMEDIT"; then
8291 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8297 test -z "$as_dir" && as_dir=.
8298 for ac_exec_ext in '' $ac_executable_extensions; do
8299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8300 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310 NMEDIT=$ac_cv_prog_NMEDIT
8311 if test -n "$NMEDIT"; then
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8313 $as_echo "$NMEDIT" >&6; }
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8316 $as_echo "no" >&6; }
8321 if test -z "$ac_cv_prog_NMEDIT"; then
8322 ac_ct_NMEDIT=$NMEDIT
8323 # Extract the first word of "nmedit", so it can be a program name with args.
8324 set dummy nmedit; ac_word=$2
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8326 $as_echo_n "checking for $ac_word... " >&6; }
8327 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8328 $as_echo_n "(cached) " >&6
8330 if test -n "$ac_ct_NMEDIT"; then
8331 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8337 test -z "$as_dir" && as_dir=.
8338 for ac_exec_ext in '' $ac_executable_extensions; do
8339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8340 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8350 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8351 if test -n "$ac_ct_NMEDIT"; then
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8353 $as_echo "$ac_ct_NMEDIT" >&6; }
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8356 $as_echo "no" >&6; }
8359 if test "x$ac_ct_NMEDIT" = x; then
8362 case $cross_compiling:$ac_tool_warned in
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8366 ac_tool_warned=yes ;;
8368 NMEDIT=$ac_ct_NMEDIT
8371 NMEDIT="$ac_cv_prog_NMEDIT"
8374 if test -n "$ac_tool_prefix"; then
8375 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8376 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8378 $as_echo_n "checking for $ac_word... " >&6; }
8379 if test "${ac_cv_prog_LIPO+set}" = set; then :
8380 $as_echo_n "(cached) " >&6
8382 if test -n "$LIPO"; then
8383 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8389 test -z "$as_dir" && as_dir=.
8390 for ac_exec_ext in '' $ac_executable_extensions; do
8391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8392 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8402 LIPO=$ac_cv_prog_LIPO
8403 if test -n "$LIPO"; then
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8405 $as_echo "$LIPO" >&6; }
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8408 $as_echo "no" >&6; }
8413 if test -z "$ac_cv_prog_LIPO"; then
8415 # Extract the first word of "lipo", so it can be a program name with args.
8416 set dummy lipo; ac_word=$2
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8418 $as_echo_n "checking for $ac_word... " >&6; }
8419 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8420 $as_echo_n "(cached) " >&6
8422 if test -n "$ac_ct_LIPO"; then
8423 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8429 test -z "$as_dir" && as_dir=.
8430 for ac_exec_ext in '' $ac_executable_extensions; do
8431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8432 ac_cv_prog_ac_ct_LIPO="lipo"
8433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8442 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8443 if test -n "$ac_ct_LIPO"; then
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8445 $as_echo "$ac_ct_LIPO" >&6; }
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8448 $as_echo "no" >&6; }
8451 if test "x$ac_ct_LIPO" = x; then
8454 case $cross_compiling:$ac_tool_warned in
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8458 ac_tool_warned=yes ;;
8463 LIPO="$ac_cv_prog_LIPO"
8466 if test -n "$ac_tool_prefix"; then
8467 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8468 set dummy ${ac_tool_prefix}otool; ac_word=$2
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8470 $as_echo_n "checking for $ac_word... " >&6; }
8471 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8472 $as_echo_n "(cached) " >&6
8474 if test -n "$OTOOL"; then
8475 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8481 test -z "$as_dir" && as_dir=.
8482 for ac_exec_ext in '' $ac_executable_extensions; do
8483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8484 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8494 OTOOL=$ac_cv_prog_OTOOL
8495 if test -n "$OTOOL"; then
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8497 $as_echo "$OTOOL" >&6; }
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8500 $as_echo "no" >&6; }
8505 if test -z "$ac_cv_prog_OTOOL"; then
8507 # Extract the first word of "otool", so it can be a program name with args.
8508 set dummy otool; ac_word=$2
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8510 $as_echo_n "checking for $ac_word... " >&6; }
8511 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8512 $as_echo_n "(cached) " >&6
8514 if test -n "$ac_ct_OTOOL"; then
8515 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8521 test -z "$as_dir" && as_dir=.
8522 for ac_exec_ext in '' $ac_executable_extensions; do
8523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8524 ac_cv_prog_ac_ct_OTOOL="otool"
8525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8534 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8535 if test -n "$ac_ct_OTOOL"; then
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8537 $as_echo "$ac_ct_OTOOL" >&6; }
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8540 $as_echo "no" >&6; }
8543 if test "x$ac_ct_OTOOL" = x; then
8546 case $cross_compiling:$ac_tool_warned in
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8550 ac_tool_warned=yes ;;
8555 OTOOL="$ac_cv_prog_OTOOL"
8558 if test -n "$ac_tool_prefix"; then
8559 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8560 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8562 $as_echo_n "checking for $ac_word... " >&6; }
8563 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8564 $as_echo_n "(cached) " >&6
8566 if test -n "$OTOOL64"; then
8567 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8573 test -z "$as_dir" && as_dir=.
8574 for ac_exec_ext in '' $ac_executable_extensions; do
8575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8576 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8586 OTOOL64=$ac_cv_prog_OTOOL64
8587 if test -n "$OTOOL64"; then
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8589 $as_echo "$OTOOL64" >&6; }
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8592 $as_echo "no" >&6; }
8597 if test -z "$ac_cv_prog_OTOOL64"; then
8598 ac_ct_OTOOL64=$OTOOL64
8599 # Extract the first word of "otool64", so it can be a program name with args.
8600 set dummy otool64; ac_word=$2
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8602 $as_echo_n "checking for $ac_word... " >&6; }
8603 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8604 $as_echo_n "(cached) " >&6
8606 if test -n "$ac_ct_OTOOL64"; then
8607 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8613 test -z "$as_dir" && as_dir=.
8614 for ac_exec_ext in '' $ac_executable_extensions; do
8615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8616 ac_cv_prog_ac_ct_OTOOL64="otool64"
8617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8626 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8627 if test -n "$ac_ct_OTOOL64"; then
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8629 $as_echo "$ac_ct_OTOOL64" >&6; }
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8632 $as_echo "no" >&6; }
8635 if test "x$ac_ct_OTOOL64" = x; then
8638 case $cross_compiling:$ac_tool_warned in
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8642 ac_tool_warned=yes ;;
8644 OTOOL64=$ac_ct_OTOOL64
8647 OTOOL64="$ac_cv_prog_OTOOL64"
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8677 $as_echo_n "checking for -single_module linker flag... " >&6; }
8678 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8679 $as_echo_n "(cached) " >&6
8681 lt_cv_apple_cc_single_mod=no
8682 if test -z "${LT_MULTI_MODULE}"; then
8683 # By default we will add the -single_module flag. You can override
8684 # by either setting the environment variable LT_MULTI_MODULE
8685 # non-empty at configure time, or by adding -multi_module to the
8687 rm -rf libconftest.dylib*
8688 echo "int foo(void){return 1;}" > conftest.c
8689 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8690 -dynamiclib -Wl,-single_module conftest.c" >&5
8691 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8692 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8694 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8695 lt_cv_apple_cc_single_mod=yes
8697 cat conftest.err >&5
8699 rm -rf libconftest.dylib*
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8704 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8706 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8707 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8708 $as_echo_n "(cached) " >&6
8710 lt_cv_ld_exported_symbols_list=no
8711 save_LDFLAGS=$LDFLAGS
8712 echo "_main" > conftest.sym
8713 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8714 if test x$gcc_no_link = xyes; then
8715 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8728 if ac_fn_c_try_link "$LINENO"; then :
8729 lt_cv_ld_exported_symbols_list=yes
8731 lt_cv_ld_exported_symbols_list=no
8733 rm -f core conftest.err conftest.$ac_objext \
8734 conftest$ac_exeext conftest.$ac_ext
8735 LDFLAGS="$save_LDFLAGS"
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8739 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8741 $as_echo_n "checking for -force_load linker flag... " >&6; }
8742 if test "${lt_cv_ld_force_load+set}" = set; then :
8743 $as_echo_n "(cached) " >&6
8745 lt_cv_ld_force_load=no
8746 cat > conftest.c << _LT_EOF
8747 int forced_loaded() { return 2;}
8749 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8750 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8751 echo "$AR cru libconftest.a conftest.o" >&5
8752 $AR cru libconftest.a conftest.o 2>&5
8753 cat > conftest.c << _LT_EOF
8754 int main() { return 0;}
8756 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8757 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8759 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8760 lt_cv_ld_force_load=yes
8762 cat conftest.err >&5
8764 rm -f conftest.err libconftest.a conftest conftest.c
8765 rm -rf conftest.dSYM
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8769 $as_echo "$lt_cv_ld_force_load" >&6; }
8771 rhapsody* | darwin1.[012])
8772 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8774 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8775 darwin*) # darwin 5.x on
8776 # if running on 10.5 or later, the deployment target defaults
8777 # to the OS version, if on x86, and 10.4, the deployment
8778 # target defaults to 10.4. Don't you love it?
8779 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8780 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8781 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8783 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8785 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8789 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8790 _lt_dar_single_mod='$single_module'
8792 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8793 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8795 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8797 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8798 _lt_dsymutil='~$DSYMUTIL $lib || :'
8805 for ac_header in dlfcn.h
8807 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8809 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8810 cat >>confdefs.h <<_ACEOF
8811 #define HAVE_DLFCN_H 1
8830 # Check whether --enable-shared was given.
8831 if test "${enable_shared+set}" = set; then :
8832 enableval=$enable_shared; p=${PACKAGE-default}
8834 yes) enable_shared=yes ;;
8835 no) enable_shared=no ;;
8838 # Look at the argument we got. We use all the common list separators.
8839 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8840 for pkg in $enableval; do
8842 if test "X$pkg" = "X$p"; then
8861 # Check whether --enable-static was given.
8862 if test "${enable_static+set}" = set; then :
8863 enableval=$enable_static; p=${PACKAGE-default}
8865 yes) enable_static=yes ;;
8866 no) enable_static=no ;;
8869 # Look at the argument we got. We use all the common list separators.
8870 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8871 for pkg in $enableval; do
8873 if test "X$pkg" = "X$p"; then
8893 # Check whether --with-pic was given.
8894 if test "${with_pic+set}" = set; then :
8895 withval=$with_pic; pic_mode="$withval"
8901 test -z "$pic_mode" && pic_mode=default
8909 # Check whether --enable-fast-install was given.
8910 if test "${enable_fast_install+set}" = set; then :
8911 enableval=$enable_fast_install; p=${PACKAGE-default}
8913 yes) enable_fast_install=yes ;;
8914 no) enable_fast_install=no ;;
8916 enable_fast_install=no
8917 # Look at the argument we got. We use all the common list separators.
8918 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8919 for pkg in $enableval; do
8921 if test "X$pkg" = "X$p"; then
8922 enable_fast_install=yes
8929 enable_fast_install=yes
8942 # This can be used to rebuild libtool when needed
8943 LIBTOOL_DEPS="$ltmain"
8945 # Always use our own libtool.
8946 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8973 test -z "$LN_S" && LN_S="ln -s"
8988 if test -n "${ZSH_VERSION+set}" ; then
8989 setopt NO_GLOB_SUBST
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8993 $as_echo_n "checking for objdir... " >&6; }
8994 if test "${lt_cv_objdir+set}" = set; then :
8995 $as_echo_n "(cached) " >&6
8997 rm -f .libs 2>/dev/null
8998 mkdir .libs 2>/dev/null
8999 if test -d .libs; then
9002 # MS-DOS does not allow filenames that begin with a dot.
9005 rmdir .libs 2>/dev/null
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9008 $as_echo "$lt_cv_objdir" >&6; }
9009 objdir=$lt_cv_objdir
9015 cat >>confdefs.h <<_ACEOF
9016 #define LT_OBJDIR "$lt_cv_objdir/"
9024 # AIX sometimes has problems with the GCC collect2 program. For some
9025 # reason, if we set the COLLECT_NAMES environment variable, the problems
9026 # vanish in a puff of smoke.
9027 if test "X${COLLECT_NAMES+set}" != Xset; then
9029 export COLLECT_NAMES
9036 can_build_shared=yes
9038 # All known linkers require a `.a' archive for static linking (except MSVC,
9039 # which needs '.lib').
9042 with_gnu_ld="$lt_cv_prog_gnu_ld"
9045 old_CFLAGS="$CFLAGS"
9047 # Set sane defaults for various variables
9048 test -z "$CC" && CC=cc
9049 test -z "$LTCC" && LTCC=$CC
9050 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9051 test -z "$LD" && LD=ld
9052 test -z "$ac_objext" && ac_objext=o
9054 for cc_temp in $compiler""; do
9056 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9057 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9062 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9065 # Only perform the check for file, if the check method requires it
9066 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9067 case $deplibs_check_method in
9069 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9071 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9072 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9073 $as_echo_n "(cached) " >&6
9077 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9080 lt_save_MAGIC_CMD="$MAGIC_CMD"
9081 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9082 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9083 for ac_dir in $ac_dummy; do
9085 test -z "$ac_dir" && ac_dir=.
9086 if test -f $ac_dir/${ac_tool_prefix}file; then
9087 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9088 if test -n "$file_magic_test_file"; then
9089 case $deplibs_check_method in
9091 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9092 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9093 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9094 $EGREP "$file_magic_regex" > /dev/null; then
9099 *** Warning: the command libtool uses to detect shared libraries,
9100 *** $file_magic_cmd, produces output that libtool cannot recognize.
9101 *** The result is that libtool may fail to recognize shared libraries
9102 *** as such. This will affect the creation of libtool libraries that
9103 *** depend on shared libraries, but programs linked with such libtool
9104 *** libraries will work regardless of this problem. Nevertheless, you
9105 *** may want to report the problem to your system manager and/or to
9106 *** bug-libtool@gnu.org
9116 MAGIC_CMD="$lt_save_MAGIC_CMD"
9121 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9122 if test -n "$MAGIC_CMD"; then
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9124 $as_echo "$MAGIC_CMD" >&6; }
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9127 $as_echo "no" >&6; }
9134 if test -z "$lt_cv_path_MAGIC_CMD"; then
9135 if test -n "$ac_tool_prefix"; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9137 $as_echo_n "checking for file... " >&6; }
9138 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9139 $as_echo_n "(cached) " >&6
9143 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9146 lt_save_MAGIC_CMD="$MAGIC_CMD"
9147 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9148 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9149 for ac_dir in $ac_dummy; do
9151 test -z "$ac_dir" && ac_dir=.
9152 if test -f $ac_dir/file; then
9153 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9154 if test -n "$file_magic_test_file"; then
9155 case $deplibs_check_method in
9157 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9158 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9159 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9160 $EGREP "$file_magic_regex" > /dev/null; then
9165 *** Warning: the command libtool uses to detect shared libraries,
9166 *** $file_magic_cmd, produces output that libtool cannot recognize.
9167 *** The result is that libtool may fail to recognize shared libraries
9168 *** as such. This will affect the creation of libtool libraries that
9169 *** depend on shared libraries, but programs linked with such libtool
9170 *** libraries will work regardless of this problem. Nevertheless, you
9171 *** may want to report the problem to your system manager and/or to
9172 *** bug-libtool@gnu.org
9182 MAGIC_CMD="$lt_save_MAGIC_CMD"
9187 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9188 if test -n "$MAGIC_CMD"; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9190 $as_echo "$MAGIC_CMD" >&6; }
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9193 $as_echo "no" >&6; }
9206 # Use C for the default configuration in the libtool script
9210 ac_cpp='$CPP $CPPFLAGS'
9211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9216 # Source file extension for C test sources.
9219 # Object file extension for compiled C test sources.
9223 # Code to be used in simple compile tests
9224 lt_simple_compile_test_code="int some_variable = 0;"
9226 # Code to be used in simple link tests
9227 lt_simple_link_test_code='int main(){return(0);}'
9235 # If no C compiler was specified, use CC.
9238 # If no C compiler flags were specified, use CFLAGS.
9239 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9241 # Allow CC to be a program name with arguments.
9244 # Save the default compiler, since it gets overwritten when the other
9245 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9246 compiler_DEFAULT=$CC
9248 # save warnings/boilerplate of simple test code
9249 ac_outfile=conftest.$ac_objext
9250 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9251 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9252 _lt_compiler_boilerplate=`cat conftest.err`
9255 ac_outfile=conftest.$ac_objext
9256 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9257 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9258 _lt_linker_boilerplate=`cat conftest.err`
9263 ## There is no encapsulation within the following macros, do not change
9264 ## the running order or otherwise move them around unless you know exactly
9265 ## what you are doing...
9266 if test -n "$compiler"; then
9268 lt_prog_compiler_no_builtin_flag=
9270 if test "$GCC" = yes; then
9271 case $cc_basename in
9273 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9275 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9279 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9280 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9281 $as_echo_n "(cached) " >&6
9283 lt_cv_prog_compiler_rtti_exceptions=no
9284 ac_outfile=conftest.$ac_objext
9285 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9286 lt_compiler_flag="-fno-rtti -fno-exceptions"
9287 # Insert the option either (1) after the last *FLAGS variable, or
9288 # (2) before a word containing "conftest.", or (3) at the end.
9289 # Note that $ac_compile itself does not contain backslashes and begins
9290 # with a dollar sign (not a hyphen), so the echo should work correctly.
9291 # The option is referenced via a variable to avoid confusing sed.
9292 lt_compile=`echo "$ac_compile" | $SED \
9293 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9294 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9295 -e 's:$: $lt_compiler_flag:'`
9296 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9297 (eval "$lt_compile" 2>conftest.err)
9299 cat conftest.err >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 if (exit $ac_status) && test -s "$ac_outfile"; then
9302 # The compiler can only warn and ignore the option if not recognized
9303 # So say no if there are warnings other than the usual output.
9304 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9305 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9306 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9307 lt_cv_prog_compiler_rtti_exceptions=yes
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9314 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9316 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9317 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9329 lt_prog_compiler_wl=
9330 lt_prog_compiler_pic=
9331 lt_prog_compiler_static=
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9334 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9336 if test "$GCC" = yes; then
9337 lt_prog_compiler_wl='-Wl,'
9338 lt_prog_compiler_static='-static'
9342 # All AIX code is PIC.
9343 if test "$host_cpu" = ia64; then
9344 # AIX 5 now supports IA64 processor
9345 lt_prog_compiler_static='-Bstatic'
9352 # see comment about AmigaOS4 .so support
9353 lt_prog_compiler_pic='-fPIC'
9356 # FIXME: we need at least 68020 code to build shared libraries, but
9357 # adding the `-m68020' flag to GCC prevents building anything better,
9359 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9364 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9365 # PIC is the default for these OSes.
9368 mingw* | cygwin* | pw32* | os2* | cegcc*)
9369 # This hack is so that the source file can tell whether it is being
9370 # built for inclusion in a dll (and should export symbols for example).
9371 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9372 # (--disable-auto-import) libraries
9373 lt_prog_compiler_pic='-DDLL_EXPORT'
9376 darwin* | rhapsody*)
9377 # PIC is the default on this platform
9378 # Common symbols not allowed in MH_DYLIB files
9379 lt_prog_compiler_pic='-fno-common'
9383 # PIC is the default for Haiku.
9384 # The "-static" flag exists, but is broken.
9385 lt_prog_compiler_static=
9389 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9390 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9391 # sets the default TLS model and affects inlining.
9397 lt_prog_compiler_pic='-fPIC'
9403 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9404 # Instead, we relocate shared libraries at runtime.
9408 # Just because we use GCC doesn't mean we suddenly get shared libraries
9409 # on systems that don't support them.
9410 lt_prog_compiler_can_build_shared=no
9415 # QNX uses GNU C++, but need to define -shared option too, otherwise
9417 lt_prog_compiler_pic='-fPIC -shared'
9421 if test -d /usr/nec; then
9422 lt_prog_compiler_pic=-Kconform_pic
9427 lt_prog_compiler_pic='-fPIC'
9431 case $cc_basename in
9432 nvcc*) # Cuda Compiler Driver 2.2
9433 lt_prog_compiler_wl='-Xlinker '
9434 lt_prog_compiler_pic='-Xcompiler -fPIC'
9438 # PORTME Check for flag to pass linker flags through the system compiler.
9441 lt_prog_compiler_wl='-Wl,'
9442 if test "$host_cpu" = ia64; then
9443 # AIX 5 now supports IA64 processor
9444 lt_prog_compiler_static='-Bstatic'
9446 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9450 mingw* | cygwin* | pw32* | os2* | cegcc*)
9451 # This hack is so that the source file can tell whether it is being
9452 # built for inclusion in a dll (and should export symbols for example).
9453 lt_prog_compiler_pic='-DDLL_EXPORT'
9456 hpux9* | hpux10* | hpux11*)
9457 lt_prog_compiler_wl='-Wl,'
9458 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9465 lt_prog_compiler_pic='+Z'
9468 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9469 lt_prog_compiler_static='${wl}-a ${wl}archive'
9472 irix5* | irix6* | nonstopux*)
9473 lt_prog_compiler_wl='-Wl,'
9474 # PIC (with -KPIC) is the default.
9475 lt_prog_compiler_static='-non_shared'
9478 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9479 case $cc_basename in
9480 # old Intel for x86_64 which still supported -KPIC.
9482 lt_prog_compiler_wl='-Wl,'
9483 lt_prog_compiler_pic='-KPIC'
9484 lt_prog_compiler_static='-static'
9486 # icc used to be incompatible with GCC.
9487 # ICC 10 doesn't accept -KPIC any more.
9489 lt_prog_compiler_wl='-Wl,'
9490 lt_prog_compiler_pic='-fPIC'
9491 lt_prog_compiler_static='-static'
9493 # Lahey Fortran 8.1.
9495 lt_prog_compiler_wl='-Wl,'
9496 lt_prog_compiler_pic='--shared'
9497 lt_prog_compiler_static='--static'
9499 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9500 # Portland Group compilers (*not* the Pentium gcc compiler,
9501 # which looks to be a dead project)
9502 lt_prog_compiler_wl='-Wl,'
9503 lt_prog_compiler_pic='-fpic'
9504 lt_prog_compiler_static='-Bstatic'
9507 lt_prog_compiler_wl='-Wl,'
9508 # All Alpha code is PIC.
9509 lt_prog_compiler_static='-non_shared'
9511 xl* | bgxl* | bgf* | mpixl*)
9512 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9513 lt_prog_compiler_wl='-Wl,'
9514 lt_prog_compiler_pic='-qpic'
9515 lt_prog_compiler_static='-qstaticlink'
9518 case `$CC -V 2>&1 | sed 5q` in
9519 *Sun\ F* | *Sun*Fortran*)
9520 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9521 lt_prog_compiler_pic='-KPIC'
9522 lt_prog_compiler_static='-Bstatic'
9523 lt_prog_compiler_wl=''
9527 lt_prog_compiler_pic='-KPIC'
9528 lt_prog_compiler_static='-Bstatic'
9529 lt_prog_compiler_wl='-Wl,'
9537 lt_prog_compiler_pic='-KPIC'
9538 lt_prog_compiler_static='-Bstatic'
9542 # QNX uses GNU C++, but need to define -shared option too, otherwise
9544 lt_prog_compiler_pic='-fPIC -shared'
9547 osf3* | osf4* | osf5*)
9548 lt_prog_compiler_wl='-Wl,'
9549 # All OSF/1 code is PIC.
9550 lt_prog_compiler_static='-non_shared'
9554 lt_prog_compiler_static='-non_shared'
9558 lt_prog_compiler_pic='-KPIC'
9559 lt_prog_compiler_static='-Bstatic'
9560 case $cc_basename in
9562 lt_prog_compiler_wl='-Qoption ld ';;
9564 lt_prog_compiler_wl='-Wl,';;
9569 lt_prog_compiler_wl='-Qoption ld '
9570 lt_prog_compiler_pic='-PIC'
9571 lt_prog_compiler_static='-Bstatic'
9574 sysv4 | sysv4.2uw2* | sysv4.3*)
9575 lt_prog_compiler_wl='-Wl,'
9576 lt_prog_compiler_pic='-KPIC'
9577 lt_prog_compiler_static='-Bstatic'
9581 if test -d /usr/nec ;then
9582 lt_prog_compiler_pic='-Kconform_pic'
9583 lt_prog_compiler_static='-Bstatic'
9587 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9588 lt_prog_compiler_wl='-Wl,'
9589 lt_prog_compiler_pic='-KPIC'
9590 lt_prog_compiler_static='-Bstatic'
9594 lt_prog_compiler_wl='-Wl,'
9595 lt_prog_compiler_can_build_shared=no
9599 lt_prog_compiler_pic='-pic'
9600 lt_prog_compiler_static='-Bstatic'
9604 lt_prog_compiler_can_build_shared=no
9610 # For platforms which do not support PIC, -DPIC is meaningless:
9612 lt_prog_compiler_pic=
9615 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9619 $as_echo "$lt_prog_compiler_pic" >&6; }
9627 # Check to make sure the PIC flag actually works.
9629 if test -n "$lt_prog_compiler_pic"; then
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9631 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9632 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9633 $as_echo_n "(cached) " >&6
9635 lt_cv_prog_compiler_pic_works=no
9636 ac_outfile=conftest.$ac_objext
9637 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9638 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9639 # Insert the option either (1) after the last *FLAGS variable, or
9640 # (2) before a word containing "conftest.", or (3) at the end.
9641 # Note that $ac_compile itself does not contain backslashes and begins
9642 # with a dollar sign (not a hyphen), so the echo should work correctly.
9643 # The option is referenced via a variable to avoid confusing sed.
9644 lt_compile=`echo "$ac_compile" | $SED \
9645 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9646 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9647 -e 's:$: $lt_compiler_flag:'`
9648 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9649 (eval "$lt_compile" 2>conftest.err)
9651 cat conftest.err >&5
9652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9653 if (exit $ac_status) && test -s "$ac_outfile"; then
9654 # The compiler can only warn and ignore the option if not recognized
9655 # So say no if there are warnings other than the usual output.
9656 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9657 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9658 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9659 lt_cv_prog_compiler_pic_works=yes
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9666 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9668 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9669 case $lt_prog_compiler_pic in
9671 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9674 lt_prog_compiler_pic=
9675 lt_prog_compiler_can_build_shared=no
9686 # Check to make sure the static flag actually works.
9688 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9690 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9691 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9692 $as_echo_n "(cached) " >&6
9694 lt_cv_prog_compiler_static_works=no
9695 save_LDFLAGS="$LDFLAGS"
9696 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9697 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9698 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9699 # The linker can only warn and ignore the option if not recognized
9700 # So say no if there are warnings
9701 if test -s conftest.err; then
9702 # Append any errors to the config.log.
9703 cat conftest.err 1>&5
9704 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9705 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9706 if diff conftest.exp conftest.er2 >/dev/null; then
9707 lt_cv_prog_compiler_static_works=yes
9710 lt_cv_prog_compiler_static_works=yes
9714 LDFLAGS="$save_LDFLAGS"
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9718 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9720 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9723 lt_prog_compiler_static=
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9733 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9734 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9735 $as_echo_n "(cached) " >&6
9737 lt_cv_prog_compiler_c_o=no
9738 $RM -r conftest 2>/dev/null
9742 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9744 lt_compiler_flag="-o out/conftest2.$ac_objext"
9745 # Insert the option either (1) after the last *FLAGS variable, or
9746 # (2) before a word containing "conftest.", or (3) at the end.
9747 # Note that $ac_compile itself does not contain backslashes and begins
9748 # with a dollar sign (not a hyphen), so the echo should work correctly.
9749 lt_compile=`echo "$ac_compile" | $SED \
9750 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9752 -e 's:$: $lt_compiler_flag:'`
9753 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9754 (eval "$lt_compile" 2>out/conftest.err)
9756 cat out/conftest.err >&5
9757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9760 # The compiler can only warn and ignore the option if not recognized
9761 # So say no if there are warnings
9762 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9763 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9764 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9765 lt_cv_prog_compiler_c_o=yes
9770 # SGI C++ compiler will create directory out/ii_files/ for
9771 # template instantiation
9772 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9773 $RM out/* && rmdir out
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9780 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9788 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9789 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9790 $as_echo_n "(cached) " >&6
9792 lt_cv_prog_compiler_c_o=no
9793 $RM -r conftest 2>/dev/null
9797 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9799 lt_compiler_flag="-o out/conftest2.$ac_objext"
9800 # Insert the option either (1) after the last *FLAGS variable, or
9801 # (2) before a word containing "conftest.", or (3) at the end.
9802 # Note that $ac_compile itself does not contain backslashes and begins
9803 # with a dollar sign (not a hyphen), so the echo should work correctly.
9804 lt_compile=`echo "$ac_compile" | $SED \
9805 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9806 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9807 -e 's:$: $lt_compiler_flag:'`
9808 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9809 (eval "$lt_compile" 2>out/conftest.err)
9811 cat out/conftest.err >&5
9812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9815 # The compiler can only warn and ignore the option if not recognized
9816 # So say no if there are warnings
9817 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9818 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9819 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9820 lt_cv_prog_compiler_c_o=yes
9825 # SGI C++ compiler will create directory out/ii_files/ for
9826 # template instantiation
9827 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9828 $RM out/* && rmdir out
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9835 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9840 hard_links="nottested"
9841 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9842 # do not overwrite the value of need_locks provided by the user
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9844 $as_echo_n "checking if we can lock with hard links... " >&6; }
9847 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9849 ln conftest.a conftest.b 2>&5 || hard_links=no
9850 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9852 $as_echo "$hard_links" >&6; }
9853 if test "$hard_links" = no; then
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9855 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9868 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9871 allow_undefined_flag=
9872 always_export_symbols=no
9874 archive_expsym_cmds=
9875 compiler_needs_object=no
9876 enable_shared_with_static_runtimes=no
9877 export_dynamic_flag_spec=
9878 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9879 hardcode_automatic=no
9881 hardcode_direct_absolute=no
9882 hardcode_libdir_flag_spec=
9883 hardcode_libdir_flag_spec_ld=
9884 hardcode_libdir_separator=
9886 hardcode_shlibpath_var=unsupported
9888 link_all_deplibs=unknown
9891 old_archive_from_new_cmds=
9892 old_archive_from_expsyms_cmds=
9893 thread_safe_flag_spec=
9894 whole_archive_flag_spec=
9895 # include_expsyms should be a list of space-separated symbols to be *always*
9896 # included in the symbol list
9898 # exclude_expsyms can be an extended regexp of symbols to exclude
9899 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9900 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9901 # as well as any symbol that contains `d'.
9902 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9903 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9904 # platforms (ab)use it in PIC code, but their linkers get confused if
9905 # the symbol is explicitly referenced. Since portable code cannot
9906 # rely on this symbol name, it's probably fine to never include it in
9907 # preloaded symbol tables.
9908 # Exclude shared library initialization/finalization symbols.
9909 extract_expsyms_cmds=
9912 cygwin* | mingw* | pw32* | cegcc*)
9913 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9914 # When not using gcc, we currently assume that we are using
9915 # Microsoft Visual C++.
9916 if test "$GCC" != yes; then
9921 # we just hope/assume this is gcc and not c89 (= MSVC++)
9931 # On some targets, GNU ld is compatible enough with the native linker
9932 # that we're better off using the native interface for both.
9933 lt_use_gnu_ld_interface=no
9934 if test "$with_gnu_ld" = yes; then
9937 # The AIX port of GNU ld has always aspired to compatibility
9938 # with the native linker. However, as the warning in the GNU ld
9939 # block says, versions before 2.19.5* couldn't really create working
9940 # shared libraries, regardless of the interface used.
9941 case `$LD -v 2>&1` in
9942 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9943 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9944 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9946 lt_use_gnu_ld_interface=yes
9951 lt_use_gnu_ld_interface=yes
9956 if test "$lt_use_gnu_ld_interface" = yes; then
9957 # If archive_cmds runs LD, not CC, wlarc should be empty
9960 # Set some defaults for GNU ld with shared library support. These
9961 # are reset later if shared libraries are not supported. Putting them
9962 # here allows them to be overridden if necessary.
9963 runpath_var=LD_RUN_PATH
9964 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9965 export_dynamic_flag_spec='${wl}--export-dynamic'
9966 # ancient GNU ld didn't support --whole-archive et. al.
9967 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9968 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9970 whole_archive_flag_spec=
9972 supports_anon_versioning=no
9973 case `$LD -v 2>&1` in
9974 *GNU\ gold*) supports_anon_versioning=yes ;;
9975 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9976 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9977 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9978 *\ 2.11.*) ;; # other 2.11 versions
9979 *) supports_anon_versioning=yes ;;
9982 # See if GNU ld supports shared libraries.
9985 # On AIX/PPC, the GNU linker is very broken
9986 if test "$host_cpu" != ia64; then
9990 *** Warning: the GNU linker, at least up to release 2.19, is reported
9991 *** to be unable to reliably create shared libraries on AIX.
9992 *** Therefore, libtool is disabling shared libraries support. If you
9993 *** really care for shared libraries, you may want to install binutils
9994 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9995 *** You will then need to restart the configuration process.
10004 # see comment about AmigaOS4 .so support
10005 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10006 archive_expsym_cmds=''
10009 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)'
10010 hardcode_libdir_flag_spec='-L$libdir'
10011 hardcode_minus_L=yes
10017 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10018 allow_undefined_flag=unsupported
10019 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10020 # support --undefined. This deserves some investigation. FIXME
10021 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10027 cygwin* | mingw* | pw32* | cegcc*)
10028 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10029 # as there is no search path for DLLs.
10030 hardcode_libdir_flag_spec='-L$libdir'
10031 export_dynamic_flag_spec='${wl}--export-all-symbols'
10032 allow_undefined_flag=unsupported
10033 always_export_symbols=no
10034 enable_shared_with_static_runtimes=yes
10035 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10037 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10038 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10039 # If the export-symbols file already is a .def file (1st line
10040 # is EXPORTS), use it as is; otherwise, prepend...
10041 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10042 cp $export_symbols $output_objdir/$soname.def;
10044 echo EXPORTS > $output_objdir/$soname.def;
10045 cat $export_symbols >> $output_objdir/$soname.def;
10047 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10054 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10055 link_all_deplibs=yes
10060 hardcode_shlibpath_var=no
10061 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10062 export_dynamic_flag_spec='${wl}-E'
10063 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10064 # Instead, shared libraries are loaded at an image base (0x10000000 by
10065 # default) and relocated if they conflict, which is a slow very memory
10066 # consuming and fragmenting process. To avoid this, we pick a random,
10067 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10068 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10069 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10070 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'
10073 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10075 if test "$host_os" = linux-dietlibc; then
10076 case $cc_basename in
10077 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10080 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10081 && test "$tmp_diet" = no
10084 tmp_sharedflag='-shared'
10085 case $cc_basename,$host_cpu in
10086 pgcc*) # Portland Group C compiler
10087 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10088 tmp_addflag=' $pic_flag'
10090 pgf77* | pgf90* | pgf95* | pgfortran*)
10091 # Portland Group f77 and f90 compilers
10092 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10093 tmp_addflag=' $pic_flag -Mnomain' ;;
10094 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10095 tmp_addflag=' -i_dynamic' ;;
10096 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10097 tmp_addflag=' -i_dynamic -nofor_main' ;;
10098 ifc* | ifort*) # Intel Fortran compiler
10099 tmp_addflag=' -nofor_main' ;;
10100 lf95*) # Lahey Fortran 8.1
10101 whole_archive_flag_spec=
10102 tmp_sharedflag='--shared' ;;
10103 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10104 tmp_sharedflag='-qmkshrobj'
10106 nvcc*) # Cuda Compiler Driver 2.2
10107 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10108 compiler_needs_object=yes
10111 case `$CC -V 2>&1 | sed 5q` in
10112 *Sun\ C*) # Sun C 5.9
10113 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10114 compiler_needs_object=yes
10115 tmp_sharedflag='-G' ;;
10116 *Sun\ F*) # Sun Fortran 8.3
10117 tmp_sharedflag='-G' ;;
10119 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10121 if test "x$supports_anon_versioning" = xyes; then
10122 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10123 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10124 echo "local: *; };" >> $output_objdir/$libname.ver~
10125 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10128 case $cc_basename in
10129 xlf* | bgf* | bgxlf* | mpixlf*)
10130 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10131 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10132 hardcode_libdir_flag_spec=
10133 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10134 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10135 if test "x$supports_anon_versioning" = xyes; then
10136 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10137 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10138 echo "local: *; };" >> $output_objdir/$libname.ver~
10139 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10149 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10150 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10153 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10154 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10159 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10163 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10164 *** create shared libraries on Solaris systems. Therefore, libtool
10165 *** is disabling shared libraries support. We urge you to upgrade GNU
10166 *** binutils to release 2.9.1 or newer. Another option is to modify
10167 *** your PATH or compiler configuration so that the native linker is
10168 *** used, and then restart.
10171 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10172 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10173 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10179 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10180 case `$LD -v 2>&1` in
10181 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10185 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10186 *** reliably create shared libraries on SCO systems. Therefore, libtool
10187 *** is disabling shared libraries support. We urge you to upgrade GNU
10188 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10189 *** your PATH or compiler configuration so that the native linker is
10190 *** used, and then restart.
10195 # For security reasons, it is highly recommended that you always
10196 # use absolute paths for naming shared libraries, and exclude the
10197 # DT_RUNPATH tag from executables and libraries. But doing so
10198 # requires that you compile everything twice, which is a pain.
10199 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10200 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10202 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10211 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10213 hardcode_direct=yes
10214 hardcode_shlibpath_var=no
10218 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10220 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10227 if test "$ld_shlibs" = no; then
10229 hardcode_libdir_flag_spec=
10230 export_dynamic_flag_spec=
10231 whole_archive_flag_spec=
10234 # PORTME fill in a description of your system's linker (not GNU ld)
10237 allow_undefined_flag=unsupported
10238 always_export_symbols=yes
10239 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'
10240 # Note: this linker hardcodes the directories in LIBPATH if there
10241 # are no directories specified by -L.
10242 hardcode_minus_L=yes
10243 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10244 # Neither direct hardcoding nor static linking is supported with a
10246 hardcode_direct=unsupported
10251 if test "$host_cpu" = ia64; then
10252 # On IA64, the linker does run time linking by default, so we don't
10253 # have to do anything special.
10254 aix_use_runtimelinking=no
10255 exp_sym_flag='-Bexport'
10258 # If we're using GNU nm, then we don't want the "-C" option.
10259 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10260 # Also, AIX nm treats weak defined symbols like other global
10261 # defined symbols, whereas GNU nm marks them as "W".
10262 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10263 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10265 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'
10267 aix_use_runtimelinking=no
10269 # Test if we are trying to use run time linking or normal
10270 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10271 # need to do runtime linking.
10272 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10273 for ld_flag in $LDFLAGS; do
10274 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10275 aix_use_runtimelinking=yes
10282 exp_sym_flag='-bexport'
10283 no_entry_flag='-bnoentry'
10286 # When large executables or shared objects are built, AIX ld can
10287 # have problems creating the table of contents. If linking a library
10288 # or program results in "error TOC overflow" add -mminimal-toc to
10289 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10290 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10293 hardcode_direct=yes
10294 hardcode_direct_absolute=yes
10295 hardcode_libdir_separator=':'
10296 link_all_deplibs=yes
10297 file_list_spec='${wl}-f,'
10299 if test "$GCC" = yes; then
10300 case $host_os in aix4.[012]|aix4.[012].*)
10301 # We only want to do this on AIX 4.2 and lower, the check
10302 # below for broken collect2 doesn't work under 4.3+
10303 collect2name=`${CC} -print-prog-name=collect2`
10304 if test -f "$collect2name" &&
10305 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10307 # We have reworked collect2
10310 # We have old collect2
10311 hardcode_direct=unsupported
10312 # It fails to find uninstalled libraries when the uninstalled
10313 # path is not listed in the libpath. Setting hardcode_minus_L
10314 # to unsupported forces relinking
10315 hardcode_minus_L=yes
10316 hardcode_libdir_flag_spec='-L$libdir'
10317 hardcode_libdir_separator=
10321 shared_flag='-shared'
10322 if test "$aix_use_runtimelinking" = yes; then
10323 shared_flag="$shared_flag "'${wl}-G'
10327 if test "$host_cpu" = ia64; then
10328 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10329 # chokes on -Wl,-G. The following line is correct:
10332 if test "$aix_use_runtimelinking" = yes; then
10333 shared_flag='${wl}-G'
10335 shared_flag='${wl}-bM:SRE'
10340 export_dynamic_flag_spec='${wl}-bexpall'
10341 # It seems that -bexpall does not export symbols beginning with
10342 # underscore (_), so it is better to generate a list of symbols to export.
10343 always_export_symbols=yes
10344 if test "$aix_use_runtimelinking" = yes; then
10345 # Warning - without using the other runtime loading flags (-brtl),
10346 # -berok will link without error, but may produce a broken library.
10347 allow_undefined_flag='-berok'
10348 # Determine the default libpath from the value encoded in an
10349 # empty executable.
10350 if test x$gcc_no_link = xyes; then
10351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10364 if ac_fn_c_try_link "$LINENO"; then :
10366 lt_aix_libpath_sed='
10367 /Import File Strings/,/^$/ {
10373 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10374 # Check for a 64-bit object if we didn't find anything.
10375 if test -z "$aix_libpath"; then
10376 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10379 rm -f core conftest.err conftest.$ac_objext \
10380 conftest$ac_exeext conftest.$ac_ext
10381 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10383 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10384 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10386 if test "$host_cpu" = ia64; then
10387 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10388 allow_undefined_flag="-z nodefs"
10389 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"
10391 # Determine the default libpath from the value encoded in an
10392 # empty executable.
10393 if test x$gcc_no_link = xyes; then
10394 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10407 if ac_fn_c_try_link "$LINENO"; then :
10409 lt_aix_libpath_sed='
10410 /Import File Strings/,/^$/ {
10416 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10417 # Check for a 64-bit object if we didn't find anything.
10418 if test -z "$aix_libpath"; then
10419 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10422 rm -f core conftest.err conftest.$ac_objext \
10423 conftest$ac_exeext conftest.$ac_ext
10424 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10426 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10427 # Warning - without using the other run time loading flags,
10428 # -berok will link without error, but may produce a broken library.
10429 no_undefined_flag=' ${wl}-bernotok'
10430 allow_undefined_flag=' ${wl}-berok'
10431 if test "$with_gnu_ld" = yes; then
10432 # We only use this code for GNU lds that support --whole-archive.
10433 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10435 # Exported symbols can be pulled into shared objects from archives
10436 whole_archive_flag_spec='$convenience'
10438 archive_cmds_need_lc=yes
10439 # This is similar to how AIX traditionally builds its shared libraries.
10440 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'
10448 # see comment about AmigaOS4 .so support
10449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10450 archive_expsym_cmds=''
10453 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)'
10454 hardcode_libdir_flag_spec='-L$libdir'
10455 hardcode_minus_L=yes
10461 export_dynamic_flag_spec=-rdynamic
10464 cygwin* | mingw* | pw32* | cegcc*)
10465 # When not using gcc, we currently assume that we are using
10466 # Microsoft Visual C++.
10467 # hardcode_libdir_flag_spec is actually meaningless, as there is
10468 # no search path for DLLs.
10469 hardcode_libdir_flag_spec=' '
10470 allow_undefined_flag=unsupported
10471 # Tell ltmain to make .lib files, not .a files.
10473 # Tell ltmain to make .dll files, not .so files.
10475 # FIXME: Setting linknames here is a bad hack.
10476 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10477 # The linker will automatically build a .lib file if we build a DLL.
10478 old_archive_from_new_cmds='true'
10479 # FIXME: Should let the user specify the lib program.
10480 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10481 fix_srcfile_path='`cygpath -w "$srcfile"`'
10482 enable_shared_with_static_runtimes=yes
10485 darwin* | rhapsody*)
10488 archive_cmds_need_lc=no
10490 hardcode_automatic=yes
10491 hardcode_shlibpath_var=unsupported
10492 if test "$lt_cv_ld_force_load" = "yes"; then
10493 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10495 whole_archive_flag_spec=''
10497 link_all_deplibs=yes
10498 allow_undefined_flag="$_lt_dar_allow_undefined"
10499 case $cc_basename in
10500 ifort*) _lt_dar_can_shared=yes ;;
10501 *) _lt_dar_can_shared=$GCC ;;
10503 if test "$_lt_dar_can_shared" = "yes"; then
10504 output_verbose_link_cmd=func_echo_all
10505 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10506 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10507 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}"
10508 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}"
10517 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10518 hardcode_libdir_flag_spec='-L$libdir'
10519 hardcode_shlibpath_var=no
10522 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10523 # support. Future versions do this automatically, but an explicit c++rt0.o
10524 # does not break anything, and helps significantly (at the cost of a little
10527 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10528 hardcode_libdir_flag_spec='-R$libdir'
10529 hardcode_direct=yes
10530 hardcode_shlibpath_var=no
10533 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10535 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10536 hardcode_direct=yes
10537 hardcode_minus_L=yes
10538 hardcode_shlibpath_var=no
10541 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10542 freebsd* | dragonfly*)
10543 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10544 hardcode_libdir_flag_spec='-R$libdir'
10545 hardcode_direct=yes
10546 hardcode_shlibpath_var=no
10550 if test "$GCC" = yes; then
10551 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'
10553 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'
10555 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10556 hardcode_libdir_separator=:
10557 hardcode_direct=yes
10559 # hardcode_minus_L: Not really in the search PATH,
10560 # but as the default location of the library.
10561 hardcode_minus_L=yes
10562 export_dynamic_flag_spec='${wl}-E'
10566 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10567 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10569 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10571 if test "$with_gnu_ld" = no; then
10572 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10573 hardcode_libdir_flag_spec_ld='+b $libdir'
10574 hardcode_libdir_separator=:
10575 hardcode_direct=yes
10576 hardcode_direct_absolute=yes
10577 export_dynamic_flag_spec='${wl}-E'
10578 # hardcode_minus_L: Not really in the search PATH,
10579 # but as the default location of the library.
10580 hardcode_minus_L=yes
10585 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10588 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10591 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10594 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10600 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10603 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10607 # Older versions of the 11.00 compiler do not understand -b yet
10608 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10610 $as_echo_n "checking if $CC understands -b... " >&6; }
10611 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10612 $as_echo_n "(cached) " >&6
10614 lt_cv_prog_compiler__b=no
10615 save_LDFLAGS="$LDFLAGS"
10616 LDFLAGS="$LDFLAGS -b"
10617 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10618 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10619 # The linker can only warn and ignore the option if not recognized
10620 # So say no if there are warnings
10621 if test -s conftest.err; then
10622 # Append any errors to the config.log.
10623 cat conftest.err 1>&5
10624 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10625 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10626 if diff conftest.exp conftest.er2 >/dev/null; then
10627 lt_cv_prog_compiler__b=yes
10630 lt_cv_prog_compiler__b=yes
10634 LDFLAGS="$save_LDFLAGS"
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10638 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10640 if test x"$lt_cv_prog_compiler__b" = xyes; then
10641 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10643 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10649 if test "$with_gnu_ld" = no; then
10650 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10651 hardcode_libdir_separator=:
10656 hardcode_shlibpath_var=no
10659 hardcode_direct=yes
10660 hardcode_direct_absolute=yes
10661 export_dynamic_flag_spec='${wl}-E'
10663 # hardcode_minus_L: Not really in the search PATH,
10664 # but as the default location of the library.
10665 hardcode_minus_L=yes
10671 irix5* | irix6* | nonstopux*)
10672 if test "$GCC" = yes; then
10673 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10674 # Try to use the -exported_symbol ld option, if it does not
10675 # work, assume that -exports_file does not work either and
10676 # implicitly export all symbols.
10677 save_LDFLAGS="$LDFLAGS"
10678 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10679 if test x$gcc_no_link = xyes; then
10680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10686 if ac_fn_c_try_link "$LINENO"; then :
10687 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10690 rm -f core conftest.err conftest.$ac_objext \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LDFLAGS="$save_LDFLAGS"
10694 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10695 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10697 archive_cmds_need_lc='no'
10698 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10699 hardcode_libdir_separator=:
10701 link_all_deplibs=yes
10705 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10708 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10710 hardcode_libdir_flag_spec='-R$libdir'
10711 hardcode_direct=yes
10712 hardcode_shlibpath_var=no
10716 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10717 hardcode_direct=yes
10718 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10719 hardcode_libdir_separator=:
10720 hardcode_shlibpath_var=no
10727 if test -f /usr/libexec/ld.so; then
10728 hardcode_direct=yes
10729 hardcode_shlibpath_var=no
10730 hardcode_direct_absolute=yes
10731 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10732 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10733 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10734 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10735 export_dynamic_flag_spec='${wl}-E'
10738 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10739 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10740 hardcode_libdir_flag_spec='-R$libdir'
10743 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10744 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10754 hardcode_libdir_flag_spec='-L$libdir'
10755 hardcode_minus_L=yes
10756 allow_undefined_flag=unsupported
10757 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'
10758 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10762 if test "$GCC" = yes; then
10763 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10764 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10766 allow_undefined_flag=' -expect_unresolved \*'
10767 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10769 archive_cmds_need_lc='no'
10770 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10771 hardcode_libdir_separator=:
10774 osf4* | osf5*) # as osf3* with the addition of -msym flag
10775 if test "$GCC" = yes; then
10776 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10777 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10778 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10780 allow_undefined_flag=' -expect_unresolved \*'
10781 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10782 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~
10783 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10785 # Both c and cxx compiler support -rpath directly
10786 hardcode_libdir_flag_spec='-rpath $libdir'
10788 archive_cmds_need_lc='no'
10789 hardcode_libdir_separator=:
10793 no_undefined_flag=' -z defs'
10794 if test "$GCC" = yes; then
10796 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10797 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10798 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10800 case `$CC -V 2>&1` in
10803 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10804 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10805 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10809 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10810 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10811 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10815 hardcode_libdir_flag_spec='-R$libdir'
10816 hardcode_shlibpath_var=no
10818 solaris2.[0-5] | solaris2.[0-5].*) ;;
10820 # The compiler driver will combine and reorder linker options,
10821 # but understands `-z linker_flag'. GCC discards it without `$wl',
10822 # but is careful enough not to reorder.
10823 # Supported since Solaris 2.6 (maybe 2.5.1?)
10824 if test "$GCC" = yes; then
10825 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10827 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10831 link_all_deplibs=yes
10835 if test "x$host_vendor" = xsequent; then
10836 # Use $CC to link under sequent, because it throws in some extra .o
10837 # files that make .init and .fini sections work.
10838 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10840 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10842 hardcode_libdir_flag_spec='-L$libdir'
10843 hardcode_direct=yes
10844 hardcode_minus_L=yes
10845 hardcode_shlibpath_var=no
10849 case $host_vendor in
10851 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10852 hardcode_direct=yes # is this really true???
10855 ## LD is ld it makes a PLAMLIB
10856 ## CC just makes a GrossModule.
10857 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10858 reload_cmds='$CC -r -o $output$reload_objs'
10862 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10863 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10866 runpath_var='LD_RUN_PATH'
10867 hardcode_shlibpath_var=no
10871 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10872 hardcode_shlibpath_var=no
10873 export_dynamic_flag_spec='-Bexport'
10877 if test -d /usr/nec; then
10878 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10879 hardcode_shlibpath_var=no
10880 runpath_var=LD_RUN_PATH
10881 hardcode_runpath_var=yes
10886 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10887 no_undefined_flag='${wl}-z,text'
10888 archive_cmds_need_lc=no
10889 hardcode_shlibpath_var=no
10890 runpath_var='LD_RUN_PATH'
10892 if test "$GCC" = yes; then
10893 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10894 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10896 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10897 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10901 sysv5* | sco3.2v5* | sco5v6*)
10902 # Note: We can NOT use -z defs as we might desire, because we do not
10903 # link with -lc, and that would cause any symbols used from libc to
10904 # always be unresolved, which means just about no library would
10905 # ever link correctly. If we're not using GNU ld we use -z text
10906 # though, which does catch some bad symbols but isn't as heavy-handed
10908 no_undefined_flag='${wl}-z,text'
10909 allow_undefined_flag='${wl}-z,nodefs'
10910 archive_cmds_need_lc=no
10911 hardcode_shlibpath_var=no
10912 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10913 hardcode_libdir_separator=':'
10914 link_all_deplibs=yes
10915 export_dynamic_flag_spec='${wl}-Bexport'
10916 runpath_var='LD_RUN_PATH'
10918 if test "$GCC" = yes; then
10919 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10920 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10922 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10923 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10928 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10929 hardcode_libdir_flag_spec='-L$libdir'
10930 hardcode_shlibpath_var=no
10938 if test x$host_vendor = xsni; then
10940 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10941 export_dynamic_flag_spec='${wl}-Blargedynsym'
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10948 $as_echo "$ld_shlibs" >&6; }
10949 test "$ld_shlibs" = no && can_build_shared=no
10951 with_gnu_ld=$with_gnu_ld
10968 # Do we need to explicitly link libc?
10970 case "x$archive_cmds_need_lc" in
10972 # Assume -lc should be added
10973 archive_cmds_need_lc=yes
10975 if test "$enable_shared" = yes && test "$GCC" = yes; then
10976 case $archive_cmds in
10978 # FIXME: we may have to deal with multi-command sequences.
10981 # Test whether the compiler implicitly links with -lc since on some
10982 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10983 # to ld, don't add -lc before -lgcc.
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10985 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10986 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10987 $as_echo_n "(cached) " >&6
10990 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10992 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10993 (eval $ac_compile) 2>&5
10995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10996 test $ac_status = 0; } 2>conftest.err; then
10999 libobjs=conftest.$ac_objext
11001 wl=$lt_prog_compiler_wl
11002 pic_flag=$lt_prog_compiler_pic
11008 lt_save_allow_undefined_flag=$allow_undefined_flag
11009 allow_undefined_flag=
11010 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11011 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11014 test $ac_status = 0; }
11016 lt_cv_archive_cmds_need_lc=no
11018 lt_cv_archive_cmds_need_lc=yes
11020 allow_undefined_flag=$lt_save_allow_undefined_flag
11022 cat conftest.err 1>&5
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11028 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11029 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11193 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11195 if test "$GCC" = yes; then
11197 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11198 *) lt_awk_arg="/^libraries:/" ;;
11201 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11202 *) lt_sed_strip_eq="s,=/,/,g" ;;
11204 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11205 case $lt_search_path_spec in
11207 # if the path contains ";" then we assume it to be the separator
11208 # otherwise default to the standard path separator (i.e. ":") - it is
11209 # assumed that no part of a normal pathname contains ";" but that should
11210 # okay in the real world where ";" in dirpaths is itself problematic.
11211 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11214 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11217 # Ok, now we have the path, separated by spaces, we can step through it
11218 # and add multilib dir if necessary.
11219 lt_tmp_lt_search_path_spec=
11220 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11221 for lt_sys_path in $lt_search_path_spec; do
11222 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11223 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11225 test -d "$lt_sys_path" && \
11226 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11229 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11230 BEGIN {RS=" "; FS="/|\n";} {
11233 for (lt_i = NF; lt_i > 0; lt_i--) {
11234 if ($lt_i != "" && $lt_i != ".") {
11235 if ($lt_i == "..") {
11238 if (lt_count == 0) {
11239 lt_foo="/" $lt_i lt_foo;
11246 if (lt_foo != "") { lt_freq[lt_foo]++; }
11247 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11249 # AWK program above erroneously prepends '/' to C:/dos/paths
11252 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11253 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11255 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11257 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11259 library_names_spec=
11260 libname_spec='lib$name'
11264 postuninstall_cmds=
11268 shlibpath_overrides_runpath=unknown
11270 dynamic_linker="$host_os ld.so"
11271 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11272 need_lib_prefix=unknown
11273 hardcode_into_libs=no
11275 # when you set need_version to no, make sure it does not cause -set_version
11276 # flags to be left without arguments
11277 need_version=unknown
11282 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11283 shlibpath_var=LIBPATH
11285 # AIX 3 has no versioning support, so we append a major version to the name.
11286 soname_spec='${libname}${release}${shared_ext}$major'
11293 hardcode_into_libs=yes
11294 if test "$host_cpu" = ia64; then
11295 # AIX 5 supports IA64
11296 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11297 shlibpath_var=LD_LIBRARY_PATH
11299 # With GCC up to 2.95.x, collect2 would create an import file
11300 # for dependence libraries. The import file would start with
11301 # the line `#! .'. This would cause the generated library to
11302 # depend on `.', always an invalid library. This was fixed in
11303 # development snapshots of GCC prior to 3.0.
11305 aix4 | aix4.[01] | aix4.[01].*)
11306 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11308 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11311 can_build_shared=no
11315 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11316 # soname into executable. Probably we can add versioning support to
11317 # collect2, so additional links can be useful in future.
11318 if test "$aix_use_runtimelinking" = yes; then
11319 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11320 # instead of lib<name>.a to let people know that these are not
11321 # typical AIX shared libraries.
11322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11324 # We preserve .a as extension for shared libraries through AIX4.2
11325 # and later when we are not doing run time linking.
11326 library_names_spec='${libname}${release}.a $libname.a'
11327 soname_spec='${libname}${release}${shared_ext}$major'
11329 shlibpath_var=LIBPATH
11336 # Since July 2007 AmigaOS4 officially supports .so libraries.
11337 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11341 library_names_spec='$libname.ixlibrary $libname.a'
11342 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11343 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11349 library_names_spec='${libname}${shared_ext}'
11350 dynamic_linker="$host_os ld.so"
11351 shlibpath_var=LIBRARY_PATH
11357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358 soname_spec='${libname}${release}${shared_ext}$major'
11359 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11360 shlibpath_var=LD_LIBRARY_PATH
11361 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11362 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11363 # the default ld.so.conf also contains /usr/contrib/lib and
11364 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11365 # libtool to hard-code these into programs
11368 cygwin* | mingw* | pw32* | cegcc*)
11369 version_type=windows
11374 case $GCC,$host_os in
11375 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11376 library_names_spec='$libname.dll.a'
11377 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11378 postinstall_cmds='base_file=`basename \${file}`~
11379 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11380 dldir=$destdir/`dirname \$dlpath`~
11381 test -d \$dldir || mkdir -p \$dldir~
11382 $install_prog $dir/$dlname \$dldir/$dlname~
11383 chmod a+x \$dldir/$dlname~
11384 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11385 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11387 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11388 dlpath=$dir/\$dldll~
11390 shlibpath_overrides_runpath=yes
11394 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11395 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11397 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11400 # MinGW DLLs use traditional 'lib' prefix
11401 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11404 # pw32 DLLs use 'pw' prefix rather than 'lib'
11405 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11411 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11414 dynamic_linker='Win32 ld.exe'
11415 # FIXME: first we should search . and the directory the executable is in
11419 darwin* | rhapsody*)
11420 dynamic_linker="$host_os dyld"
11421 version_type=darwin
11424 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11425 soname_spec='${libname}${release}${major}$shared_ext'
11426 shlibpath_overrides_runpath=yes
11427 shlibpath_var=DYLD_LIBRARY_PATH
11428 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11430 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11431 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11439 soname_spec='${libname}${release}${shared_ext}$major'
11440 shlibpath_var=LD_LIBRARY_PATH
11443 freebsd* | dragonfly*)
11444 # DragonFly does not have aout. When/if they implement a new
11445 # versioning mechanism, adjust this.
11446 if test -x /usr/bin/objformat; then
11447 objformat=`/usr/bin/objformat`
11450 freebsd[23].*) objformat=aout ;;
11451 *) objformat=elf ;;
11454 version_type=freebsd-$objformat
11455 case $version_type in
11457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11462 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11466 shlibpath_var=LD_LIBRARY_PATH
11469 shlibpath_overrides_runpath=yes
11471 freebsd3.[01]* | freebsdelf3.[01]*)
11472 shlibpath_overrides_runpath=yes
11473 hardcode_into_libs=yes
11475 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11476 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11477 shlibpath_overrides_runpath=no
11478 hardcode_into_libs=yes
11480 *) # from 4.6 on, and DragonFly
11481 shlibpath_overrides_runpath=yes
11482 hardcode_into_libs=yes
11491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11492 soname_spec='${libname}${release}${shared_ext}$major'
11493 shlibpath_var=LD_LIBRARY_PATH
11494 hardcode_into_libs=yes
11501 dynamic_linker="$host_os runtime_loader"
11502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11503 soname_spec='${libname}${release}${shared_ext}$major'
11504 shlibpath_var=LIBRARY_PATH
11505 shlibpath_overrides_runpath=yes
11506 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11507 hardcode_into_libs=yes
11510 hpux9* | hpux10* | hpux11*)
11511 # Give a soname corresponding to the major version so that dld.sl refuses to
11512 # link against other versions.
11519 hardcode_into_libs=yes
11520 dynamic_linker="$host_os dld.so"
11521 shlibpath_var=LD_LIBRARY_PATH
11522 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11524 soname_spec='${libname}${release}${shared_ext}$major'
11525 if test "X$HPUX_IA64_MODE" = X32; then
11526 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11528 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11530 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11534 hardcode_into_libs=yes
11535 dynamic_linker="$host_os dld.sl"
11536 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11537 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11539 soname_spec='${libname}${release}${shared_ext}$major'
11540 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11541 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11545 dynamic_linker="$host_os dld.sl"
11546 shlibpath_var=SHLIB_PATH
11547 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11549 soname_spec='${libname}${release}${shared_ext}$major'
11552 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11553 postinstall_cmds='chmod 555 $lib'
11554 # or fails outright, so override atomically:
11555 install_override_mode=555
11562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11563 soname_spec='${libname}${release}${shared_ext}$major'
11564 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11565 shlibpath_var=LD_LIBRARY_PATH
11566 shlibpath_overrides_runpath=no
11567 hardcode_into_libs=yes
11570 irix5* | irix6* | nonstopux*)
11572 nonstopux*) version_type=nonstopux ;;
11574 if test "$lt_cv_prog_gnu_ld" = yes; then
11582 soname_spec='${libname}${release}${shared_ext}$major'
11583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11585 irix5* | nonstopux*)
11586 libsuff= shlibsuff=
11589 case $LD in # libtool.m4 will add one of these switches to LD
11590 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11591 libsuff= shlibsuff= libmagic=32-bit;;
11592 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11593 libsuff=32 shlibsuff=N32 libmagic=N32;;
11594 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11595 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11596 *) libsuff= shlibsuff= libmagic=never-match;;
11600 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11601 shlibpath_overrides_runpath=no
11602 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11603 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11604 hardcode_into_libs=yes
11607 # No shared lib support for Linux oldld, aout, or coff.
11608 linux*oldld* | linux*aout* | linux*coff*)
11612 # This must be Linux ELF.
11613 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11618 soname_spec='${libname}${release}${shared_ext}$major'
11619 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11620 shlibpath_var=LD_LIBRARY_PATH
11621 shlibpath_overrides_runpath=no
11623 # Some binutils ld are patched to set DT_RUNPATH
11624 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11625 $as_echo_n "(cached) " >&6
11627 lt_cv_shlibpath_overrides_runpath=no
11628 save_LDFLAGS=$LDFLAGS
11629 save_libdir=$libdir
11630 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11631 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11632 if test x$gcc_no_link = xyes; then
11633 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11646 if ac_fn_c_try_link "$LINENO"; then :
11647 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11648 lt_cv_shlibpath_overrides_runpath=yes
11651 rm -f core conftest.err conftest.$ac_objext \
11652 conftest$ac_exeext conftest.$ac_ext
11653 LDFLAGS=$save_LDFLAGS
11654 libdir=$save_libdir
11658 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11660 # This implies no fast_install, which is unacceptable.
11661 # Some rework will be needed to allow for fast_install
11662 # before this can be enabled.
11663 hardcode_into_libs=yes
11665 # Append ld.so.conf contents to the search path
11666 if test -f /etc/ld.so.conf; then
11667 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11668 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11671 # We used to test for /lib/ld.so.1 and disable shared libraries on
11672 # powerpc, because MkLinux only supported shared libraries with the
11673 # GNU dynamic linker. Since this was broken with cross compilers,
11674 # most powerpc-linux boxes support dynamic linking these days and
11675 # people can always --disable-shared, the test was removed, and we
11676 # assume the GNU/Linux dynamic linker is in use.
11677 dynamic_linker='GNU/Linux ld.so'
11684 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11686 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11687 dynamic_linker='NetBSD (a.out) ld.so'
11689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11690 soname_spec='${libname}${release}${shared_ext}$major'
11691 dynamic_linker='NetBSD ld.elf_so'
11693 shlibpath_var=LD_LIBRARY_PATH
11694 shlibpath_overrides_runpath=yes
11695 hardcode_into_libs=yes
11700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11701 shlibpath_var=LD_LIBRARY_PATH
11702 shlibpath_overrides_runpath=yes
11709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11710 soname_spec='${libname}${release}${shared_ext}$major'
11711 shlibpath_var=LD_LIBRARY_PATH
11712 shlibpath_overrides_runpath=no
11713 hardcode_into_libs=yes
11714 dynamic_linker='ldqnx.so'
11719 sys_lib_dlsearch_path_spec="/usr/lib"
11721 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11723 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11724 *) need_version=no ;;
11726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11727 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11728 shlibpath_var=LD_LIBRARY_PATH
11729 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11731 openbsd2.[89] | openbsd2.[89].*)
11732 shlibpath_overrides_runpath=no
11735 shlibpath_overrides_runpath=yes
11739 shlibpath_overrides_runpath=yes
11744 libname_spec='$name'
11747 library_names_spec='$libname${shared_ext} $libname.a'
11748 dynamic_linker='OS/2 ld.exe'
11749 shlibpath_var=LIBPATH
11752 osf3* | osf4* | osf5*)
11756 soname_spec='${libname}${release}${shared_ext}$major'
11757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11758 shlibpath_var=LD_LIBRARY_PATH
11759 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11760 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11772 soname_spec='${libname}${release}${shared_ext}$major'
11773 shlibpath_var=LD_LIBRARY_PATH
11774 shlibpath_overrides_runpath=yes
11775 hardcode_into_libs=yes
11776 # ldd complains unless libraries are executable
11777 postinstall_cmds='chmod +x $lib'
11782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11783 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11784 shlibpath_var=LD_LIBRARY_PATH
11785 shlibpath_overrides_runpath=yes
11786 if test "$with_gnu_ld" = yes; then
11794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795 soname_spec='${libname}${release}${shared_ext}$major'
11796 shlibpath_var=LD_LIBRARY_PATH
11797 case $host_vendor in
11799 shlibpath_overrides_runpath=no
11801 runpath_var=LD_RUN_PATH
11809 shlibpath_overrides_runpath=no
11810 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11816 if test -d /usr/nec ;then
11818 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11819 soname_spec='$libname${shared_ext}.$major'
11820 shlibpath_var=LD_LIBRARY_PATH
11824 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11825 version_type=freebsd-elf
11828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11829 soname_spec='${libname}${release}${shared_ext}$major'
11830 shlibpath_var=LD_LIBRARY_PATH
11831 shlibpath_overrides_runpath=yes
11832 hardcode_into_libs=yes
11833 if test "$with_gnu_ld" = yes; then
11834 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11836 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11839 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11843 sys_lib_dlsearch_path_spec='/usr/lib'
11847 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11852 shlibpath_var=LD_LIBRARY_PATH
11853 shlibpath_overrides_runpath=no
11854 hardcode_into_libs=yes
11859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11860 soname_spec='${libname}${release}${shared_ext}$major'
11861 shlibpath_var=LD_LIBRARY_PATH
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11869 $as_echo "$dynamic_linker" >&6; }
11870 test "$dynamic_linker" = no && can_build_shared=no
11872 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11873 if test "$GCC" = yes; then
11874 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11877 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11878 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11880 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11881 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11976 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11978 if test -n "$hardcode_libdir_flag_spec" ||
11979 test -n "$runpath_var" ||
11980 test "X$hardcode_automatic" = "Xyes" ; then
11982 # We can hardcode non-existent directories.
11983 if test "$hardcode_direct" != no &&
11984 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11985 # have to relink, otherwise we might link with an installed library
11986 # when we should be linking with a yet-to-be-installed one
11987 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11988 test "$hardcode_minus_L" != no; then
11989 # Linking always hardcodes the temporary library directory.
11990 hardcode_action=relink
11992 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11993 hardcode_action=immediate
11996 # We cannot hardcode anything, or else we can only hardcode existing
11998 hardcode_action=unsupported
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12001 $as_echo "$hardcode_action" >&6; }
12003 if test "$hardcode_action" = relink ||
12004 test "$inherit_rpath" = yes; then
12005 # Fast installation is not supported
12006 enable_fast_install=no
12007 elif test "$shlibpath_overrides_runpath" = yes ||
12008 test "$enable_shared" = no; then
12009 # Fast installation is not necessary
12010 enable_fast_install=needless
12018 if test "x$enable_dlopen" != xyes; then
12019 enable_dlopen=unknown
12020 enable_dlopen_self=unknown
12021 enable_dlopen_self_static=unknown
12028 lt_cv_dlopen="load_add_on"
12030 lt_cv_dlopen_self=yes
12033 mingw* | pw32* | cegcc*)
12034 lt_cv_dlopen="LoadLibrary"
12039 lt_cv_dlopen="dlopen"
12044 # if libdl is installed we need to link against it
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12046 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12047 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12048 $as_echo_n "(cached) " >&6
12050 ac_check_lib_save_LIBS=$LIBS
12052 if test x$gcc_no_link = xyes; then
12053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12058 /* Override any GCC internal prototype to avoid an error.
12059 Use char because int might match the return type of a GCC
12060 builtin and then its argument prototype would still apply. */
12073 if ac_fn_c_try_link "$LINENO"; then :
12074 ac_cv_lib_dl_dlopen=yes
12076 ac_cv_lib_dl_dlopen=no
12078 rm -f core conftest.err conftest.$ac_objext \
12079 conftest$ac_exeext conftest.$ac_ext
12080 LIBS=$ac_check_lib_save_LIBS
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12083 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12084 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12085 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12088 lt_cv_dlopen="dyld"
12090 lt_cv_dlopen_self=yes
12097 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12098 if test "x$ac_cv_func_shl_load" = x""yes; then :
12099 lt_cv_dlopen="shl_load"
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12102 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12103 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12104 $as_echo_n "(cached) " >&6
12106 ac_check_lib_save_LIBS=$LIBS
12108 if test x$gcc_no_link = xyes; then
12109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12124 return shl_load ();
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 ac_cv_lib_dld_shl_load=yes
12132 ac_cv_lib_dld_shl_load=no
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_lib_save_LIBS
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12139 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12140 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12141 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12143 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12144 if test "x$ac_cv_func_dlopen" = x""yes; then :
12145 lt_cv_dlopen="dlopen"
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12148 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12149 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12150 $as_echo_n "(cached) " >&6
12152 ac_check_lib_save_LIBS=$LIBS
12154 if test x$gcc_no_link = xyes; then
12155 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12175 if ac_fn_c_try_link "$LINENO"; then :
12176 ac_cv_lib_dl_dlopen=yes
12178 ac_cv_lib_dl_dlopen=no
12180 rm -f core conftest.err conftest.$ac_objext \
12181 conftest$ac_exeext conftest.$ac_ext
12182 LIBS=$ac_check_lib_save_LIBS
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12185 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12186 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12187 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12190 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12191 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12192 $as_echo_n "(cached) " >&6
12194 ac_check_lib_save_LIBS=$LIBS
12195 LIBS="-lsvld $LIBS"
12196 if test x$gcc_no_link = xyes; then
12197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12202 /* Override any GCC internal prototype to avoid an error.
12203 Use char because int might match the return type of a GCC
12204 builtin and then its argument prototype would still apply. */
12217 if ac_fn_c_try_link "$LINENO"; then :
12218 ac_cv_lib_svld_dlopen=yes
12220 ac_cv_lib_svld_dlopen=no
12222 rm -f core conftest.err conftest.$ac_objext \
12223 conftest$ac_exeext conftest.$ac_ext
12224 LIBS=$ac_check_lib_save_LIBS
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12227 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12228 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12229 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12232 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12233 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12234 $as_echo_n "(cached) " >&6
12236 ac_check_lib_save_LIBS=$LIBS
12238 if test x$gcc_no_link = xyes; then
12239 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12254 return dld_link ();
12259 if ac_fn_c_try_link "$LINENO"; then :
12260 ac_cv_lib_dld_dld_link=yes
12262 ac_cv_lib_dld_dld_link=no
12264 rm -f core conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 LIBS=$ac_check_lib_save_LIBS
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12269 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12270 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12271 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12292 if test "x$lt_cv_dlopen" != xno; then
12298 case $lt_cv_dlopen in
12300 save_CPPFLAGS="$CPPFLAGS"
12301 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12303 save_LDFLAGS="$LDFLAGS"
12304 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12307 LIBS="$lt_cv_dlopen_libs $LIBS"
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12310 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12311 if test "${lt_cv_dlopen_self+set}" = set; then :
12312 $as_echo_n "(cached) " >&6
12314 if test "$cross_compiling" = yes; then :
12315 lt_cv_dlopen_self=cross
12317 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12318 lt_status=$lt_dlunknown
12319 cat > conftest.$ac_ext <<_LT_EOF
12320 #line 12320 "configure"
12321 #include "confdefs.h"
12330 # define LT_DLGLOBAL RTLD_GLOBAL
12333 # define LT_DLGLOBAL DL_GLOBAL
12335 # define LT_DLGLOBAL 0
12339 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12340 find out it does not work in some platform. */
12341 #ifndef LT_DLLAZY_OR_NOW
12343 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12346 # define LT_DLLAZY_OR_NOW DL_LAZY
12349 # define LT_DLLAZY_OR_NOW RTLD_NOW
12352 # define LT_DLLAZY_OR_NOW DL_NOW
12354 # define LT_DLLAZY_OR_NOW 0
12361 /* When -fvisbility=hidden is used, assume the code has been annotated
12362 correspondingly for the symbols needed. */
12363 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12364 void fnord () __attribute__((visibility("default")));
12367 void fnord () { int i=42; }
12370 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12371 int status = $lt_dlunknown;
12375 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12378 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12379 else puts (dlerror ());
12381 /* dlclose (self); */
12389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12390 (eval $ac_link) 2>&5
12392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12393 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12394 (./conftest; exit; ) >&5 2>/dev/null
12396 case x$lt_status in
12397 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12398 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12399 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12402 # compilation failed
12403 lt_cv_dlopen_self=no
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12411 $as_echo "$lt_cv_dlopen_self" >&6; }
12413 if test "x$lt_cv_dlopen_self" = xyes; then
12414 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12416 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12417 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12418 $as_echo_n "(cached) " >&6
12420 if test "$cross_compiling" = yes; then :
12421 lt_cv_dlopen_self_static=cross
12423 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12424 lt_status=$lt_dlunknown
12425 cat > conftest.$ac_ext <<_LT_EOF
12426 #line 12426 "configure"
12427 #include "confdefs.h"
12436 # define LT_DLGLOBAL RTLD_GLOBAL
12439 # define LT_DLGLOBAL DL_GLOBAL
12441 # define LT_DLGLOBAL 0
12445 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12446 find out it does not work in some platform. */
12447 #ifndef LT_DLLAZY_OR_NOW
12449 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12452 # define LT_DLLAZY_OR_NOW DL_LAZY
12455 # define LT_DLLAZY_OR_NOW RTLD_NOW
12458 # define LT_DLLAZY_OR_NOW DL_NOW
12460 # define LT_DLLAZY_OR_NOW 0
12467 /* When -fvisbility=hidden is used, assume the code has been annotated
12468 correspondingly for the symbols needed. */
12469 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12470 void fnord () __attribute__((visibility("default")));
12473 void fnord () { int i=42; }
12476 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12477 int status = $lt_dlunknown;
12481 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12484 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12485 else puts (dlerror ());
12487 /* dlclose (self); */
12495 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12496 (eval $ac_link) 2>&5
12498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12499 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12500 (./conftest; exit; ) >&5 2>/dev/null
12502 case x$lt_status in
12503 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12504 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12505 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12508 # compilation failed
12509 lt_cv_dlopen_self_static=no
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12517 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12520 CPPFLAGS="$save_CPPFLAGS"
12521 LDFLAGS="$save_LDFLAGS"
12526 case $lt_cv_dlopen_self in
12527 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12528 *) enable_dlopen_self=unknown ;;
12531 case $lt_cv_dlopen_self_static in
12532 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12533 *) enable_dlopen_self_static=unknown ;;
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12556 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12557 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12558 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12559 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12561 $as_echo "yes" >&6; }
12563 # FIXME - insert some real tests, host_os isn't really good enough
12566 if test -n "$STRIP" ; then
12567 striplib="$STRIP -x"
12568 old_striplib="$STRIP -S"
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12570 $as_echo "yes" >&6; }
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12573 $as_echo "no" >&6; }
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12578 $as_echo "no" >&6; }
12594 # Report which library types will actually be built
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12596 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12598 $as_echo "$can_build_shared" >&6; }
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12601 $as_echo_n "checking whether to build shared libraries... " >&6; }
12602 test "$can_build_shared" = "no" && enable_shared=no
12604 # On AIX, shared libraries and static libraries use the same namespace, and
12605 # are all built from PIC.
12608 test "$enable_shared" = yes && enable_static=no
12609 if test -n "$RANLIB"; then
12610 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12611 postinstall_cmds='$RANLIB $lib'
12616 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12617 test "$enable_shared" = yes && enable_static=no
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12622 $as_echo "$enable_shared" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12625 $as_echo_n "checking whether to build static libraries... " >&6; }
12626 # Make sure either enable_shared or enable_static is yes.
12627 test "$enable_shared" = yes || enable_static=yes
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12629 $as_echo "$enable_static" >&6; }
12636 ac_cpp='$CPP $CPPFLAGS'
12637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12655 ac_config_commands="$ac_config_commands libtool"
12660 # Only expand once:
12667 *-cygwin* | *-mingw*)
12668 # 'host' will be top-level target in the case of a target lib,
12669 # we must compare to with_cross_host to decide if this is a native
12670 # or cross-compiler and select where to install dlls appropriately.
12671 if test -n "$with_cross_host" &&
12672 test x"$with_cross_host" != x"no"; then
12673 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12675 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12687 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12689 # We need gfortran to compile parts of the library
12690 #AC_PROG_FC(gfortran)
12692 ac_ext=${ac_fc_srcext-f}
12693 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12694 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12695 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12696 if test -n "$ac_tool_prefix"; then
12697 for ac_prog in gfortran
12699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12702 $as_echo_n "checking for $ac_word... " >&6; }
12703 if test "${ac_cv_prog_FC+set}" = set; then :
12704 $as_echo_n "(cached) " >&6
12706 if test -n "$FC"; then
12707 ac_cv_prog_FC="$FC" # Let the user override the test.
12709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12710 for as_dir in $PATH
12713 test -z "$as_dir" && as_dir=.
12714 for ac_exec_ext in '' $ac_executable_extensions; do
12715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12716 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12727 if test -n "$FC"; then
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12729 $as_echo "$FC" >&6; }
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12732 $as_echo "no" >&6; }
12736 test -n "$FC" && break
12739 if test -z "$FC"; then
12741 for ac_prog in gfortran
12743 # Extract the first word of "$ac_prog", so it can be a program name with args.
12744 set dummy $ac_prog; ac_word=$2
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12746 $as_echo_n "checking for $ac_word... " >&6; }
12747 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12748 $as_echo_n "(cached) " >&6
12750 if test -n "$ac_ct_FC"; then
12751 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12754 for as_dir in $PATH
12757 test -z "$as_dir" && as_dir=.
12758 for ac_exec_ext in '' $ac_executable_extensions; do
12759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12760 ac_cv_prog_ac_ct_FC="$ac_prog"
12761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12770 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12771 if test -n "$ac_ct_FC"; then
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12773 $as_echo "$ac_ct_FC" >&6; }
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12776 $as_echo "no" >&6; }
12780 test -n "$ac_ct_FC" && break
12783 if test "x$ac_ct_FC" = x; then
12786 case $cross_compiling:$ac_tool_warned in
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12790 ac_tool_warned=yes ;;
12797 # Provide some information about the compiler.
12798 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12801 for ac_option in --version -v -V -qversion; do
12802 { { ac_try="$ac_compiler $ac_option >&5"
12803 case "(($ac_try" in
12804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12805 *) ac_try_echo=$ac_try;;
12807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12808 $as_echo "$ac_try_echo"; } >&5
12809 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12811 if test -s conftest.err; then
12813 ... rest of stderr output deleted ...
12814 10q' conftest.err >conftest.er1
12815 cat conftest.er1 >&5
12816 rm -f conftest.er1 conftest.err
12818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12819 test $ac_status = 0; }
12823 # If we don't use `.F' as extension, the preprocessor is not run on the
12824 # input file. (Note that this only needs to work for GNU compilers.)
12825 ac_save_ext=$ac_ext
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12828 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12829 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12830 $as_echo_n "(cached) " >&6
12832 cat > conftest.$ac_ext <<_ACEOF
12840 if ac_fn_fc_try_compile "$LINENO"; then :
12841 ac_compiler_gnu=yes
12845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12846 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12850 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12851 ac_ext=$ac_save_ext
12852 ac_test_FCFLAGS=${FCFLAGS+set}
12853 ac_save_FCFLAGS=$FCFLAGS
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12856 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12857 if test "${ac_cv_prog_fc_g+set}" = set; then :
12858 $as_echo_n "(cached) " >&6
12861 cat > conftest.$ac_ext <<_ACEOF
12866 if ac_fn_fc_try_compile "$LINENO"; then :
12867 ac_cv_prog_fc_g=yes
12871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12875 $as_echo "$ac_cv_prog_fc_g" >&6; }
12876 if test "$ac_test_FCFLAGS" = set; then
12877 FCFLAGS=$ac_save_FCFLAGS
12878 elif test $ac_cv_prog_fc_g = yes; then
12879 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12885 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12893 ac_cpp='$CPP $CPPFLAGS'
12894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12898 ac_ext=${ac_fc_srcext-f}
12899 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12900 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12901 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12904 if test -z "$FC" || test "X$FC" = "Xno"; then
12908 archive_cmds_need_lc_FC=no
12909 allow_undefined_flag_FC=
12910 always_export_symbols_FC=no
12911 archive_expsym_cmds_FC=
12912 export_dynamic_flag_spec_FC=
12913 hardcode_direct_FC=no
12914 hardcode_direct_absolute_FC=no
12915 hardcode_libdir_flag_spec_FC=
12916 hardcode_libdir_flag_spec_ld_FC=
12917 hardcode_libdir_separator_FC=
12918 hardcode_minus_L_FC=no
12919 hardcode_automatic_FC=no
12920 inherit_rpath_FC=no
12922 module_expsym_cmds_FC=
12923 link_all_deplibs_FC=unknown
12924 old_archive_cmds_FC=$old_archive_cmds
12925 reload_flag_FC=$reload_flag
12926 reload_cmds_FC=$reload_cmds
12927 no_undefined_flag_FC=
12928 whole_archive_flag_spec_FC=
12929 enable_shared_with_static_runtimes_FC=no
12931 # Source file extension for fc test sources.
12932 ac_ext=${ac_fc_srcext-f}
12934 # Object file extension for compiled fc test sources.
12938 # No sense in running all these tests if we already determined that
12939 # the FC compiler isn't working. Some variables (like enable_shared)
12940 # are currently assumed to apply to all compilers on this platform,
12941 # and will be corrupted by setting them based on a non-working compiler.
12942 if test "$_lt_disable_FC" != yes; then
12943 # Code to be used in simple compile tests
12944 lt_simple_compile_test_code="\
12950 # Code to be used in simple link tests
12951 lt_simple_link_test_code="\
12956 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12963 # If no C compiler was specified, use CC.
12966 # If no C compiler flags were specified, use CFLAGS.
12967 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12969 # Allow CC to be a program name with arguments.
12973 # save warnings/boilerplate of simple test code
12974 ac_outfile=conftest.$ac_objext
12975 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12976 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12977 _lt_compiler_boilerplate=`cat conftest.err`
12980 ac_outfile=conftest.$ac_objext
12981 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12982 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12983 _lt_linker_boilerplate=`cat conftest.err`
12987 # Allow CC to be a program name with arguments.
12992 GCC=$ac_cv_fc_compiler_gnu
12995 for cc_temp in $compiler""; do
12997 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12998 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13003 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13006 if test -n "$compiler"; then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13008 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13010 $as_echo "$can_build_shared" >&6; }
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13013 $as_echo_n "checking whether to build shared libraries... " >&6; }
13014 test "$can_build_shared" = "no" && enable_shared=no
13016 # On AIX, shared libraries and static libraries use the same namespace, and
13017 # are all built from PIC.
13020 test "$enable_shared" = yes && enable_static=no
13021 if test -n "$RANLIB"; then
13022 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13023 postinstall_cmds='$RANLIB $lib'
13027 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13028 test "$enable_shared" = yes && enable_static=no
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13033 $as_echo "$enable_shared" >&6; }
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13036 $as_echo_n "checking whether to build static libraries... " >&6; }
13037 # Make sure either enable_shared or enable_static is yes.
13038 test "$enable_shared" = yes || enable_static=yes
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13040 $as_echo "$enable_static" >&6; }
13042 GCC_FC="$ac_cv_fc_compiler_gnu"
13046 ## There is no encapsulation within the following macros, do not change
13047 ## the running order or otherwise move them around unless you know exactly
13048 ## what you are doing...
13049 # Dependencies to place before and after the object being linked:
13051 postdep_objects_FC=
13054 compiler_lib_search_path_FC=
13056 cat > conftest.$ac_ext <<_LT_EOF
13065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13066 (eval $ac_compile) 2>&5
13068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13069 test $ac_status = 0; }; then
13070 # Parse the compiler output and extract the necessary
13071 # objects, libraries and library flags.
13073 # Sentinel used to keep track of whether or not we are before
13074 # the conftest object file.
13075 pre_test_object_deps_done=no
13077 for p in `eval "$output_verbose_link_cmd"`; do
13081 # Some compilers place space between "-{L,R}" and the path.
13082 # Remove the space.
13083 if test $p = "-L" ||
13084 test $p = "-R"; then
13091 if test "$pre_test_object_deps_done" = no; then
13094 # Internal compiler library paths should come after those
13095 # provided the user. The postdeps already come after the
13096 # user supplied libs so there is no need to process them.
13097 if test -z "$compiler_lib_search_path_FC"; then
13098 compiler_lib_search_path_FC="${prev}${p}"
13100 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13103 # The "-l" case would never come before the object being
13104 # linked, so don't bother handling this case.
13107 if test -z "$postdeps_FC"; then
13108 postdeps_FC="${prev}${p}"
13110 postdeps_FC="${postdeps_FC} ${prev}${p}"
13116 # This assumes that the test object file only shows up
13117 # once in the compiler output.
13118 if test "$p" = "conftest.$objext"; then
13119 pre_test_object_deps_done=yes
13123 if test "$pre_test_object_deps_done" = no; then
13124 if test -z "$predep_objects_FC"; then
13125 predep_objects_FC="$p"
13127 predep_objects_FC="$predep_objects_FC $p"
13130 if test -z "$postdep_objects_FC"; then
13131 postdep_objects_FC="$p"
13133 postdep_objects_FC="$postdep_objects_FC $p"
13138 *) ;; # Ignore the rest.
13146 echo "libtool.m4: error: problem compiling FC test program"
13149 $RM -f confest.$objext
13151 # PORTME: override above test on systems where it is broken
13154 case " $postdeps_FC " in
13155 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13157 compiler_lib_search_dirs_FC=
13158 if test -n "${compiler_lib_search_path_FC}"; then
13159 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13192 lt_prog_compiler_wl_FC=
13193 lt_prog_compiler_pic_FC=
13194 lt_prog_compiler_static_FC=
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13197 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13199 if test "$GCC" = yes; then
13200 lt_prog_compiler_wl_FC='-Wl,'
13201 lt_prog_compiler_static_FC='-static'
13205 # All AIX code is PIC.
13206 if test "$host_cpu" = ia64; then
13207 # AIX 5 now supports IA64 processor
13208 lt_prog_compiler_static_FC='-Bstatic'
13215 # see comment about AmigaOS4 .so support
13216 lt_prog_compiler_pic_FC='-fPIC'
13219 # FIXME: we need at least 68020 code to build shared libraries, but
13220 # adding the `-m68020' flag to GCC prevents building anything better,
13222 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13227 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13228 # PIC is the default for these OSes.
13231 mingw* | cygwin* | pw32* | os2* | cegcc*)
13232 # This hack is so that the source file can tell whether it is being
13233 # built for inclusion in a dll (and should export symbols for example).
13234 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13235 # (--disable-auto-import) libraries
13236 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13239 darwin* | rhapsody*)
13240 # PIC is the default on this platform
13241 # Common symbols not allowed in MH_DYLIB files
13242 lt_prog_compiler_pic_FC='-fno-common'
13246 # PIC is the default for Haiku.
13247 # The "-static" flag exists, but is broken.
13248 lt_prog_compiler_static_FC=
13252 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13253 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13254 # sets the default TLS model and affects inlining.
13260 lt_prog_compiler_pic_FC='-fPIC'
13266 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13267 # Instead, we relocate shared libraries at runtime.
13271 # Just because we use GCC doesn't mean we suddenly get shared libraries
13272 # on systems that don't support them.
13273 lt_prog_compiler_can_build_shared_FC=no
13278 # QNX uses GNU C++, but need to define -shared option too, otherwise
13279 # it will coredump.
13280 lt_prog_compiler_pic_FC='-fPIC -shared'
13284 if test -d /usr/nec; then
13285 lt_prog_compiler_pic_FC=-Kconform_pic
13290 lt_prog_compiler_pic_FC='-fPIC'
13294 case $cc_basename in
13295 nvcc*) # Cuda Compiler Driver 2.2
13296 lt_prog_compiler_wl_FC='-Xlinker '
13297 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13301 # PORTME Check for flag to pass linker flags through the system compiler.
13304 lt_prog_compiler_wl_FC='-Wl,'
13305 if test "$host_cpu" = ia64; then
13306 # AIX 5 now supports IA64 processor
13307 lt_prog_compiler_static_FC='-Bstatic'
13309 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13313 mingw* | cygwin* | pw32* | os2* | cegcc*)
13314 # This hack is so that the source file can tell whether it is being
13315 # built for inclusion in a dll (and should export symbols for example).
13316 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13319 hpux9* | hpux10* | hpux11*)
13320 lt_prog_compiler_wl_FC='-Wl,'
13321 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13322 # not for PA HP-UX.
13328 lt_prog_compiler_pic_FC='+Z'
13331 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13332 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13335 irix5* | irix6* | nonstopux*)
13336 lt_prog_compiler_wl_FC='-Wl,'
13337 # PIC (with -KPIC) is the default.
13338 lt_prog_compiler_static_FC='-non_shared'
13341 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13342 case $cc_basename in
13343 # old Intel for x86_64 which still supported -KPIC.
13345 lt_prog_compiler_wl_FC='-Wl,'
13346 lt_prog_compiler_pic_FC='-KPIC'
13347 lt_prog_compiler_static_FC='-static'
13349 # icc used to be incompatible with GCC.
13350 # ICC 10 doesn't accept -KPIC any more.
13352 lt_prog_compiler_wl_FC='-Wl,'
13353 lt_prog_compiler_pic_FC='-fPIC'
13354 lt_prog_compiler_static_FC='-static'
13356 # Lahey Fortran 8.1.
13358 lt_prog_compiler_wl_FC='-Wl,'
13359 lt_prog_compiler_pic_FC='--shared'
13360 lt_prog_compiler_static_FC='--static'
13362 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13363 # Portland Group compilers (*not* the Pentium gcc compiler,
13364 # which looks to be a dead project)
13365 lt_prog_compiler_wl_FC='-Wl,'
13366 lt_prog_compiler_pic_FC='-fpic'
13367 lt_prog_compiler_static_FC='-Bstatic'
13370 lt_prog_compiler_wl_FC='-Wl,'
13371 # All Alpha code is PIC.
13372 lt_prog_compiler_static_FC='-non_shared'
13374 xl* | bgxl* | bgf* | mpixl*)
13375 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13376 lt_prog_compiler_wl_FC='-Wl,'
13377 lt_prog_compiler_pic_FC='-qpic'
13378 lt_prog_compiler_static_FC='-qstaticlink'
13381 case `$CC -V 2>&1 | sed 5q` in
13382 *Sun\ F* | *Sun*Fortran*)
13383 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13384 lt_prog_compiler_pic_FC='-KPIC'
13385 lt_prog_compiler_static_FC='-Bstatic'
13386 lt_prog_compiler_wl_FC=''
13390 lt_prog_compiler_pic_FC='-KPIC'
13391 lt_prog_compiler_static_FC='-Bstatic'
13392 lt_prog_compiler_wl_FC='-Wl,'
13400 lt_prog_compiler_pic_FC='-KPIC'
13401 lt_prog_compiler_static_FC='-Bstatic'
13405 # QNX uses GNU C++, but need to define -shared option too, otherwise
13406 # it will coredump.
13407 lt_prog_compiler_pic_FC='-fPIC -shared'
13410 osf3* | osf4* | osf5*)
13411 lt_prog_compiler_wl_FC='-Wl,'
13412 # All OSF/1 code is PIC.
13413 lt_prog_compiler_static_FC='-non_shared'
13417 lt_prog_compiler_static_FC='-non_shared'
13421 lt_prog_compiler_pic_FC='-KPIC'
13422 lt_prog_compiler_static_FC='-Bstatic'
13423 case $cc_basename in
13424 f77* | f90* | f95*)
13425 lt_prog_compiler_wl_FC='-Qoption ld ';;
13427 lt_prog_compiler_wl_FC='-Wl,';;
13432 lt_prog_compiler_wl_FC='-Qoption ld '
13433 lt_prog_compiler_pic_FC='-PIC'
13434 lt_prog_compiler_static_FC='-Bstatic'
13437 sysv4 | sysv4.2uw2* | sysv4.3*)
13438 lt_prog_compiler_wl_FC='-Wl,'
13439 lt_prog_compiler_pic_FC='-KPIC'
13440 lt_prog_compiler_static_FC='-Bstatic'
13444 if test -d /usr/nec ;then
13445 lt_prog_compiler_pic_FC='-Kconform_pic'
13446 lt_prog_compiler_static_FC='-Bstatic'
13450 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13451 lt_prog_compiler_wl_FC='-Wl,'
13452 lt_prog_compiler_pic_FC='-KPIC'
13453 lt_prog_compiler_static_FC='-Bstatic'
13457 lt_prog_compiler_wl_FC='-Wl,'
13458 lt_prog_compiler_can_build_shared_FC=no
13462 lt_prog_compiler_pic_FC='-pic'
13463 lt_prog_compiler_static_FC='-Bstatic'
13467 lt_prog_compiler_can_build_shared_FC=no
13473 # For platforms which do not support PIC, -DPIC is meaningless:
13475 lt_prog_compiler_pic_FC=
13478 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13482 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13487 # Check to make sure the PIC flag actually works.
13489 if test -n "$lt_prog_compiler_pic_FC"; then
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13491 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13492 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13493 $as_echo_n "(cached) " >&6
13495 lt_cv_prog_compiler_pic_works_FC=no
13496 ac_outfile=conftest.$ac_objext
13497 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13498 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13499 # Insert the option either (1) after the last *FLAGS variable, or
13500 # (2) before a word containing "conftest.", or (3) at the end.
13501 # Note that $ac_compile itself does not contain backslashes and begins
13502 # with a dollar sign (not a hyphen), so the echo should work correctly.
13503 # The option is referenced via a variable to avoid confusing sed.
13504 lt_compile=`echo "$ac_compile" | $SED \
13505 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13506 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13507 -e 's:$: $lt_compiler_flag:'`
13508 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13509 (eval "$lt_compile" 2>conftest.err)
13511 cat conftest.err >&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 if (exit $ac_status) && test -s "$ac_outfile"; then
13514 # The compiler can only warn and ignore the option if not recognized
13515 # So say no if there are warnings other than the usual output.
13516 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13517 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13518 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13519 lt_cv_prog_compiler_pic_works_FC=yes
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13526 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13528 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13529 case $lt_prog_compiler_pic_FC in
13531 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13534 lt_prog_compiler_pic_FC=
13535 lt_prog_compiler_can_build_shared_FC=no
13543 # Check to make sure the static flag actually works.
13545 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13547 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13548 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13549 $as_echo_n "(cached) " >&6
13551 lt_cv_prog_compiler_static_works_FC=no
13552 save_LDFLAGS="$LDFLAGS"
13553 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13554 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13555 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13556 # The linker can only warn and ignore the option if not recognized
13557 # So say no if there are warnings
13558 if test -s conftest.err; then
13559 # Append any errors to the config.log.
13560 cat conftest.err 1>&5
13561 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13562 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13563 if diff conftest.exp conftest.er2 >/dev/null; then
13564 lt_cv_prog_compiler_static_works_FC=yes
13567 lt_cv_prog_compiler_static_works_FC=yes
13571 LDFLAGS="$save_LDFLAGS"
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13575 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13577 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13580 lt_prog_compiler_static_FC=
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13587 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13588 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13589 $as_echo_n "(cached) " >&6
13591 lt_cv_prog_compiler_c_o_FC=no
13592 $RM -r conftest 2>/dev/null
13596 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13598 lt_compiler_flag="-o out/conftest2.$ac_objext"
13599 # Insert the option either (1) after the last *FLAGS variable, or
13600 # (2) before a word containing "conftest.", or (3) at the end.
13601 # Note that $ac_compile itself does not contain backslashes and begins
13602 # with a dollar sign (not a hyphen), so the echo should work correctly.
13603 lt_compile=`echo "$ac_compile" | $SED \
13604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13605 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13606 -e 's:$: $lt_compiler_flag:'`
13607 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13608 (eval "$lt_compile" 2>out/conftest.err)
13610 cat out/conftest.err >&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13614 # The compiler can only warn and ignore the option if not recognized
13615 # So say no if there are warnings
13616 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13617 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13618 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13619 lt_cv_prog_compiler_c_o_FC=yes
13624 # SGI C++ compiler will create directory out/ii_files/ for
13625 # template instantiation
13626 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13627 $RM out/* && rmdir out
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13634 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13639 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13640 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13641 $as_echo_n "(cached) " >&6
13643 lt_cv_prog_compiler_c_o_FC=no
13644 $RM -r conftest 2>/dev/null
13648 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13650 lt_compiler_flag="-o out/conftest2.$ac_objext"
13651 # Insert the option either (1) after the last *FLAGS variable, or
13652 # (2) before a word containing "conftest.", or (3) at the end.
13653 # Note that $ac_compile itself does not contain backslashes and begins
13654 # with a dollar sign (not a hyphen), so the echo should work correctly.
13655 lt_compile=`echo "$ac_compile" | $SED \
13656 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13657 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13658 -e 's:$: $lt_compiler_flag:'`
13659 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13660 (eval "$lt_compile" 2>out/conftest.err)
13662 cat out/conftest.err >&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13666 # The compiler can only warn and ignore the option if not recognized
13667 # So say no if there are warnings
13668 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13669 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13670 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13671 lt_cv_prog_compiler_c_o_FC=yes
13676 # SGI C++ compiler will create directory out/ii_files/ for
13677 # template instantiation
13678 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13679 $RM out/* && rmdir out
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13686 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13691 hard_links="nottested"
13692 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13693 # do not overwrite the value of need_locks provided by the user
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13695 $as_echo_n "checking if we can lock with hard links... " >&6; }
13698 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13700 ln conftest.a conftest.b 2>&5 || hard_links=no
13701 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13703 $as_echo "$hard_links" >&6; }
13704 if test "$hard_links" = no; then
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13706 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13716 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13719 allow_undefined_flag_FC=
13720 always_export_symbols_FC=no
13722 archive_expsym_cmds_FC=
13723 compiler_needs_object_FC=no
13724 enable_shared_with_static_runtimes_FC=no
13725 export_dynamic_flag_spec_FC=
13726 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13727 hardcode_automatic_FC=no
13728 hardcode_direct_FC=no
13729 hardcode_direct_absolute_FC=no
13730 hardcode_libdir_flag_spec_FC=
13731 hardcode_libdir_flag_spec_ld_FC=
13732 hardcode_libdir_separator_FC=
13733 hardcode_minus_L_FC=no
13734 hardcode_shlibpath_var_FC=unsupported
13735 inherit_rpath_FC=no
13736 link_all_deplibs_FC=unknown
13738 module_expsym_cmds_FC=
13739 old_archive_from_new_cmds_FC=
13740 old_archive_from_expsyms_cmds_FC=
13741 thread_safe_flag_spec_FC=
13742 whole_archive_flag_spec_FC=
13743 # include_expsyms should be a list of space-separated symbols to be *always*
13744 # included in the symbol list
13745 include_expsyms_FC=
13746 # exclude_expsyms can be an extended regexp of symbols to exclude
13747 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13748 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13749 # as well as any symbol that contains `d'.
13750 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13751 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13752 # platforms (ab)use it in PIC code, but their linkers get confused if
13753 # the symbol is explicitly referenced. Since portable code cannot
13754 # rely on this symbol name, it's probably fine to never include it in
13755 # preloaded symbol tables.
13756 # Exclude shared library initialization/finalization symbols.
13757 extract_expsyms_cmds=
13760 cygwin* | mingw* | pw32* | cegcc*)
13761 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13762 # When not using gcc, we currently assume that we are using
13763 # Microsoft Visual C++.
13764 if test "$GCC" != yes; then
13769 # we just hope/assume this is gcc and not c89 (= MSVC++)
13779 # On some targets, GNU ld is compatible enough with the native linker
13780 # that we're better off using the native interface for both.
13781 lt_use_gnu_ld_interface=no
13782 if test "$with_gnu_ld" = yes; then
13785 # The AIX port of GNU ld has always aspired to compatibility
13786 # with the native linker. However, as the warning in the GNU ld
13787 # block says, versions before 2.19.5* couldn't really create working
13788 # shared libraries, regardless of the interface used.
13789 case `$LD -v 2>&1` in
13790 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13791 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13792 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13794 lt_use_gnu_ld_interface=yes
13799 lt_use_gnu_ld_interface=yes
13804 if test "$lt_use_gnu_ld_interface" = yes; then
13805 # If archive_cmds runs LD, not CC, wlarc should be empty
13808 # Set some defaults for GNU ld with shared library support. These
13809 # are reset later if shared libraries are not supported. Putting them
13810 # here allows them to be overridden if necessary.
13811 runpath_var=LD_RUN_PATH
13812 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13813 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13814 # ancient GNU ld didn't support --whole-archive et. al.
13815 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13816 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13818 whole_archive_flag_spec_FC=
13820 supports_anon_versioning=no
13821 case `$LD -v 2>&1` in
13822 *GNU\ gold*) supports_anon_versioning=yes ;;
13823 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13824 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13825 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13826 *\ 2.11.*) ;; # other 2.11 versions
13827 *) supports_anon_versioning=yes ;;
13830 # See if GNU ld supports shared libraries.
13833 # On AIX/PPC, the GNU linker is very broken
13834 if test "$host_cpu" != ia64; then
13838 *** Warning: the GNU linker, at least up to release 2.19, is reported
13839 *** to be unable to reliably create shared libraries on AIX.
13840 *** Therefore, libtool is disabling shared libraries support. If you
13841 *** really care for shared libraries, you may want to install binutils
13842 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13843 *** You will then need to restart the configuration process.
13852 # see comment about AmigaOS4 .so support
13853 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13854 archive_expsym_cmds_FC=''
13857 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)'
13858 hardcode_libdir_flag_spec_FC='-L$libdir'
13859 hardcode_minus_L_FC=yes
13865 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13866 allow_undefined_flag_FC=unsupported
13867 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13868 # support --undefined. This deserves some investigation. FIXME
13869 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13875 cygwin* | mingw* | pw32* | cegcc*)
13876 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13877 # as there is no search path for DLLs.
13878 hardcode_libdir_flag_spec_FC='-L$libdir'
13879 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13880 allow_undefined_flag_FC=unsupported
13881 always_export_symbols_FC=no
13882 enable_shared_with_static_runtimes_FC=yes
13883 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13885 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13886 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13887 # If the export-symbols file already is a .def file (1st line
13888 # is EXPORTS), use it as is; otherwise, prepend...
13889 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13890 cp $export_symbols $output_objdir/$soname.def;
13892 echo EXPORTS > $output_objdir/$soname.def;
13893 cat $export_symbols >> $output_objdir/$soname.def;
13895 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13902 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13903 link_all_deplibs_FC=yes
13907 hardcode_direct_FC=no
13908 hardcode_shlibpath_var_FC=no
13909 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13910 export_dynamic_flag_spec_FC='${wl}-E'
13911 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13912 # Instead, shared libraries are loaded at an image base (0x10000000 by
13913 # default) and relocated if they conflict, which is a slow very memory
13914 # consuming and fragmenting process. To avoid this, we pick a random,
13915 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13916 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13917 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'
13918 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'
13921 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13923 if test "$host_os" = linux-dietlibc; then
13924 case $cc_basename in
13925 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13928 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13929 && test "$tmp_diet" = no
13932 tmp_sharedflag='-shared'
13933 case $cc_basename,$host_cpu in
13934 pgcc*) # Portland Group C compiler
13935 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13936 tmp_addflag=' $pic_flag'
13938 pgf77* | pgf90* | pgf95* | pgfortran*)
13939 # Portland Group f77 and f90 compilers
13940 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13941 tmp_addflag=' $pic_flag -Mnomain' ;;
13942 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13943 tmp_addflag=' -i_dynamic' ;;
13944 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13945 tmp_addflag=' -i_dynamic -nofor_main' ;;
13946 ifc* | ifort*) # Intel Fortran compiler
13947 tmp_addflag=' -nofor_main' ;;
13948 lf95*) # Lahey Fortran 8.1
13949 whole_archive_flag_spec_FC=
13950 tmp_sharedflag='--shared' ;;
13951 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13952 tmp_sharedflag='-qmkshrobj'
13954 nvcc*) # Cuda Compiler Driver 2.2
13955 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13956 compiler_needs_object_FC=yes
13959 case `$CC -V 2>&1 | sed 5q` in
13960 *Sun\ C*) # Sun C 5.9
13961 whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13962 compiler_needs_object_FC=yes
13963 tmp_sharedflag='-G' ;;
13964 *Sun\ F*) # Sun Fortran 8.3
13965 tmp_sharedflag='-G' ;;
13967 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13969 if test "x$supports_anon_versioning" = xyes; then
13970 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13971 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13972 echo "local: *; };" >> $output_objdir/$libname.ver~
13973 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13976 case $cc_basename in
13977 xlf* | bgf* | bgxlf* | mpixlf*)
13978 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13979 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13980 hardcode_libdir_flag_spec_FC=
13981 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13982 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13983 if test "x$supports_anon_versioning" = xyes; then
13984 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13985 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13986 echo "local: *; };" >> $output_objdir/$libname.ver~
13987 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13997 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13998 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14001 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14002 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14007 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14011 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14012 *** create shared libraries on Solaris systems. Therefore, libtool
14013 *** is disabling shared libraries support. We urge you to upgrade GNU
14014 *** binutils to release 2.9.1 or newer. Another option is to modify
14015 *** your PATH or compiler configuration so that the native linker is
14016 *** used, and then restart.
14019 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14020 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14021 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14027 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14028 case `$LD -v 2>&1` in
14029 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14033 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14034 *** reliably create shared libraries on SCO systems. Therefore, libtool
14035 *** is disabling shared libraries support. We urge you to upgrade GNU
14036 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14037 *** your PATH or compiler configuration so that the native linker is
14038 *** used, and then restart.
14043 # For security reasons, it is highly recommended that you always
14044 # use absolute paths for naming shared libraries, and exclude the
14045 # DT_RUNPATH tag from executables and libraries. But doing so
14046 # requires that you compile everything twice, which is a pain.
14047 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14048 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14049 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14050 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14059 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14061 hardcode_direct_FC=yes
14062 hardcode_shlibpath_var_FC=no
14066 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14067 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14068 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14075 if test "$ld_shlibs_FC" = no; then
14077 hardcode_libdir_flag_spec_FC=
14078 export_dynamic_flag_spec_FC=
14079 whole_archive_flag_spec_FC=
14082 # PORTME fill in a description of your system's linker (not GNU ld)
14085 allow_undefined_flag_FC=unsupported
14086 always_export_symbols_FC=yes
14087 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'
14088 # Note: this linker hardcodes the directories in LIBPATH if there
14089 # are no directories specified by -L.
14090 hardcode_minus_L_FC=yes
14091 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14092 # Neither direct hardcoding nor static linking is supported with a
14094 hardcode_direct_FC=unsupported
14099 if test "$host_cpu" = ia64; then
14100 # On IA64, the linker does run time linking by default, so we don't
14101 # have to do anything special.
14102 aix_use_runtimelinking=no
14103 exp_sym_flag='-Bexport'
14106 # If we're using GNU nm, then we don't want the "-C" option.
14107 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14108 # Also, AIX nm treats weak defined symbols like other global
14109 # defined symbols, whereas GNU nm marks them as "W".
14110 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14111 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14113 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'
14115 aix_use_runtimelinking=no
14117 # Test if we are trying to use run time linking or normal
14118 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14119 # need to do runtime linking.
14120 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14121 for ld_flag in $LDFLAGS; do
14122 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14123 aix_use_runtimelinking=yes
14130 exp_sym_flag='-bexport'
14131 no_entry_flag='-bnoentry'
14134 # When large executables or shared objects are built, AIX ld can
14135 # have problems creating the table of contents. If linking a library
14136 # or program results in "error TOC overflow" add -mminimal-toc to
14137 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14138 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14141 hardcode_direct_FC=yes
14142 hardcode_direct_absolute_FC=yes
14143 hardcode_libdir_separator_FC=':'
14144 link_all_deplibs_FC=yes
14145 file_list_spec_FC='${wl}-f,'
14147 if test "$GCC" = yes; then
14148 case $host_os in aix4.[012]|aix4.[012].*)
14149 # We only want to do this on AIX 4.2 and lower, the check
14150 # below for broken collect2 doesn't work under 4.3+
14151 collect2name=`${CC} -print-prog-name=collect2`
14152 if test -f "$collect2name" &&
14153 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14155 # We have reworked collect2
14158 # We have old collect2
14159 hardcode_direct_FC=unsupported
14160 # It fails to find uninstalled libraries when the uninstalled
14161 # path is not listed in the libpath. Setting hardcode_minus_L
14162 # to unsupported forces relinking
14163 hardcode_minus_L_FC=yes
14164 hardcode_libdir_flag_spec_FC='-L$libdir'
14165 hardcode_libdir_separator_FC=
14169 shared_flag='-shared'
14170 if test "$aix_use_runtimelinking" = yes; then
14171 shared_flag="$shared_flag "'${wl}-G'
14175 if test "$host_cpu" = ia64; then
14176 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14177 # chokes on -Wl,-G. The following line is correct:
14180 if test "$aix_use_runtimelinking" = yes; then
14181 shared_flag='${wl}-G'
14183 shared_flag='${wl}-bM:SRE'
14188 export_dynamic_flag_spec_FC='${wl}-bexpall'
14189 # It seems that -bexpall does not export symbols beginning with
14190 # underscore (_), so it is better to generate a list of symbols to export.
14191 always_export_symbols_FC=yes
14192 if test "$aix_use_runtimelinking" = yes; then
14193 # Warning - without using the other runtime loading flags (-brtl),
14194 # -berok will link without error, but may produce a broken library.
14195 allow_undefined_flag_FC='-berok'
14196 # Determine the default libpath from the value encoded in an
14197 # empty executable.
14198 if test x$gcc_no_link = xyes; then
14199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14201 cat > conftest.$ac_ext <<_ACEOF
14206 if ac_fn_fc_try_link "$LINENO"; then :
14208 lt_aix_libpath_sed='
14209 /Import File Strings/,/^$/ {
14215 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14216 # Check for a 64-bit object if we didn't find anything.
14217 if test -z "$aix_libpath"; then
14218 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14221 rm -f core conftest.err conftest.$ac_objext \
14222 conftest$ac_exeext conftest.$ac_ext
14223 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14225 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14226 archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14228 if test "$host_cpu" = ia64; then
14229 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14230 allow_undefined_flag_FC="-z nodefs"
14231 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"
14233 # Determine the default libpath from the value encoded in an
14234 # empty executable.
14235 if test x$gcc_no_link = xyes; then
14236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14238 cat > conftest.$ac_ext <<_ACEOF
14243 if ac_fn_fc_try_link "$LINENO"; then :
14245 lt_aix_libpath_sed='
14246 /Import File Strings/,/^$/ {
14252 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14253 # Check for a 64-bit object if we didn't find anything.
14254 if test -z "$aix_libpath"; then
14255 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14258 rm -f core conftest.err conftest.$ac_objext \
14259 conftest$ac_exeext conftest.$ac_ext
14260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14262 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14263 # Warning - without using the other run time loading flags,
14264 # -berok will link without error, but may produce a broken library.
14265 no_undefined_flag_FC=' ${wl}-bernotok'
14266 allow_undefined_flag_FC=' ${wl}-berok'
14267 if test "$with_gnu_ld" = yes; then
14268 # We only use this code for GNU lds that support --whole-archive.
14269 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14271 # Exported symbols can be pulled into shared objects from archives
14272 whole_archive_flag_spec_FC='$convenience'
14274 archive_cmds_need_lc_FC=yes
14275 # This is similar to how AIX traditionally builds its shared libraries.
14276 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'
14284 # see comment about AmigaOS4 .so support
14285 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14286 archive_expsym_cmds_FC=''
14289 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)'
14290 hardcode_libdir_flag_spec_FC='-L$libdir'
14291 hardcode_minus_L_FC=yes
14297 export_dynamic_flag_spec_FC=-rdynamic
14300 cygwin* | mingw* | pw32* | cegcc*)
14301 # When not using gcc, we currently assume that we are using
14302 # Microsoft Visual C++.
14303 # hardcode_libdir_flag_spec is actually meaningless, as there is
14304 # no search path for DLLs.
14305 hardcode_libdir_flag_spec_FC=' '
14306 allow_undefined_flag_FC=unsupported
14307 # Tell ltmain to make .lib files, not .a files.
14309 # Tell ltmain to make .dll files, not .so files.
14311 # FIXME: Setting linknames here is a bad hack.
14312 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14313 # The linker will automatically build a .lib file if we build a DLL.
14314 old_archive_from_new_cmds_FC='true'
14315 # FIXME: Should let the user specify the lib program.
14316 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14317 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14318 enable_shared_with_static_runtimes_FC=yes
14321 darwin* | rhapsody*)
14324 archive_cmds_need_lc_FC=no
14325 hardcode_direct_FC=no
14326 hardcode_automatic_FC=yes
14327 hardcode_shlibpath_var_FC=unsupported
14328 if test "$lt_cv_ld_force_load" = "yes"; then
14329 whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14331 whole_archive_flag_spec_FC=''
14333 link_all_deplibs_FC=yes
14334 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14335 case $cc_basename in
14336 ifort*) _lt_dar_can_shared=yes ;;
14337 *) _lt_dar_can_shared=$GCC ;;
14339 if test "$_lt_dar_can_shared" = "yes"; then
14340 output_verbose_link_cmd=func_echo_all
14341 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}"
14342 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14343 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}"
14344 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}"
14353 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14354 hardcode_libdir_flag_spec_FC='-L$libdir'
14355 hardcode_shlibpath_var_FC=no
14358 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14359 # support. Future versions do this automatically, but an explicit c++rt0.o
14360 # does not break anything, and helps significantly (at the cost of a little
14363 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14364 hardcode_libdir_flag_spec_FC='-R$libdir'
14365 hardcode_direct_FC=yes
14366 hardcode_shlibpath_var_FC=no
14369 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14371 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14372 hardcode_direct_FC=yes
14373 hardcode_minus_L_FC=yes
14374 hardcode_shlibpath_var_FC=no
14377 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14378 freebsd* | dragonfly*)
14379 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14380 hardcode_libdir_flag_spec_FC='-R$libdir'
14381 hardcode_direct_FC=yes
14382 hardcode_shlibpath_var_FC=no
14386 if test "$GCC" = yes; then
14387 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'
14389 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'
14391 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14392 hardcode_libdir_separator_FC=:
14393 hardcode_direct_FC=yes
14395 # hardcode_minus_L: Not really in the search PATH,
14396 # but as the default location of the library.
14397 hardcode_minus_L_FC=yes
14398 export_dynamic_flag_spec_FC='${wl}-E'
14402 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14403 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14405 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14407 if test "$with_gnu_ld" = no; then
14408 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14409 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14410 hardcode_libdir_separator_FC=:
14411 hardcode_direct_FC=yes
14412 hardcode_direct_absolute_FC=yes
14413 export_dynamic_flag_spec_FC='${wl}-E'
14414 # hardcode_minus_L: Not really in the search PATH,
14415 # but as the default location of the library.
14416 hardcode_minus_L_FC=yes
14421 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14424 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14427 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14430 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14436 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14439 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14442 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14446 if test "$with_gnu_ld" = no; then
14447 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14448 hardcode_libdir_separator_FC=:
14452 hardcode_direct_FC=no
14453 hardcode_shlibpath_var_FC=no
14456 hardcode_direct_FC=yes
14457 hardcode_direct_absolute_FC=yes
14458 export_dynamic_flag_spec_FC='${wl}-E'
14460 # hardcode_minus_L: Not really in the search PATH,
14461 # but as the default location of the library.
14462 hardcode_minus_L_FC=yes
14468 irix5* | irix6* | nonstopux*)
14469 if test "$GCC" = yes; then
14470 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14471 # Try to use the -exported_symbol ld option, if it does not
14472 # work, assume that -exports_file does not work either and
14473 # implicitly export all symbols.
14474 save_LDFLAGS="$LDFLAGS"
14475 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14476 if test x$gcc_no_link = xyes; then
14477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14479 cat > conftest.$ac_ext <<_ACEOF
14482 if ac_fn_fc_try_link "$LINENO"; then :
14483 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
14486 rm -f core conftest.err conftest.$ac_objext \
14487 conftest$ac_exeext conftest.$ac_ext
14488 LDFLAGS="$save_LDFLAGS"
14490 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14491 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
14493 archive_cmds_need_lc_FC='no'
14494 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14495 hardcode_libdir_separator_FC=:
14496 inherit_rpath_FC=yes
14497 link_all_deplibs_FC=yes
14501 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14502 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14504 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14506 hardcode_libdir_flag_spec_FC='-R$libdir'
14507 hardcode_direct_FC=yes
14508 hardcode_shlibpath_var_FC=no
14512 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14513 hardcode_direct_FC=yes
14514 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14515 hardcode_libdir_separator_FC=:
14516 hardcode_shlibpath_var_FC=no
14523 if test -f /usr/libexec/ld.so; then
14524 hardcode_direct_FC=yes
14525 hardcode_shlibpath_var_FC=no
14526 hardcode_direct_absolute_FC=yes
14527 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14528 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14529 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14530 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14531 export_dynamic_flag_spec_FC='${wl}-E'
14534 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14535 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14536 hardcode_libdir_flag_spec_FC='-R$libdir'
14539 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14540 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14550 hardcode_libdir_flag_spec_FC='-L$libdir'
14551 hardcode_minus_L_FC=yes
14552 allow_undefined_flag_FC=unsupported
14553 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'
14554 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14558 if test "$GCC" = yes; then
14559 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14560 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14562 allow_undefined_flag_FC=' -expect_unresolved \*'
14563 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14565 archive_cmds_need_lc_FC='no'
14566 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14567 hardcode_libdir_separator_FC=:
14570 osf4* | osf5*) # as osf3* with the addition of -msym flag
14571 if test "$GCC" = yes; then
14572 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14573 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14574 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14576 allow_undefined_flag_FC=' -expect_unresolved \*'
14577 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14578 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~
14579 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
14581 # Both c and cxx compiler support -rpath directly
14582 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14584 archive_cmds_need_lc_FC='no'
14585 hardcode_libdir_separator_FC=:
14589 no_undefined_flag_FC=' -z defs'
14590 if test "$GCC" = yes; then
14592 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14593 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14594 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14596 case `$CC -V 2>&1` in
14599 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14600 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14601 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14605 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14606 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14607 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14611 hardcode_libdir_flag_spec_FC='-R$libdir'
14612 hardcode_shlibpath_var_FC=no
14614 solaris2.[0-5] | solaris2.[0-5].*) ;;
14616 # The compiler driver will combine and reorder linker options,
14617 # but understands `-z linker_flag'. GCC discards it without `$wl',
14618 # but is careful enough not to reorder.
14619 # Supported since Solaris 2.6 (maybe 2.5.1?)
14620 if test "$GCC" = yes; then
14621 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14623 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14627 link_all_deplibs_FC=yes
14631 if test "x$host_vendor" = xsequent; then
14632 # Use $CC to link under sequent, because it throws in some extra .o
14633 # files that make .init and .fini sections work.
14634 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14636 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14638 hardcode_libdir_flag_spec_FC='-L$libdir'
14639 hardcode_direct_FC=yes
14640 hardcode_minus_L_FC=yes
14641 hardcode_shlibpath_var_FC=no
14645 case $host_vendor in
14647 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14648 hardcode_direct_FC=yes # is this really true???
14651 ## LD is ld it makes a PLAMLIB
14652 ## CC just makes a GrossModule.
14653 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14654 reload_cmds_FC='$CC -r -o $output$reload_objs'
14655 hardcode_direct_FC=no
14658 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14659 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14662 runpath_var='LD_RUN_PATH'
14663 hardcode_shlibpath_var_FC=no
14667 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14668 hardcode_shlibpath_var_FC=no
14669 export_dynamic_flag_spec_FC='-Bexport'
14673 if test -d /usr/nec; then
14674 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14675 hardcode_shlibpath_var_FC=no
14676 runpath_var=LD_RUN_PATH
14677 hardcode_runpath_var=yes
14682 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14683 no_undefined_flag_FC='${wl}-z,text'
14684 archive_cmds_need_lc_FC=no
14685 hardcode_shlibpath_var_FC=no
14686 runpath_var='LD_RUN_PATH'
14688 if test "$GCC" = yes; then
14689 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14690 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14692 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14693 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14697 sysv5* | sco3.2v5* | sco5v6*)
14698 # Note: We can NOT use -z defs as we might desire, because we do not
14699 # link with -lc, and that would cause any symbols used from libc to
14700 # always be unresolved, which means just about no library would
14701 # ever link correctly. If we're not using GNU ld we use -z text
14702 # though, which does catch some bad symbols but isn't as heavy-handed
14704 no_undefined_flag_FC='${wl}-z,text'
14705 allow_undefined_flag_FC='${wl}-z,nodefs'
14706 archive_cmds_need_lc_FC=no
14707 hardcode_shlibpath_var_FC=no
14708 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14709 hardcode_libdir_separator_FC=':'
14710 link_all_deplibs_FC=yes
14711 export_dynamic_flag_spec_FC='${wl}-Bexport'
14712 runpath_var='LD_RUN_PATH'
14714 if test "$GCC" = yes; then
14715 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14716 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14718 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14719 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14724 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14725 hardcode_libdir_flag_spec_FC='-L$libdir'
14726 hardcode_shlibpath_var_FC=no
14734 if test x$host_vendor = xsni; then
14736 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14737 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14744 $as_echo "$ld_shlibs_FC" >&6; }
14745 test "$ld_shlibs_FC" = no && can_build_shared=no
14747 with_gnu_ld_FC=$with_gnu_ld
14755 # Do we need to explicitly link libc?
14757 case "x$archive_cmds_need_lc_FC" in
14759 # Assume -lc should be added
14760 archive_cmds_need_lc_FC=yes
14762 if test "$enable_shared" = yes && test "$GCC" = yes; then
14763 case $archive_cmds_FC in
14765 # FIXME: we may have to deal with multi-command sequences.
14768 # Test whether the compiler implicitly links with -lc since on some
14769 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14770 # to ld, don't add -lc before -lgcc.
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14772 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14773 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14774 $as_echo_n "(cached) " >&6
14777 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14780 (eval $ac_compile) 2>&5
14782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14783 test $ac_status = 0; } 2>conftest.err; then
14786 libobjs=conftest.$ac_objext
14788 wl=$lt_prog_compiler_wl_FC
14789 pic_flag=$lt_prog_compiler_pic_FC
14795 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14796 allow_undefined_flag_FC=
14797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14798 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14801 test $ac_status = 0; }
14803 lt_cv_archive_cmds_need_lc_FC=no
14805 lt_cv_archive_cmds_need_lc_FC=yes
14807 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14809 cat conftest.err 1>&5
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14815 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14816 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14887 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14889 library_names_spec=
14890 libname_spec='lib$name'
14894 postuninstall_cmds=
14898 shlibpath_overrides_runpath=unknown
14900 dynamic_linker="$host_os ld.so"
14901 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14902 need_lib_prefix=unknown
14903 hardcode_into_libs=no
14905 # when you set need_version to no, make sure it does not cause -set_version
14906 # flags to be left without arguments
14907 need_version=unknown
14912 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14913 shlibpath_var=LIBPATH
14915 # AIX 3 has no versioning support, so we append a major version to the name.
14916 soname_spec='${libname}${release}${shared_ext}$major'
14923 hardcode_into_libs=yes
14924 if test "$host_cpu" = ia64; then
14925 # AIX 5 supports IA64
14926 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14927 shlibpath_var=LD_LIBRARY_PATH
14929 # With GCC up to 2.95.x, collect2 would create an import file
14930 # for dependence libraries. The import file would start with
14931 # the line `#! .'. This would cause the generated library to
14932 # depend on `.', always an invalid library. This was fixed in
14933 # development snapshots of GCC prior to 3.0.
14935 aix4 | aix4.[01] | aix4.[01].*)
14936 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14938 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14941 can_build_shared=no
14945 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14946 # soname into executable. Probably we can add versioning support to
14947 # collect2, so additional links can be useful in future.
14948 if test "$aix_use_runtimelinking" = yes; then
14949 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14950 # instead of lib<name>.a to let people know that these are not
14951 # typical AIX shared libraries.
14952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14954 # We preserve .a as extension for shared libraries through AIX4.2
14955 # and later when we are not doing run time linking.
14956 library_names_spec='${libname}${release}.a $libname.a'
14957 soname_spec='${libname}${release}${shared_ext}$major'
14959 shlibpath_var=LIBPATH
14966 # Since July 2007 AmigaOS4 officially supports .so libraries.
14967 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14971 library_names_spec='$libname.ixlibrary $libname.a'
14972 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14973 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14979 library_names_spec='${libname}${shared_ext}'
14980 dynamic_linker="$host_os ld.so"
14981 shlibpath_var=LIBRARY_PATH
14987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14988 soname_spec='${libname}${release}${shared_ext}$major'
14989 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14990 shlibpath_var=LD_LIBRARY_PATH
14991 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14992 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14993 # the default ld.so.conf also contains /usr/contrib/lib and
14994 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14995 # libtool to hard-code these into programs
14998 cygwin* | mingw* | pw32* | cegcc*)
14999 version_type=windows
15004 case $GCC,$host_os in
15005 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15006 library_names_spec='$libname.dll.a'
15007 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15008 postinstall_cmds='base_file=`basename \${file}`~
15009 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15010 dldir=$destdir/`dirname \$dlpath`~
15011 test -d \$dldir || mkdir -p \$dldir~
15012 $install_prog $dir/$dlname \$dldir/$dlname~
15013 chmod a+x \$dldir/$dlname~
15014 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15015 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15017 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15018 dlpath=$dir/\$dldll~
15020 shlibpath_overrides_runpath=yes
15024 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15025 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15029 # MinGW DLLs use traditional 'lib' prefix
15030 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15033 # pw32 DLLs use 'pw' prefix rather than 'lib'
15034 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15040 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15043 dynamic_linker='Win32 ld.exe'
15044 # FIXME: first we should search . and the directory the executable is in
15048 darwin* | rhapsody*)
15049 dynamic_linker="$host_os dyld"
15050 version_type=darwin
15053 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15054 soname_spec='${libname}${release}${major}$shared_ext'
15055 shlibpath_overrides_runpath=yes
15056 shlibpath_var=DYLD_LIBRARY_PATH
15057 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15059 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15067 soname_spec='${libname}${release}${shared_ext}$major'
15068 shlibpath_var=LD_LIBRARY_PATH
15071 freebsd* | dragonfly*)
15072 # DragonFly does not have aout. When/if they implement a new
15073 # versioning mechanism, adjust this.
15074 if test -x /usr/bin/objformat; then
15075 objformat=`/usr/bin/objformat`
15078 freebsd[23].*) objformat=aout ;;
15079 *) objformat=elf ;;
15082 version_type=freebsd-$objformat
15083 case $version_type in
15085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15090 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15094 shlibpath_var=LD_LIBRARY_PATH
15097 shlibpath_overrides_runpath=yes
15099 freebsd3.[01]* | freebsdelf3.[01]*)
15100 shlibpath_overrides_runpath=yes
15101 hardcode_into_libs=yes
15103 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15104 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15105 shlibpath_overrides_runpath=no
15106 hardcode_into_libs=yes
15108 *) # from 4.6 on, and DragonFly
15109 shlibpath_overrides_runpath=yes
15110 hardcode_into_libs=yes
15119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15120 soname_spec='${libname}${release}${shared_ext}$major'
15121 shlibpath_var=LD_LIBRARY_PATH
15122 hardcode_into_libs=yes
15129 dynamic_linker="$host_os runtime_loader"
15130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15131 soname_spec='${libname}${release}${shared_ext}$major'
15132 shlibpath_var=LIBRARY_PATH
15133 shlibpath_overrides_runpath=yes
15134 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15135 hardcode_into_libs=yes
15138 hpux9* | hpux10* | hpux11*)
15139 # Give a soname corresponding to the major version so that dld.sl refuses to
15140 # link against other versions.
15147 hardcode_into_libs=yes
15148 dynamic_linker="$host_os dld.so"
15149 shlibpath_var=LD_LIBRARY_PATH
15150 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15152 soname_spec='${libname}${release}${shared_ext}$major'
15153 if test "X$HPUX_IA64_MODE" = X32; then
15154 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15156 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15158 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15162 hardcode_into_libs=yes
15163 dynamic_linker="$host_os dld.sl"
15164 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15165 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15167 soname_spec='${libname}${release}${shared_ext}$major'
15168 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15169 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15173 dynamic_linker="$host_os dld.sl"
15174 shlibpath_var=SHLIB_PATH
15175 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15177 soname_spec='${libname}${release}${shared_ext}$major'
15180 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15181 postinstall_cmds='chmod 555 $lib'
15182 # or fails outright, so override atomically:
15183 install_override_mode=555
15190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15191 soname_spec='${libname}${release}${shared_ext}$major'
15192 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15193 shlibpath_var=LD_LIBRARY_PATH
15194 shlibpath_overrides_runpath=no
15195 hardcode_into_libs=yes
15198 irix5* | irix6* | nonstopux*)
15200 nonstopux*) version_type=nonstopux ;;
15202 if test "$lt_cv_prog_gnu_ld" = yes; then
15210 soname_spec='${libname}${release}${shared_ext}$major'
15211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15213 irix5* | nonstopux*)
15214 libsuff= shlibsuff=
15217 case $LD in # libtool.m4 will add one of these switches to LD
15218 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15219 libsuff= shlibsuff= libmagic=32-bit;;
15220 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15221 libsuff=32 shlibsuff=N32 libmagic=N32;;
15222 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15223 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15224 *) libsuff= shlibsuff= libmagic=never-match;;
15228 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15229 shlibpath_overrides_runpath=no
15230 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15231 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15232 hardcode_into_libs=yes
15235 # No shared lib support for Linux oldld, aout, or coff.
15236 linux*oldld* | linux*aout* | linux*coff*)
15240 # This must be Linux ELF.
15241 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15246 soname_spec='${libname}${release}${shared_ext}$major'
15247 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15248 shlibpath_var=LD_LIBRARY_PATH
15249 shlibpath_overrides_runpath=no
15251 # Some binutils ld are patched to set DT_RUNPATH
15252 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15253 $as_echo_n "(cached) " >&6
15255 lt_cv_shlibpath_overrides_runpath=no
15256 save_LDFLAGS=$LDFLAGS
15257 save_libdir=$libdir
15258 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15259 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15260 if test x$gcc_no_link = xyes; then
15261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15263 cat > conftest.$ac_ext <<_ACEOF
15268 if ac_fn_fc_try_link "$LINENO"; then :
15269 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15270 lt_cv_shlibpath_overrides_runpath=yes
15273 rm -f core conftest.err conftest.$ac_objext \
15274 conftest$ac_exeext conftest.$ac_ext
15275 LDFLAGS=$save_LDFLAGS
15276 libdir=$save_libdir
15280 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15282 # This implies no fast_install, which is unacceptable.
15283 # Some rework will be needed to allow for fast_install
15284 # before this can be enabled.
15285 hardcode_into_libs=yes
15287 # Append ld.so.conf contents to the search path
15288 if test -f /etc/ld.so.conf; then
15289 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15290 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15293 # We used to test for /lib/ld.so.1 and disable shared libraries on
15294 # powerpc, because MkLinux only supported shared libraries with the
15295 # GNU dynamic linker. Since this was broken with cross compilers,
15296 # most powerpc-linux boxes support dynamic linking these days and
15297 # people can always --disable-shared, the test was removed, and we
15298 # assume the GNU/Linux dynamic linker is in use.
15299 dynamic_linker='GNU/Linux ld.so'
15306 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15308 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15309 dynamic_linker='NetBSD (a.out) ld.so'
15311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15312 soname_spec='${libname}${release}${shared_ext}$major'
15313 dynamic_linker='NetBSD ld.elf_so'
15315 shlibpath_var=LD_LIBRARY_PATH
15316 shlibpath_overrides_runpath=yes
15317 hardcode_into_libs=yes
15322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15323 shlibpath_var=LD_LIBRARY_PATH
15324 shlibpath_overrides_runpath=yes
15331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15332 soname_spec='${libname}${release}${shared_ext}$major'
15333 shlibpath_var=LD_LIBRARY_PATH
15334 shlibpath_overrides_runpath=no
15335 hardcode_into_libs=yes
15336 dynamic_linker='ldqnx.so'
15341 sys_lib_dlsearch_path_spec="/usr/lib"
15343 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15345 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15346 *) need_version=no ;;
15348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15349 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15350 shlibpath_var=LD_LIBRARY_PATH
15351 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15353 openbsd2.[89] | openbsd2.[89].*)
15354 shlibpath_overrides_runpath=no
15357 shlibpath_overrides_runpath=yes
15361 shlibpath_overrides_runpath=yes
15366 libname_spec='$name'
15369 library_names_spec='$libname${shared_ext} $libname.a'
15370 dynamic_linker='OS/2 ld.exe'
15371 shlibpath_var=LIBPATH
15374 osf3* | osf4* | osf5*)
15378 soname_spec='${libname}${release}${shared_ext}$major'
15379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15380 shlibpath_var=LD_LIBRARY_PATH
15381 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15382 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15394 soname_spec='${libname}${release}${shared_ext}$major'
15395 shlibpath_var=LD_LIBRARY_PATH
15396 shlibpath_overrides_runpath=yes
15397 hardcode_into_libs=yes
15398 # ldd complains unless libraries are executable
15399 postinstall_cmds='chmod +x $lib'
15404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15405 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15406 shlibpath_var=LD_LIBRARY_PATH
15407 shlibpath_overrides_runpath=yes
15408 if test "$with_gnu_ld" = yes; then
15416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15417 soname_spec='${libname}${release}${shared_ext}$major'
15418 shlibpath_var=LD_LIBRARY_PATH
15419 case $host_vendor in
15421 shlibpath_overrides_runpath=no
15423 runpath_var=LD_RUN_PATH
15431 shlibpath_overrides_runpath=no
15432 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15438 if test -d /usr/nec ;then
15440 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15441 soname_spec='$libname${shared_ext}.$major'
15442 shlibpath_var=LD_LIBRARY_PATH
15446 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15447 version_type=freebsd-elf
15450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15451 soname_spec='${libname}${release}${shared_ext}$major'
15452 shlibpath_var=LD_LIBRARY_PATH
15453 shlibpath_overrides_runpath=yes
15454 hardcode_into_libs=yes
15455 if test "$with_gnu_ld" = yes; then
15456 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15458 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15461 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15465 sys_lib_dlsearch_path_spec='/usr/lib'
15469 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15474 shlibpath_var=LD_LIBRARY_PATH
15475 shlibpath_overrides_runpath=no
15476 hardcode_into_libs=yes
15481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15482 soname_spec='${libname}${release}${shared_ext}$major'
15483 shlibpath_var=LD_LIBRARY_PATH
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15491 $as_echo "$dynamic_linker" >&6; }
15492 test "$dynamic_linker" = no && can_build_shared=no
15494 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15495 if test "$GCC" = yes; then
15496 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15499 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15500 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15502 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15503 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15544 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15545 hardcode_action_FC=
15546 if test -n "$hardcode_libdir_flag_spec_FC" ||
15547 test -n "$runpath_var_FC" ||
15548 test "X$hardcode_automatic_FC" = "Xyes" ; then
15550 # We can hardcode non-existent directories.
15551 if test "$hardcode_direct_FC" != no &&
15552 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15553 # have to relink, otherwise we might link with an installed library
15554 # when we should be linking with a yet-to-be-installed one
15555 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15556 test "$hardcode_minus_L_FC" != no; then
15557 # Linking always hardcodes the temporary library directory.
15558 hardcode_action_FC=relink
15560 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15561 hardcode_action_FC=immediate
15564 # We cannot hardcode anything, or else we can only hardcode existing
15566 hardcode_action_FC=unsupported
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15569 $as_echo "$hardcode_action_FC" >&6; }
15571 if test "$hardcode_action_FC" = relink ||
15572 test "$inherit_rpath_FC" = yes; then
15573 # Fast installation is not supported
15574 enable_fast_install=no
15575 elif test "$shlibpath_overrides_runpath" = yes ||
15576 test "$enable_shared" = no; then
15577 # Fast installation is not necessary
15578 enable_fast_install=needless
15587 fi # test -n "$compiler"
15591 fi # test "$_lt_disable_FC" != yes
15594 ac_cpp='$CPP $CPPFLAGS'
15595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601 # extra LD Flags which are required for targets
15604 # Darwin needs -single_module when linking libgfortran
15605 extra_ldflags_libgfortran=-Wl,-single_module
15610 # We need a working compiler at that point, otherwise give a clear
15611 # error message and bail out.
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15614 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15615 ac_ext=${ac_fc_srcext-f}
15616 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15617 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15618 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15620 cat > conftest.$ac_ext <<_ACEOF
15623 real, parameter :: bar = sin (12.34 / 2.5)
15626 if ac_fn_fc_try_compile "$LINENO"; then :
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15628 $as_echo "yes" >&6; }
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15631 $as_echo "no" >&6; }
15632 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15637 ac_cpp='$CPP $CPPFLAGS'
15638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15644 # Check whether --enable-largefile was given.
15645 if test "${enable_largefile+set}" = set; then :
15646 enableval=$enable_largefile;
15649 if test "$enable_largefile" != no; then
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15652 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15653 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15654 $as_echo_n "(cached) " >&6
15656 ac_cv_sys_largefile_CC=no
15657 if test "$GCC" != yes; then
15660 # IRIX 6.2 and later do not support large files by default,
15661 # so use the C compiler's -n32 option if that helps.
15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15664 #include <sys/types.h>
15665 /* Check that off_t can represent 2**63 - 1 correctly.
15666 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15667 since some C++ compilers masquerading as C compilers
15668 incorrectly reject 9223372036854775807. */
15669 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15670 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15671 && LARGE_OFF_T % 2147483647 == 1)
15681 if ac_fn_c_try_compile "$LINENO"; then :
15684 rm -f core conftest.err conftest.$ac_objext
15686 if ac_fn_c_try_compile "$LINENO"; then :
15687 ac_cv_sys_largefile_CC=' -n32'; break
15689 rm -f core conftest.err conftest.$ac_objext
15693 rm -f conftest.$ac_ext
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15697 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15698 if test "$ac_cv_sys_largefile_CC" != no; then
15699 CC=$CC$ac_cv_sys_largefile_CC
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15703 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15704 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15705 $as_echo_n "(cached) " >&6
15708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15710 #include <sys/types.h>
15711 /* Check that off_t can represent 2**63 - 1 correctly.
15712 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15713 since some C++ compilers masquerading as C compilers
15714 incorrectly reject 9223372036854775807. */
15715 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15716 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15717 && LARGE_OFF_T % 2147483647 == 1)
15727 if ac_fn_c_try_compile "$LINENO"; then :
15728 ac_cv_sys_file_offset_bits=no; break
15730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15732 /* end confdefs.h. */
15733 #define _FILE_OFFSET_BITS 64
15734 #include <sys/types.h>
15735 /* Check that off_t can represent 2**63 - 1 correctly.
15736 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15737 since some C++ compilers masquerading as C compilers
15738 incorrectly reject 9223372036854775807. */
15739 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15740 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15741 && LARGE_OFF_T % 2147483647 == 1)
15751 if ac_fn_c_try_compile "$LINENO"; then :
15752 ac_cv_sys_file_offset_bits=64; break
15754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755 ac_cv_sys_file_offset_bits=unknown
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15760 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15761 case $ac_cv_sys_file_offset_bits in #(
15764 cat >>confdefs.h <<_ACEOF
15765 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15770 if test $ac_cv_sys_file_offset_bits = unknown; then
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15772 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15773 if test "${ac_cv_sys_large_files+set}" = set; then :
15774 $as_echo_n "(cached) " >&6
15777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15778 /* end confdefs.h. */
15779 #include <sys/types.h>
15780 /* Check that off_t can represent 2**63 - 1 correctly.
15781 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15782 since some C++ compilers masquerading as C compilers
15783 incorrectly reject 9223372036854775807. */
15784 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15785 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15786 && LARGE_OFF_T % 2147483647 == 1)
15796 if ac_fn_c_try_compile "$LINENO"; then :
15797 ac_cv_sys_large_files=no; break
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15801 /* end confdefs.h. */
15802 #define _LARGE_FILES 1
15803 #include <sys/types.h>
15804 /* Check that off_t can represent 2**63 - 1 correctly.
15805 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15806 since some C++ compilers masquerading as C compilers
15807 incorrectly reject 9223372036854775807. */
15808 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15809 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15810 && LARGE_OFF_T % 2147483647 == 1)
15820 if ac_fn_c_try_compile "$LINENO"; then :
15821 ac_cv_sys_large_files=1; break
15823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15824 ac_cv_sys_large_files=unknown
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15829 $as_echo "$ac_cv_sys_large_files" >&6; }
15830 case $ac_cv_sys_large_files in #(
15833 cat >>confdefs.h <<_ACEOF
15834 #define _LARGE_FILES $ac_cv_sys_large_files
15844 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15845 if test "x$ac_cv_type_off_t" = x""yes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define off_t long int
15856 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15857 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15859 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15862 for ac_type in 'int' 'long int' 'long long int'; do
15863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15864 /* end confdefs.h. */
15865 $ac_includes_default
15869 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15876 if ac_fn_c_try_compile "$LINENO"; then :
15878 cat >>confdefs.h <<_ACEOF
15879 #define intptr_t $ac_type
15884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15885 test -z "$ac_type" && break
15891 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15892 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15894 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15897 for ac_type in 'unsigned int' 'unsigned long int' \
15898 'unsigned long long int'; do
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 $ac_includes_default
15905 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15912 if ac_fn_c_try_compile "$LINENO"; then :
15914 cat >>confdefs.h <<_ACEOF
15915 #define uintptr_t $ac_type
15920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921 test -z "$ac_type" && break
15926 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15927 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15929 cat >>confdefs.h <<_ACEOF
15930 #define HAVE_PTRDIFF_T 1
15937 # check header files (we assume C89 is available, so don't check for that)
15941 for ac_header in $ac_header_list
15943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15944 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15946 eval as_val=\$$as_ac_Header
15947 if test "x$as_val" = x""yes; then :
15948 cat >>confdefs.h <<_ACEOF
15949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15986 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15988 acx_cv_header_stdint=stddef.h
15989 acx_cv_header_stdint_kind="(already complete)"
15990 for i in stdint.h $inttype_headers; do
15991 unset ac_cv_type_uintptr_t
15992 unset ac_cv_type_uintmax_t
15993 unset ac_cv_type_int_least32_t
15994 unset ac_cv_type_int_fast32_t
15995 unset ac_cv_type_uint64_t
15996 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15997 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16000 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16001 acx_cv_header_stdint=$i
16006 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16009 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16012 acx_cv_header_stdint_kind="(mostly complete)"
16015 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16018 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16021 acx_cv_header_stdint_kind="(mostly complete)"
16024 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16027 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16030 acx_cv_header_stdint_kind="(mostly complete)"
16033 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16036 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16039 acx_cv_header_stdint_kind="(lacks uint64_t)"
16044 if test "$acx_cv_header_stdint" = stddef.h; then
16045 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16046 for i in stdint.h $inttype_headers; do
16047 unset ac_cv_type_uintptr_t
16048 unset ac_cv_type_uint32_t
16049 unset ac_cv_type_uint64_t
16050 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16051 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16054 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16055 acx_cv_header_stdint=$i
16060 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16063 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16067 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16070 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16077 if test "$acx_cv_header_stdint" = stddef.h; then
16078 acx_cv_header_stdint_kind="(u_intXX_t style)"
16079 for i in sys/types.h $inttype_headers; do
16080 unset ac_cv_type_u_int32_t
16081 unset ac_cv_type_u_int64_t
16082 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16083 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16086 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16087 acx_cv_header_stdint=$i
16092 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16095 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16102 if test "$acx_cv_header_stdint" = stddef.h; then
16103 acx_cv_header_stdint_kind="(using manual detection)"
16106 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16107 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16108 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16109 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16110 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16112 # ----------------- Summarize what we found so far
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16115 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16117 case `$as_basename -- gstdint.h ||
16118 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16119 Xgstdint.h : 'X\(//\)$' \| \
16120 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16121 $as_echo X/gstdint.h |
16122 sed '/^.*\/\([^/][^/]*\)\/*$/{
16135 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16136 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16137 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16138 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16143 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16145 # ----------------- done included file, check C basic types --------
16147 # Lacking an uintptr_t? Test size of void *
16148 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16149 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16150 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16151 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16152 # This bug is HP SR number 8606223364.
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16154 $as_echo_n "checking size of void *... " >&6; }
16155 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16156 $as_echo_n "(cached) " >&6
16158 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16161 if test "$ac_cv_type_void_p" = yes; then
16162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16164 { as_fn_set_status 77
16165 as_fn_error "cannot compute sizeof (void *)
16166 See \`config.log' for more details." "$LINENO" 5; }; }
16168 ac_cv_sizeof_void_p=0
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16174 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16178 cat >>confdefs.h <<_ACEOF
16179 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16185 # Lacking an uint64_t? Test size of long
16186 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16187 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16188 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16189 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16190 # This bug is HP SR number 8606223364.
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16192 $as_echo_n "checking size of long... " >&6; }
16193 if test "${ac_cv_sizeof_long+set}" = set; then :
16194 $as_echo_n "(cached) " >&6
16196 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16199 if test "$ac_cv_type_long" = yes; then
16200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16202 { as_fn_set_status 77
16203 as_fn_error "cannot compute sizeof (long)
16204 See \`config.log' for more details." "$LINENO" 5; }; }
16206 ac_cv_sizeof_long=0
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16212 $as_echo "$ac_cv_sizeof_long" >&6; }
16216 cat >>confdefs.h <<_ACEOF
16217 #define SIZEOF_LONG $ac_cv_sizeof_long
16223 if test $acx_cv_header_stdint = stddef.h; then
16224 # Lacking a good header? Test size of everything and deduce all types.
16225 # The cast to long int works around a bug in the HP C Compiler
16226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16228 # This bug is HP SR number 8606223364.
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16230 $as_echo_n "checking size of int... " >&6; }
16231 if test "${ac_cv_sizeof_int+set}" = set; then :
16232 $as_echo_n "(cached) " >&6
16234 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16237 if test "$ac_cv_type_int" = yes; then
16238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16240 { as_fn_set_status 77
16241 as_fn_error "cannot compute sizeof (int)
16242 See \`config.log' for more details." "$LINENO" 5; }; }
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16250 $as_echo "$ac_cv_sizeof_int" >&6; }
16254 cat >>confdefs.h <<_ACEOF
16255 #define SIZEOF_INT $ac_cv_sizeof_int
16259 # The cast to long int works around a bug in the HP C Compiler
16260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16262 # This bug is HP SR number 8606223364.
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16264 $as_echo_n "checking size of short... " >&6; }
16265 if test "${ac_cv_sizeof_short+set}" = set; then :
16266 $as_echo_n "(cached) " >&6
16268 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16271 if test "$ac_cv_type_short" = yes; then
16272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16274 { as_fn_set_status 77
16275 as_fn_error "cannot compute sizeof (short)
16276 See \`config.log' for more details." "$LINENO" 5; }; }
16278 ac_cv_sizeof_short=0
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16284 $as_echo "$ac_cv_sizeof_short" >&6; }
16288 cat >>confdefs.h <<_ACEOF
16289 #define SIZEOF_SHORT $ac_cv_sizeof_short
16293 # The cast to long int works around a bug in the HP C Compiler
16294 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16295 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16296 # This bug is HP SR number 8606223364.
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16298 $as_echo_n "checking size of char... " >&6; }
16299 if test "${ac_cv_sizeof_char+set}" = set; then :
16300 $as_echo_n "(cached) " >&6
16302 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16305 if test "$ac_cv_type_char" = yes; then
16306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16308 { as_fn_set_status 77
16309 as_fn_error "cannot compute sizeof (char)
16310 See \`config.log' for more details." "$LINENO" 5; }; }
16312 ac_cv_sizeof_char=0
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16318 $as_echo "$ac_cv_sizeof_char" >&6; }
16322 cat >>confdefs.h <<_ACEOF
16323 #define SIZEOF_CHAR $ac_cv_sizeof_char
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16329 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16330 case "$ac_cv_sizeof_char" in
16331 1) acx_cv_type_int8_t=char ;;
16332 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16335 $as_echo "$acx_cv_type_int8_t" >&6; }
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16338 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16339 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16340 2:*) acx_cv_type_int16_t=int ;;
16341 *:2) acx_cv_type_int16_t=short ;;
16342 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16345 $as_echo "$acx_cv_type_int16_t" >&6; }
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16348 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16349 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16350 4:*) acx_cv_type_int32_t=int ;;
16351 *:4) acx_cv_type_int32_t=long ;;
16352 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16355 $as_echo "$acx_cv_type_int32_t" >&6; }
16358 # These tests are here to make the output prettier
16360 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16361 case "$ac_cv_sizeof_long" in
16362 8) acx_cv_type_int64_t=long ;;
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16365 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16367 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16370 # Now we can use the above types
16372 if test "$ac_cv_type_uintptr_t" != yes; then
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16374 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16375 case $ac_cv_sizeof_void_p in
16376 2) acx_cv_type_intptr_t=int16_t ;;
16377 4) acx_cv_type_intptr_t=int32_t ;;
16378 8) acx_cv_type_intptr_t=int64_t ;;
16379 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16382 $as_echo "$acx_cv_type_intptr_t" >&6; }
16385 # ----------------- done all checks, emit header -------------
16386 ac_config_commands="$ac_config_commands gstdint.h"
16391 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16392 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16400 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16401 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16409 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16410 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_STRUCT_STAT_ST_RDEV 1
16420 # Check for library functions.
16424 for ac_func in $ac_func_list
16426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16428 eval as_val=\$$as_ac_var
16429 if test "x$as_val" = x""yes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16535 # Check for C99 (and other IEEE) math functions
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
16537 $as_echo_n "checking for acosf in -lm... " >&6; }
16538 if test "${ac_cv_lib_m_acosf+set}" = set; then :
16539 $as_echo_n "(cached) " >&6
16541 ac_check_lib_save_LIBS=$LIBS
16543 if test x$gcc_no_link = xyes; then
16544 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16549 /* Override any GCC internal prototype to avoid an error.
16550 Use char because int might match the return type of a GCC
16551 builtin and then its argument prototype would still apply. */
16564 if ac_fn_c_try_link "$LINENO"; then :
16565 ac_cv_lib_m_acosf=yes
16567 ac_cv_lib_m_acosf=no
16569 rm -f core conftest.err conftest.$ac_objext \
16570 conftest$ac_exeext conftest.$ac_ext
16571 LIBS=$ac_check_lib_save_LIBS
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
16574 $as_echo "$ac_cv_lib_m_acosf" >&6; }
16575 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
16577 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
16582 $as_echo_n "checking for acos in -lm... " >&6; }
16583 if test "${ac_cv_lib_m_acos+set}" = set; then :
16584 $as_echo_n "(cached) " >&6
16586 ac_check_lib_save_LIBS=$LIBS
16588 if test x$gcc_no_link = xyes; then
16589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16594 /* Override any GCC internal prototype to avoid an error.
16595 Use char because int might match the return type of a GCC
16596 builtin and then its argument prototype would still apply. */
16609 if ac_fn_c_try_link "$LINENO"; then :
16610 ac_cv_lib_m_acos=yes
16612 ac_cv_lib_m_acos=no
16614 rm -f core conftest.err conftest.$ac_objext \
16615 conftest$ac_exeext conftest.$ac_ext
16616 LIBS=$ac_check_lib_save_LIBS
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
16619 $as_echo "$ac_cv_lib_m_acos" >&6; }
16620 if test "x$ac_cv_lib_m_acos" = x""yes; then :
16622 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
16627 $as_echo_n "checking for acosl in -lm... " >&6; }
16628 if test "${ac_cv_lib_m_acosl+set}" = set; then :
16629 $as_echo_n "(cached) " >&6
16631 ac_check_lib_save_LIBS=$LIBS
16633 if test x$gcc_no_link = xyes; then
16634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16639 /* Override any GCC internal prototype to avoid an error.
16640 Use char because int might match the return type of a GCC
16641 builtin and then its argument prototype would still apply. */
16654 if ac_fn_c_try_link "$LINENO"; then :
16655 ac_cv_lib_m_acosl=yes
16657 ac_cv_lib_m_acosl=no
16659 rm -f core conftest.err conftest.$ac_objext \
16660 conftest$ac_exeext conftest.$ac_ext
16661 LIBS=$ac_check_lib_save_LIBS
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16664 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16665 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16667 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16672 $as_echo_n "checking for acoshf in -lm... " >&6; }
16673 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16674 $as_echo_n "(cached) " >&6
16676 ac_check_lib_save_LIBS=$LIBS
16678 if test x$gcc_no_link = xyes; then
16679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16682 /* end confdefs.h. */
16684 /* Override any GCC internal prototype to avoid an error.
16685 Use char because int might match the return type of a GCC
16686 builtin and then its argument prototype would still apply. */
16699 if ac_fn_c_try_link "$LINENO"; then :
16700 ac_cv_lib_m_acoshf=yes
16702 ac_cv_lib_m_acoshf=no
16704 rm -f core conftest.err conftest.$ac_objext \
16705 conftest$ac_exeext conftest.$ac_ext
16706 LIBS=$ac_check_lib_save_LIBS
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16709 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16710 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16712 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16717 $as_echo_n "checking for acosh in -lm... " >&6; }
16718 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16719 $as_echo_n "(cached) " >&6
16721 ac_check_lib_save_LIBS=$LIBS
16723 if test x$gcc_no_link = xyes; then
16724 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16729 /* Override any GCC internal prototype to avoid an error.
16730 Use char because int might match the return type of a GCC
16731 builtin and then its argument prototype would still apply. */
16744 if ac_fn_c_try_link "$LINENO"; then :
16745 ac_cv_lib_m_acosh=yes
16747 ac_cv_lib_m_acosh=no
16749 rm -f core conftest.err conftest.$ac_objext \
16750 conftest$ac_exeext conftest.$ac_ext
16751 LIBS=$ac_check_lib_save_LIBS
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16754 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16755 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16757 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16762 $as_echo_n "checking for acoshl in -lm... " >&6; }
16763 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16764 $as_echo_n "(cached) " >&6
16766 ac_check_lib_save_LIBS=$LIBS
16768 if test x$gcc_no_link = xyes; then
16769 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16774 /* Override any GCC internal prototype to avoid an error.
16775 Use char because int might match the return type of a GCC
16776 builtin and then its argument prototype would still apply. */
16789 if ac_fn_c_try_link "$LINENO"; then :
16790 ac_cv_lib_m_acoshl=yes
16792 ac_cv_lib_m_acoshl=no
16794 rm -f core conftest.err conftest.$ac_objext \
16795 conftest$ac_exeext conftest.$ac_ext
16796 LIBS=$ac_check_lib_save_LIBS
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16799 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16800 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16802 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16807 $as_echo_n "checking for asinf in -lm... " >&6; }
16808 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16809 $as_echo_n "(cached) " >&6
16811 ac_check_lib_save_LIBS=$LIBS
16813 if test x$gcc_no_link = xyes; then
16814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16819 /* Override any GCC internal prototype to avoid an error.
16820 Use char because int might match the return type of a GCC
16821 builtin and then its argument prototype would still apply. */
16834 if ac_fn_c_try_link "$LINENO"; then :
16835 ac_cv_lib_m_asinf=yes
16837 ac_cv_lib_m_asinf=no
16839 rm -f core conftest.err conftest.$ac_objext \
16840 conftest$ac_exeext conftest.$ac_ext
16841 LIBS=$ac_check_lib_save_LIBS
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16844 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16845 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16847 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16852 $as_echo_n "checking for asin in -lm... " >&6; }
16853 if test "${ac_cv_lib_m_asin+set}" = set; then :
16854 $as_echo_n "(cached) " >&6
16856 ac_check_lib_save_LIBS=$LIBS
16858 if test x$gcc_no_link = xyes; then
16859 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16864 /* Override any GCC internal prototype to avoid an error.
16865 Use char because int might match the return type of a GCC
16866 builtin and then its argument prototype would still apply. */
16879 if ac_fn_c_try_link "$LINENO"; then :
16880 ac_cv_lib_m_asin=yes
16882 ac_cv_lib_m_asin=no
16884 rm -f core conftest.err conftest.$ac_objext \
16885 conftest$ac_exeext conftest.$ac_ext
16886 LIBS=$ac_check_lib_save_LIBS
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16889 $as_echo "$ac_cv_lib_m_asin" >&6; }
16890 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16892 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16897 $as_echo_n "checking for asinl in -lm... " >&6; }
16898 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16899 $as_echo_n "(cached) " >&6
16901 ac_check_lib_save_LIBS=$LIBS
16903 if test x$gcc_no_link = xyes; then
16904 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16909 /* Override any GCC internal prototype to avoid an error.
16910 Use char because int might match the return type of a GCC
16911 builtin and then its argument prototype would still apply. */
16924 if ac_fn_c_try_link "$LINENO"; then :
16925 ac_cv_lib_m_asinl=yes
16927 ac_cv_lib_m_asinl=no
16929 rm -f core conftest.err conftest.$ac_objext \
16930 conftest$ac_exeext conftest.$ac_ext
16931 LIBS=$ac_check_lib_save_LIBS
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16934 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16935 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16937 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16942 $as_echo_n "checking for asinhf in -lm... " >&6; }
16943 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16944 $as_echo_n "(cached) " >&6
16946 ac_check_lib_save_LIBS=$LIBS
16948 if test x$gcc_no_link = xyes; then
16949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h. */
16954 /* Override any GCC internal prototype to avoid an error.
16955 Use char because int might match the return type of a GCC
16956 builtin and then its argument prototype would still apply. */
16969 if ac_fn_c_try_link "$LINENO"; then :
16970 ac_cv_lib_m_asinhf=yes
16972 ac_cv_lib_m_asinhf=no
16974 rm -f core conftest.err conftest.$ac_objext \
16975 conftest$ac_exeext conftest.$ac_ext
16976 LIBS=$ac_check_lib_save_LIBS
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16979 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16980 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16982 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16987 $as_echo_n "checking for asinh in -lm... " >&6; }
16988 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16989 $as_echo_n "(cached) " >&6
16991 ac_check_lib_save_LIBS=$LIBS
16993 if test x$gcc_no_link = xyes; then
16994 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16999 /* Override any GCC internal prototype to avoid an error.
17000 Use char because int might match the return type of a GCC
17001 builtin and then its argument prototype would still apply. */
17014 if ac_fn_c_try_link "$LINENO"; then :
17015 ac_cv_lib_m_asinh=yes
17017 ac_cv_lib_m_asinh=no
17019 rm -f core conftest.err conftest.$ac_objext \
17020 conftest$ac_exeext conftest.$ac_ext
17021 LIBS=$ac_check_lib_save_LIBS
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
17024 $as_echo "$ac_cv_lib_m_asinh" >&6; }
17025 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
17027 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
17032 $as_echo_n "checking for asinhl in -lm... " >&6; }
17033 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
17034 $as_echo_n "(cached) " >&6
17036 ac_check_lib_save_LIBS=$LIBS
17038 if test x$gcc_no_link = xyes; then
17039 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17042 /* end confdefs.h. */
17044 /* Override any GCC internal prototype to avoid an error.
17045 Use char because int might match the return type of a GCC
17046 builtin and then its argument prototype would still apply. */
17059 if ac_fn_c_try_link "$LINENO"; then :
17060 ac_cv_lib_m_asinhl=yes
17062 ac_cv_lib_m_asinhl=no
17064 rm -f core conftest.err conftest.$ac_objext \
17065 conftest$ac_exeext conftest.$ac_ext
17066 LIBS=$ac_check_lib_save_LIBS
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
17069 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
17070 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
17072 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
17077 $as_echo_n "checking for atan2f in -lm... " >&6; }
17078 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
17079 $as_echo_n "(cached) " >&6
17081 ac_check_lib_save_LIBS=$LIBS
17083 if test x$gcc_no_link = xyes; then
17084 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17089 /* Override any GCC internal prototype to avoid an error.
17090 Use char because int might match the return type of a GCC
17091 builtin and then its argument prototype would still apply. */
17104 if ac_fn_c_try_link "$LINENO"; then :
17105 ac_cv_lib_m_atan2f=yes
17107 ac_cv_lib_m_atan2f=no
17109 rm -f core conftest.err conftest.$ac_objext \
17110 conftest$ac_exeext conftest.$ac_ext
17111 LIBS=$ac_check_lib_save_LIBS
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
17114 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
17115 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
17117 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
17122 $as_echo_n "checking for atan2 in -lm... " >&6; }
17123 if test "${ac_cv_lib_m_atan2+set}" = set; then :
17124 $as_echo_n "(cached) " >&6
17126 ac_check_lib_save_LIBS=$LIBS
17128 if test x$gcc_no_link = xyes; then
17129 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17134 /* Override any GCC internal prototype to avoid an error.
17135 Use char because int might match the return type of a GCC
17136 builtin and then its argument prototype would still apply. */
17149 if ac_fn_c_try_link "$LINENO"; then :
17150 ac_cv_lib_m_atan2=yes
17152 ac_cv_lib_m_atan2=no
17154 rm -f core conftest.err conftest.$ac_objext \
17155 conftest$ac_exeext conftest.$ac_ext
17156 LIBS=$ac_check_lib_save_LIBS
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
17159 $as_echo "$ac_cv_lib_m_atan2" >&6; }
17160 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
17162 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
17167 $as_echo_n "checking for atan2l in -lm... " >&6; }
17168 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
17169 $as_echo_n "(cached) " >&6
17171 ac_check_lib_save_LIBS=$LIBS
17173 if test x$gcc_no_link = xyes; then
17174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17179 /* Override any GCC internal prototype to avoid an error.
17180 Use char because int might match the return type of a GCC
17181 builtin and then its argument prototype would still apply. */
17194 if ac_fn_c_try_link "$LINENO"; then :
17195 ac_cv_lib_m_atan2l=yes
17197 ac_cv_lib_m_atan2l=no
17199 rm -f core conftest.err conftest.$ac_objext \
17200 conftest$ac_exeext conftest.$ac_ext
17201 LIBS=$ac_check_lib_save_LIBS
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
17204 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
17205 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
17207 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
17212 $as_echo_n "checking for atanf in -lm... " >&6; }
17213 if test "${ac_cv_lib_m_atanf+set}" = set; then :
17214 $as_echo_n "(cached) " >&6
17216 ac_check_lib_save_LIBS=$LIBS
17218 if test x$gcc_no_link = xyes; then
17219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17224 /* Override any GCC internal prototype to avoid an error.
17225 Use char because int might match the return type of a GCC
17226 builtin and then its argument prototype would still apply. */
17239 if ac_fn_c_try_link "$LINENO"; then :
17240 ac_cv_lib_m_atanf=yes
17242 ac_cv_lib_m_atanf=no
17244 rm -f core conftest.err conftest.$ac_objext \
17245 conftest$ac_exeext conftest.$ac_ext
17246 LIBS=$ac_check_lib_save_LIBS
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
17249 $as_echo "$ac_cv_lib_m_atanf" >&6; }
17250 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
17252 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
17257 $as_echo_n "checking for atan in -lm... " >&6; }
17258 if test "${ac_cv_lib_m_atan+set}" = set; then :
17259 $as_echo_n "(cached) " >&6
17261 ac_check_lib_save_LIBS=$LIBS
17263 if test x$gcc_no_link = xyes; then
17264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17267 /* end confdefs.h. */
17269 /* Override any GCC internal prototype to avoid an error.
17270 Use char because int might match the return type of a GCC
17271 builtin and then its argument prototype would still apply. */
17284 if ac_fn_c_try_link "$LINENO"; then :
17285 ac_cv_lib_m_atan=yes
17287 ac_cv_lib_m_atan=no
17289 rm -f core conftest.err conftest.$ac_objext \
17290 conftest$ac_exeext conftest.$ac_ext
17291 LIBS=$ac_check_lib_save_LIBS
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
17294 $as_echo "$ac_cv_lib_m_atan" >&6; }
17295 if test "x$ac_cv_lib_m_atan" = x""yes; then :
17297 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
17302 $as_echo_n "checking for atanl in -lm... " >&6; }
17303 if test "${ac_cv_lib_m_atanl+set}" = set; then :
17304 $as_echo_n "(cached) " >&6
17306 ac_check_lib_save_LIBS=$LIBS
17308 if test x$gcc_no_link = xyes; then
17309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17314 /* Override any GCC internal prototype to avoid an error.
17315 Use char because int might match the return type of a GCC
17316 builtin and then its argument prototype would still apply. */
17329 if ac_fn_c_try_link "$LINENO"; then :
17330 ac_cv_lib_m_atanl=yes
17332 ac_cv_lib_m_atanl=no
17334 rm -f core conftest.err conftest.$ac_objext \
17335 conftest$ac_exeext conftest.$ac_ext
17336 LIBS=$ac_check_lib_save_LIBS
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
17339 $as_echo "$ac_cv_lib_m_atanl" >&6; }
17340 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
17342 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
17347 $as_echo_n "checking for atanhf in -lm... " >&6; }
17348 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
17349 $as_echo_n "(cached) " >&6
17351 ac_check_lib_save_LIBS=$LIBS
17353 if test x$gcc_no_link = xyes; then
17354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17357 /* end confdefs.h. */
17359 /* Override any GCC internal prototype to avoid an error.
17360 Use char because int might match the return type of a GCC
17361 builtin and then its argument prototype would still apply. */
17374 if ac_fn_c_try_link "$LINENO"; then :
17375 ac_cv_lib_m_atanhf=yes
17377 ac_cv_lib_m_atanhf=no
17379 rm -f core conftest.err conftest.$ac_objext \
17380 conftest$ac_exeext conftest.$ac_ext
17381 LIBS=$ac_check_lib_save_LIBS
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
17384 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
17385 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
17387 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
17392 $as_echo_n "checking for atanh in -lm... " >&6; }
17393 if test "${ac_cv_lib_m_atanh+set}" = set; then :
17394 $as_echo_n "(cached) " >&6
17396 ac_check_lib_save_LIBS=$LIBS
17398 if test x$gcc_no_link = xyes; then
17399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h. */
17404 /* Override any GCC internal prototype to avoid an error.
17405 Use char because int might match the return type of a GCC
17406 builtin and then its argument prototype would still apply. */
17419 if ac_fn_c_try_link "$LINENO"; then :
17420 ac_cv_lib_m_atanh=yes
17422 ac_cv_lib_m_atanh=no
17424 rm -f core conftest.err conftest.$ac_objext \
17425 conftest$ac_exeext conftest.$ac_ext
17426 LIBS=$ac_check_lib_save_LIBS
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
17429 $as_echo "$ac_cv_lib_m_atanh" >&6; }
17430 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
17432 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
17437 $as_echo_n "checking for atanhl in -lm... " >&6; }
17438 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
17439 $as_echo_n "(cached) " >&6
17441 ac_check_lib_save_LIBS=$LIBS
17443 if test x$gcc_no_link = xyes; then
17444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17449 /* Override any GCC internal prototype to avoid an error.
17450 Use char because int might match the return type of a GCC
17451 builtin and then its argument prototype would still apply. */
17464 if ac_fn_c_try_link "$LINENO"; then :
17465 ac_cv_lib_m_atanhl=yes
17467 ac_cv_lib_m_atanhl=no
17469 rm -f core conftest.err conftest.$ac_objext \
17470 conftest$ac_exeext conftest.$ac_ext
17471 LIBS=$ac_check_lib_save_LIBS
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
17474 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
17475 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
17477 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
17482 $as_echo_n "checking for cargf in -lm... " >&6; }
17483 if test "${ac_cv_lib_m_cargf+set}" = set; then :
17484 $as_echo_n "(cached) " >&6
17486 ac_check_lib_save_LIBS=$LIBS
17488 if test x$gcc_no_link = xyes; then
17489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17494 /* Override any GCC internal prototype to avoid an error.
17495 Use char because int might match the return type of a GCC
17496 builtin and then its argument prototype would still apply. */
17509 if ac_fn_c_try_link "$LINENO"; then :
17510 ac_cv_lib_m_cargf=yes
17512 ac_cv_lib_m_cargf=no
17514 rm -f core conftest.err conftest.$ac_objext \
17515 conftest$ac_exeext conftest.$ac_ext
17516 LIBS=$ac_check_lib_save_LIBS
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
17519 $as_echo "$ac_cv_lib_m_cargf" >&6; }
17520 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
17522 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
17527 $as_echo_n "checking for carg in -lm... " >&6; }
17528 if test "${ac_cv_lib_m_carg+set}" = set; then :
17529 $as_echo_n "(cached) " >&6
17531 ac_check_lib_save_LIBS=$LIBS
17533 if test x$gcc_no_link = xyes; then
17534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17539 /* Override any GCC internal prototype to avoid an error.
17540 Use char because int might match the return type of a GCC
17541 builtin and then its argument prototype would still apply. */
17554 if ac_fn_c_try_link "$LINENO"; then :
17555 ac_cv_lib_m_carg=yes
17557 ac_cv_lib_m_carg=no
17559 rm -f core conftest.err conftest.$ac_objext \
17560 conftest$ac_exeext conftest.$ac_ext
17561 LIBS=$ac_check_lib_save_LIBS
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
17564 $as_echo "$ac_cv_lib_m_carg" >&6; }
17565 if test "x$ac_cv_lib_m_carg" = x""yes; then :
17567 $as_echo "#define HAVE_CARG 1" >>confdefs.h
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
17572 $as_echo_n "checking for cargl in -lm... " >&6; }
17573 if test "${ac_cv_lib_m_cargl+set}" = set; then :
17574 $as_echo_n "(cached) " >&6
17576 ac_check_lib_save_LIBS=$LIBS
17578 if test x$gcc_no_link = xyes; then
17579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h. */
17584 /* Override any GCC internal prototype to avoid an error.
17585 Use char because int might match the return type of a GCC
17586 builtin and then its argument prototype would still apply. */
17599 if ac_fn_c_try_link "$LINENO"; then :
17600 ac_cv_lib_m_cargl=yes
17602 ac_cv_lib_m_cargl=no
17604 rm -f core conftest.err conftest.$ac_objext \
17605 conftest$ac_exeext conftest.$ac_ext
17606 LIBS=$ac_check_lib_save_LIBS
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
17609 $as_echo "$ac_cv_lib_m_cargl" >&6; }
17610 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
17612 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
17617 $as_echo_n "checking for ceilf in -lm... " >&6; }
17618 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
17619 $as_echo_n "(cached) " >&6
17621 ac_check_lib_save_LIBS=$LIBS
17623 if test x$gcc_no_link = xyes; then
17624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17629 /* Override any GCC internal prototype to avoid an error.
17630 Use char because int might match the return type of a GCC
17631 builtin and then its argument prototype would still apply. */
17644 if ac_fn_c_try_link "$LINENO"; then :
17645 ac_cv_lib_m_ceilf=yes
17647 ac_cv_lib_m_ceilf=no
17649 rm -f core conftest.err conftest.$ac_objext \
17650 conftest$ac_exeext conftest.$ac_ext
17651 LIBS=$ac_check_lib_save_LIBS
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17654 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17655 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17657 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17662 $as_echo_n "checking for ceil in -lm... " >&6; }
17663 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17664 $as_echo_n "(cached) " >&6
17666 ac_check_lib_save_LIBS=$LIBS
17668 if test x$gcc_no_link = xyes; then
17669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17674 /* Override any GCC internal prototype to avoid an error.
17675 Use char because int might match the return type of a GCC
17676 builtin and then its argument prototype would still apply. */
17689 if ac_fn_c_try_link "$LINENO"; then :
17690 ac_cv_lib_m_ceil=yes
17692 ac_cv_lib_m_ceil=no
17694 rm -f core conftest.err conftest.$ac_objext \
17695 conftest$ac_exeext conftest.$ac_ext
17696 LIBS=$ac_check_lib_save_LIBS
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17699 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17700 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17702 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17707 $as_echo_n "checking for ceill in -lm... " >&6; }
17708 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17709 $as_echo_n "(cached) " >&6
17711 ac_check_lib_save_LIBS=$LIBS
17713 if test x$gcc_no_link = xyes; then
17714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h. */
17719 /* Override any GCC internal prototype to avoid an error.
17720 Use char because int might match the return type of a GCC
17721 builtin and then its argument prototype would still apply. */
17734 if ac_fn_c_try_link "$LINENO"; then :
17735 ac_cv_lib_m_ceill=yes
17737 ac_cv_lib_m_ceill=no
17739 rm -f core conftest.err conftest.$ac_objext \
17740 conftest$ac_exeext conftest.$ac_ext
17741 LIBS=$ac_check_lib_save_LIBS
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17744 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17745 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17747 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17752 $as_echo_n "checking for copysignf in -lm... " >&6; }
17753 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17754 $as_echo_n "(cached) " >&6
17756 ac_check_lib_save_LIBS=$LIBS
17758 if test x$gcc_no_link = xyes; then
17759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17764 /* Override any GCC internal prototype to avoid an error.
17765 Use char because int might match the return type of a GCC
17766 builtin and then its argument prototype would still apply. */
17774 return copysignf ();
17779 if ac_fn_c_try_link "$LINENO"; then :
17780 ac_cv_lib_m_copysignf=yes
17782 ac_cv_lib_m_copysignf=no
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17786 LIBS=$ac_check_lib_save_LIBS
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17789 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17790 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17792 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17797 $as_echo_n "checking for copysign in -lm... " >&6; }
17798 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17799 $as_echo_n "(cached) " >&6
17801 ac_check_lib_save_LIBS=$LIBS
17803 if test x$gcc_no_link = xyes; then
17804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17809 /* Override any GCC internal prototype to avoid an error.
17810 Use char because int might match the return type of a GCC
17811 builtin and then its argument prototype would still apply. */
17819 return copysign ();
17824 if ac_fn_c_try_link "$LINENO"; then :
17825 ac_cv_lib_m_copysign=yes
17827 ac_cv_lib_m_copysign=no
17829 rm -f core conftest.err conftest.$ac_objext \
17830 conftest$ac_exeext conftest.$ac_ext
17831 LIBS=$ac_check_lib_save_LIBS
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17834 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17835 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17837 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17842 $as_echo_n "checking for copysignl in -lm... " >&6; }
17843 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17844 $as_echo_n "(cached) " >&6
17846 ac_check_lib_save_LIBS=$LIBS
17848 if test x$gcc_no_link = xyes; then
17849 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17854 /* Override any GCC internal prototype to avoid an error.
17855 Use char because int might match the return type of a GCC
17856 builtin and then its argument prototype would still apply. */
17864 return copysignl ();
17869 if ac_fn_c_try_link "$LINENO"; then :
17870 ac_cv_lib_m_copysignl=yes
17872 ac_cv_lib_m_copysignl=no
17874 rm -f core conftest.err conftest.$ac_objext \
17875 conftest$ac_exeext conftest.$ac_ext
17876 LIBS=$ac_check_lib_save_LIBS
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17879 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17880 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17882 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17887 $as_echo_n "checking for cosf in -lm... " >&6; }
17888 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17891 ac_check_lib_save_LIBS=$LIBS
17893 if test x$gcc_no_link = xyes; then
17894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17899 /* Override any GCC internal prototype to avoid an error.
17900 Use char because int might match the return type of a GCC
17901 builtin and then its argument prototype would still apply. */
17914 if ac_fn_c_try_link "$LINENO"; then :
17915 ac_cv_lib_m_cosf=yes
17917 ac_cv_lib_m_cosf=no
17919 rm -f core conftest.err conftest.$ac_objext \
17920 conftest$ac_exeext conftest.$ac_ext
17921 LIBS=$ac_check_lib_save_LIBS
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17924 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17925 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17927 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17932 $as_echo_n "checking for cos in -lm... " >&6; }
17933 if test "${ac_cv_lib_m_cos+set}" = set; then :
17934 $as_echo_n "(cached) " >&6
17936 ac_check_lib_save_LIBS=$LIBS
17938 if test x$gcc_no_link = xyes; then
17939 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17942 /* end confdefs.h. */
17944 /* Override any GCC internal prototype to avoid an error.
17945 Use char because int might match the return type of a GCC
17946 builtin and then its argument prototype would still apply. */
17959 if ac_fn_c_try_link "$LINENO"; then :
17960 ac_cv_lib_m_cos=yes
17964 rm -f core conftest.err conftest.$ac_objext \
17965 conftest$ac_exeext conftest.$ac_ext
17966 LIBS=$ac_check_lib_save_LIBS
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17969 $as_echo "$ac_cv_lib_m_cos" >&6; }
17970 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17972 $as_echo "#define HAVE_COS 1" >>confdefs.h
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17977 $as_echo_n "checking for cosl in -lm... " >&6; }
17978 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17979 $as_echo_n "(cached) " >&6
17981 ac_check_lib_save_LIBS=$LIBS
17983 if test x$gcc_no_link = xyes; then
17984 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17989 /* Override any GCC internal prototype to avoid an error.
17990 Use char because int might match the return type of a GCC
17991 builtin and then its argument prototype would still apply. */
18004 if ac_fn_c_try_link "$LINENO"; then :
18005 ac_cv_lib_m_cosl=yes
18007 ac_cv_lib_m_cosl=no
18009 rm -f core conftest.err conftest.$ac_objext \
18010 conftest$ac_exeext conftest.$ac_ext
18011 LIBS=$ac_check_lib_save_LIBS
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
18014 $as_echo "$ac_cv_lib_m_cosl" >&6; }
18015 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
18017 $as_echo "#define HAVE_COSL 1" >>confdefs.h
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
18022 $as_echo_n "checking for ccosf in -lm... " >&6; }
18023 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
18024 $as_echo_n "(cached) " >&6
18026 ac_check_lib_save_LIBS=$LIBS
18028 if test x$gcc_no_link = xyes; then
18029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h. */
18034 /* Override any GCC internal prototype to avoid an error.
18035 Use char because int might match the return type of a GCC
18036 builtin and then its argument prototype would still apply. */
18049 if ac_fn_c_try_link "$LINENO"; then :
18050 ac_cv_lib_m_ccosf=yes
18052 ac_cv_lib_m_ccosf=no
18054 rm -f core conftest.err conftest.$ac_objext \
18055 conftest$ac_exeext conftest.$ac_ext
18056 LIBS=$ac_check_lib_save_LIBS
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
18059 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
18060 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
18062 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
18067 $as_echo_n "checking for ccos in -lm... " >&6; }
18068 if test "${ac_cv_lib_m_ccos+set}" = set; then :
18069 $as_echo_n "(cached) " >&6
18071 ac_check_lib_save_LIBS=$LIBS
18073 if test x$gcc_no_link = xyes; then
18074 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h. */
18079 /* Override any GCC internal prototype to avoid an error.
18080 Use char because int might match the return type of a GCC
18081 builtin and then its argument prototype would still apply. */
18094 if ac_fn_c_try_link "$LINENO"; then :
18095 ac_cv_lib_m_ccos=yes
18097 ac_cv_lib_m_ccos=no
18099 rm -f core conftest.err conftest.$ac_objext \
18100 conftest$ac_exeext conftest.$ac_ext
18101 LIBS=$ac_check_lib_save_LIBS
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
18104 $as_echo "$ac_cv_lib_m_ccos" >&6; }
18105 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
18107 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
18112 $as_echo_n "checking for ccosl in -lm... " >&6; }
18113 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
18114 $as_echo_n "(cached) " >&6
18116 ac_check_lib_save_LIBS=$LIBS
18118 if test x$gcc_no_link = xyes; then
18119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18122 /* end confdefs.h. */
18124 /* Override any GCC internal prototype to avoid an error.
18125 Use char because int might match the return type of a GCC
18126 builtin and then its argument prototype would still apply. */
18139 if ac_fn_c_try_link "$LINENO"; then :
18140 ac_cv_lib_m_ccosl=yes
18142 ac_cv_lib_m_ccosl=no
18144 rm -f core conftest.err conftest.$ac_objext \
18145 conftest$ac_exeext conftest.$ac_ext
18146 LIBS=$ac_check_lib_save_LIBS
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
18149 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
18150 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
18152 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
18157 $as_echo_n "checking for coshf in -lm... " >&6; }
18158 if test "${ac_cv_lib_m_coshf+set}" = set; then :
18159 $as_echo_n "(cached) " >&6
18161 ac_check_lib_save_LIBS=$LIBS
18163 if test x$gcc_no_link = xyes; then
18164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h. */
18169 /* Override any GCC internal prototype to avoid an error.
18170 Use char because int might match the return type of a GCC
18171 builtin and then its argument prototype would still apply. */
18184 if ac_fn_c_try_link "$LINENO"; then :
18185 ac_cv_lib_m_coshf=yes
18187 ac_cv_lib_m_coshf=no
18189 rm -f core conftest.err conftest.$ac_objext \
18190 conftest$ac_exeext conftest.$ac_ext
18191 LIBS=$ac_check_lib_save_LIBS
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
18194 $as_echo "$ac_cv_lib_m_coshf" >&6; }
18195 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
18197 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
18202 $as_echo_n "checking for cosh in -lm... " >&6; }
18203 if test "${ac_cv_lib_m_cosh+set}" = set; then :
18204 $as_echo_n "(cached) " >&6
18206 ac_check_lib_save_LIBS=$LIBS
18208 if test x$gcc_no_link = xyes; then
18209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18214 /* Override any GCC internal prototype to avoid an error.
18215 Use char because int might match the return type of a GCC
18216 builtin and then its argument prototype would still apply. */
18229 if ac_fn_c_try_link "$LINENO"; then :
18230 ac_cv_lib_m_cosh=yes
18232 ac_cv_lib_m_cosh=no
18234 rm -f core conftest.err conftest.$ac_objext \
18235 conftest$ac_exeext conftest.$ac_ext
18236 LIBS=$ac_check_lib_save_LIBS
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
18239 $as_echo "$ac_cv_lib_m_cosh" >&6; }
18240 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
18242 $as_echo "#define HAVE_COSH 1" >>confdefs.h
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
18247 $as_echo_n "checking for coshl in -lm... " >&6; }
18248 if test "${ac_cv_lib_m_coshl+set}" = set; then :
18249 $as_echo_n "(cached) " >&6
18251 ac_check_lib_save_LIBS=$LIBS
18253 if test x$gcc_no_link = xyes; then
18254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18259 /* Override any GCC internal prototype to avoid an error.
18260 Use char because int might match the return type of a GCC
18261 builtin and then its argument prototype would still apply. */
18274 if ac_fn_c_try_link "$LINENO"; then :
18275 ac_cv_lib_m_coshl=yes
18277 ac_cv_lib_m_coshl=no
18279 rm -f core conftest.err conftest.$ac_objext \
18280 conftest$ac_exeext conftest.$ac_ext
18281 LIBS=$ac_check_lib_save_LIBS
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
18284 $as_echo "$ac_cv_lib_m_coshl" >&6; }
18285 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
18287 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
18292 $as_echo_n "checking for ccoshf in -lm... " >&6; }
18293 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
18294 $as_echo_n "(cached) " >&6
18296 ac_check_lib_save_LIBS=$LIBS
18298 if test x$gcc_no_link = xyes; then
18299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18302 /* end confdefs.h. */
18304 /* Override any GCC internal prototype to avoid an error.
18305 Use char because int might match the return type of a GCC
18306 builtin and then its argument prototype would still apply. */
18319 if ac_fn_c_try_link "$LINENO"; then :
18320 ac_cv_lib_m_ccoshf=yes
18322 ac_cv_lib_m_ccoshf=no
18324 rm -f core conftest.err conftest.$ac_objext \
18325 conftest$ac_exeext conftest.$ac_ext
18326 LIBS=$ac_check_lib_save_LIBS
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
18329 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
18330 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
18332 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
18337 $as_echo_n "checking for ccosh in -lm... " >&6; }
18338 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
18339 $as_echo_n "(cached) " >&6
18341 ac_check_lib_save_LIBS=$LIBS
18343 if test x$gcc_no_link = xyes; then
18344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18347 /* end confdefs.h. */
18349 /* Override any GCC internal prototype to avoid an error.
18350 Use char because int might match the return type of a GCC
18351 builtin and then its argument prototype would still apply. */
18364 if ac_fn_c_try_link "$LINENO"; then :
18365 ac_cv_lib_m_ccosh=yes
18367 ac_cv_lib_m_ccosh=no
18369 rm -f core conftest.err conftest.$ac_objext \
18370 conftest$ac_exeext conftest.$ac_ext
18371 LIBS=$ac_check_lib_save_LIBS
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
18374 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
18375 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
18377 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
18382 $as_echo_n "checking for ccoshl in -lm... " >&6; }
18383 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
18384 $as_echo_n "(cached) " >&6
18386 ac_check_lib_save_LIBS=$LIBS
18388 if test x$gcc_no_link = xyes; then
18389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h. */
18394 /* Override any GCC internal prototype to avoid an error.
18395 Use char because int might match the return type of a GCC
18396 builtin and then its argument prototype would still apply. */
18409 if ac_fn_c_try_link "$LINENO"; then :
18410 ac_cv_lib_m_ccoshl=yes
18412 ac_cv_lib_m_ccoshl=no
18414 rm -f core conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext conftest.$ac_ext
18416 LIBS=$ac_check_lib_save_LIBS
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
18419 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
18420 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
18422 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
18427 $as_echo_n "checking for expf in -lm... " >&6; }
18428 if test "${ac_cv_lib_m_expf+set}" = set; then :
18429 $as_echo_n "(cached) " >&6
18431 ac_check_lib_save_LIBS=$LIBS
18433 if test x$gcc_no_link = xyes; then
18434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18439 /* Override any GCC internal prototype to avoid an error.
18440 Use char because int might match the return type of a GCC
18441 builtin and then its argument prototype would still apply. */
18454 if ac_fn_c_try_link "$LINENO"; then :
18455 ac_cv_lib_m_expf=yes
18457 ac_cv_lib_m_expf=no
18459 rm -f core conftest.err conftest.$ac_objext \
18460 conftest$ac_exeext conftest.$ac_ext
18461 LIBS=$ac_check_lib_save_LIBS
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
18464 $as_echo "$ac_cv_lib_m_expf" >&6; }
18465 if test "x$ac_cv_lib_m_expf" = x""yes; then :
18467 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
18471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
18472 $as_echo_n "checking for exp in -lm... " >&6; }
18473 if test "${ac_cv_lib_m_exp+set}" = set; then :
18474 $as_echo_n "(cached) " >&6
18476 ac_check_lib_save_LIBS=$LIBS
18478 if test x$gcc_no_link = xyes; then
18479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18484 /* Override any GCC internal prototype to avoid an error.
18485 Use char because int might match the return type of a GCC
18486 builtin and then its argument prototype would still apply. */
18499 if ac_fn_c_try_link "$LINENO"; then :
18500 ac_cv_lib_m_exp=yes
18504 rm -f core conftest.err conftest.$ac_objext \
18505 conftest$ac_exeext conftest.$ac_ext
18506 LIBS=$ac_check_lib_save_LIBS
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
18509 $as_echo "$ac_cv_lib_m_exp" >&6; }
18510 if test "x$ac_cv_lib_m_exp" = x""yes; then :
18512 $as_echo "#define HAVE_EXP 1" >>confdefs.h
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
18517 $as_echo_n "checking for expl in -lm... " >&6; }
18518 if test "${ac_cv_lib_m_expl+set}" = set; then :
18519 $as_echo_n "(cached) " >&6
18521 ac_check_lib_save_LIBS=$LIBS
18523 if test x$gcc_no_link = xyes; then
18524 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h. */
18529 /* Override any GCC internal prototype to avoid an error.
18530 Use char because int might match the return type of a GCC
18531 builtin and then its argument prototype would still apply. */
18544 if ac_fn_c_try_link "$LINENO"; then :
18545 ac_cv_lib_m_expl=yes
18547 ac_cv_lib_m_expl=no
18549 rm -f core conftest.err conftest.$ac_objext \
18550 conftest$ac_exeext conftest.$ac_ext
18551 LIBS=$ac_check_lib_save_LIBS
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
18554 $as_echo "$ac_cv_lib_m_expl" >&6; }
18555 if test "x$ac_cv_lib_m_expl" = x""yes; then :
18557 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
18562 $as_echo_n "checking for cexpf in -lm... " >&6; }
18563 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
18564 $as_echo_n "(cached) " >&6
18566 ac_check_lib_save_LIBS=$LIBS
18568 if test x$gcc_no_link = xyes; then
18569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h. */
18574 /* Override any GCC internal prototype to avoid an error.
18575 Use char because int might match the return type of a GCC
18576 builtin and then its argument prototype would still apply. */
18589 if ac_fn_c_try_link "$LINENO"; then :
18590 ac_cv_lib_m_cexpf=yes
18592 ac_cv_lib_m_cexpf=no
18594 rm -f core conftest.err conftest.$ac_objext \
18595 conftest$ac_exeext conftest.$ac_ext
18596 LIBS=$ac_check_lib_save_LIBS
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
18599 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
18600 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
18602 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
18607 $as_echo_n "checking for cexp in -lm... " >&6; }
18608 if test "${ac_cv_lib_m_cexp+set}" = set; then :
18609 $as_echo_n "(cached) " >&6
18611 ac_check_lib_save_LIBS=$LIBS
18613 if test x$gcc_no_link = xyes; then
18614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18619 /* Override any GCC internal prototype to avoid an error.
18620 Use char because int might match the return type of a GCC
18621 builtin and then its argument prototype would still apply. */
18634 if ac_fn_c_try_link "$LINENO"; then :
18635 ac_cv_lib_m_cexp=yes
18637 ac_cv_lib_m_cexp=no
18639 rm -f core conftest.err conftest.$ac_objext \
18640 conftest$ac_exeext conftest.$ac_ext
18641 LIBS=$ac_check_lib_save_LIBS
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
18644 $as_echo "$ac_cv_lib_m_cexp" >&6; }
18645 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
18647 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18652 $as_echo_n "checking for cexpl in -lm... " >&6; }
18653 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18654 $as_echo_n "(cached) " >&6
18656 ac_check_lib_save_LIBS=$LIBS
18658 if test x$gcc_no_link = xyes; then
18659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18664 /* Override any GCC internal prototype to avoid an error.
18665 Use char because int might match the return type of a GCC
18666 builtin and then its argument prototype would still apply. */
18679 if ac_fn_c_try_link "$LINENO"; then :
18680 ac_cv_lib_m_cexpl=yes
18682 ac_cv_lib_m_cexpl=no
18684 rm -f core conftest.err conftest.$ac_objext \
18685 conftest$ac_exeext conftest.$ac_ext
18686 LIBS=$ac_check_lib_save_LIBS
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18689 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18690 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18692 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18697 $as_echo_n "checking for fabsf in -lm... " >&6; }
18698 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18699 $as_echo_n "(cached) " >&6
18701 ac_check_lib_save_LIBS=$LIBS
18703 if test x$gcc_no_link = xyes; then
18704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18707 /* end confdefs.h. */
18709 /* Override any GCC internal prototype to avoid an error.
18710 Use char because int might match the return type of a GCC
18711 builtin and then its argument prototype would still apply. */
18724 if ac_fn_c_try_link "$LINENO"; then :
18725 ac_cv_lib_m_fabsf=yes
18727 ac_cv_lib_m_fabsf=no
18729 rm -f core conftest.err conftest.$ac_objext \
18730 conftest$ac_exeext conftest.$ac_ext
18731 LIBS=$ac_check_lib_save_LIBS
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18734 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18735 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18737 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18742 $as_echo_n "checking for fabs in -lm... " >&6; }
18743 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18744 $as_echo_n "(cached) " >&6
18746 ac_check_lib_save_LIBS=$LIBS
18748 if test x$gcc_no_link = xyes; then
18749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18754 /* Override any GCC internal prototype to avoid an error.
18755 Use char because int might match the return type of a GCC
18756 builtin and then its argument prototype would still apply. */
18769 if ac_fn_c_try_link "$LINENO"; then :
18770 ac_cv_lib_m_fabs=yes
18772 ac_cv_lib_m_fabs=no
18774 rm -f core conftest.err conftest.$ac_objext \
18775 conftest$ac_exeext conftest.$ac_ext
18776 LIBS=$ac_check_lib_save_LIBS
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18779 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18780 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18782 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18787 $as_echo_n "checking for fabsl in -lm... " >&6; }
18788 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18789 $as_echo_n "(cached) " >&6
18791 ac_check_lib_save_LIBS=$LIBS
18793 if test x$gcc_no_link = xyes; then
18794 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h. */
18799 /* Override any GCC internal prototype to avoid an error.
18800 Use char because int might match the return type of a GCC
18801 builtin and then its argument prototype would still apply. */
18814 if ac_fn_c_try_link "$LINENO"; then :
18815 ac_cv_lib_m_fabsl=yes
18817 ac_cv_lib_m_fabsl=no
18819 rm -f core conftest.err conftest.$ac_objext \
18820 conftest$ac_exeext conftest.$ac_ext
18821 LIBS=$ac_check_lib_save_LIBS
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18824 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18825 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18827 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18832 $as_echo_n "checking for cabsf in -lm... " >&6; }
18833 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18834 $as_echo_n "(cached) " >&6
18836 ac_check_lib_save_LIBS=$LIBS
18838 if test x$gcc_no_link = xyes; then
18839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18844 /* Override any GCC internal prototype to avoid an error.
18845 Use char because int might match the return type of a GCC
18846 builtin and then its argument prototype would still apply. */
18859 if ac_fn_c_try_link "$LINENO"; then :
18860 ac_cv_lib_m_cabsf=yes
18862 ac_cv_lib_m_cabsf=no
18864 rm -f core conftest.err conftest.$ac_objext \
18865 conftest$ac_exeext conftest.$ac_ext
18866 LIBS=$ac_check_lib_save_LIBS
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18869 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18870 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18872 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18877 $as_echo_n "checking for cabs in -lm... " >&6; }
18878 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18879 $as_echo_n "(cached) " >&6
18881 ac_check_lib_save_LIBS=$LIBS
18883 if test x$gcc_no_link = xyes; then
18884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18889 /* Override any GCC internal prototype to avoid an error.
18890 Use char because int might match the return type of a GCC
18891 builtin and then its argument prototype would still apply. */
18904 if ac_fn_c_try_link "$LINENO"; then :
18905 ac_cv_lib_m_cabs=yes
18907 ac_cv_lib_m_cabs=no
18909 rm -f core conftest.err conftest.$ac_objext \
18910 conftest$ac_exeext conftest.$ac_ext
18911 LIBS=$ac_check_lib_save_LIBS
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18914 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18915 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18917 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18922 $as_echo_n "checking for cabsl in -lm... " >&6; }
18923 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18924 $as_echo_n "(cached) " >&6
18926 ac_check_lib_save_LIBS=$LIBS
18928 if test x$gcc_no_link = xyes; then
18929 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18932 /* end confdefs.h. */
18934 /* Override any GCC internal prototype to avoid an error.
18935 Use char because int might match the return type of a GCC
18936 builtin and then its argument prototype would still apply. */
18949 if ac_fn_c_try_link "$LINENO"; then :
18950 ac_cv_lib_m_cabsl=yes
18952 ac_cv_lib_m_cabsl=no
18954 rm -f core conftest.err conftest.$ac_objext \
18955 conftest$ac_exeext conftest.$ac_ext
18956 LIBS=$ac_check_lib_save_LIBS
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18959 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18960 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18962 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18967 $as_echo_n "checking for floorf in -lm... " >&6; }
18968 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18969 $as_echo_n "(cached) " >&6
18971 ac_check_lib_save_LIBS=$LIBS
18973 if test x$gcc_no_link = xyes; then
18974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18977 /* end confdefs.h. */
18979 /* Override any GCC internal prototype to avoid an error.
18980 Use char because int might match the return type of a GCC
18981 builtin and then its argument prototype would still apply. */
18994 if ac_fn_c_try_link "$LINENO"; then :
18995 ac_cv_lib_m_floorf=yes
18997 ac_cv_lib_m_floorf=no
18999 rm -f core conftest.err conftest.$ac_objext \
19000 conftest$ac_exeext conftest.$ac_ext
19001 LIBS=$ac_check_lib_save_LIBS
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
19004 $as_echo "$ac_cv_lib_m_floorf" >&6; }
19005 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
19007 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
19012 $as_echo_n "checking for floor in -lm... " >&6; }
19013 if test "${ac_cv_lib_m_floor+set}" = set; then :
19014 $as_echo_n "(cached) " >&6
19016 ac_check_lib_save_LIBS=$LIBS
19018 if test x$gcc_no_link = xyes; then
19019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19022 /* end confdefs.h. */
19024 /* Override any GCC internal prototype to avoid an error.
19025 Use char because int might match the return type of a GCC
19026 builtin and then its argument prototype would still apply. */
19039 if ac_fn_c_try_link "$LINENO"; then :
19040 ac_cv_lib_m_floor=yes
19042 ac_cv_lib_m_floor=no
19044 rm -f core conftest.err conftest.$ac_objext \
19045 conftest$ac_exeext conftest.$ac_ext
19046 LIBS=$ac_check_lib_save_LIBS
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
19049 $as_echo "$ac_cv_lib_m_floor" >&6; }
19050 if test "x$ac_cv_lib_m_floor" = x""yes; then :
19052 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
19057 $as_echo_n "checking for floorl in -lm... " >&6; }
19058 if test "${ac_cv_lib_m_floorl+set}" = set; then :
19059 $as_echo_n "(cached) " >&6
19061 ac_check_lib_save_LIBS=$LIBS
19063 if test x$gcc_no_link = xyes; then
19064 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19067 /* end confdefs.h. */
19069 /* Override any GCC internal prototype to avoid an error.
19070 Use char because int might match the return type of a GCC
19071 builtin and then its argument prototype would still apply. */
19084 if ac_fn_c_try_link "$LINENO"; then :
19085 ac_cv_lib_m_floorl=yes
19087 ac_cv_lib_m_floorl=no
19089 rm -f core conftest.err conftest.$ac_objext \
19090 conftest$ac_exeext conftest.$ac_ext
19091 LIBS=$ac_check_lib_save_LIBS
19093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
19094 $as_echo "$ac_cv_lib_m_floorl" >&6; }
19095 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
19097 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
19102 $as_echo_n "checking for fmodf in -lm... " >&6; }
19103 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
19104 $as_echo_n "(cached) " >&6
19106 ac_check_lib_save_LIBS=$LIBS
19108 if test x$gcc_no_link = xyes; then
19109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19112 /* end confdefs.h. */
19114 /* Override any GCC internal prototype to avoid an error.
19115 Use char because int might match the return type of a GCC
19116 builtin and then its argument prototype would still apply. */
19129 if ac_fn_c_try_link "$LINENO"; then :
19130 ac_cv_lib_m_fmodf=yes
19132 ac_cv_lib_m_fmodf=no
19134 rm -f core conftest.err conftest.$ac_objext \
19135 conftest$ac_exeext conftest.$ac_ext
19136 LIBS=$ac_check_lib_save_LIBS
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
19139 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
19140 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
19142 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
19147 $as_echo_n "checking for fmod in -lm... " >&6; }
19148 if test "${ac_cv_lib_m_fmod+set}" = set; then :
19149 $as_echo_n "(cached) " >&6
19151 ac_check_lib_save_LIBS=$LIBS
19153 if test x$gcc_no_link = xyes; then
19154 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19157 /* end confdefs.h. */
19159 /* Override any GCC internal prototype to avoid an error.
19160 Use char because int might match the return type of a GCC
19161 builtin and then its argument prototype would still apply. */
19174 if ac_fn_c_try_link "$LINENO"; then :
19175 ac_cv_lib_m_fmod=yes
19177 ac_cv_lib_m_fmod=no
19179 rm -f core conftest.err conftest.$ac_objext \
19180 conftest$ac_exeext conftest.$ac_ext
19181 LIBS=$ac_check_lib_save_LIBS
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
19184 $as_echo "$ac_cv_lib_m_fmod" >&6; }
19185 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
19187 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
19192 $as_echo_n "checking for fmodl in -lm... " >&6; }
19193 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
19194 $as_echo_n "(cached) " >&6
19196 ac_check_lib_save_LIBS=$LIBS
19198 if test x$gcc_no_link = xyes; then
19199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19202 /* end confdefs.h. */
19204 /* Override any GCC internal prototype to avoid an error.
19205 Use char because int might match the return type of a GCC
19206 builtin and then its argument prototype would still apply. */
19219 if ac_fn_c_try_link "$LINENO"; then :
19220 ac_cv_lib_m_fmodl=yes
19222 ac_cv_lib_m_fmodl=no
19224 rm -f core conftest.err conftest.$ac_objext \
19225 conftest$ac_exeext conftest.$ac_ext
19226 LIBS=$ac_check_lib_save_LIBS
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
19229 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
19230 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
19232 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
19237 $as_echo_n "checking for frexpf in -lm... " >&6; }
19238 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
19239 $as_echo_n "(cached) " >&6
19241 ac_check_lib_save_LIBS=$LIBS
19243 if test x$gcc_no_link = xyes; then
19244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19247 /* end confdefs.h. */
19249 /* Override any GCC internal prototype to avoid an error.
19250 Use char because int might match the return type of a GCC
19251 builtin and then its argument prototype would still apply. */
19264 if ac_fn_c_try_link "$LINENO"; then :
19265 ac_cv_lib_m_frexpf=yes
19267 ac_cv_lib_m_frexpf=no
19269 rm -f core conftest.err conftest.$ac_objext \
19270 conftest$ac_exeext conftest.$ac_ext
19271 LIBS=$ac_check_lib_save_LIBS
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
19274 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
19275 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
19277 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
19282 $as_echo_n "checking for frexp in -lm... " >&6; }
19283 if test "${ac_cv_lib_m_frexp+set}" = set; then :
19284 $as_echo_n "(cached) " >&6
19286 ac_check_lib_save_LIBS=$LIBS
19288 if test x$gcc_no_link = xyes; then
19289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h. */
19294 /* Override any GCC internal prototype to avoid an error.
19295 Use char because int might match the return type of a GCC
19296 builtin and then its argument prototype would still apply. */
19309 if ac_fn_c_try_link "$LINENO"; then :
19310 ac_cv_lib_m_frexp=yes
19312 ac_cv_lib_m_frexp=no
19314 rm -f core conftest.err conftest.$ac_objext \
19315 conftest$ac_exeext conftest.$ac_ext
19316 LIBS=$ac_check_lib_save_LIBS
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
19319 $as_echo "$ac_cv_lib_m_frexp" >&6; }
19320 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
19322 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
19327 $as_echo_n "checking for frexpl in -lm... " >&6; }
19328 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
19329 $as_echo_n "(cached) " >&6
19331 ac_check_lib_save_LIBS=$LIBS
19333 if test x$gcc_no_link = xyes; then
19334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19337 /* end confdefs.h. */
19339 /* Override any GCC internal prototype to avoid an error.
19340 Use char because int might match the return type of a GCC
19341 builtin and then its argument prototype would still apply. */
19354 if ac_fn_c_try_link "$LINENO"; then :
19355 ac_cv_lib_m_frexpl=yes
19357 ac_cv_lib_m_frexpl=no
19359 rm -f core conftest.err conftest.$ac_objext \
19360 conftest$ac_exeext conftest.$ac_ext
19361 LIBS=$ac_check_lib_save_LIBS
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
19364 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
19365 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
19367 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
19372 $as_echo_n "checking for hypotf in -lm... " >&6; }
19373 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
19374 $as_echo_n "(cached) " >&6
19376 ac_check_lib_save_LIBS=$LIBS
19378 if test x$gcc_no_link = xyes; then
19379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19384 /* Override any GCC internal prototype to avoid an error.
19385 Use char because int might match the return type of a GCC
19386 builtin and then its argument prototype would still apply. */
19399 if ac_fn_c_try_link "$LINENO"; then :
19400 ac_cv_lib_m_hypotf=yes
19402 ac_cv_lib_m_hypotf=no
19404 rm -f core conftest.err conftest.$ac_objext \
19405 conftest$ac_exeext conftest.$ac_ext
19406 LIBS=$ac_check_lib_save_LIBS
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
19409 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
19410 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
19412 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
19417 $as_echo_n "checking for hypot in -lm... " >&6; }
19418 if test "${ac_cv_lib_m_hypot+set}" = set; then :
19419 $as_echo_n "(cached) " >&6
19421 ac_check_lib_save_LIBS=$LIBS
19423 if test x$gcc_no_link = xyes; then
19424 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19429 /* Override any GCC internal prototype to avoid an error.
19430 Use char because int might match the return type of a GCC
19431 builtin and then its argument prototype would still apply. */
19444 if ac_fn_c_try_link "$LINENO"; then :
19445 ac_cv_lib_m_hypot=yes
19447 ac_cv_lib_m_hypot=no
19449 rm -f core conftest.err conftest.$ac_objext \
19450 conftest$ac_exeext conftest.$ac_ext
19451 LIBS=$ac_check_lib_save_LIBS
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
19454 $as_echo "$ac_cv_lib_m_hypot" >&6; }
19455 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
19457 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
19462 $as_echo_n "checking for hypotl in -lm... " >&6; }
19463 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
19464 $as_echo_n "(cached) " >&6
19466 ac_check_lib_save_LIBS=$LIBS
19468 if test x$gcc_no_link = xyes; then
19469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19474 /* Override any GCC internal prototype to avoid an error.
19475 Use char because int might match the return type of a GCC
19476 builtin and then its argument prototype would still apply. */
19489 if ac_fn_c_try_link "$LINENO"; then :
19490 ac_cv_lib_m_hypotl=yes
19492 ac_cv_lib_m_hypotl=no
19494 rm -f core conftest.err conftest.$ac_objext \
19495 conftest$ac_exeext conftest.$ac_ext
19496 LIBS=$ac_check_lib_save_LIBS
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
19499 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
19500 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
19502 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
19507 $as_echo_n "checking for ldexpf in -lm... " >&6; }
19508 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
19509 $as_echo_n "(cached) " >&6
19511 ac_check_lib_save_LIBS=$LIBS
19513 if test x$gcc_no_link = xyes; then
19514 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19517 /* end confdefs.h. */
19519 /* Override any GCC internal prototype to avoid an error.
19520 Use char because int might match the return type of a GCC
19521 builtin and then its argument prototype would still apply. */
19534 if ac_fn_c_try_link "$LINENO"; then :
19535 ac_cv_lib_m_ldexpf=yes
19537 ac_cv_lib_m_ldexpf=no
19539 rm -f core conftest.err conftest.$ac_objext \
19540 conftest$ac_exeext conftest.$ac_ext
19541 LIBS=$ac_check_lib_save_LIBS
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
19544 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
19545 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
19547 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
19552 $as_echo_n "checking for ldexp in -lm... " >&6; }
19553 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
19554 $as_echo_n "(cached) " >&6
19556 ac_check_lib_save_LIBS=$LIBS
19558 if test x$gcc_no_link = xyes; then
19559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h. */
19564 /* Override any GCC internal prototype to avoid an error.
19565 Use char because int might match the return type of a GCC
19566 builtin and then its argument prototype would still apply. */
19579 if ac_fn_c_try_link "$LINENO"; then :
19580 ac_cv_lib_m_ldexp=yes
19582 ac_cv_lib_m_ldexp=no
19584 rm -f core conftest.err conftest.$ac_objext \
19585 conftest$ac_exeext conftest.$ac_ext
19586 LIBS=$ac_check_lib_save_LIBS
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
19589 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
19590 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
19592 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
19597 $as_echo_n "checking for ldexpl in -lm... " >&6; }
19598 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
19599 $as_echo_n "(cached) " >&6
19601 ac_check_lib_save_LIBS=$LIBS
19603 if test x$gcc_no_link = xyes; then
19604 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19607 /* end confdefs.h. */
19609 /* Override any GCC internal prototype to avoid an error.
19610 Use char because int might match the return type of a GCC
19611 builtin and then its argument prototype would still apply. */
19624 if ac_fn_c_try_link "$LINENO"; then :
19625 ac_cv_lib_m_ldexpl=yes
19627 ac_cv_lib_m_ldexpl=no
19629 rm -f core conftest.err conftest.$ac_objext \
19630 conftest$ac_exeext conftest.$ac_ext
19631 LIBS=$ac_check_lib_save_LIBS
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
19634 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
19635 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
19637 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
19642 $as_echo_n "checking for logf in -lm... " >&6; }
19643 if test "${ac_cv_lib_m_logf+set}" = set; then :
19644 $as_echo_n "(cached) " >&6
19646 ac_check_lib_save_LIBS=$LIBS
19648 if test x$gcc_no_link = xyes; then
19649 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19654 /* Override any GCC internal prototype to avoid an error.
19655 Use char because int might match the return type of a GCC
19656 builtin and then its argument prototype would still apply. */
19669 if ac_fn_c_try_link "$LINENO"; then :
19670 ac_cv_lib_m_logf=yes
19672 ac_cv_lib_m_logf=no
19674 rm -f core conftest.err conftest.$ac_objext \
19675 conftest$ac_exeext conftest.$ac_ext
19676 LIBS=$ac_check_lib_save_LIBS
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19679 $as_echo "$ac_cv_lib_m_logf" >&6; }
19680 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19682 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19687 $as_echo_n "checking for log in -lm... " >&6; }
19688 if test "${ac_cv_lib_m_log+set}" = set; then :
19689 $as_echo_n "(cached) " >&6
19691 ac_check_lib_save_LIBS=$LIBS
19693 if test x$gcc_no_link = xyes; then
19694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19697 /* end confdefs.h. */
19699 /* Override any GCC internal prototype to avoid an error.
19700 Use char because int might match the return type of a GCC
19701 builtin and then its argument prototype would still apply. */
19714 if ac_fn_c_try_link "$LINENO"; then :
19715 ac_cv_lib_m_log=yes
19719 rm -f core conftest.err conftest.$ac_objext \
19720 conftest$ac_exeext conftest.$ac_ext
19721 LIBS=$ac_check_lib_save_LIBS
19723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19724 $as_echo "$ac_cv_lib_m_log" >&6; }
19725 if test "x$ac_cv_lib_m_log" = x""yes; then :
19727 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19732 $as_echo_n "checking for logl in -lm... " >&6; }
19733 if test "${ac_cv_lib_m_logl+set}" = set; then :
19734 $as_echo_n "(cached) " >&6
19736 ac_check_lib_save_LIBS=$LIBS
19738 if test x$gcc_no_link = xyes; then
19739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 /* end confdefs.h. */
19744 /* Override any GCC internal prototype to avoid an error.
19745 Use char because int might match the return type of a GCC
19746 builtin and then its argument prototype would still apply. */
19759 if ac_fn_c_try_link "$LINENO"; then :
19760 ac_cv_lib_m_logl=yes
19762 ac_cv_lib_m_logl=no
19764 rm -f core conftest.err conftest.$ac_objext \
19765 conftest$ac_exeext conftest.$ac_ext
19766 LIBS=$ac_check_lib_save_LIBS
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19769 $as_echo "$ac_cv_lib_m_logl" >&6; }
19770 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19772 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19777 $as_echo_n "checking for clogf in -lm... " >&6; }
19778 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19779 $as_echo_n "(cached) " >&6
19781 ac_check_lib_save_LIBS=$LIBS
19783 if test x$gcc_no_link = xyes; then
19784 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19789 /* Override any GCC internal prototype to avoid an error.
19790 Use char because int might match the return type of a GCC
19791 builtin and then its argument prototype would still apply. */
19804 if ac_fn_c_try_link "$LINENO"; then :
19805 ac_cv_lib_m_clogf=yes
19807 ac_cv_lib_m_clogf=no
19809 rm -f core conftest.err conftest.$ac_objext \
19810 conftest$ac_exeext conftest.$ac_ext
19811 LIBS=$ac_check_lib_save_LIBS
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19814 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19815 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19817 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19822 $as_echo_n "checking for clog in -lm... " >&6; }
19823 if test "${ac_cv_lib_m_clog+set}" = set; then :
19824 $as_echo_n "(cached) " >&6
19826 ac_check_lib_save_LIBS=$LIBS
19828 if test x$gcc_no_link = xyes; then
19829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19834 /* Override any GCC internal prototype to avoid an error.
19835 Use char because int might match the return type of a GCC
19836 builtin and then its argument prototype would still apply. */
19849 if ac_fn_c_try_link "$LINENO"; then :
19850 ac_cv_lib_m_clog=yes
19852 ac_cv_lib_m_clog=no
19854 rm -f core conftest.err conftest.$ac_objext \
19855 conftest$ac_exeext conftest.$ac_ext
19856 LIBS=$ac_check_lib_save_LIBS
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19859 $as_echo "$ac_cv_lib_m_clog" >&6; }
19860 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19862 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19867 $as_echo_n "checking for clogl in -lm... " >&6; }
19868 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19869 $as_echo_n "(cached) " >&6
19871 ac_check_lib_save_LIBS=$LIBS
19873 if test x$gcc_no_link = xyes; then
19874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19879 /* Override any GCC internal prototype to avoid an error.
19880 Use char because int might match the return type of a GCC
19881 builtin and then its argument prototype would still apply. */
19894 if ac_fn_c_try_link "$LINENO"; then :
19895 ac_cv_lib_m_clogl=yes
19897 ac_cv_lib_m_clogl=no
19899 rm -f core conftest.err conftest.$ac_objext \
19900 conftest$ac_exeext conftest.$ac_ext
19901 LIBS=$ac_check_lib_save_LIBS
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19904 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19905 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19907 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19912 $as_echo_n "checking for log10f in -lm... " >&6; }
19913 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19914 $as_echo_n "(cached) " >&6
19916 ac_check_lib_save_LIBS=$LIBS
19918 if test x$gcc_no_link = xyes; then
19919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h. */
19924 /* Override any GCC internal prototype to avoid an error.
19925 Use char because int might match the return type of a GCC
19926 builtin and then its argument prototype would still apply. */
19939 if ac_fn_c_try_link "$LINENO"; then :
19940 ac_cv_lib_m_log10f=yes
19942 ac_cv_lib_m_log10f=no
19944 rm -f core conftest.err conftest.$ac_objext \
19945 conftest$ac_exeext conftest.$ac_ext
19946 LIBS=$ac_check_lib_save_LIBS
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19949 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19950 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19952 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19957 $as_echo_n "checking for log10 in -lm... " >&6; }
19958 if test "${ac_cv_lib_m_log10+set}" = set; then :
19959 $as_echo_n "(cached) " >&6
19961 ac_check_lib_save_LIBS=$LIBS
19963 if test x$gcc_no_link = xyes; then
19964 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19967 /* end confdefs.h. */
19969 /* Override any GCC internal prototype to avoid an error.
19970 Use char because int might match the return type of a GCC
19971 builtin and then its argument prototype would still apply. */
19984 if ac_fn_c_try_link "$LINENO"; then :
19985 ac_cv_lib_m_log10=yes
19987 ac_cv_lib_m_log10=no
19989 rm -f core conftest.err conftest.$ac_objext \
19990 conftest$ac_exeext conftest.$ac_ext
19991 LIBS=$ac_check_lib_save_LIBS
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19994 $as_echo "$ac_cv_lib_m_log10" >&6; }
19995 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19997 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
20002 $as_echo_n "checking for log10l in -lm... " >&6; }
20003 if test "${ac_cv_lib_m_log10l+set}" = set; then :
20004 $as_echo_n "(cached) " >&6
20006 ac_check_lib_save_LIBS=$LIBS
20008 if test x$gcc_no_link = xyes; then
20009 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20012 /* end confdefs.h. */
20014 /* Override any GCC internal prototype to avoid an error.
20015 Use char because int might match the return type of a GCC
20016 builtin and then its argument prototype would still apply. */
20029 if ac_fn_c_try_link "$LINENO"; then :
20030 ac_cv_lib_m_log10l=yes
20032 ac_cv_lib_m_log10l=no
20034 rm -f core conftest.err conftest.$ac_objext \
20035 conftest$ac_exeext conftest.$ac_ext
20036 LIBS=$ac_check_lib_save_LIBS
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
20039 $as_echo "$ac_cv_lib_m_log10l" >&6; }
20040 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
20042 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
20047 $as_echo_n "checking for clog10f in -lm... " >&6; }
20048 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
20049 $as_echo_n "(cached) " >&6
20051 ac_check_lib_save_LIBS=$LIBS
20053 if test x$gcc_no_link = xyes; then
20054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h. */
20059 /* Override any GCC internal prototype to avoid an error.
20060 Use char because int might match the return type of a GCC
20061 builtin and then its argument prototype would still apply. */
20074 if ac_fn_c_try_link "$LINENO"; then :
20075 ac_cv_lib_m_clog10f=yes
20077 ac_cv_lib_m_clog10f=no
20079 rm -f core conftest.err conftest.$ac_objext \
20080 conftest$ac_exeext conftest.$ac_ext
20081 LIBS=$ac_check_lib_save_LIBS
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
20084 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
20085 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
20087 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
20092 $as_echo_n "checking for clog10 in -lm... " >&6; }
20093 if test "${ac_cv_lib_m_clog10+set}" = set; then :
20094 $as_echo_n "(cached) " >&6
20096 ac_check_lib_save_LIBS=$LIBS
20098 if test x$gcc_no_link = xyes; then
20099 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20102 /* end confdefs.h. */
20104 /* Override any GCC internal prototype to avoid an error.
20105 Use char because int might match the return type of a GCC
20106 builtin and then its argument prototype would still apply. */
20119 if ac_fn_c_try_link "$LINENO"; then :
20120 ac_cv_lib_m_clog10=yes
20122 ac_cv_lib_m_clog10=no
20124 rm -f core conftest.err conftest.$ac_objext \
20125 conftest$ac_exeext conftest.$ac_ext
20126 LIBS=$ac_check_lib_save_LIBS
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
20129 $as_echo "$ac_cv_lib_m_clog10" >&6; }
20130 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
20132 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
20137 $as_echo_n "checking for clog10l in -lm... " >&6; }
20138 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
20139 $as_echo_n "(cached) " >&6
20141 ac_check_lib_save_LIBS=$LIBS
20143 if test x$gcc_no_link = xyes; then
20144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20147 /* end confdefs.h. */
20149 /* Override any GCC internal prototype to avoid an error.
20150 Use char because int might match the return type of a GCC
20151 builtin and then its argument prototype would still apply. */
20164 if ac_fn_c_try_link "$LINENO"; then :
20165 ac_cv_lib_m_clog10l=yes
20167 ac_cv_lib_m_clog10l=no
20169 rm -f core conftest.err conftest.$ac_objext \
20170 conftest$ac_exeext conftest.$ac_ext
20171 LIBS=$ac_check_lib_save_LIBS
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
20174 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
20175 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
20177 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
20182 $as_echo_n "checking for nextafterf in -lm... " >&6; }
20183 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
20184 $as_echo_n "(cached) " >&6
20186 ac_check_lib_save_LIBS=$LIBS
20188 if test x$gcc_no_link = xyes; then
20189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20192 /* end confdefs.h. */
20194 /* Override any GCC internal prototype to avoid an error.
20195 Use char because int might match the return type of a GCC
20196 builtin and then its argument prototype would still apply. */
20200 char nextafterf ();
20204 return nextafterf ();
20209 if ac_fn_c_try_link "$LINENO"; then :
20210 ac_cv_lib_m_nextafterf=yes
20212 ac_cv_lib_m_nextafterf=no
20214 rm -f core conftest.err conftest.$ac_objext \
20215 conftest$ac_exeext conftest.$ac_ext
20216 LIBS=$ac_check_lib_save_LIBS
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
20219 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
20220 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
20222 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
20227 $as_echo_n "checking for nextafter in -lm... " >&6; }
20228 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
20229 $as_echo_n "(cached) " >&6
20231 ac_check_lib_save_LIBS=$LIBS
20233 if test x$gcc_no_link = xyes; then
20234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20237 /* end confdefs.h. */
20239 /* Override any GCC internal prototype to avoid an error.
20240 Use char because int might match the return type of a GCC
20241 builtin and then its argument prototype would still apply. */
20249 return nextafter ();
20254 if ac_fn_c_try_link "$LINENO"; then :
20255 ac_cv_lib_m_nextafter=yes
20257 ac_cv_lib_m_nextafter=no
20259 rm -f core conftest.err conftest.$ac_objext \
20260 conftest$ac_exeext conftest.$ac_ext
20261 LIBS=$ac_check_lib_save_LIBS
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
20264 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
20265 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
20267 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
20272 $as_echo_n "checking for nextafterl in -lm... " >&6; }
20273 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
20274 $as_echo_n "(cached) " >&6
20276 ac_check_lib_save_LIBS=$LIBS
20278 if test x$gcc_no_link = xyes; then
20279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20282 /* end confdefs.h. */
20284 /* Override any GCC internal prototype to avoid an error.
20285 Use char because int might match the return type of a GCC
20286 builtin and then its argument prototype would still apply. */
20290 char nextafterl ();
20294 return nextafterl ();
20299 if ac_fn_c_try_link "$LINENO"; then :
20300 ac_cv_lib_m_nextafterl=yes
20302 ac_cv_lib_m_nextafterl=no
20304 rm -f core conftest.err conftest.$ac_objext \
20305 conftest$ac_exeext conftest.$ac_ext
20306 LIBS=$ac_check_lib_save_LIBS
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
20309 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
20310 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
20312 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
20317 $as_echo_n "checking for powf in -lm... " >&6; }
20318 if test "${ac_cv_lib_m_powf+set}" = set; then :
20319 $as_echo_n "(cached) " >&6
20321 ac_check_lib_save_LIBS=$LIBS
20323 if test x$gcc_no_link = xyes; then
20324 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h. */
20329 /* Override any GCC internal prototype to avoid an error.
20330 Use char because int might match the return type of a GCC
20331 builtin and then its argument prototype would still apply. */
20344 if ac_fn_c_try_link "$LINENO"; then :
20345 ac_cv_lib_m_powf=yes
20347 ac_cv_lib_m_powf=no
20349 rm -f core conftest.err conftest.$ac_objext \
20350 conftest$ac_exeext conftest.$ac_ext
20351 LIBS=$ac_check_lib_save_LIBS
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
20354 $as_echo "$ac_cv_lib_m_powf" >&6; }
20355 if test "x$ac_cv_lib_m_powf" = x""yes; then :
20357 $as_echo "#define HAVE_POWF 1" >>confdefs.h
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
20362 $as_echo_n "checking for pow in -lm... " >&6; }
20363 if test "${ac_cv_lib_m_pow+set}" = set; then :
20364 $as_echo_n "(cached) " >&6
20366 ac_check_lib_save_LIBS=$LIBS
20368 if test x$gcc_no_link = xyes; then
20369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20372 /* end confdefs.h. */
20374 /* Override any GCC internal prototype to avoid an error.
20375 Use char because int might match the return type of a GCC
20376 builtin and then its argument prototype would still apply. */
20389 if ac_fn_c_try_link "$LINENO"; then :
20390 ac_cv_lib_m_pow=yes
20394 rm -f core conftest.err conftest.$ac_objext \
20395 conftest$ac_exeext conftest.$ac_ext
20396 LIBS=$ac_check_lib_save_LIBS
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
20399 $as_echo "$ac_cv_lib_m_pow" >&6; }
20400 if test "x$ac_cv_lib_m_pow" = x""yes; then :
20402 $as_echo "#define HAVE_POW 1" >>confdefs.h
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
20407 $as_echo_n "checking for powl in -lm... " >&6; }
20408 if test "${ac_cv_lib_m_powl+set}" = set; then :
20409 $as_echo_n "(cached) " >&6
20411 ac_check_lib_save_LIBS=$LIBS
20413 if test x$gcc_no_link = xyes; then
20414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20417 /* end confdefs.h. */
20419 /* Override any GCC internal prototype to avoid an error.
20420 Use char because int might match the return type of a GCC
20421 builtin and then its argument prototype would still apply. */
20434 if ac_fn_c_try_link "$LINENO"; then :
20435 ac_cv_lib_m_powl=yes
20437 ac_cv_lib_m_powl=no
20439 rm -f core conftest.err conftest.$ac_objext \
20440 conftest$ac_exeext conftest.$ac_ext
20441 LIBS=$ac_check_lib_save_LIBS
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
20444 $as_echo "$ac_cv_lib_m_powl" >&6; }
20445 if test "x$ac_cv_lib_m_powl" = x""yes; then :
20447 $as_echo "#define HAVE_POWL 1" >>confdefs.h
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
20452 $as_echo_n "checking for cpowf in -lm... " >&6; }
20453 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
20454 $as_echo_n "(cached) " >&6
20456 ac_check_lib_save_LIBS=$LIBS
20458 if test x$gcc_no_link = xyes; then
20459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20462 /* end confdefs.h. */
20464 /* Override any GCC internal prototype to avoid an error.
20465 Use char because int might match the return type of a GCC
20466 builtin and then its argument prototype would still apply. */
20479 if ac_fn_c_try_link "$LINENO"; then :
20480 ac_cv_lib_m_cpowf=yes
20482 ac_cv_lib_m_cpowf=no
20484 rm -f core conftest.err conftest.$ac_objext \
20485 conftest$ac_exeext conftest.$ac_ext
20486 LIBS=$ac_check_lib_save_LIBS
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
20489 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
20490 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
20492 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
20497 $as_echo_n "checking for cpow in -lm... " >&6; }
20498 if test "${ac_cv_lib_m_cpow+set}" = set; then :
20499 $as_echo_n "(cached) " >&6
20501 ac_check_lib_save_LIBS=$LIBS
20503 if test x$gcc_no_link = xyes; then
20504 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20507 /* end confdefs.h. */
20509 /* Override any GCC internal prototype to avoid an error.
20510 Use char because int might match the return type of a GCC
20511 builtin and then its argument prototype would still apply. */
20524 if ac_fn_c_try_link "$LINENO"; then :
20525 ac_cv_lib_m_cpow=yes
20527 ac_cv_lib_m_cpow=no
20529 rm -f core conftest.err conftest.$ac_objext \
20530 conftest$ac_exeext conftest.$ac_ext
20531 LIBS=$ac_check_lib_save_LIBS
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
20534 $as_echo "$ac_cv_lib_m_cpow" >&6; }
20535 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
20537 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
20541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
20542 $as_echo_n "checking for cpowl in -lm... " >&6; }
20543 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
20544 $as_echo_n "(cached) " >&6
20546 ac_check_lib_save_LIBS=$LIBS
20548 if test x$gcc_no_link = xyes; then
20549 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20552 /* end confdefs.h. */
20554 /* Override any GCC internal prototype to avoid an error.
20555 Use char because int might match the return type of a GCC
20556 builtin and then its argument prototype would still apply. */
20569 if ac_fn_c_try_link "$LINENO"; then :
20570 ac_cv_lib_m_cpowl=yes
20572 ac_cv_lib_m_cpowl=no
20574 rm -f core conftest.err conftest.$ac_objext \
20575 conftest$ac_exeext conftest.$ac_ext
20576 LIBS=$ac_check_lib_save_LIBS
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
20579 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
20580 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
20582 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
20587 $as_echo_n "checking for roundf in -lm... " >&6; }
20588 if test "${ac_cv_lib_m_roundf+set}" = set; then :
20589 $as_echo_n "(cached) " >&6
20591 ac_check_lib_save_LIBS=$LIBS
20593 if test x$gcc_no_link = xyes; then
20594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20597 /* end confdefs.h. */
20599 /* Override any GCC internal prototype to avoid an error.
20600 Use char because int might match the return type of a GCC
20601 builtin and then its argument prototype would still apply. */
20614 if ac_fn_c_try_link "$LINENO"; then :
20615 ac_cv_lib_m_roundf=yes
20617 ac_cv_lib_m_roundf=no
20619 rm -f core conftest.err conftest.$ac_objext \
20620 conftest$ac_exeext conftest.$ac_ext
20621 LIBS=$ac_check_lib_save_LIBS
20623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
20624 $as_echo "$ac_cv_lib_m_roundf" >&6; }
20625 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
20627 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
20631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
20632 $as_echo_n "checking for round in -lm... " >&6; }
20633 if test "${ac_cv_lib_m_round+set}" = set; then :
20634 $as_echo_n "(cached) " >&6
20636 ac_check_lib_save_LIBS=$LIBS
20638 if test x$gcc_no_link = xyes; then
20639 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20642 /* end confdefs.h. */
20644 /* Override any GCC internal prototype to avoid an error.
20645 Use char because int might match the return type of a GCC
20646 builtin and then its argument prototype would still apply. */
20659 if ac_fn_c_try_link "$LINENO"; then :
20660 ac_cv_lib_m_round=yes
20662 ac_cv_lib_m_round=no
20664 rm -f core conftest.err conftest.$ac_objext \
20665 conftest$ac_exeext conftest.$ac_ext
20666 LIBS=$ac_check_lib_save_LIBS
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20669 $as_echo "$ac_cv_lib_m_round" >&6; }
20670 if test "x$ac_cv_lib_m_round" = x""yes; then :
20672 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20677 $as_echo_n "checking for roundl in -lm... " >&6; }
20678 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20679 $as_echo_n "(cached) " >&6
20681 ac_check_lib_save_LIBS=$LIBS
20683 if test x$gcc_no_link = xyes; then
20684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20687 /* end confdefs.h. */
20689 /* Override any GCC internal prototype to avoid an error.
20690 Use char because int might match the return type of a GCC
20691 builtin and then its argument prototype would still apply. */
20704 if ac_fn_c_try_link "$LINENO"; then :
20705 ac_cv_lib_m_roundl=yes
20707 ac_cv_lib_m_roundl=no
20709 rm -f core conftest.err conftest.$ac_objext \
20710 conftest$ac_exeext conftest.$ac_ext
20711 LIBS=$ac_check_lib_save_LIBS
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20714 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20715 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20717 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20722 $as_echo_n "checking for lroundf in -lm... " >&6; }
20723 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20724 $as_echo_n "(cached) " >&6
20726 ac_check_lib_save_LIBS=$LIBS
20728 if test x$gcc_no_link = xyes; then
20729 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20732 /* end confdefs.h. */
20734 /* Override any GCC internal prototype to avoid an error.
20735 Use char because int might match the return type of a GCC
20736 builtin and then its argument prototype would still apply. */
20749 if ac_fn_c_try_link "$LINENO"; then :
20750 ac_cv_lib_m_lroundf=yes
20752 ac_cv_lib_m_lroundf=no
20754 rm -f core conftest.err conftest.$ac_objext \
20755 conftest$ac_exeext conftest.$ac_ext
20756 LIBS=$ac_check_lib_save_LIBS
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20759 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20760 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20762 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20767 $as_echo_n "checking for lround in -lm... " >&6; }
20768 if test "${ac_cv_lib_m_lround+set}" = set; then :
20769 $as_echo_n "(cached) " >&6
20771 ac_check_lib_save_LIBS=$LIBS
20773 if test x$gcc_no_link = xyes; then
20774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20777 /* end confdefs.h. */
20779 /* Override any GCC internal prototype to avoid an error.
20780 Use char because int might match the return type of a GCC
20781 builtin and then its argument prototype would still apply. */
20794 if ac_fn_c_try_link "$LINENO"; then :
20795 ac_cv_lib_m_lround=yes
20797 ac_cv_lib_m_lround=no
20799 rm -f core conftest.err conftest.$ac_objext \
20800 conftest$ac_exeext conftest.$ac_ext
20801 LIBS=$ac_check_lib_save_LIBS
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20804 $as_echo "$ac_cv_lib_m_lround" >&6; }
20805 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20807 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20812 $as_echo_n "checking for lroundl in -lm... " >&6; }
20813 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20814 $as_echo_n "(cached) " >&6
20816 ac_check_lib_save_LIBS=$LIBS
20818 if test x$gcc_no_link = xyes; then
20819 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h. */
20824 /* Override any GCC internal prototype to avoid an error.
20825 Use char because int might match the return type of a GCC
20826 builtin and then its argument prototype would still apply. */
20839 if ac_fn_c_try_link "$LINENO"; then :
20840 ac_cv_lib_m_lroundl=yes
20842 ac_cv_lib_m_lroundl=no
20844 rm -f core conftest.err conftest.$ac_objext \
20845 conftest$ac_exeext conftest.$ac_ext
20846 LIBS=$ac_check_lib_save_LIBS
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20849 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20850 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20852 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20857 $as_echo_n "checking for llroundf in -lm... " >&6; }
20858 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20859 $as_echo_n "(cached) " >&6
20861 ac_check_lib_save_LIBS=$LIBS
20863 if test x$gcc_no_link = xyes; then
20864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20867 /* end confdefs.h. */
20869 /* Override any GCC internal prototype to avoid an error.
20870 Use char because int might match the return type of a GCC
20871 builtin and then its argument prototype would still apply. */
20879 return llroundf ();
20884 if ac_fn_c_try_link "$LINENO"; then :
20885 ac_cv_lib_m_llroundf=yes
20887 ac_cv_lib_m_llroundf=no
20889 rm -f core conftest.err conftest.$ac_objext \
20890 conftest$ac_exeext conftest.$ac_ext
20891 LIBS=$ac_check_lib_save_LIBS
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20894 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20895 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20897 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20902 $as_echo_n "checking for llround in -lm... " >&6; }
20903 if test "${ac_cv_lib_m_llround+set}" = set; then :
20904 $as_echo_n "(cached) " >&6
20906 ac_check_lib_save_LIBS=$LIBS
20908 if test x$gcc_no_link = xyes; then
20909 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20912 /* end confdefs.h. */
20914 /* Override any GCC internal prototype to avoid an error.
20915 Use char because int might match the return type of a GCC
20916 builtin and then its argument prototype would still apply. */
20929 if ac_fn_c_try_link "$LINENO"; then :
20930 ac_cv_lib_m_llround=yes
20932 ac_cv_lib_m_llround=no
20934 rm -f core conftest.err conftest.$ac_objext \
20935 conftest$ac_exeext conftest.$ac_ext
20936 LIBS=$ac_check_lib_save_LIBS
20938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20939 $as_echo "$ac_cv_lib_m_llround" >&6; }
20940 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20942 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20947 $as_echo_n "checking for llroundl in -lm... " >&6; }
20948 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20949 $as_echo_n "(cached) " >&6
20951 ac_check_lib_save_LIBS=$LIBS
20953 if test x$gcc_no_link = xyes; then
20954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20957 /* end confdefs.h. */
20959 /* Override any GCC internal prototype to avoid an error.
20960 Use char because int might match the return type of a GCC
20961 builtin and then its argument prototype would still apply. */
20969 return llroundl ();
20974 if ac_fn_c_try_link "$LINENO"; then :
20975 ac_cv_lib_m_llroundl=yes
20977 ac_cv_lib_m_llroundl=no
20979 rm -f core conftest.err conftest.$ac_objext \
20980 conftest$ac_exeext conftest.$ac_ext
20981 LIBS=$ac_check_lib_save_LIBS
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20984 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20985 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20987 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20992 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20993 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20994 $as_echo_n "(cached) " >&6
20996 ac_check_lib_save_LIBS=$LIBS
20998 if test x$gcc_no_link = xyes; then
20999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h. */
21004 /* Override any GCC internal prototype to avoid an error.
21005 Use char because int might match the return type of a GCC
21006 builtin and then its argument prototype would still apply. */
21019 if ac_fn_c_try_link "$LINENO"; then :
21020 ac_cv_lib_m_scalbnf=yes
21022 ac_cv_lib_m_scalbnf=no
21024 rm -f core conftest.err conftest.$ac_objext \
21025 conftest$ac_exeext conftest.$ac_ext
21026 LIBS=$ac_check_lib_save_LIBS
21028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
21029 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
21030 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
21032 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
21037 $as_echo_n "checking for scalbn in -lm... " >&6; }
21038 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
21039 $as_echo_n "(cached) " >&6
21041 ac_check_lib_save_LIBS=$LIBS
21043 if test x$gcc_no_link = xyes; then
21044 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21047 /* end confdefs.h. */
21049 /* Override any GCC internal prototype to avoid an error.
21050 Use char because int might match the return type of a GCC
21051 builtin and then its argument prototype would still apply. */
21064 if ac_fn_c_try_link "$LINENO"; then :
21065 ac_cv_lib_m_scalbn=yes
21067 ac_cv_lib_m_scalbn=no
21069 rm -f core conftest.err conftest.$ac_objext \
21070 conftest$ac_exeext conftest.$ac_ext
21071 LIBS=$ac_check_lib_save_LIBS
21073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
21074 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
21075 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
21077 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
21082 $as_echo_n "checking for scalbnl in -lm... " >&6; }
21083 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
21084 $as_echo_n "(cached) " >&6
21086 ac_check_lib_save_LIBS=$LIBS
21088 if test x$gcc_no_link = xyes; then
21089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21092 /* end confdefs.h. */
21094 /* Override any GCC internal prototype to avoid an error.
21095 Use char because int might match the return type of a GCC
21096 builtin and then its argument prototype would still apply. */
21109 if ac_fn_c_try_link "$LINENO"; then :
21110 ac_cv_lib_m_scalbnl=yes
21112 ac_cv_lib_m_scalbnl=no
21114 rm -f core conftest.err conftest.$ac_objext \
21115 conftest$ac_exeext conftest.$ac_ext
21116 LIBS=$ac_check_lib_save_LIBS
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
21119 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
21120 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
21122 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
21127 $as_echo_n "checking for sinf in -lm... " >&6; }
21128 if test "${ac_cv_lib_m_sinf+set}" = set; then :
21129 $as_echo_n "(cached) " >&6
21131 ac_check_lib_save_LIBS=$LIBS
21133 if test x$gcc_no_link = xyes; then
21134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21137 /* end confdefs.h. */
21139 /* Override any GCC internal prototype to avoid an error.
21140 Use char because int might match the return type of a GCC
21141 builtin and then its argument prototype would still apply. */
21154 if ac_fn_c_try_link "$LINENO"; then :
21155 ac_cv_lib_m_sinf=yes
21157 ac_cv_lib_m_sinf=no
21159 rm -f core conftest.err conftest.$ac_objext \
21160 conftest$ac_exeext conftest.$ac_ext
21161 LIBS=$ac_check_lib_save_LIBS
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
21164 $as_echo "$ac_cv_lib_m_sinf" >&6; }
21165 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
21167 $as_echo "#define HAVE_SINF 1" >>confdefs.h
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21172 $as_echo_n "checking for sin in -lm... " >&6; }
21173 if test "${ac_cv_lib_m_sin+set}" = set; then :
21174 $as_echo_n "(cached) " >&6
21176 ac_check_lib_save_LIBS=$LIBS
21178 if test x$gcc_no_link = xyes; then
21179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21182 /* end confdefs.h. */
21184 /* Override any GCC internal prototype to avoid an error.
21185 Use char because int might match the return type of a GCC
21186 builtin and then its argument prototype would still apply. */
21199 if ac_fn_c_try_link "$LINENO"; then :
21200 ac_cv_lib_m_sin=yes
21204 rm -f core conftest.err conftest.$ac_objext \
21205 conftest$ac_exeext conftest.$ac_ext
21206 LIBS=$ac_check_lib_save_LIBS
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21209 $as_echo "$ac_cv_lib_m_sin" >&6; }
21210 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21212 $as_echo "#define HAVE_SIN 1" >>confdefs.h
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
21217 $as_echo_n "checking for sinl in -lm... " >&6; }
21218 if test "${ac_cv_lib_m_sinl+set}" = set; then :
21219 $as_echo_n "(cached) " >&6
21221 ac_check_lib_save_LIBS=$LIBS
21223 if test x$gcc_no_link = xyes; then
21224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h. */
21229 /* Override any GCC internal prototype to avoid an error.
21230 Use char because int might match the return type of a GCC
21231 builtin and then its argument prototype would still apply. */
21244 if ac_fn_c_try_link "$LINENO"; then :
21245 ac_cv_lib_m_sinl=yes
21247 ac_cv_lib_m_sinl=no
21249 rm -f core conftest.err conftest.$ac_objext \
21250 conftest$ac_exeext conftest.$ac_ext
21251 LIBS=$ac_check_lib_save_LIBS
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
21254 $as_echo "$ac_cv_lib_m_sinl" >&6; }
21255 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
21257 $as_echo "#define HAVE_SINL 1" >>confdefs.h
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
21262 $as_echo_n "checking for csinf in -lm... " >&6; }
21263 if test "${ac_cv_lib_m_csinf+set}" = set; then :
21264 $as_echo_n "(cached) " >&6
21266 ac_check_lib_save_LIBS=$LIBS
21268 if test x$gcc_no_link = xyes; then
21269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21272 /* end confdefs.h. */
21274 /* Override any GCC internal prototype to avoid an error.
21275 Use char because int might match the return type of a GCC
21276 builtin and then its argument prototype would still apply. */
21289 if ac_fn_c_try_link "$LINENO"; then :
21290 ac_cv_lib_m_csinf=yes
21292 ac_cv_lib_m_csinf=no
21294 rm -f core conftest.err conftest.$ac_objext \
21295 conftest$ac_exeext conftest.$ac_ext
21296 LIBS=$ac_check_lib_save_LIBS
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
21299 $as_echo "$ac_cv_lib_m_csinf" >&6; }
21300 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
21302 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
21307 $as_echo_n "checking for csin in -lm... " >&6; }
21308 if test "${ac_cv_lib_m_csin+set}" = set; then :
21309 $as_echo_n "(cached) " >&6
21311 ac_check_lib_save_LIBS=$LIBS
21313 if test x$gcc_no_link = xyes; then
21314 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21317 /* end confdefs.h. */
21319 /* Override any GCC internal prototype to avoid an error.
21320 Use char because int might match the return type of a GCC
21321 builtin and then its argument prototype would still apply. */
21334 if ac_fn_c_try_link "$LINENO"; then :
21335 ac_cv_lib_m_csin=yes
21337 ac_cv_lib_m_csin=no
21339 rm -f core conftest.err conftest.$ac_objext \
21340 conftest$ac_exeext conftest.$ac_ext
21341 LIBS=$ac_check_lib_save_LIBS
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
21344 $as_echo "$ac_cv_lib_m_csin" >&6; }
21345 if test "x$ac_cv_lib_m_csin" = x""yes; then :
21347 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
21351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
21352 $as_echo_n "checking for csinl in -lm... " >&6; }
21353 if test "${ac_cv_lib_m_csinl+set}" = set; then :
21354 $as_echo_n "(cached) " >&6
21356 ac_check_lib_save_LIBS=$LIBS
21358 if test x$gcc_no_link = xyes; then
21359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21362 /* end confdefs.h. */
21364 /* Override any GCC internal prototype to avoid an error.
21365 Use char because int might match the return type of a GCC
21366 builtin and then its argument prototype would still apply. */
21379 if ac_fn_c_try_link "$LINENO"; then :
21380 ac_cv_lib_m_csinl=yes
21382 ac_cv_lib_m_csinl=no
21384 rm -f core conftest.err conftest.$ac_objext \
21385 conftest$ac_exeext conftest.$ac_ext
21386 LIBS=$ac_check_lib_save_LIBS
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
21389 $as_echo "$ac_cv_lib_m_csinl" >&6; }
21390 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
21392 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
21397 $as_echo_n "checking for sinhf in -lm... " >&6; }
21398 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
21399 $as_echo_n "(cached) " >&6
21401 ac_check_lib_save_LIBS=$LIBS
21403 if test x$gcc_no_link = xyes; then
21404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21407 /* end confdefs.h. */
21409 /* Override any GCC internal prototype to avoid an error.
21410 Use char because int might match the return type of a GCC
21411 builtin and then its argument prototype would still apply. */
21424 if ac_fn_c_try_link "$LINENO"; then :
21425 ac_cv_lib_m_sinhf=yes
21427 ac_cv_lib_m_sinhf=no
21429 rm -f core conftest.err conftest.$ac_objext \
21430 conftest$ac_exeext conftest.$ac_ext
21431 LIBS=$ac_check_lib_save_LIBS
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
21434 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
21435 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
21437 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
21442 $as_echo_n "checking for sinh in -lm... " >&6; }
21443 if test "${ac_cv_lib_m_sinh+set}" = set; then :
21444 $as_echo_n "(cached) " >&6
21446 ac_check_lib_save_LIBS=$LIBS
21448 if test x$gcc_no_link = xyes; then
21449 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21452 /* end confdefs.h. */
21454 /* Override any GCC internal prototype to avoid an error.
21455 Use char because int might match the return type of a GCC
21456 builtin and then its argument prototype would still apply. */
21469 if ac_fn_c_try_link "$LINENO"; then :
21470 ac_cv_lib_m_sinh=yes
21472 ac_cv_lib_m_sinh=no
21474 rm -f core conftest.err conftest.$ac_objext \
21475 conftest$ac_exeext conftest.$ac_ext
21476 LIBS=$ac_check_lib_save_LIBS
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
21479 $as_echo "$ac_cv_lib_m_sinh" >&6; }
21480 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
21482 $as_echo "#define HAVE_SINH 1" >>confdefs.h
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
21487 $as_echo_n "checking for sinhl in -lm... " >&6; }
21488 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
21489 $as_echo_n "(cached) " >&6
21491 ac_check_lib_save_LIBS=$LIBS
21493 if test x$gcc_no_link = xyes; then
21494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h. */
21499 /* Override any GCC internal prototype to avoid an error.
21500 Use char because int might match the return type of a GCC
21501 builtin and then its argument prototype would still apply. */
21514 if ac_fn_c_try_link "$LINENO"; then :
21515 ac_cv_lib_m_sinhl=yes
21517 ac_cv_lib_m_sinhl=no
21519 rm -f core conftest.err conftest.$ac_objext \
21520 conftest$ac_exeext conftest.$ac_ext
21521 LIBS=$ac_check_lib_save_LIBS
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
21524 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
21525 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
21527 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
21531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
21532 $as_echo_n "checking for csinhf in -lm... " >&6; }
21533 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
21534 $as_echo_n "(cached) " >&6
21536 ac_check_lib_save_LIBS=$LIBS
21538 if test x$gcc_no_link = xyes; then
21539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21544 /* Override any GCC internal prototype to avoid an error.
21545 Use char because int might match the return type of a GCC
21546 builtin and then its argument prototype would still apply. */
21559 if ac_fn_c_try_link "$LINENO"; then :
21560 ac_cv_lib_m_csinhf=yes
21562 ac_cv_lib_m_csinhf=no
21564 rm -f core conftest.err conftest.$ac_objext \
21565 conftest$ac_exeext conftest.$ac_ext
21566 LIBS=$ac_check_lib_save_LIBS
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
21569 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
21570 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
21572 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
21577 $as_echo_n "checking for csinh in -lm... " >&6; }
21578 if test "${ac_cv_lib_m_csinh+set}" = set; then :
21579 $as_echo_n "(cached) " >&6
21581 ac_check_lib_save_LIBS=$LIBS
21583 if test x$gcc_no_link = xyes; then
21584 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21587 /* end confdefs.h. */
21589 /* Override any GCC internal prototype to avoid an error.
21590 Use char because int might match the return type of a GCC
21591 builtin and then its argument prototype would still apply. */
21604 if ac_fn_c_try_link "$LINENO"; then :
21605 ac_cv_lib_m_csinh=yes
21607 ac_cv_lib_m_csinh=no
21609 rm -f core conftest.err conftest.$ac_objext \
21610 conftest$ac_exeext conftest.$ac_ext
21611 LIBS=$ac_check_lib_save_LIBS
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
21614 $as_echo "$ac_cv_lib_m_csinh" >&6; }
21615 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
21617 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
21622 $as_echo_n "checking for csinhl in -lm... " >&6; }
21623 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
21624 $as_echo_n "(cached) " >&6
21626 ac_check_lib_save_LIBS=$LIBS
21628 if test x$gcc_no_link = xyes; then
21629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21632 /* end confdefs.h. */
21634 /* Override any GCC internal prototype to avoid an error.
21635 Use char because int might match the return type of a GCC
21636 builtin and then its argument prototype would still apply. */
21649 if ac_fn_c_try_link "$LINENO"; then :
21650 ac_cv_lib_m_csinhl=yes
21652 ac_cv_lib_m_csinhl=no
21654 rm -f core conftest.err conftest.$ac_objext \
21655 conftest$ac_exeext conftest.$ac_ext
21656 LIBS=$ac_check_lib_save_LIBS
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21659 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21660 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21662 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21667 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21668 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21669 $as_echo_n "(cached) " >&6
21671 ac_check_lib_save_LIBS=$LIBS
21673 if test x$gcc_no_link = xyes; then
21674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21677 /* end confdefs.h. */
21679 /* Override any GCC internal prototype to avoid an error.
21680 Use char because int might match the return type of a GCC
21681 builtin and then its argument prototype would still apply. */
21694 if ac_fn_c_try_link "$LINENO"; then :
21695 ac_cv_lib_m_sqrtf=yes
21697 ac_cv_lib_m_sqrtf=no
21699 rm -f core conftest.err conftest.$ac_objext \
21700 conftest$ac_exeext conftest.$ac_ext
21701 LIBS=$ac_check_lib_save_LIBS
21703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21704 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21705 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21707 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21712 $as_echo_n "checking for sqrt in -lm... " >&6; }
21713 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21714 $as_echo_n "(cached) " >&6
21716 ac_check_lib_save_LIBS=$LIBS
21718 if test x$gcc_no_link = xyes; then
21719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21722 /* end confdefs.h. */
21724 /* Override any GCC internal prototype to avoid an error.
21725 Use char because int might match the return type of a GCC
21726 builtin and then its argument prototype would still apply. */
21739 if ac_fn_c_try_link "$LINENO"; then :
21740 ac_cv_lib_m_sqrt=yes
21742 ac_cv_lib_m_sqrt=no
21744 rm -f core conftest.err conftest.$ac_objext \
21745 conftest$ac_exeext conftest.$ac_ext
21746 LIBS=$ac_check_lib_save_LIBS
21748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21749 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21750 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21752 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21757 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21758 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21759 $as_echo_n "(cached) " >&6
21761 ac_check_lib_save_LIBS=$LIBS
21763 if test x$gcc_no_link = xyes; then
21764 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21767 /* end confdefs.h. */
21769 /* Override any GCC internal prototype to avoid an error.
21770 Use char because int might match the return type of a GCC
21771 builtin and then its argument prototype would still apply. */
21784 if ac_fn_c_try_link "$LINENO"; then :
21785 ac_cv_lib_m_sqrtl=yes
21787 ac_cv_lib_m_sqrtl=no
21789 rm -f core conftest.err conftest.$ac_objext \
21790 conftest$ac_exeext conftest.$ac_ext
21791 LIBS=$ac_check_lib_save_LIBS
21793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21794 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21795 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21797 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21802 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21803 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21804 $as_echo_n "(cached) " >&6
21806 ac_check_lib_save_LIBS=$LIBS
21808 if test x$gcc_no_link = xyes; then
21809 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21812 /* end confdefs.h. */
21814 /* Override any GCC internal prototype to avoid an error.
21815 Use char because int might match the return type of a GCC
21816 builtin and then its argument prototype would still apply. */
21829 if ac_fn_c_try_link "$LINENO"; then :
21830 ac_cv_lib_m_csqrtf=yes
21832 ac_cv_lib_m_csqrtf=no
21834 rm -f core conftest.err conftest.$ac_objext \
21835 conftest$ac_exeext conftest.$ac_ext
21836 LIBS=$ac_check_lib_save_LIBS
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21839 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21840 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21842 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21847 $as_echo_n "checking for csqrt in -lm... " >&6; }
21848 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21849 $as_echo_n "(cached) " >&6
21851 ac_check_lib_save_LIBS=$LIBS
21853 if test x$gcc_no_link = xyes; then
21854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21857 /* end confdefs.h. */
21859 /* Override any GCC internal prototype to avoid an error.
21860 Use char because int might match the return type of a GCC
21861 builtin and then its argument prototype would still apply. */
21874 if ac_fn_c_try_link "$LINENO"; then :
21875 ac_cv_lib_m_csqrt=yes
21877 ac_cv_lib_m_csqrt=no
21879 rm -f core conftest.err conftest.$ac_objext \
21880 conftest$ac_exeext conftest.$ac_ext
21881 LIBS=$ac_check_lib_save_LIBS
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21884 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21885 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21887 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21892 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21893 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21894 $as_echo_n "(cached) " >&6
21896 ac_check_lib_save_LIBS=$LIBS
21898 if test x$gcc_no_link = xyes; then
21899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21902 /* end confdefs.h. */
21904 /* Override any GCC internal prototype to avoid an error.
21905 Use char because int might match the return type of a GCC
21906 builtin and then its argument prototype would still apply. */
21919 if ac_fn_c_try_link "$LINENO"; then :
21920 ac_cv_lib_m_csqrtl=yes
21922 ac_cv_lib_m_csqrtl=no
21924 rm -f core conftest.err conftest.$ac_objext \
21925 conftest$ac_exeext conftest.$ac_ext
21926 LIBS=$ac_check_lib_save_LIBS
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21929 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21930 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21932 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21937 $as_echo_n "checking for tanf in -lm... " >&6; }
21938 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21939 $as_echo_n "(cached) " >&6
21941 ac_check_lib_save_LIBS=$LIBS
21943 if test x$gcc_no_link = xyes; then
21944 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21947 /* end confdefs.h. */
21949 /* Override any GCC internal prototype to avoid an error.
21950 Use char because int might match the return type of a GCC
21951 builtin and then its argument prototype would still apply. */
21964 if ac_fn_c_try_link "$LINENO"; then :
21965 ac_cv_lib_m_tanf=yes
21967 ac_cv_lib_m_tanf=no
21969 rm -f core conftest.err conftest.$ac_objext \
21970 conftest$ac_exeext conftest.$ac_ext
21971 LIBS=$ac_check_lib_save_LIBS
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21974 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21975 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21977 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21982 $as_echo_n "checking for tan in -lm... " >&6; }
21983 if test "${ac_cv_lib_m_tan+set}" = set; then :
21984 $as_echo_n "(cached) " >&6
21986 ac_check_lib_save_LIBS=$LIBS
21988 if test x$gcc_no_link = xyes; then
21989 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21992 /* end confdefs.h. */
21994 /* Override any GCC internal prototype to avoid an error.
21995 Use char because int might match the return type of a GCC
21996 builtin and then its argument prototype would still apply. */
22009 if ac_fn_c_try_link "$LINENO"; then :
22010 ac_cv_lib_m_tan=yes
22014 rm -f core conftest.err conftest.$ac_objext \
22015 conftest$ac_exeext conftest.$ac_ext
22016 LIBS=$ac_check_lib_save_LIBS
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
22019 $as_echo "$ac_cv_lib_m_tan" >&6; }
22020 if test "x$ac_cv_lib_m_tan" = x""yes; then :
22022 $as_echo "#define HAVE_TAN 1" >>confdefs.h
22026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
22027 $as_echo_n "checking for tanl in -lm... " >&6; }
22028 if test "${ac_cv_lib_m_tanl+set}" = set; then :
22029 $as_echo_n "(cached) " >&6
22031 ac_check_lib_save_LIBS=$LIBS
22033 if test x$gcc_no_link = xyes; then
22034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22037 /* end confdefs.h. */
22039 /* Override any GCC internal prototype to avoid an error.
22040 Use char because int might match the return type of a GCC
22041 builtin and then its argument prototype would still apply. */
22054 if ac_fn_c_try_link "$LINENO"; then :
22055 ac_cv_lib_m_tanl=yes
22057 ac_cv_lib_m_tanl=no
22059 rm -f core conftest.err conftest.$ac_objext \
22060 conftest$ac_exeext conftest.$ac_ext
22061 LIBS=$ac_check_lib_save_LIBS
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
22064 $as_echo "$ac_cv_lib_m_tanl" >&6; }
22065 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
22067 $as_echo "#define HAVE_TANL 1" >>confdefs.h
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
22072 $as_echo_n "checking for ctanf in -lm... " >&6; }
22073 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
22074 $as_echo_n "(cached) " >&6
22076 ac_check_lib_save_LIBS=$LIBS
22078 if test x$gcc_no_link = xyes; then
22079 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22082 /* end confdefs.h. */
22084 /* Override any GCC internal prototype to avoid an error.
22085 Use char because int might match the return type of a GCC
22086 builtin and then its argument prototype would still apply. */
22099 if ac_fn_c_try_link "$LINENO"; then :
22100 ac_cv_lib_m_ctanf=yes
22102 ac_cv_lib_m_ctanf=no
22104 rm -f core conftest.err conftest.$ac_objext \
22105 conftest$ac_exeext conftest.$ac_ext
22106 LIBS=$ac_check_lib_save_LIBS
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
22109 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
22110 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
22112 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
22116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
22117 $as_echo_n "checking for ctan in -lm... " >&6; }
22118 if test "${ac_cv_lib_m_ctan+set}" = set; then :
22119 $as_echo_n "(cached) " >&6
22121 ac_check_lib_save_LIBS=$LIBS
22123 if test x$gcc_no_link = xyes; then
22124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22127 /* end confdefs.h. */
22129 /* Override any GCC internal prototype to avoid an error.
22130 Use char because int might match the return type of a GCC
22131 builtin and then its argument prototype would still apply. */
22144 if ac_fn_c_try_link "$LINENO"; then :
22145 ac_cv_lib_m_ctan=yes
22147 ac_cv_lib_m_ctan=no
22149 rm -f core conftest.err conftest.$ac_objext \
22150 conftest$ac_exeext conftest.$ac_ext
22151 LIBS=$ac_check_lib_save_LIBS
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
22154 $as_echo "$ac_cv_lib_m_ctan" >&6; }
22155 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
22157 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
22161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
22162 $as_echo_n "checking for ctanl in -lm... " >&6; }
22163 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
22164 $as_echo_n "(cached) " >&6
22166 ac_check_lib_save_LIBS=$LIBS
22168 if test x$gcc_no_link = xyes; then
22169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22172 /* end confdefs.h. */
22174 /* Override any GCC internal prototype to avoid an error.
22175 Use char because int might match the return type of a GCC
22176 builtin and then its argument prototype would still apply. */
22189 if ac_fn_c_try_link "$LINENO"; then :
22190 ac_cv_lib_m_ctanl=yes
22192 ac_cv_lib_m_ctanl=no
22194 rm -f core conftest.err conftest.$ac_objext \
22195 conftest$ac_exeext conftest.$ac_ext
22196 LIBS=$ac_check_lib_save_LIBS
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
22199 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
22200 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
22202 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
22206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
22207 $as_echo_n "checking for tanhf in -lm... " >&6; }
22208 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
22209 $as_echo_n "(cached) " >&6
22211 ac_check_lib_save_LIBS=$LIBS
22213 if test x$gcc_no_link = xyes; then
22214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22217 /* end confdefs.h. */
22219 /* Override any GCC internal prototype to avoid an error.
22220 Use char because int might match the return type of a GCC
22221 builtin and then its argument prototype would still apply. */
22234 if ac_fn_c_try_link "$LINENO"; then :
22235 ac_cv_lib_m_tanhf=yes
22237 ac_cv_lib_m_tanhf=no
22239 rm -f core conftest.err conftest.$ac_objext \
22240 conftest$ac_exeext conftest.$ac_ext
22241 LIBS=$ac_check_lib_save_LIBS
22243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
22244 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
22245 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
22247 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
22252 $as_echo_n "checking for tanh in -lm... " >&6; }
22253 if test "${ac_cv_lib_m_tanh+set}" = set; then :
22254 $as_echo_n "(cached) " >&6
22256 ac_check_lib_save_LIBS=$LIBS
22258 if test x$gcc_no_link = xyes; then
22259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22262 /* end confdefs.h. */
22264 /* Override any GCC internal prototype to avoid an error.
22265 Use char because int might match the return type of a GCC
22266 builtin and then its argument prototype would still apply. */
22279 if ac_fn_c_try_link "$LINENO"; then :
22280 ac_cv_lib_m_tanh=yes
22282 ac_cv_lib_m_tanh=no
22284 rm -f core conftest.err conftest.$ac_objext \
22285 conftest$ac_exeext conftest.$ac_ext
22286 LIBS=$ac_check_lib_save_LIBS
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
22289 $as_echo "$ac_cv_lib_m_tanh" >&6; }
22290 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
22292 $as_echo "#define HAVE_TANH 1" >>confdefs.h
22296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
22297 $as_echo_n "checking for tanhl in -lm... " >&6; }
22298 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
22299 $as_echo_n "(cached) " >&6
22301 ac_check_lib_save_LIBS=$LIBS
22303 if test x$gcc_no_link = xyes; then
22304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22307 /* end confdefs.h. */
22309 /* Override any GCC internal prototype to avoid an error.
22310 Use char because int might match the return type of a GCC
22311 builtin and then its argument prototype would still apply. */
22324 if ac_fn_c_try_link "$LINENO"; then :
22325 ac_cv_lib_m_tanhl=yes
22327 ac_cv_lib_m_tanhl=no
22329 rm -f core conftest.err conftest.$ac_objext \
22330 conftest$ac_exeext conftest.$ac_ext
22331 LIBS=$ac_check_lib_save_LIBS
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
22334 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
22335 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
22337 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
22342 $as_echo_n "checking for ctanhf in -lm... " >&6; }
22343 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
22344 $as_echo_n "(cached) " >&6
22346 ac_check_lib_save_LIBS=$LIBS
22348 if test x$gcc_no_link = xyes; then
22349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22352 /* end confdefs.h. */
22354 /* Override any GCC internal prototype to avoid an error.
22355 Use char because int might match the return type of a GCC
22356 builtin and then its argument prototype would still apply. */
22369 if ac_fn_c_try_link "$LINENO"; then :
22370 ac_cv_lib_m_ctanhf=yes
22372 ac_cv_lib_m_ctanhf=no
22374 rm -f core conftest.err conftest.$ac_objext \
22375 conftest$ac_exeext conftest.$ac_ext
22376 LIBS=$ac_check_lib_save_LIBS
22378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
22379 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
22380 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
22382 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
22387 $as_echo_n "checking for ctanh in -lm... " >&6; }
22388 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
22389 $as_echo_n "(cached) " >&6
22391 ac_check_lib_save_LIBS=$LIBS
22393 if test x$gcc_no_link = xyes; then
22394 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22397 /* end confdefs.h. */
22399 /* Override any GCC internal prototype to avoid an error.
22400 Use char because int might match the return type of a GCC
22401 builtin and then its argument prototype would still apply. */
22414 if ac_fn_c_try_link "$LINENO"; then :
22415 ac_cv_lib_m_ctanh=yes
22417 ac_cv_lib_m_ctanh=no
22419 rm -f core conftest.err conftest.$ac_objext \
22420 conftest$ac_exeext conftest.$ac_ext
22421 LIBS=$ac_check_lib_save_LIBS
22423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
22424 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
22425 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
22427 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
22432 $as_echo_n "checking for ctanhl in -lm... " >&6; }
22433 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
22434 $as_echo_n "(cached) " >&6
22436 ac_check_lib_save_LIBS=$LIBS
22438 if test x$gcc_no_link = xyes; then
22439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22442 /* end confdefs.h. */
22444 /* Override any GCC internal prototype to avoid an error.
22445 Use char because int might match the return type of a GCC
22446 builtin and then its argument prototype would still apply. */
22459 if ac_fn_c_try_link "$LINENO"; then :
22460 ac_cv_lib_m_ctanhl=yes
22462 ac_cv_lib_m_ctanhl=no
22464 rm -f core conftest.err conftest.$ac_objext \
22465 conftest$ac_exeext conftest.$ac_ext
22466 LIBS=$ac_check_lib_save_LIBS
22468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
22469 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
22470 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
22472 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
22477 $as_echo_n "checking for truncf in -lm... " >&6; }
22478 if test "${ac_cv_lib_m_truncf+set}" = set; then :
22479 $as_echo_n "(cached) " >&6
22481 ac_check_lib_save_LIBS=$LIBS
22483 if test x$gcc_no_link = xyes; then
22484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h. */
22489 /* Override any GCC internal prototype to avoid an error.
22490 Use char because int might match the return type of a GCC
22491 builtin and then its argument prototype would still apply. */
22504 if ac_fn_c_try_link "$LINENO"; then :
22505 ac_cv_lib_m_truncf=yes
22507 ac_cv_lib_m_truncf=no
22509 rm -f core conftest.err conftest.$ac_objext \
22510 conftest$ac_exeext conftest.$ac_ext
22511 LIBS=$ac_check_lib_save_LIBS
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
22514 $as_echo "$ac_cv_lib_m_truncf" >&6; }
22515 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
22517 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
22522 $as_echo_n "checking for trunc in -lm... " >&6; }
22523 if test "${ac_cv_lib_m_trunc+set}" = set; then :
22524 $as_echo_n "(cached) " >&6
22526 ac_check_lib_save_LIBS=$LIBS
22528 if test x$gcc_no_link = xyes; then
22529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h. */
22534 /* Override any GCC internal prototype to avoid an error.
22535 Use char because int might match the return type of a GCC
22536 builtin and then its argument prototype would still apply. */
22549 if ac_fn_c_try_link "$LINENO"; then :
22550 ac_cv_lib_m_trunc=yes
22552 ac_cv_lib_m_trunc=no
22554 rm -f core conftest.err conftest.$ac_objext \
22555 conftest$ac_exeext conftest.$ac_ext
22556 LIBS=$ac_check_lib_save_LIBS
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
22559 $as_echo "$ac_cv_lib_m_trunc" >&6; }
22560 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
22562 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
22567 $as_echo_n "checking for truncl in -lm... " >&6; }
22568 if test "${ac_cv_lib_m_truncl+set}" = set; then :
22569 $as_echo_n "(cached) " >&6
22571 ac_check_lib_save_LIBS=$LIBS
22573 if test x$gcc_no_link = xyes; then
22574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22577 /* end confdefs.h. */
22579 /* Override any GCC internal prototype to avoid an error.
22580 Use char because int might match the return type of a GCC
22581 builtin and then its argument prototype would still apply. */
22594 if ac_fn_c_try_link "$LINENO"; then :
22595 ac_cv_lib_m_truncl=yes
22597 ac_cv_lib_m_truncl=no
22599 rm -f core conftest.err conftest.$ac_objext \
22600 conftest$ac_exeext conftest.$ac_ext
22601 LIBS=$ac_check_lib_save_LIBS
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
22604 $as_echo "$ac_cv_lib_m_truncl" >&6; }
22605 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
22607 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
22612 $as_echo_n "checking for erff in -lm... " >&6; }
22613 if test "${ac_cv_lib_m_erff+set}" = set; then :
22614 $as_echo_n "(cached) " >&6
22616 ac_check_lib_save_LIBS=$LIBS
22618 if test x$gcc_no_link = xyes; then
22619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22622 /* end confdefs.h. */
22624 /* Override any GCC internal prototype to avoid an error.
22625 Use char because int might match the return type of a GCC
22626 builtin and then its argument prototype would still apply. */
22639 if ac_fn_c_try_link "$LINENO"; then :
22640 ac_cv_lib_m_erff=yes
22642 ac_cv_lib_m_erff=no
22644 rm -f core conftest.err conftest.$ac_objext \
22645 conftest$ac_exeext conftest.$ac_ext
22646 LIBS=$ac_check_lib_save_LIBS
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22649 $as_echo "$ac_cv_lib_m_erff" >&6; }
22650 if test "x$ac_cv_lib_m_erff" = x""yes; then :
22652 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22657 $as_echo_n "checking for erf in -lm... " >&6; }
22658 if test "${ac_cv_lib_m_erf+set}" = set; then :
22659 $as_echo_n "(cached) " >&6
22661 ac_check_lib_save_LIBS=$LIBS
22663 if test x$gcc_no_link = xyes; then
22664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22667 /* end confdefs.h. */
22669 /* Override any GCC internal prototype to avoid an error.
22670 Use char because int might match the return type of a GCC
22671 builtin and then its argument prototype would still apply. */
22684 if ac_fn_c_try_link "$LINENO"; then :
22685 ac_cv_lib_m_erf=yes
22689 rm -f core conftest.err conftest.$ac_objext \
22690 conftest$ac_exeext conftest.$ac_ext
22691 LIBS=$ac_check_lib_save_LIBS
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22694 $as_echo "$ac_cv_lib_m_erf" >&6; }
22695 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22697 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22702 $as_echo_n "checking for erfl in -lm... " >&6; }
22703 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22704 $as_echo_n "(cached) " >&6
22706 ac_check_lib_save_LIBS=$LIBS
22708 if test x$gcc_no_link = xyes; then
22709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22712 /* end confdefs.h. */
22714 /* Override any GCC internal prototype to avoid an error.
22715 Use char because int might match the return type of a GCC
22716 builtin and then its argument prototype would still apply. */
22729 if ac_fn_c_try_link "$LINENO"; then :
22730 ac_cv_lib_m_erfl=yes
22732 ac_cv_lib_m_erfl=no
22734 rm -f core conftest.err conftest.$ac_objext \
22735 conftest$ac_exeext conftest.$ac_ext
22736 LIBS=$ac_check_lib_save_LIBS
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22739 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22740 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22742 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22747 $as_echo_n "checking for erfcf in -lm... " >&6; }
22748 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22749 $as_echo_n "(cached) " >&6
22751 ac_check_lib_save_LIBS=$LIBS
22753 if test x$gcc_no_link = xyes; then
22754 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22757 /* end confdefs.h. */
22759 /* Override any GCC internal prototype to avoid an error.
22760 Use char because int might match the return type of a GCC
22761 builtin and then its argument prototype would still apply. */
22774 if ac_fn_c_try_link "$LINENO"; then :
22775 ac_cv_lib_m_erfcf=yes
22777 ac_cv_lib_m_erfcf=no
22779 rm -f core conftest.err conftest.$ac_objext \
22780 conftest$ac_exeext conftest.$ac_ext
22781 LIBS=$ac_check_lib_save_LIBS
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22784 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22785 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22787 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22792 $as_echo_n "checking for erfc in -lm... " >&6; }
22793 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22794 $as_echo_n "(cached) " >&6
22796 ac_check_lib_save_LIBS=$LIBS
22798 if test x$gcc_no_link = xyes; then
22799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22802 /* end confdefs.h. */
22804 /* Override any GCC internal prototype to avoid an error.
22805 Use char because int might match the return type of a GCC
22806 builtin and then its argument prototype would still apply. */
22819 if ac_fn_c_try_link "$LINENO"; then :
22820 ac_cv_lib_m_erfc=yes
22822 ac_cv_lib_m_erfc=no
22824 rm -f core conftest.err conftest.$ac_objext \
22825 conftest$ac_exeext conftest.$ac_ext
22826 LIBS=$ac_check_lib_save_LIBS
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22829 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22830 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22832 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22837 $as_echo_n "checking for erfcl in -lm... " >&6; }
22838 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22839 $as_echo_n "(cached) " >&6
22841 ac_check_lib_save_LIBS=$LIBS
22843 if test x$gcc_no_link = xyes; then
22844 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22847 /* end confdefs.h. */
22849 /* Override any GCC internal prototype to avoid an error.
22850 Use char because int might match the return type of a GCC
22851 builtin and then its argument prototype would still apply. */
22864 if ac_fn_c_try_link "$LINENO"; then :
22865 ac_cv_lib_m_erfcl=yes
22867 ac_cv_lib_m_erfcl=no
22869 rm -f core conftest.err conftest.$ac_objext \
22870 conftest$ac_exeext conftest.$ac_ext
22871 LIBS=$ac_check_lib_save_LIBS
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22874 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22875 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22877 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22882 $as_echo_n "checking for j0f in -lm... " >&6; }
22883 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22884 $as_echo_n "(cached) " >&6
22886 ac_check_lib_save_LIBS=$LIBS
22888 if test x$gcc_no_link = xyes; then
22889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22892 /* end confdefs.h. */
22894 /* Override any GCC internal prototype to avoid an error.
22895 Use char because int might match the return type of a GCC
22896 builtin and then its argument prototype would still apply. */
22909 if ac_fn_c_try_link "$LINENO"; then :
22910 ac_cv_lib_m_j0f=yes
22914 rm -f core conftest.err conftest.$ac_objext \
22915 conftest$ac_exeext conftest.$ac_ext
22916 LIBS=$ac_check_lib_save_LIBS
22918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22919 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22920 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22922 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22927 $as_echo_n "checking for j0 in -lm... " >&6; }
22928 if test "${ac_cv_lib_m_j0+set}" = set; then :
22929 $as_echo_n "(cached) " >&6
22931 ac_check_lib_save_LIBS=$LIBS
22933 if test x$gcc_no_link = xyes; then
22934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22937 /* end confdefs.h. */
22939 /* Override any GCC internal prototype to avoid an error.
22940 Use char because int might match the return type of a GCC
22941 builtin and then its argument prototype would still apply. */
22954 if ac_fn_c_try_link "$LINENO"; then :
22959 rm -f core conftest.err conftest.$ac_objext \
22960 conftest$ac_exeext conftest.$ac_ext
22961 LIBS=$ac_check_lib_save_LIBS
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22964 $as_echo "$ac_cv_lib_m_j0" >&6; }
22965 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22967 $as_echo "#define HAVE_J0 1" >>confdefs.h
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22972 $as_echo_n "checking for j0l in -lm... " >&6; }
22973 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22974 $as_echo_n "(cached) " >&6
22976 ac_check_lib_save_LIBS=$LIBS
22978 if test x$gcc_no_link = xyes; then
22979 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h. */
22984 /* Override any GCC internal prototype to avoid an error.
22985 Use char because int might match the return type of a GCC
22986 builtin and then its argument prototype would still apply. */
22999 if ac_fn_c_try_link "$LINENO"; then :
23000 ac_cv_lib_m_j0l=yes
23004 rm -f core conftest.err conftest.$ac_objext \
23005 conftest$ac_exeext conftest.$ac_ext
23006 LIBS=$ac_check_lib_save_LIBS
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
23009 $as_echo "$ac_cv_lib_m_j0l" >&6; }
23010 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
23012 $as_echo "#define HAVE_J0L 1" >>confdefs.h
23016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
23017 $as_echo_n "checking for j1f in -lm... " >&6; }
23018 if test "${ac_cv_lib_m_j1f+set}" = set; then :
23019 $as_echo_n "(cached) " >&6
23021 ac_check_lib_save_LIBS=$LIBS
23023 if test x$gcc_no_link = xyes; then
23024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23027 /* end confdefs.h. */
23029 /* Override any GCC internal prototype to avoid an error.
23030 Use char because int might match the return type of a GCC
23031 builtin and then its argument prototype would still apply. */
23044 if ac_fn_c_try_link "$LINENO"; then :
23045 ac_cv_lib_m_j1f=yes
23049 rm -f core conftest.err conftest.$ac_objext \
23050 conftest$ac_exeext conftest.$ac_ext
23051 LIBS=$ac_check_lib_save_LIBS
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
23054 $as_echo "$ac_cv_lib_m_j1f" >&6; }
23055 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
23057 $as_echo "#define HAVE_J1F 1" >>confdefs.h
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
23062 $as_echo_n "checking for j1 in -lm... " >&6; }
23063 if test "${ac_cv_lib_m_j1+set}" = set; then :
23064 $as_echo_n "(cached) " >&6
23066 ac_check_lib_save_LIBS=$LIBS
23068 if test x$gcc_no_link = xyes; then
23069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23072 /* end confdefs.h. */
23074 /* Override any GCC internal prototype to avoid an error.
23075 Use char because int might match the return type of a GCC
23076 builtin and then its argument prototype would still apply. */
23089 if ac_fn_c_try_link "$LINENO"; then :
23094 rm -f core conftest.err conftest.$ac_objext \
23095 conftest$ac_exeext conftest.$ac_ext
23096 LIBS=$ac_check_lib_save_LIBS
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
23099 $as_echo "$ac_cv_lib_m_j1" >&6; }
23100 if test "x$ac_cv_lib_m_j1" = x""yes; then :
23102 $as_echo "#define HAVE_J1 1" >>confdefs.h
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
23107 $as_echo_n "checking for j1l in -lm... " >&6; }
23108 if test "${ac_cv_lib_m_j1l+set}" = set; then :
23109 $as_echo_n "(cached) " >&6
23111 ac_check_lib_save_LIBS=$LIBS
23113 if test x$gcc_no_link = xyes; then
23114 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23117 /* end confdefs.h. */
23119 /* Override any GCC internal prototype to avoid an error.
23120 Use char because int might match the return type of a GCC
23121 builtin and then its argument prototype would still apply. */
23134 if ac_fn_c_try_link "$LINENO"; then :
23135 ac_cv_lib_m_j1l=yes
23139 rm -f core conftest.err conftest.$ac_objext \
23140 conftest$ac_exeext conftest.$ac_ext
23141 LIBS=$ac_check_lib_save_LIBS
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
23144 $as_echo "$ac_cv_lib_m_j1l" >&6; }
23145 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
23147 $as_echo "#define HAVE_J1L 1" >>confdefs.h
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
23152 $as_echo_n "checking for jnf in -lm... " >&6; }
23153 if test "${ac_cv_lib_m_jnf+set}" = set; then :
23154 $as_echo_n "(cached) " >&6
23156 ac_check_lib_save_LIBS=$LIBS
23158 if test x$gcc_no_link = xyes; then
23159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23162 /* end confdefs.h. */
23164 /* Override any GCC internal prototype to avoid an error.
23165 Use char because int might match the return type of a GCC
23166 builtin and then its argument prototype would still apply. */
23179 if ac_fn_c_try_link "$LINENO"; then :
23180 ac_cv_lib_m_jnf=yes
23184 rm -f core conftest.err conftest.$ac_objext \
23185 conftest$ac_exeext conftest.$ac_ext
23186 LIBS=$ac_check_lib_save_LIBS
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
23189 $as_echo "$ac_cv_lib_m_jnf" >&6; }
23190 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
23192 $as_echo "#define HAVE_JNF 1" >>confdefs.h
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
23197 $as_echo_n "checking for jn in -lm... " >&6; }
23198 if test "${ac_cv_lib_m_jn+set}" = set; then :
23199 $as_echo_n "(cached) " >&6
23201 ac_check_lib_save_LIBS=$LIBS
23203 if test x$gcc_no_link = xyes; then
23204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23207 /* end confdefs.h. */
23209 /* Override any GCC internal prototype to avoid an error.
23210 Use char because int might match the return type of a GCC
23211 builtin and then its argument prototype would still apply. */
23224 if ac_fn_c_try_link "$LINENO"; then :
23229 rm -f core conftest.err conftest.$ac_objext \
23230 conftest$ac_exeext conftest.$ac_ext
23231 LIBS=$ac_check_lib_save_LIBS
23233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
23234 $as_echo "$ac_cv_lib_m_jn" >&6; }
23235 if test "x$ac_cv_lib_m_jn" = x""yes; then :
23237 $as_echo "#define HAVE_JN 1" >>confdefs.h
23241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
23242 $as_echo_n "checking for jnl in -lm... " >&6; }
23243 if test "${ac_cv_lib_m_jnl+set}" = set; then :
23244 $as_echo_n "(cached) " >&6
23246 ac_check_lib_save_LIBS=$LIBS
23248 if test x$gcc_no_link = xyes; then
23249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23252 /* end confdefs.h. */
23254 /* Override any GCC internal prototype to avoid an error.
23255 Use char because int might match the return type of a GCC
23256 builtin and then its argument prototype would still apply. */
23269 if ac_fn_c_try_link "$LINENO"; then :
23270 ac_cv_lib_m_jnl=yes
23274 rm -f core conftest.err conftest.$ac_objext \
23275 conftest$ac_exeext conftest.$ac_ext
23276 LIBS=$ac_check_lib_save_LIBS
23278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
23279 $as_echo "$ac_cv_lib_m_jnl" >&6; }
23280 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
23282 $as_echo "#define HAVE_JNL 1" >>confdefs.h
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
23287 $as_echo_n "checking for y0f in -lm... " >&6; }
23288 if test "${ac_cv_lib_m_y0f+set}" = set; then :
23289 $as_echo_n "(cached) " >&6
23291 ac_check_lib_save_LIBS=$LIBS
23293 if test x$gcc_no_link = xyes; then
23294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23297 /* end confdefs.h. */
23299 /* Override any GCC internal prototype to avoid an error.
23300 Use char because int might match the return type of a GCC
23301 builtin and then its argument prototype would still apply. */
23314 if ac_fn_c_try_link "$LINENO"; then :
23315 ac_cv_lib_m_y0f=yes
23319 rm -f core conftest.err conftest.$ac_objext \
23320 conftest$ac_exeext conftest.$ac_ext
23321 LIBS=$ac_check_lib_save_LIBS
23323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
23324 $as_echo "$ac_cv_lib_m_y0f" >&6; }
23325 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
23327 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
23331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
23332 $as_echo_n "checking for y0 in -lm... " >&6; }
23333 if test "${ac_cv_lib_m_y0+set}" = set; then :
23334 $as_echo_n "(cached) " >&6
23336 ac_check_lib_save_LIBS=$LIBS
23338 if test x$gcc_no_link = xyes; then
23339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23342 /* end confdefs.h. */
23344 /* Override any GCC internal prototype to avoid an error.
23345 Use char because int might match the return type of a GCC
23346 builtin and then its argument prototype would still apply. */
23359 if ac_fn_c_try_link "$LINENO"; then :
23364 rm -f core conftest.err conftest.$ac_objext \
23365 conftest$ac_exeext conftest.$ac_ext
23366 LIBS=$ac_check_lib_save_LIBS
23368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
23369 $as_echo "$ac_cv_lib_m_y0" >&6; }
23370 if test "x$ac_cv_lib_m_y0" = x""yes; then :
23372 $as_echo "#define HAVE_Y0 1" >>confdefs.h
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
23377 $as_echo_n "checking for y0l in -lm... " >&6; }
23378 if test "${ac_cv_lib_m_y0l+set}" = set; then :
23379 $as_echo_n "(cached) " >&6
23381 ac_check_lib_save_LIBS=$LIBS
23383 if test x$gcc_no_link = xyes; then
23384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23387 /* end confdefs.h. */
23389 /* Override any GCC internal prototype to avoid an error.
23390 Use char because int might match the return type of a GCC
23391 builtin and then its argument prototype would still apply. */
23404 if ac_fn_c_try_link "$LINENO"; then :
23405 ac_cv_lib_m_y0l=yes
23409 rm -f core conftest.err conftest.$ac_objext \
23410 conftest$ac_exeext conftest.$ac_ext
23411 LIBS=$ac_check_lib_save_LIBS
23413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
23414 $as_echo "$ac_cv_lib_m_y0l" >&6; }
23415 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
23417 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
23421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
23422 $as_echo_n "checking for y1f in -lm... " >&6; }
23423 if test "${ac_cv_lib_m_y1f+set}" = set; then :
23424 $as_echo_n "(cached) " >&6
23426 ac_check_lib_save_LIBS=$LIBS
23428 if test x$gcc_no_link = xyes; then
23429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23432 /* end confdefs.h. */
23434 /* Override any GCC internal prototype to avoid an error.
23435 Use char because int might match the return type of a GCC
23436 builtin and then its argument prototype would still apply. */
23449 if ac_fn_c_try_link "$LINENO"; then :
23450 ac_cv_lib_m_y1f=yes
23454 rm -f core conftest.err conftest.$ac_objext \
23455 conftest$ac_exeext conftest.$ac_ext
23456 LIBS=$ac_check_lib_save_LIBS
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
23459 $as_echo "$ac_cv_lib_m_y1f" >&6; }
23460 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
23462 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
23466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
23467 $as_echo_n "checking for y1 in -lm... " >&6; }
23468 if test "${ac_cv_lib_m_y1+set}" = set; then :
23469 $as_echo_n "(cached) " >&6
23471 ac_check_lib_save_LIBS=$LIBS
23473 if test x$gcc_no_link = xyes; then
23474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23477 /* end confdefs.h. */
23479 /* Override any GCC internal prototype to avoid an error.
23480 Use char because int might match the return type of a GCC
23481 builtin and then its argument prototype would still apply. */
23494 if ac_fn_c_try_link "$LINENO"; then :
23499 rm -f core conftest.err conftest.$ac_objext \
23500 conftest$ac_exeext conftest.$ac_ext
23501 LIBS=$ac_check_lib_save_LIBS
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
23504 $as_echo "$ac_cv_lib_m_y1" >&6; }
23505 if test "x$ac_cv_lib_m_y1" = x""yes; then :
23507 $as_echo "#define HAVE_Y1 1" >>confdefs.h
23511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
23512 $as_echo_n "checking for y1l in -lm... " >&6; }
23513 if test "${ac_cv_lib_m_y1l+set}" = set; then :
23514 $as_echo_n "(cached) " >&6
23516 ac_check_lib_save_LIBS=$LIBS
23518 if test x$gcc_no_link = xyes; then
23519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522 /* end confdefs.h. */
23524 /* Override any GCC internal prototype to avoid an error.
23525 Use char because int might match the return type of a GCC
23526 builtin and then its argument prototype would still apply. */
23539 if ac_fn_c_try_link "$LINENO"; then :
23540 ac_cv_lib_m_y1l=yes
23544 rm -f core conftest.err conftest.$ac_objext \
23545 conftest$ac_exeext conftest.$ac_ext
23546 LIBS=$ac_check_lib_save_LIBS
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
23549 $as_echo "$ac_cv_lib_m_y1l" >&6; }
23550 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
23552 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
23556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
23557 $as_echo_n "checking for ynf in -lm... " >&6; }
23558 if test "${ac_cv_lib_m_ynf+set}" = set; then :
23559 $as_echo_n "(cached) " >&6
23561 ac_check_lib_save_LIBS=$LIBS
23563 if test x$gcc_no_link = xyes; then
23564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23567 /* end confdefs.h. */
23569 /* Override any GCC internal prototype to avoid an error.
23570 Use char because int might match the return type of a GCC
23571 builtin and then its argument prototype would still apply. */
23584 if ac_fn_c_try_link "$LINENO"; then :
23585 ac_cv_lib_m_ynf=yes
23589 rm -f core conftest.err conftest.$ac_objext \
23590 conftest$ac_exeext conftest.$ac_ext
23591 LIBS=$ac_check_lib_save_LIBS
23593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
23594 $as_echo "$ac_cv_lib_m_ynf" >&6; }
23595 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
23597 $as_echo "#define HAVE_YNF 1" >>confdefs.h
23601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
23602 $as_echo_n "checking for yn in -lm... " >&6; }
23603 if test "${ac_cv_lib_m_yn+set}" = set; then :
23604 $as_echo_n "(cached) " >&6
23606 ac_check_lib_save_LIBS=$LIBS
23608 if test x$gcc_no_link = xyes; then
23609 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23612 /* end confdefs.h. */
23614 /* Override any GCC internal prototype to avoid an error.
23615 Use char because int might match the return type of a GCC
23616 builtin and then its argument prototype would still apply. */
23629 if ac_fn_c_try_link "$LINENO"; then :
23634 rm -f core conftest.err conftest.$ac_objext \
23635 conftest$ac_exeext conftest.$ac_ext
23636 LIBS=$ac_check_lib_save_LIBS
23638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
23639 $as_echo "$ac_cv_lib_m_yn" >&6; }
23640 if test "x$ac_cv_lib_m_yn" = x""yes; then :
23642 $as_echo "#define HAVE_YN 1" >>confdefs.h
23646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23647 $as_echo_n "checking for ynl in -lm... " >&6; }
23648 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23649 $as_echo_n "(cached) " >&6
23651 ac_check_lib_save_LIBS=$LIBS
23653 if test x$gcc_no_link = xyes; then
23654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h. */
23659 /* Override any GCC internal prototype to avoid an error.
23660 Use char because int might match the return type of a GCC
23661 builtin and then its argument prototype would still apply. */
23674 if ac_fn_c_try_link "$LINENO"; then :
23675 ac_cv_lib_m_ynl=yes
23679 rm -f core conftest.err conftest.$ac_objext \
23680 conftest$ac_exeext conftest.$ac_ext
23681 LIBS=$ac_check_lib_save_LIBS
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23684 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23685 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23687 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23692 $as_echo_n "checking for tgamma in -lm... " >&6; }
23693 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23694 $as_echo_n "(cached) " >&6
23696 ac_check_lib_save_LIBS=$LIBS
23698 if test x$gcc_no_link = xyes; then
23699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23702 /* end confdefs.h. */
23704 /* Override any GCC internal prototype to avoid an error.
23705 Use char because int might match the return type of a GCC
23706 builtin and then its argument prototype would still apply. */
23719 if ac_fn_c_try_link "$LINENO"; then :
23720 ac_cv_lib_m_tgamma=yes
23722 ac_cv_lib_m_tgamma=no
23724 rm -f core conftest.err conftest.$ac_objext \
23725 conftest$ac_exeext conftest.$ac_ext
23726 LIBS=$ac_check_lib_save_LIBS
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23729 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23730 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23732 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23737 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23738 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23739 $as_echo_n "(cached) " >&6
23741 ac_check_lib_save_LIBS=$LIBS
23743 if test x$gcc_no_link = xyes; then
23744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23747 /* end confdefs.h. */
23749 /* Override any GCC internal prototype to avoid an error.
23750 Use char because int might match the return type of a GCC
23751 builtin and then its argument prototype would still apply. */
23764 if ac_fn_c_try_link "$LINENO"; then :
23765 ac_cv_lib_m_tgammaf=yes
23767 ac_cv_lib_m_tgammaf=no
23769 rm -f core conftest.err conftest.$ac_objext \
23770 conftest$ac_exeext conftest.$ac_ext
23771 LIBS=$ac_check_lib_save_LIBS
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23774 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23775 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23777 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23782 $as_echo_n "checking for tgammal in -lm... " >&6; }
23783 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23784 $as_echo_n "(cached) " >&6
23786 ac_check_lib_save_LIBS=$LIBS
23788 if test x$gcc_no_link = xyes; then
23789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23792 /* end confdefs.h. */
23794 /* Override any GCC internal prototype to avoid an error.
23795 Use char because int might match the return type of a GCC
23796 builtin and then its argument prototype would still apply. */
23809 if ac_fn_c_try_link "$LINENO"; then :
23810 ac_cv_lib_m_tgammal=yes
23812 ac_cv_lib_m_tgammal=no
23814 rm -f core conftest.err conftest.$ac_objext \
23815 conftest$ac_exeext conftest.$ac_ext
23816 LIBS=$ac_check_lib_save_LIBS
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23819 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23820 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23822 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23827 $as_echo_n "checking for lgamma in -lm... " >&6; }
23828 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23829 $as_echo_n "(cached) " >&6
23831 ac_check_lib_save_LIBS=$LIBS
23833 if test x$gcc_no_link = xyes; then
23834 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23837 /* end confdefs.h. */
23839 /* Override any GCC internal prototype to avoid an error.
23840 Use char because int might match the return type of a GCC
23841 builtin and then its argument prototype would still apply. */
23854 if ac_fn_c_try_link "$LINENO"; then :
23855 ac_cv_lib_m_lgamma=yes
23857 ac_cv_lib_m_lgamma=no
23859 rm -f core conftest.err conftest.$ac_objext \
23860 conftest$ac_exeext conftest.$ac_ext
23861 LIBS=$ac_check_lib_save_LIBS
23863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23864 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23865 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23867 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23872 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23873 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23874 $as_echo_n "(cached) " >&6
23876 ac_check_lib_save_LIBS=$LIBS
23878 if test x$gcc_no_link = xyes; then
23879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23882 /* end confdefs.h. */
23884 /* Override any GCC internal prototype to avoid an error.
23885 Use char because int might match the return type of a GCC
23886 builtin and then its argument prototype would still apply. */
23899 if ac_fn_c_try_link "$LINENO"; then :
23900 ac_cv_lib_m_lgammaf=yes
23902 ac_cv_lib_m_lgammaf=no
23904 rm -f core conftest.err conftest.$ac_objext \
23905 conftest$ac_exeext conftest.$ac_ext
23906 LIBS=$ac_check_lib_save_LIBS
23908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23909 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23910 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23912 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23917 $as_echo_n "checking for lgammal in -lm... " >&6; }
23918 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23919 $as_echo_n "(cached) " >&6
23921 ac_check_lib_save_LIBS=$LIBS
23923 if test x$gcc_no_link = xyes; then
23924 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23927 /* end confdefs.h. */
23929 /* Override any GCC internal prototype to avoid an error.
23930 Use char because int might match the return type of a GCC
23931 builtin and then its argument prototype would still apply. */
23944 if ac_fn_c_try_link "$LINENO"; then :
23945 ac_cv_lib_m_lgammal=yes
23947 ac_cv_lib_m_lgammal=no
23949 rm -f core conftest.err conftest.$ac_objext \
23950 conftest$ac_exeext conftest.$ac_ext
23951 LIBS=$ac_check_lib_save_LIBS
23953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23954 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23955 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23957 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23962 # Check for GFORTRAN_C99_1.1 funcs
23963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23964 $as_echo_n "checking for cacos in -lm... " >&6; }
23965 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23966 $as_echo_n "(cached) " >&6
23968 ac_check_lib_save_LIBS=$LIBS
23970 if test x$gcc_no_link = xyes; then
23971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23974 /* end confdefs.h. */
23976 /* Override any GCC internal prototype to avoid an error.
23977 Use char because int might match the return type of a GCC
23978 builtin and then its argument prototype would still apply. */
23991 if ac_fn_c_try_link "$LINENO"; then :
23992 ac_cv_lib_m_cacos=yes
23994 ac_cv_lib_m_cacos=no
23996 rm -f core conftest.err conftest.$ac_objext \
23997 conftest$ac_exeext conftest.$ac_ext
23998 LIBS=$ac_check_lib_save_LIBS
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
24001 $as_echo "$ac_cv_lib_m_cacos" >&6; }
24002 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
24004 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
24009 $as_echo_n "checking for cacosf in -lm... " >&6; }
24010 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
24011 $as_echo_n "(cached) " >&6
24013 ac_check_lib_save_LIBS=$LIBS
24015 if test x$gcc_no_link = xyes; then
24016 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24019 /* end confdefs.h. */
24021 /* Override any GCC internal prototype to avoid an error.
24022 Use char because int might match the return type of a GCC
24023 builtin and then its argument prototype would still apply. */
24036 if ac_fn_c_try_link "$LINENO"; then :
24037 ac_cv_lib_m_cacosf=yes
24039 ac_cv_lib_m_cacosf=no
24041 rm -f core conftest.err conftest.$ac_objext \
24042 conftest$ac_exeext conftest.$ac_ext
24043 LIBS=$ac_check_lib_save_LIBS
24045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
24046 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
24047 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
24049 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
24054 $as_echo_n "checking for cacosh in -lm... " >&6; }
24055 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
24056 $as_echo_n "(cached) " >&6
24058 ac_check_lib_save_LIBS=$LIBS
24060 if test x$gcc_no_link = xyes; then
24061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24064 /* end confdefs.h. */
24066 /* Override any GCC internal prototype to avoid an error.
24067 Use char because int might match the return type of a GCC
24068 builtin and then its argument prototype would still apply. */
24081 if ac_fn_c_try_link "$LINENO"; then :
24082 ac_cv_lib_m_cacosh=yes
24084 ac_cv_lib_m_cacosh=no
24086 rm -f core conftest.err conftest.$ac_objext \
24087 conftest$ac_exeext conftest.$ac_ext
24088 LIBS=$ac_check_lib_save_LIBS
24090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
24091 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
24092 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
24094 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
24099 $as_echo_n "checking for cacoshf in -lm... " >&6; }
24100 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
24101 $as_echo_n "(cached) " >&6
24103 ac_check_lib_save_LIBS=$LIBS
24105 if test x$gcc_no_link = xyes; then
24106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24109 /* end confdefs.h. */
24111 /* Override any GCC internal prototype to avoid an error.
24112 Use char because int might match the return type of a GCC
24113 builtin and then its argument prototype would still apply. */
24126 if ac_fn_c_try_link "$LINENO"; then :
24127 ac_cv_lib_m_cacoshf=yes
24129 ac_cv_lib_m_cacoshf=no
24131 rm -f core conftest.err conftest.$ac_objext \
24132 conftest$ac_exeext conftest.$ac_ext
24133 LIBS=$ac_check_lib_save_LIBS
24135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
24136 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
24137 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
24139 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
24144 $as_echo_n "checking for cacoshl in -lm... " >&6; }
24145 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
24146 $as_echo_n "(cached) " >&6
24148 ac_check_lib_save_LIBS=$LIBS
24150 if test x$gcc_no_link = xyes; then
24151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24154 /* end confdefs.h. */
24156 /* Override any GCC internal prototype to avoid an error.
24157 Use char because int might match the return type of a GCC
24158 builtin and then its argument prototype would still apply. */
24171 if ac_fn_c_try_link "$LINENO"; then :
24172 ac_cv_lib_m_cacoshl=yes
24174 ac_cv_lib_m_cacoshl=no
24176 rm -f core conftest.err conftest.$ac_objext \
24177 conftest$ac_exeext conftest.$ac_ext
24178 LIBS=$ac_check_lib_save_LIBS
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
24181 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
24182 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
24184 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
24188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
24189 $as_echo_n "checking for cacosl in -lm... " >&6; }
24190 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
24191 $as_echo_n "(cached) " >&6
24193 ac_check_lib_save_LIBS=$LIBS
24195 if test x$gcc_no_link = xyes; then
24196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24199 /* end confdefs.h. */
24201 /* Override any GCC internal prototype to avoid an error.
24202 Use char because int might match the return type of a GCC
24203 builtin and then its argument prototype would still apply. */
24216 if ac_fn_c_try_link "$LINENO"; then :
24217 ac_cv_lib_m_cacosl=yes
24219 ac_cv_lib_m_cacosl=no
24221 rm -f core conftest.err conftest.$ac_objext \
24222 conftest$ac_exeext conftest.$ac_ext
24223 LIBS=$ac_check_lib_save_LIBS
24225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
24226 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
24227 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
24229 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
24233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
24234 $as_echo_n "checking for casin in -lm... " >&6; }
24235 if test "${ac_cv_lib_m_casin+set}" = set; then :
24236 $as_echo_n "(cached) " >&6
24238 ac_check_lib_save_LIBS=$LIBS
24240 if test x$gcc_no_link = xyes; then
24241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24244 /* end confdefs.h. */
24246 /* Override any GCC internal prototype to avoid an error.
24247 Use char because int might match the return type of a GCC
24248 builtin and then its argument prototype would still apply. */
24261 if ac_fn_c_try_link "$LINENO"; then :
24262 ac_cv_lib_m_casin=yes
24264 ac_cv_lib_m_casin=no
24266 rm -f core conftest.err conftest.$ac_objext \
24267 conftest$ac_exeext conftest.$ac_ext
24268 LIBS=$ac_check_lib_save_LIBS
24270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
24271 $as_echo "$ac_cv_lib_m_casin" >&6; }
24272 if test "x$ac_cv_lib_m_casin" = x""yes; then :
24274 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
24278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
24279 $as_echo_n "checking for casinf in -lm... " >&6; }
24280 if test "${ac_cv_lib_m_casinf+set}" = set; then :
24281 $as_echo_n "(cached) " >&6
24283 ac_check_lib_save_LIBS=$LIBS
24285 if test x$gcc_no_link = xyes; then
24286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24289 /* end confdefs.h. */
24291 /* Override any GCC internal prototype to avoid an error.
24292 Use char because int might match the return type of a GCC
24293 builtin and then its argument prototype would still apply. */
24306 if ac_fn_c_try_link "$LINENO"; then :
24307 ac_cv_lib_m_casinf=yes
24309 ac_cv_lib_m_casinf=no
24311 rm -f core conftest.err conftest.$ac_objext \
24312 conftest$ac_exeext conftest.$ac_ext
24313 LIBS=$ac_check_lib_save_LIBS
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
24316 $as_echo "$ac_cv_lib_m_casinf" >&6; }
24317 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
24319 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
24323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
24324 $as_echo_n "checking for casinh in -lm... " >&6; }
24325 if test "${ac_cv_lib_m_casinh+set}" = set; then :
24326 $as_echo_n "(cached) " >&6
24328 ac_check_lib_save_LIBS=$LIBS
24330 if test x$gcc_no_link = xyes; then
24331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24334 /* end confdefs.h. */
24336 /* Override any GCC internal prototype to avoid an error.
24337 Use char because int might match the return type of a GCC
24338 builtin and then its argument prototype would still apply. */
24351 if ac_fn_c_try_link "$LINENO"; then :
24352 ac_cv_lib_m_casinh=yes
24354 ac_cv_lib_m_casinh=no
24356 rm -f core conftest.err conftest.$ac_objext \
24357 conftest$ac_exeext conftest.$ac_ext
24358 LIBS=$ac_check_lib_save_LIBS
24360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
24361 $as_echo "$ac_cv_lib_m_casinh" >&6; }
24362 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
24364 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
24369 $as_echo_n "checking for casinhf in -lm... " >&6; }
24370 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
24371 $as_echo_n "(cached) " >&6
24373 ac_check_lib_save_LIBS=$LIBS
24375 if test x$gcc_no_link = xyes; then
24376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24379 /* end confdefs.h. */
24381 /* Override any GCC internal prototype to avoid an error.
24382 Use char because int might match the return type of a GCC
24383 builtin and then its argument prototype would still apply. */
24396 if ac_fn_c_try_link "$LINENO"; then :
24397 ac_cv_lib_m_casinhf=yes
24399 ac_cv_lib_m_casinhf=no
24401 rm -f core conftest.err conftest.$ac_objext \
24402 conftest$ac_exeext conftest.$ac_ext
24403 LIBS=$ac_check_lib_save_LIBS
24405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
24406 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
24407 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
24409 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
24414 $as_echo_n "checking for casinhl in -lm... " >&6; }
24415 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
24416 $as_echo_n "(cached) " >&6
24418 ac_check_lib_save_LIBS=$LIBS
24420 if test x$gcc_no_link = xyes; then
24421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24424 /* end confdefs.h. */
24426 /* Override any GCC internal prototype to avoid an error.
24427 Use char because int might match the return type of a GCC
24428 builtin and then its argument prototype would still apply. */
24441 if ac_fn_c_try_link "$LINENO"; then :
24442 ac_cv_lib_m_casinhl=yes
24444 ac_cv_lib_m_casinhl=no
24446 rm -f core conftest.err conftest.$ac_objext \
24447 conftest$ac_exeext conftest.$ac_ext
24448 LIBS=$ac_check_lib_save_LIBS
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
24451 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
24452 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
24454 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
24459 $as_echo_n "checking for casinl in -lm... " >&6; }
24460 if test "${ac_cv_lib_m_casinl+set}" = set; then :
24461 $as_echo_n "(cached) " >&6
24463 ac_check_lib_save_LIBS=$LIBS
24465 if test x$gcc_no_link = xyes; then
24466 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24469 /* end confdefs.h. */
24471 /* Override any GCC internal prototype to avoid an error.
24472 Use char because int might match the return type of a GCC
24473 builtin and then its argument prototype would still apply. */
24486 if ac_fn_c_try_link "$LINENO"; then :
24487 ac_cv_lib_m_casinl=yes
24489 ac_cv_lib_m_casinl=no
24491 rm -f core conftest.err conftest.$ac_objext \
24492 conftest$ac_exeext conftest.$ac_ext
24493 LIBS=$ac_check_lib_save_LIBS
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
24496 $as_echo "$ac_cv_lib_m_casinl" >&6; }
24497 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
24499 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
24504 $as_echo_n "checking for catan in -lm... " >&6; }
24505 if test "${ac_cv_lib_m_catan+set}" = set; then :
24506 $as_echo_n "(cached) " >&6
24508 ac_check_lib_save_LIBS=$LIBS
24510 if test x$gcc_no_link = xyes; then
24511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24514 /* end confdefs.h. */
24516 /* Override any GCC internal prototype to avoid an error.
24517 Use char because int might match the return type of a GCC
24518 builtin and then its argument prototype would still apply. */
24531 if ac_fn_c_try_link "$LINENO"; then :
24532 ac_cv_lib_m_catan=yes
24534 ac_cv_lib_m_catan=no
24536 rm -f core conftest.err conftest.$ac_objext \
24537 conftest$ac_exeext conftest.$ac_ext
24538 LIBS=$ac_check_lib_save_LIBS
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
24541 $as_echo "$ac_cv_lib_m_catan" >&6; }
24542 if test "x$ac_cv_lib_m_catan" = x""yes; then :
24544 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
24548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
24549 $as_echo_n "checking for catanf in -lm... " >&6; }
24550 if test "${ac_cv_lib_m_catanf+set}" = set; then :
24551 $as_echo_n "(cached) " >&6
24553 ac_check_lib_save_LIBS=$LIBS
24555 if test x$gcc_no_link = xyes; then
24556 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24559 /* end confdefs.h. */
24561 /* Override any GCC internal prototype to avoid an error.
24562 Use char because int might match the return type of a GCC
24563 builtin and then its argument prototype would still apply. */
24576 if ac_fn_c_try_link "$LINENO"; then :
24577 ac_cv_lib_m_catanf=yes
24579 ac_cv_lib_m_catanf=no
24581 rm -f core conftest.err conftest.$ac_objext \
24582 conftest$ac_exeext conftest.$ac_ext
24583 LIBS=$ac_check_lib_save_LIBS
24585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
24586 $as_echo "$ac_cv_lib_m_catanf" >&6; }
24587 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
24589 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
24593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
24594 $as_echo_n "checking for catanh in -lm... " >&6; }
24595 if test "${ac_cv_lib_m_catanh+set}" = set; then :
24596 $as_echo_n "(cached) " >&6
24598 ac_check_lib_save_LIBS=$LIBS
24600 if test x$gcc_no_link = xyes; then
24601 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24604 /* end confdefs.h. */
24606 /* Override any GCC internal prototype to avoid an error.
24607 Use char because int might match the return type of a GCC
24608 builtin and then its argument prototype would still apply. */
24621 if ac_fn_c_try_link "$LINENO"; then :
24622 ac_cv_lib_m_catanh=yes
24624 ac_cv_lib_m_catanh=no
24626 rm -f core conftest.err conftest.$ac_objext \
24627 conftest$ac_exeext conftest.$ac_ext
24628 LIBS=$ac_check_lib_save_LIBS
24630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
24631 $as_echo "$ac_cv_lib_m_catanh" >&6; }
24632 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
24634 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
24639 $as_echo_n "checking for catanhf in -lm... " >&6; }
24640 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
24641 $as_echo_n "(cached) " >&6
24643 ac_check_lib_save_LIBS=$LIBS
24645 if test x$gcc_no_link = xyes; then
24646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24649 /* end confdefs.h. */
24651 /* Override any GCC internal prototype to avoid an error.
24652 Use char because int might match the return type of a GCC
24653 builtin and then its argument prototype would still apply. */
24666 if ac_fn_c_try_link "$LINENO"; then :
24667 ac_cv_lib_m_catanhf=yes
24669 ac_cv_lib_m_catanhf=no
24671 rm -f core conftest.err conftest.$ac_objext \
24672 conftest$ac_exeext conftest.$ac_ext
24673 LIBS=$ac_check_lib_save_LIBS
24675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24676 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24677 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24679 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24684 $as_echo_n "checking for catanhl in -lm... " >&6; }
24685 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24686 $as_echo_n "(cached) " >&6
24688 ac_check_lib_save_LIBS=$LIBS
24690 if test x$gcc_no_link = xyes; then
24691 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24694 /* end confdefs.h. */
24696 /* Override any GCC internal prototype to avoid an error.
24697 Use char because int might match the return type of a GCC
24698 builtin and then its argument prototype would still apply. */
24711 if ac_fn_c_try_link "$LINENO"; then :
24712 ac_cv_lib_m_catanhl=yes
24714 ac_cv_lib_m_catanhl=no
24716 rm -f core conftest.err conftest.$ac_objext \
24717 conftest$ac_exeext conftest.$ac_ext
24718 LIBS=$ac_check_lib_save_LIBS
24720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24721 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24722 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24724 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24729 $as_echo_n "checking for catanl in -lm... " >&6; }
24730 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24731 $as_echo_n "(cached) " >&6
24733 ac_check_lib_save_LIBS=$LIBS
24735 if test x$gcc_no_link = xyes; then
24736 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24739 /* end confdefs.h. */
24741 /* Override any GCC internal prototype to avoid an error.
24742 Use char because int might match the return type of a GCC
24743 builtin and then its argument prototype would still apply. */
24756 if ac_fn_c_try_link "$LINENO"; then :
24757 ac_cv_lib_m_catanl=yes
24759 ac_cv_lib_m_catanl=no
24761 rm -f core conftest.err conftest.$ac_objext \
24762 conftest$ac_exeext conftest.$ac_ext
24763 LIBS=$ac_check_lib_save_LIBS
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24766 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24767 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24769 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24774 # On AIX, clog is present in libm as __clog
24775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24776 $as_echo_n "checking for __clog in -lm... " >&6; }
24777 if test "${ac_cv_lib_m___clog+set}" = set; then :
24778 $as_echo_n "(cached) " >&6
24780 ac_check_lib_save_LIBS=$LIBS
24782 if test x$gcc_no_link = xyes; then
24783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24786 /* end confdefs.h. */
24788 /* Override any GCC internal prototype to avoid an error.
24789 Use char because int might match the return type of a GCC
24790 builtin and then its argument prototype would still apply. */
24803 if ac_fn_c_try_link "$LINENO"; then :
24804 ac_cv_lib_m___clog=yes
24806 ac_cv_lib_m___clog=no
24808 rm -f core conftest.err conftest.$ac_objext \
24809 conftest$ac_exeext conftest.$ac_ext
24810 LIBS=$ac_check_lib_save_LIBS
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24813 $as_echo "$ac_cv_lib_m___clog" >&6; }
24814 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24816 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24821 # Check whether the system has a working stat()
24823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24824 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24825 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24826 $as_echo_n "(cached) " >&6
24829 if test "$cross_compiling" = yes; then :
24831 case "${target}" in
24832 *mingw*) libgfor_cv_have_working_stat=no ;;
24833 *) libgfor_cv_have_working_stat=yes;;
24836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24837 /* end confdefs.h. */
24840 #include <sys/types.h>
24841 #include <sys/stat.h>
24842 #include <unistd.h>
24847 struct stat st1, st2;
24849 f = fopen ("foo", "w");
24850 g = fopen ("bar", "w");
24851 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24853 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24860 if ac_fn_c_try_run "$LINENO"; then :
24861 libgfor_cv_have_working_stat=yes
24863 libgfor_cv_have_working_stat=no
24865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24866 conftest.$ac_objext conftest.beam conftest.$ac_ext
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24871 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24872 if test x"$libgfor_cv_have_working_stat" = xyes; then
24874 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24878 # Check whether __mingw_snprintf() is present
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24881 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24882 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24883 $as_echo_n "(cached) " >&6
24886 if test x$gcc_no_link = xyes; then
24887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24890 /* end confdefs.h. */
24893 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24899 __mingw_snprintf (NULL, 0, "%d\n", 1);
24905 if ac_fn_c_try_link "$LINENO"; then :
24906 eval "libgfor_cv_have_mingw_snprintf=yes"
24908 eval "libgfor_cv_have_mingw_snprintf=no"
24910 rm -f core conftest.err conftest.$ac_objext \
24911 conftest$ac_exeext conftest.$ac_ext
24914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24915 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24916 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24918 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24923 # Check for a broken powf implementation
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24926 $as_echo_n "checking whether powf is broken... " >&6; }
24927 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24928 $as_echo_n "(cached) " >&6
24931 case "${target}" in
24932 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24933 *) libgfor_cv_have_broken_powf=no;;
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24937 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24938 if test x"$libgfor_cv_have_broken_powf" = xyes; then
24940 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24945 # Check whether libquadmath should be used
24946 # Check whether --enable-libquadmath-support was given.
24947 if test "${enable_libquadmath_support+set}" = set; then :
24948 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
24950 ENABLE_LIBQUADMATH_SUPPORT=yes
24953 enable_libquadmath_support=
24954 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
24955 enable_libquadmath_support=no
24958 # Check whether we have a __float128 type, depends on enable_libquadmath_support
24962 if test "x$enable_libquadmath_support" != xno; then
24964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
24965 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
24966 if test "${libgfor_cv_have_float128+set}" = set; then :
24967 $as_echo_n "(cached) " >&6
24970 if test x$gcc_no_link = xyes; then
24971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24972 /* end confdefs.h. */
24974 typedef _Complex float __attribute__((mode(TC))) __complex128;
24976 __float128 foo (__float128 x)
24979 __complex128 z1, z2;
24985 return (__float128) z2;
24988 __float128 bar (__float128 x)
24990 return x * __builtin_huge_valq ();
25004 if ac_fn_c_try_compile "$LINENO"; then :
25006 libgfor_cv_have_float128=yes
25010 libgfor_cv_have_float128=no
25013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25015 if test x$gcc_no_link = xyes; then
25016 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25019 /* end confdefs.h. */
25021 typedef _Complex float __attribute__((mode(TC))) __complex128;
25023 __float128 foo (__float128 x)
25026 __complex128 z1, z2;
25032 return (__float128) z2;
25035 __float128 bar (__float128 x)
25037 return x * __builtin_huge_valq ();
25051 if ac_fn_c_try_link "$LINENO"; then :
25053 libgfor_cv_have_float128=yes
25057 libgfor_cv_have_float128=no
25060 rm -f core conftest.err conftest.$ac_objext \
25061 conftest$ac_exeext conftest.$ac_ext
25064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25065 $as_echo "$libgfor_cv_have_float128" >&6; }
25067 if test "x$libgfor_cv_have_float128" = xyes; then
25069 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25072 ac_xsave_c_werror_flag=$ac_c_werror_flag
25073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25074 $as_echo_n "checking whether --as-needed works... " >&6; }
25075 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25076 $as_echo_n "(cached) " >&6
25079 save_LDFLAGS="$LDFLAGS"
25080 LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25081 libgfor_cv_have_as_needed=no
25083 ac_c_werror_flag=yes
25084 if test x$gcc_no_link = xyes; then
25085 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25088 /* end confdefs.h. */
25098 if ac_fn_c_try_link "$LINENO"; then :
25099 libgfor_cv_have_as_needed=yes
25101 libgfor_cv_have_as_needed=no
25103 rm -f core conftest.err conftest.$ac_objext \
25104 conftest$ac_exeext conftest.$ac_ext
25105 LDFLAGS="$save_LDFLAGS"
25106 ac_c_werror_flag=$ac_xsave_c_werror_flag
25109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25110 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25112 if test "x$libgfor_cv_have_as_needed" = xyes; then
25113 LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25115 LIBQUADSPEC="-lquadmath"
25117 if test -f ../libquadmath/libquadmath.la; then
25118 LIBQUADLIB=../libquadmath/libquadmath.la
25119 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25120 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25122 LIBQUADLIB="-lquadmath"
25128 # for --disable-quadmath
25139 if test "x$libgfor_cv_have_float128" = xyes; then
25140 LIBGFOR_BUILD_QUAD_TRUE=
25141 LIBGFOR_BUILD_QUAD_FALSE='#'
25143 LIBGFOR_BUILD_QUAD_TRUE='#'
25144 LIBGFOR_BUILD_QUAD_FALSE=
25149 # Check for GNU libc feenableexcept
25150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25151 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25152 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25153 $as_echo_n "(cached) " >&6
25155 ac_check_lib_save_LIBS=$LIBS
25157 if test x$gcc_no_link = xyes; then
25158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25161 /* end confdefs.h. */
25163 /* Override any GCC internal prototype to avoid an error.
25164 Use char because int might match the return type of a GCC
25165 builtin and then its argument prototype would still apply. */
25169 char feenableexcept ();
25173 return feenableexcept ();
25178 if ac_fn_c_try_link "$LINENO"; then :
25179 ac_cv_lib_m_feenableexcept=yes
25181 ac_cv_lib_m_feenableexcept=no
25183 rm -f core conftest.err conftest.$ac_objext \
25184 conftest$ac_exeext conftest.$ac_ext
25185 LIBS=$ac_check_lib_save_LIBS
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25188 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25189 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25190 have_feenableexcept=yes
25191 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25196 # At least for glibc and Tru64, clock_gettime is in librt. But don't
25197 # pull that in if it still doesn't give us the function we want. This
25198 # test is copied from libgomp, and modified to not link in -lrt as
25199 # libgfortran calls clock_gettime via a weak reference if it's found
25201 if test $ac_cv_func_clock_gettime = no; then
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25203 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25204 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25205 $as_echo_n "(cached) " >&6
25207 ac_check_lib_save_LIBS=$LIBS
25209 if test x$gcc_no_link = xyes; then
25210 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25213 /* end confdefs.h. */
25215 /* Override any GCC internal prototype to avoid an error.
25216 Use char because int might match the return type of a GCC
25217 builtin and then its argument prototype would still apply. */
25221 char clock_gettime ();
25225 return clock_gettime ();
25230 if ac_fn_c_try_link "$LINENO"; then :
25231 ac_cv_lib_rt_clock_gettime=yes
25233 ac_cv_lib_rt_clock_gettime=no
25235 rm -f core conftest.err conftest.$ac_objext \
25236 conftest$ac_exeext conftest.$ac_ext
25237 LIBS=$ac_check_lib_save_LIBS
25239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25240 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25241 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25243 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25249 # Check for SysV fpsetmask
25251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25252 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25253 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25254 $as_echo_n "(cached) " >&6
25257 if test x$gcc_no_link = xyes; then
25258 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25263 #if HAVE_FLOATINGPOINT_H
25264 # include <floatingpoint.h>
25265 #endif /* HAVE_FLOATINGPOINT_H */
25267 # include <ieeefp.h>
25268 #endif /* HAVE_IEEEFP_H */
25277 if ac_fn_c_try_link "$LINENO"; then :
25278 eval "libgfor_cv_have_fpsetmask=yes"
25280 eval "libgfor_cv_have_fpsetmask=no"
25282 rm -f core conftest.err conftest.$ac_objext \
25283 conftest$ac_exeext conftest.$ac_ext
25286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25287 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25288 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25291 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25296 # Check for AIX fp_trap and fp_enable
25297 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25298 if test "x$ac_cv_func_fp_trap" = x""yes; then :
25300 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25304 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25305 if test "x$ac_cv_func_fp_enable" = x""yes; then :
25307 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25312 # Runs configure.host to set up necessary host-dependent shell variables.
25313 # We then display a message about it, and propagate them through the
25315 . ${srcdir}/configure.host
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25317 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25318 FPU_HOST_HEADER=config/${fpu_host}.h
25321 # Some targets require additional compiler options for IEEE compatibility.
25322 IEEE_FLAGS="${ieee_flags}"
25326 # Check for POSIX getpwuid_r
25328 # There are two versions of getpwuid_r, the POSIX one with 5
25329 # arguments, and another one with 4 arguments used by at least HP-UX
25331 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25333 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25334 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25335 $as_echo_n "(cached) " >&6
25338 if test x$gcc_no_link = xyes; then
25339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25342 /* end confdefs.h. */
25345 #include <sys/types.h>
25351 getpwuid_r(0, NULL, NULL, 0, NULL);
25357 if ac_fn_c_try_link "$LINENO"; then :
25358 libgfor_cv_posix_getpwuid_r="yes"
25360 libgfor_cv_posix_getpwuid_r="no"
25362 rm -f core conftest.err conftest.$ac_objext \
25363 conftest$ac_exeext conftest.$ac_ext
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
25366 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
25368 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
25370 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
25375 # Check out attribute support.
25377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
25378 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
25379 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
25380 $as_echo_n "(cached) " >&6
25383 save_CFLAGS="$CFLAGS"
25384 CFLAGS="$CFLAGS -Werror"
25385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25386 /* end confdefs.h. */
25387 void __attribute__((visibility("hidden"))) foo(void) { }
25396 if ac_fn_c_try_compile "$LINENO"; then :
25397 libgfor_cv_have_attribute_visibility=yes
25399 libgfor_cv_have_attribute_visibility=no
25401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25402 CFLAGS="$save_CFLAGS"
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
25405 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
25406 if test $libgfor_cv_have_attribute_visibility = yes; then
25408 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
25412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
25413 $as_echo_n "checking whether the target supports dllexport... " >&6; }
25414 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
25415 $as_echo_n "(cached) " >&6
25418 save_CFLAGS="$CFLAGS"
25419 CFLAGS="$CFLAGS -Werror"
25420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25421 /* end confdefs.h. */
25422 void __attribute__((dllexport)) foo(void) { }
25431 if ac_fn_c_try_compile "$LINENO"; then :
25432 libgfor_cv_have_attribute_dllexport=yes
25434 libgfor_cv_have_attribute_dllexport=no
25436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25437 CFLAGS="$save_CFLAGS"
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
25440 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
25441 if test $libgfor_cv_have_attribute_dllexport = yes; then
25443 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
25448 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
25449 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
25450 $as_echo_n "(cached) " >&6
25453 if test x$gcc_no_link = xyes; then
25454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25457 /* end confdefs.h. */
25460 extern void bar(void) __attribute__((alias("foo")));
25469 if ac_fn_c_try_link "$LINENO"; then :
25470 libgfor_cv_have_attribute_alias=yes
25472 libgfor_cv_have_attribute_alias=no
25474 rm -f core conftest.err conftest.$ac_objext \
25475 conftest$ac_exeext conftest.$ac_ext
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
25478 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
25479 if test $libgfor_cv_have_attribute_alias = yes; then
25481 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
25485 # Check out sync builtins support.
25487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
25488 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
25489 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
25490 $as_echo_n "(cached) " >&6
25493 if test x$gcc_no_link = xyes; then
25494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25497 /* end confdefs.h. */
25503 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
25504 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
25509 if ac_fn_c_try_link "$LINENO"; then :
25510 libgfor_cv_have_sync_fetch_and_add=yes
25512 libgfor_cv_have_sync_fetch_and_add=no
25514 rm -f core conftest.err conftest.$ac_objext \
25515 conftest$ac_exeext conftest.$ac_ext
25517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
25518 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
25519 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
25521 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
25525 # Check out #pragma weak.
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
25528 $as_echo_n "checking whether pragma weak works... " >&6; }
25529 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
25530 $as_echo_n "(cached) " >&6
25533 gfor_save_CFLAGS="$CFLAGS"
25534 CFLAGS="$CFLAGS -Wunknown-pragmas"
25535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25536 /* end confdefs.h. */
25549 if ac_fn_c_try_compile "$LINENO"; then :
25550 libgfor_cv_have_pragma_weak=yes
25552 libgfor_cv_have_pragma_weak=no
25554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
25557 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
25558 if test $libgfor_cv_have_pragma_weak = yes; then
25560 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
25564 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | alpha*-dec-osf* )
25566 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
25571 # Various other checks on target
25573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
25574 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
25575 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
25576 $as_echo_n "(cached) " >&6
25579 if test "$cross_compiling" = yes; then :
25581 case "${target}" in
25582 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
25583 *) libgfor_cv_have_unlink_open_file=yes;;
25586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25587 /* end confdefs.h. */
25591 #include <unistd.h>
25592 #include <sys/stat.h>
25598 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
25601 if (unlink ("testfile") == -1)
25603 write (fd, "This is a test\n", 15);
25606 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
25612 if ac_fn_c_try_run "$LINENO"; then :
25613 libgfor_cv_have_unlink_open_file=yes
25615 libgfor_cv_have_unlink_open_file=no
25617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25618 conftest.$ac_objext conftest.beam conftest.$ac_ext
25622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
25623 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
25624 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
25626 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
25630 # Check whether line terminator is LF or CRLF
25632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
25633 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
25634 if test "${libgfor_cv_have_crlf+set}" = set; then :
25635 $as_echo_n "(cached) " >&6
25638 if test "$cross_compiling" = yes; then :
25640 case "${target}" in
25641 *mingw*) libgfor_cv_have_crlf=yes ;;
25642 *) libgfor_cv_have_crlf=no;;
25645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25646 /* end confdefs.h. */
25648 /* This test program should exit with status 0 if system uses a CRLF as
25649 line terminator, and status 1 otherwise.
25650 Since it is used to check for mingw systems, and should return 0 in any
25651 other case, in case of a failure we will not use CRLF. */
25652 #include <sys/stat.h>
25653 #include <stdlib.h>
25665 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
25668 if (write (fd, "\n", 1) < 0)
25673 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
25675 bytes = read (fd, buff, 5);
25676 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
25683 if ac_fn_c_try_run "$LINENO"; then :
25684 libgfor_cv_have_crlf=yes
25686 libgfor_cv_have_crlf=no
25688 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25689 conftest.$ac_objext conftest.beam conftest.$ac_ext
25693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
25694 $as_echo "$libgfor_cv_have_crlf" >&6; }
25695 if test x"$libgfor_cv_have_crlf" = xyes; then
25697 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
25701 # Check whether we have _Unwind_GetIPInfo for backtrace
25704 # Check whether --with-system-libunwind was given.
25705 if test "${with_system_libunwind+set}" = set; then :
25706 withval=$with_system_libunwind;
25709 # If system-libunwind was not specifically set, pick a default setting.
25710 if test x$with_system_libunwind = x; then
25712 ia64-*-hpux*) with_system_libunwind=yes ;;
25713 *) with_system_libunwind=no ;;
25716 # Based on system-libunwind and target, do we have ipinfo?
25717 if test x$with_system_libunwind = xyes; then
25719 ia64-*-*) have_unwind_getipinfo=no ;;
25720 *) have_unwind_getipinfo=yes ;;
25723 # Darwin before version 9 does not have _Unwind_GetIPInfo.
25726 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
25727 *) have_unwind_getipinfo=yes ;;
25732 if test x$have_unwind_getipinfo = xyes; then
25734 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
25739 cat >confcache <<\_ACEOF
25740 # This file is a shell script that caches the results of configure
25741 # tests run on this system so they can be shared between configure
25742 # scripts and configure runs, see configure's option --config-cache.
25743 # It is not useful on other systems. If it contains results you don't
25744 # want to keep, you may remove or edit it.
25746 # config.status only pays attention to the cache file if you give it
25747 # the --recheck option to rerun configure.
25749 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25750 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25751 # following values.
25755 # The following way of writing the cache mishandles newlines in values,
25756 # but we know of no workaround that is simple, portable, and efficient.
25757 # So, we kill variables containing newlines.
25758 # Ultrix sh set writes to stderr and can't be redirected directly,
25759 # and sets the high bit in the cache file unless we assign to the vars.
25761 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25762 eval ac_val=\$$ac_var
25766 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25767 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25770 _ | IFS | as_nl) ;; #(
25771 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25772 *) { eval $ac_var=; unset $ac_var;} ;;
25778 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25779 *${as_nl}ac_space=\ *)
25780 # `set' does not quote correctly, so add quotes: double-quote
25781 # substitution turns \\\\ into \\, and sed turns \\ into \.
25784 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25787 # `set' quotes correctly as required by POSIX, so do not add quotes.
25788 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25797 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25799 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25801 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25802 if test -w "$cache_file"; then
25803 test "x$cache_file" != "x/dev/null" &&
25804 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25805 $as_echo "$as_me: updating cache $cache_file" >&6;}
25806 cat confcache >$cache_file
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25809 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25814 if test ${multilib} = yes; then
25815 multilib_arg="--enable-multilib"
25820 # Write our Makefile and spec file.
25821 ac_config_files="$ac_config_files Makefile libgfortran.spec"
25823 cat >confcache <<\_ACEOF
25824 # This file is a shell script that caches the results of configure
25825 # tests run on this system so they can be shared between configure
25826 # scripts and configure runs, see configure's option --config-cache.
25827 # It is not useful on other systems. If it contains results you don't
25828 # want to keep, you may remove or edit it.
25830 # config.status only pays attention to the cache file if you give it
25831 # the --recheck option to rerun configure.
25833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25835 # following values.
25839 # The following way of writing the cache mishandles newlines in values,
25840 # but we know of no workaround that is simple, portable, and efficient.
25841 # So, we kill variables containing newlines.
25842 # Ultrix sh set writes to stderr and can't be redirected directly,
25843 # and sets the high bit in the cache file unless we assign to the vars.
25845 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25846 eval ac_val=\$$ac_var
25850 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25854 _ | IFS | as_nl) ;; #(
25855 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25856 *) { eval $ac_var=; unset $ac_var;} ;;
25862 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25863 *${as_nl}ac_space=\ *)
25864 # `set' does not quote correctly, so add quotes: double-quote
25865 # substitution turns \\\\ into \\, and sed turns \\ into \.
25868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25871 # `set' quotes correctly as required by POSIX, so do not add quotes.
25872 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25881 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25883 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25885 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25886 if test -w "$cache_file"; then
25887 test "x$cache_file" != "x/dev/null" &&
25888 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25889 $as_echo "$as_me: updating cache $cache_file" >&6;}
25890 cat confcache >$cache_file
25892 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25893 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25898 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25899 # Let make expand exec_prefix.
25900 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25902 DEFS=-DHAVE_CONFIG_H
25906 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25907 # 1. Remove the extension, and $U if already installed.
25908 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25909 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25910 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25911 # will be set to the directory where LIBOBJS objects are built.
25912 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25913 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25915 LIBOBJS=$ac_libobjs
25917 LTLIBOBJS=$ac_ltlibobjs
25920 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25921 as_fn_error "conditional \"onestep\" was never defined.
25922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25924 if test -n "$EXEEXT"; then
25926 am__EXEEXT_FALSE='#'
25928 am__EXEEXT_TRUE='#'
25932 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25933 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25936 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25937 as_fn_error "conditional \"AMDEP\" was never defined.
25938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25940 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25941 as_fn_error "conditional \"am__fastdepCC\" was never defined.
25942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25944 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25945 as_fn_error "conditional \"am__fastdepCC\" was never defined.
25946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25948 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25949 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25952 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25953 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25956 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25957 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25960 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
25961 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
25962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25965 : ${CONFIG_STATUS=./config.status}
25967 ac_clean_files_save=$ac_clean_files
25968 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25970 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25972 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25974 # Generated by $as_me.
25975 # Run this file to recreate the current configuration.
25976 # Compiler output produced by configure, useful for debugging
25977 # configure, is in config.log if it exists.
25980 ac_cs_recheck=false
25983 SHELL=\${CONFIG_SHELL-$SHELL}
25986 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25987 ## -------------------- ##
25988 ## M4sh Initialization. ##
25989 ## -------------------- ##
25991 # Be more Bourne compatible
25992 DUALCASE=1; export DUALCASE # for MKS sh
25993 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25996 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25997 # is contrary to our usage. Disable this feature.
25998 alias -g '${1+"$@"}'='"$@"'
25999 setopt NO_GLOB_SUBST
26001 case `(set -o) 2>/dev/null` in #(
26013 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26014 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26015 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26016 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26017 # Prefer a ksh shell builtin over an external printf program on Solaris,
26018 # but without wasting forks for bash or zsh.
26019 if test -z "$BASH_VERSION$ZSH_VERSION" \
26020 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26021 as_echo='print -r --'
26022 as_echo_n='print -rn --'
26023 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26024 as_echo='printf %s\n'
26025 as_echo_n='printf %s'
26027 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26028 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26029 as_echo_n='/usr/ucb/echo -n'
26031 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26032 as_echo_n_body='eval
26036 expr "X$arg" : "X\\(.*\\)$as_nl";
26037 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26039 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26041 export as_echo_n_body
26042 as_echo_n='sh -c $as_echo_n_body as_echo'
26044 export as_echo_body
26045 as_echo='sh -c $as_echo_body as_echo'
26048 # The user is always right.
26049 if test "${PATH_SEPARATOR+set}" != set; then
26051 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26052 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26059 # We need space, tab and new line, in precisely that order. Quoting is
26060 # there to prevent editors from complaining about space-tab.
26061 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26062 # splitting by setting IFS to empty value.)
26065 # Find who we are. Look in the path if we contain no directory separator.
26067 *[\\/]* ) as_myself=$0 ;;
26068 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26069 for as_dir in $PATH
26072 test -z "$as_dir" && as_dir=.
26073 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26079 # We did not find ourselves, most probably we were run as `sh COMMAND'
26080 # in which case we are not to be found in the path.
26081 if test "x$as_myself" = x; then
26084 if test ! -f "$as_myself"; then
26085 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26089 # Unset variables that we do not need and which cause bugs (e.g. in
26090 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26091 # suppresses any "Segmentation fault" message there. '((' could
26092 # trigger a bug in pdksh 5.2.14.
26093 for as_var in BASH_ENV ENV MAIL MAILPATH
26094 do eval test x\${$as_var+set} = xset \
26095 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26108 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26111 # as_fn_error ERROR [LINENO LOG_FD]
26112 # ---------------------------------
26113 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26114 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26115 # script with status $?, using 1 if that was 0.
26118 as_status=$?; test $as_status -eq 0 && as_status=1
26120 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26121 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26123 $as_echo "$as_me: error: $1" >&2
26124 as_fn_exit $as_status
26128 # as_fn_set_status STATUS
26129 # -----------------------
26130 # Set $? to STATUS, without forking.
26131 as_fn_set_status ()
26134 } # as_fn_set_status
26136 # as_fn_exit STATUS
26137 # -----------------
26138 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26142 as_fn_set_status $1
26148 # Portably unset VAR.
26151 { eval $1=; unset $1;}
26153 as_unset=as_fn_unset
26154 # as_fn_append VAR VALUE
26155 # ----------------------
26156 # Append the text in VALUE to the end of the definition contained in VAR. Take
26157 # advantage of any shell optimizations that allow amortized linear growth over
26158 # repeated appends, instead of the typical quadratic growth present in naive
26160 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26161 eval 'as_fn_append ()
26172 # as_fn_arith ARG...
26173 # ------------------
26174 # Perform arithmetic evaluation on the ARGs, and store the result in the
26175 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26176 # must be portable across $(()) and expr.
26177 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26178 eval 'as_fn_arith ()
26185 as_val=`expr "$@" || test $? -eq 1`
26190 if expr a : '\(a\)' >/dev/null 2>&1 &&
26191 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26197 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26198 as_basename=basename
26203 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26209 as_me=`$as_basename -- "$0" ||
26210 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26211 X"$0" : 'X\(//\)$' \| \
26212 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26214 sed '/^.*\/\([^/][^/]*\)\/*$/{
26228 # Avoid depending upon Character Ranges.
26229 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26230 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26231 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26232 as_cr_digits='0123456789'
26233 as_cr_alnum=$as_cr_Letters$as_cr_digits
26235 ECHO_C= ECHO_N= ECHO_T=
26236 case `echo -n x` in #(((((
26238 case `echo 'xy\c'` in
26239 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26241 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26248 rm -f conf$$ conf$$.exe conf$$.file
26249 if test -d conf$$.dir; then
26250 rm -f conf$$.dir/conf$$.file
26253 mkdir conf$$.dir 2>/dev/null
26255 if (echo >conf$$.file) 2>/dev/null; then
26256 if ln -s conf$$.file conf$$ 2>/dev/null; then
26258 # ... but there are two gotchas:
26259 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26260 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26261 # In both cases, we have to default to `cp -p'.
26262 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26264 elif ln conf$$.file conf$$ 2>/dev/null; then
26272 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26273 rmdir conf$$.dir 2>/dev/null
26278 # Create "$as_dir" as a directory, including parents if necessary.
26283 -*) as_dir=./$as_dir;;
26285 test -d "$as_dir" || eval $as_mkdir_p || {
26289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26290 *) as_qdir=$as_dir;;
26292 as_dirs="'$as_qdir' $as_dirs"
26293 as_dir=`$as_dirname -- "$as_dir" ||
26294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26295 X"$as_dir" : 'X\(//\)[^/]' \| \
26296 X"$as_dir" : 'X\(//\)$' \| \
26297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26298 $as_echo X"$as_dir" |
26299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26303 /^X\(\/\/\)[^/].*/{
26316 test -d "$as_dir" && break
26318 test -z "$as_dirs" || eval "mkdir $as_dirs"
26319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
26323 if mkdir -p . 2>/dev/null; then
26324 as_mkdir_p='mkdir -p "$as_dir"'
26326 test -d ./-p && rmdir ./-p
26330 if test -x / >/dev/null 2>&1; then
26331 as_test_x='test -x'
26333 if ls -dL / >/dev/null 2>&1; then
26340 if test -d "$1"; then
26346 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26347 ???[sx]*):;;*)false;;esac;fi
26351 as_executable_p=$as_test_x
26353 # Sed expression to map a string onto a valid CPP name.
26354 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26356 # Sed expression to map a string onto a valid variable name.
26357 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26361 ## ----------------------------------- ##
26362 ## Main body of $CONFIG_STATUS script. ##
26363 ## ----------------------------------- ##
26365 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26368 # Save the log message, to keep $0 and so on meaningful, and to
26369 # report actual input values of CONFIG_FILES etc. instead of their
26370 # values after options handling.
26372 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
26373 generated by GNU Autoconf 2.64. Invocation command line was
26375 CONFIG_FILES = $CONFIG_FILES
26376 CONFIG_HEADERS = $CONFIG_HEADERS
26377 CONFIG_LINKS = $CONFIG_LINKS
26378 CONFIG_COMMANDS = $CONFIG_COMMANDS
26381 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26386 case $ac_config_files in *"
26387 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26390 case $ac_config_headers in *"
26391 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26396 # Files that config.status was made for.
26397 config_files="$ac_config_files"
26398 config_headers="$ac_config_headers"
26399 config_commands="$ac_config_commands"
26403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26405 \`$as_me' instantiates files and other configuration actions
26406 from templates according to the current configuration. Unless the files
26407 and actions are specified as TAGs, all are instantiated by default.
26409 Usage: $0 [OPTION]... [TAG]...
26411 -h, --help print this help, then exit
26412 -V, --version print version number and configuration settings, then exit
26413 -q, --quiet, --silent
26414 do not print progress messages
26415 -d, --debug don't remove temporary files
26416 --recheck update $as_me by reconfiguring in the same conditions
26417 --file=FILE[:TEMPLATE]
26418 instantiate the configuration file FILE
26419 --header=FILE[:TEMPLATE]
26420 instantiate the configuration header FILE
26422 Configuration files:
26425 Configuration headers:
26428 Configuration commands:
26431 Report bugs to the package provider.
26432 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
26433 General help using GNU software: <http://www.gnu.org/gethelp/>."
26436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26438 GNU Fortran Runtime Library config.status 0.3
26439 configured by $0, generated by GNU Autoconf 2.64,
26440 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26442 Copyright (C) 2009 Free Software Foundation, Inc.
26443 This config.status script is free software; the Free Software Foundation
26444 gives unlimited permission to copy, distribute and modify it."
26451 test -n "\$AWK" || AWK=awk
26454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26455 # The default lists apply if the user does not specify any file.
26461 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26462 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26473 # Handling of the options.
26474 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26476 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26477 $as_echo "$ac_cs_version"; exit ;;
26478 --debug | --debu | --deb | --de | --d | -d )
26480 --file | --fil | --fi | --f )
26483 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26485 as_fn_append CONFIG_FILES " '$ac_optarg'"
26486 ac_need_defaults=false;;
26487 --header | --heade | --head | --hea )
26490 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26492 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26493 ac_need_defaults=false;;
26495 # Conflict between --help and --header
26496 as_fn_error "ambiguous option: \`$1'
26497 Try \`$0 --help' for more information.";;
26498 --help | --hel | -h )
26499 $as_echo "$ac_cs_usage"; exit ;;
26500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26501 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26504 # This is an error.
26505 -*) as_fn_error "unrecognized option: \`$1'
26506 Try \`$0 --help' for more information." ;;
26508 *) as_fn_append ac_config_targets " $1"
26509 ac_need_defaults=false ;;
26515 ac_configure_extra_args=
26517 if $ac_cs_silent; then
26519 ac_configure_extra_args="$ac_configure_extra_args --silent"
26523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26524 if \$ac_cs_recheck; then
26525 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26527 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26528 CONFIG_SHELL='$SHELL'
26529 export CONFIG_SHELL
26534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26538 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26539 ## Running $as_me. ##
26545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26553 with_multisubdir="$with_multisubdir"
26554 with_multisrctop="$with_multisrctop"
26555 with_target_subdir="$with_target_subdir"
26556 ac_configure_args="${multilib_arg} ${ac_configure_args}"
26557 multi_basedir="$multi_basedir"
26558 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
26561 GFORTRAN="$GFORTRAN"
26563 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26566 # The HP-UX ksh and POSIX shell print the target directory to stdout
26567 # if CDPATH is set.
26568 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26570 sed_quote_subst='$sed_quote_subst'
26571 double_quote_subst='$double_quote_subst'
26572 delay_variable_subst='$delay_variable_subst'
26573 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26574 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26575 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26576 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26577 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26578 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26579 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26580 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26581 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26582 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26583 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26584 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26585 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26586 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26587 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26588 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26589 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26590 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26591 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26592 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26593 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26594 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26595 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26596 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26597 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26598 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26599 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26600 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26601 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26602 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26603 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26604 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26605 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26606 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26607 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26608 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26609 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26610 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26611 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26612 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26613 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26614 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26615 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26616 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26617 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26618 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26619 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26620 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26621 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
26622 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26623 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26624 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26625 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26626 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26627 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26628 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26629 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26630 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26631 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26632 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26633 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26634 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26635 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26636 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26637 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26638 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26639 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26640 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26641 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26642 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26643 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26644 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26645 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26646 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26647 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26648 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26649 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26650 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26651 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26652 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26653 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
26654 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26655 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26656 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26657 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26658 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26659 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26660 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26661 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26662 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
26663 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26664 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26665 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26666 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26667 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26668 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26669 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26670 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26671 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26672 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26673 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26674 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26675 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26676 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26677 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26678 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26679 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26680 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26681 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26682 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26683 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26684 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26685 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26686 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26687 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26688 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26689 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26690 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26691 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26692 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26693 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26694 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26695 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26696 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26697 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26698 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26699 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
26700 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
26701 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
26702 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26703 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
26704 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
26705 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
26706 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
26707 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
26708 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
26709 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
26710 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
26711 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
26712 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26713 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26714 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
26715 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
26716 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
26717 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26718 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26719 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
26720 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26721 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
26722 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26723 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26724 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26725 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
26726 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
26727 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
26728 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
26729 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
26730 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
26731 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
26732 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
26733 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
26734 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
26735 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
26736 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
26737 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26738 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26739 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
26740 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
26741 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
26742 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
26743 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
26744 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
26745 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
26746 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
26747 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
26750 LTCFLAGS='$LTCFLAGS'
26751 compiler='$compiler_DEFAULT'
26753 # A function that is used when there is no print builtin or printf.
26754 func_fallback_echo ()
26756 eval 'cat <<_LTECHO_EOF
26761 # Quote evaled strings.
26775 deplibs_check_method \
26784 lt_cv_sys_global_symbol_pipe \
26785 lt_cv_sys_global_symbol_to_cdecl \
26786 lt_cv_sys_global_symbol_to_c_name_address \
26787 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26788 lt_prog_compiler_no_builtin_flag \
26789 lt_prog_compiler_wl \
26790 lt_prog_compiler_pic \
26791 lt_prog_compiler_static \
26792 lt_cv_prog_compiler_c_o \
26800 export_dynamic_flag_spec \
26801 whole_archive_flag_spec \
26802 compiler_needs_object \
26804 allow_undefined_flag \
26805 no_undefined_flag \
26806 hardcode_libdir_flag_spec \
26807 hardcode_libdir_flag_spec_ld \
26808 hardcode_libdir_separator \
26813 variables_saved_for_relink \
26815 library_names_spec \
26817 install_override_mode \
26821 compiler_lib_search_dirs \
26826 compiler_lib_search_path \
26830 lt_prog_compiler_no_builtin_flag_FC \
26831 lt_prog_compiler_wl_FC \
26832 lt_prog_compiler_pic_FC \
26833 lt_prog_compiler_static_FC \
26834 lt_cv_prog_compiler_c_o_FC \
26835 export_dynamic_flag_spec_FC \
26836 whole_archive_flag_spec_FC \
26837 compiler_needs_object_FC \
26839 allow_undefined_flag_FC \
26840 no_undefined_flag_FC \
26841 hardcode_libdir_flag_spec_FC \
26842 hardcode_libdir_flag_spec_ld_FC \
26843 hardcode_libdir_separator_FC \
26844 fix_srcfile_path_FC \
26845 exclude_expsyms_FC \
26846 include_expsyms_FC \
26847 file_list_spec_FC \
26848 compiler_lib_search_dirs_FC \
26849 predep_objects_FC \
26850 postdep_objects_FC \
26853 compiler_lib_search_path_FC; do
26854 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26855 *[\\\\\\\`\\"\\\$]*)
26856 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26859 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26864 # Double-quote double-evaled strings.
26865 for var in reload_cmds \
26866 old_postinstall_cmds \
26867 old_postuninstall_cmds \
26869 extract_expsyms_cmds \
26870 old_archive_from_new_cmds \
26871 old_archive_from_expsyms_cmds \
26873 archive_expsym_cmds \
26875 module_expsym_cmds \
26876 export_symbols_cmds \
26879 postuninstall_cmds \
26881 sys_lib_search_path_spec \
26882 sys_lib_dlsearch_path_spec \
26884 old_archive_cmds_FC \
26885 old_archive_from_new_cmds_FC \
26886 old_archive_from_expsyms_cmds_FC \
26888 archive_expsym_cmds_FC \
26890 module_expsym_cmds_FC \
26891 export_symbols_cmds_FC \
26892 prelink_cmds_FC; do
26893 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26894 *[\\\\\\\`\\"\\\$]*)
26895 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26898 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26903 ac_aux_dir='$ac_aux_dir'
26904 xsi_shell='$xsi_shell'
26905 lt_shell_append='$lt_shell_append'
26907 # See if we are running on zsh, and set the options which allow our
26908 # commands through without removal of \ escapes INIT.
26909 if test -n "\${ZSH_VERSION+set}" ; then
26910 setopt NO_GLOB_SUBST
26916 TIMESTAMP='$TIMESTAMP'
26927 acx_cv_header_stdint="$acx_cv_header_stdint"
26928 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26929 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26930 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26931 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26932 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26933 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26934 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26935 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26936 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26937 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26938 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26939 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26940 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26947 # Handling of arguments.
26948 for ac_config_target in $ac_config_targets
26950 case $ac_config_target in
26951 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26952 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26953 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26954 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26955 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26956 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26957 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
26959 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26964 # If the user did not use the arguments to specify the items to instantiate,
26965 # then the envvar interface is used. Set only those that are not.
26966 # We use the long form for the default assignment because of an extremely
26967 # bizarre bug on SunOS 4.1.3.
26968 if $ac_need_defaults; then
26969 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26970 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26971 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26974 # Have a temporary directory for convenience. Make it in the build tree
26975 # simply because there is no reason against having it here, and in addition,
26976 # creating and moving files from /tmp can sometimes cause problems.
26977 # Hook for its removal unless debugging.
26978 # Note that there is a small window in which the directory will not be cleaned:
26979 # after its creation but before its name has been assigned to `$tmp'.
26983 trap 'exit_status=$?
26984 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26986 trap 'as_fn_exit 1' 1 2 13 15
26988 # Create a (secure) tmp directory for tmp files.
26991 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26992 test -n "$tmp" && test -d "$tmp"
26995 tmp=./conf$$-$RANDOM
26996 (umask 077 && mkdir "$tmp")
26997 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26999 # Set up the scripts for CONFIG_FILES section.
27000 # No need to generate them if there are no CONFIG_FILES.
27001 # This happens for instance with `./config.status config.h'.
27002 if test -n "$CONFIG_FILES"; then
27005 ac_cr=`echo X | tr X '\015'`
27006 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27007 # But we know of no other shell where ac_cr would be empty at this
27008 # point, so we can use a bashism as a fallback.
27009 if test "x$ac_cr" = x; then
27010 eval ac_cr=\$\'\\r\'
27012 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27013 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27016 ac_cs_awk_cr=$ac_cr
27019 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27024 echo "cat >conf$$subs.awk <<_ACEOF" &&
27025 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27027 } >conf$$subs.sh ||
27028 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27029 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27031 for ac_last_try in false false false false false :; do
27032 . ./conf$$subs.sh ||
27033 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27035 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27036 if test $ac_delim_n = $ac_delim_num; then
27038 elif $ac_last_try; then
27039 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27041 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27044 rm -f conf$$subs.sh
27046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27047 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27051 s/^/S["/; s/!.*/"]=/
27061 s/\(.\{148\}\).*/\1/
27063 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27068 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27075 s/\(.\{148\}\).*/\1/
27077 s/["\\]/\\&/g; s/^/"/; s/$/"/
27081 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27086 ' <conf$$subs.awk | sed '
27091 ' >>$CONFIG_STATUS || ac_write_fail=1
27092 rm -f conf$$subs.awk
27093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27095 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27096 for (key in S) S_is_set[key] = 1
27102 nfields = split(line, field, "@")
27104 len = length(field[1])
27105 for (i = 2; i < nfields; i++) {
27107 keylen = length(key)
27108 if (S_is_set[key]) {
27110 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27111 len += length(value) + length(field[++i])
27122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27123 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27124 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27127 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27128 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27131 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27132 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27133 # trailing colons and then remove the whole line if VPATH becomes empty
27134 # (actually we leave an empty line to preserve line numbers).
27135 if test "x$srcdir" = x.; then
27136 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27137 s/:*\$(srcdir):*/:/
27138 s/:*\${srcdir}:*/:/
27140 s/^\([^=]*=[ ]*\):*/\1/
27146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27147 fi # test -n "$CONFIG_FILES"
27149 # Set up the scripts for CONFIG_HEADERS section.
27150 # No need to generate them if there are no CONFIG_HEADERS.
27151 # This happens for instance with `./config.status Makefile'.
27152 if test -n "$CONFIG_HEADERS"; then
27153 cat >"$tmp/defines.awk" <<\_ACAWK ||
27157 # Transform confdefs.h into an awk script `defines.awk', embedded as
27158 # here-document in config.status, that substitutes the proper values into
27159 # config.h.in to produce config.h.
27161 # Create a delimiter string that does not exist in confdefs.h, to ease
27162 # handling of long lines.
27164 for ac_last_try in false false :; do
27165 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27166 if test -z "$ac_t"; then
27168 elif $ac_last_try; then
27169 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27171 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27175 # For the awk script, D is an array of macro values keyed by name,
27176 # likewise P contains macro parameters if any. Preserve backslash
27177 # newline sequences.
27179 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27181 s/.\{148\}/&'"$ac_delim"'/g
27184 s/^[ ]*#[ ]*define[ ][ ]*/ /
27191 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27193 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27197 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27198 D["\1"]=" \3\\\\\\n"\\/p
27200 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27205 s/.\{148\}/&'"$ac_delim"'/g
27210 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27213 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27215 ' <confdefs.h | sed '
27216 s/'"$ac_delim"'/"\\\
27217 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27220 for (key in D) D_is_set[key] = 1
27223 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27225 split(line, arg, " ")
27226 if (arg[1] == "#") {
27230 defundef = substr(arg[1], 2)
27233 split(mac1, mac2, "(") #)
27235 prefix = substr(line, 1, index(line, defundef) - 1)
27236 if (D_is_set[macro]) {
27237 # Preserve the white space surrounding the "#".
27238 print prefix "define", macro P[macro] D[macro]
27241 # Replace #undef with comments. This is necessary, for example,
27242 # in the case of _POSIX_SOURCE, which is predefined and required
27243 # on some systems where configure will not decide to define it.
27244 if (defundef == "undef") {
27245 print "/*", prefix defundef, macro, "*/"
27253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27254 as_fn_error "could not setup config headers machinery" "$LINENO" 5
27255 fi # test -n "$CONFIG_HEADERS"
27258 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27263 :[FHLC]) ac_mode=$ac_tag; continue;;
27265 case $ac_mode$ac_tag in
27267 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27268 :[FH]-) ac_tag=-:-;;
27269 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27286 -) ac_f="$tmp/stdin";;
27287 *) # Look for the file first in the build tree, then in the source tree
27288 # (if the path is not absolute). The absolute path cannot be DOS-style,
27289 # because $ac_f cannot contain `:'.
27293 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27295 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27297 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27298 as_fn_append ac_file_inputs " '$ac_f'"
27301 # Let's still pretend it is `configure' which instantiates (i.e., don't
27302 # use $as_me), people would be surprised to read:
27303 # /* config.h. Generated by config.status. */
27304 configure_input='Generated from '`
27305 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27307 if test x"$ac_file" != x-; then
27308 configure_input="$ac_file. $configure_input"
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27310 $as_echo "$as_me: creating $ac_file" >&6;}
27312 # Neutralize special characters interpreted by sed in replacement strings.
27313 case $configure_input in #(
27314 *\&* | *\|* | *\\* )
27315 ac_sed_conf_input=`$as_echo "$configure_input" |
27316 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27317 *) ac_sed_conf_input=$configure_input;;
27321 *:-:* | *:-) cat >"$tmp/stdin" \
27322 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27327 ac_dir=`$as_dirname -- "$ac_file" ||
27328 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27329 X"$ac_file" : 'X\(//\)[^/]' \| \
27330 X"$ac_file" : 'X\(//\)$' \| \
27331 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27332 $as_echo X"$ac_file" |
27333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27337 /^X\(\/\/\)[^/].*/{
27350 as_dir="$ac_dir"; as_fn_mkdir_p
27354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27356 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27357 # A ".." for each directory in $ac_dir_suffix.
27358 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27359 case $ac_top_builddir_sub in
27360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27364 ac_abs_top_builddir=$ac_pwd
27365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27366 # for backward compatibility:
27367 ac_top_builddir=$ac_top_build_prefix
27370 .) # We are building in place.
27372 ac_top_srcdir=$ac_top_builddir_sub
27373 ac_abs_top_srcdir=$ac_pwd ;;
27374 [\\/]* | ?:[\\/]* ) # Absolute name.
27375 ac_srcdir=$srcdir$ac_dir_suffix;
27376 ac_top_srcdir=$srcdir
27377 ac_abs_top_srcdir=$srcdir ;;
27378 *) # Relative name.
27379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27380 ac_top_srcdir=$ac_top_build_prefix$srcdir
27381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27393 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27394 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27396 ac_MKDIR_P=$MKDIR_P
27398 [\\/$]* | ?:[\\/]* ) ;;
27399 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27404 # If the template does not know about datarootdir, expand it.
27405 # FIXME: This hack should be removed a few years after 2.60.
27406 ac_datarootdir_hack=; ac_datarootdir_seen=
27417 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27418 *datarootdir*) ac_datarootdir_seen=yes;;
27419 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27421 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27424 ac_datarootdir_hack='
27425 s&@datadir@&$datadir&g
27426 s&@docdir@&$docdir&g
27427 s&@infodir@&$infodir&g
27428 s&@localedir@&$localedir&g
27429 s&@mandir@&$mandir&g
27430 s&\\\${datarootdir}&$datarootdir&g' ;;
27434 # Neutralize VPATH when `$srcdir' = `.'.
27435 # Shell code in configure.ac might set extrasub.
27436 # FIXME: do we really want to maintain this feature?
27437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27438 ac_sed_extra="$ac_vpsub
27441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27443 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27444 s|@configure_input@|$ac_sed_conf_input|;t t
27445 s&@top_builddir@&$ac_top_builddir_sub&;t t
27446 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27447 s&@srcdir@&$ac_srcdir&;t t
27448 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27449 s&@top_srcdir@&$ac_top_srcdir&;t t
27450 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27451 s&@builddir@&$ac_builddir&;t t
27452 s&@abs_builddir@&$ac_abs_builddir&;t t
27453 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27454 s&@INSTALL@&$ac_INSTALL&;t t
27455 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27456 $ac_datarootdir_hack
27458 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
27459 || as_fn_error "could not create $ac_file" "$LINENO" 5
27461 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27462 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27463 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27465 which seems to be undefined. Please make sure it is defined." >&5
27466 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27467 which seems to be undefined. Please make sure it is defined." >&2;}
27471 -) cat "$tmp/out" && rm -f "$tmp/out";;
27472 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27474 || as_fn_error "could not create $ac_file" "$LINENO" 5
27480 if test x"$ac_file" != x-; then
27482 $as_echo "/* $configure_input */" \
27483 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27484 } >"$tmp/config.h" \
27485 || as_fn_error "could not create $ac_file" "$LINENO" 5
27486 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27487 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27488 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27491 mv "$tmp/config.h" "$ac_file" \
27492 || as_fn_error "could not create $ac_file" "$LINENO" 5
27495 $as_echo "/* $configure_input */" \
27496 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27497 || as_fn_error "could not create -" "$LINENO" 5
27499 # Compute "$ac_file"'s index in $config_headers.
27502 for _am_header in $config_headers :; do
27503 case $_am_header in
27504 $_am_arg | $_am_arg:* )
27507 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27510 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27511 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27512 X"$_am_arg" : 'X\(//\)[^/]' \| \
27513 X"$_am_arg" : 'X\(//\)$' \| \
27514 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27515 $as_echo X"$_am_arg" |
27516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27520 /^X\(\/\/\)[^/].*/{
27532 s/.*/./; q'`/stamp-h$_am_stamp_count
27535 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27536 $as_echo "$as_me: executing $ac_file commands" >&6;}
27541 case $ac_file$ac_mode in
27543 # Only add multilib support code if we just rebuilt the top-level
27545 case " $CONFIG_FILES " in
27547 ac_file=Makefile . ${multi_basedir}/config-ml.in
27550 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27551 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27552 # are listed without --file. Let's play safe and only enable the eval
27553 # if we detect the quoting.
27554 case $CONFIG_FILES in
27555 *\'*) eval set x "$CONFIG_FILES" ;;
27556 *) set x $CONFIG_FILES ;;
27561 # Strip MF so we end up with the name of the file.
27562 mf=`echo "$mf" | sed -e 's/:.*$//'`
27563 # Check whether this is an Automake generated Makefile or not.
27564 # We used to match only the files named `Makefile.in', but
27565 # some people rename them; so instead we look at the file content.
27566 # Grep'ing the first line is not enough: some people post-process
27567 # each Makefile.in and add a new line on top of each file to say so.
27568 # Grep'ing the whole file is not good either: AIX grep has a line
27569 # limit of 2048, but all sed's we know have understand at least 4000.
27570 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27571 dirpart=`$as_dirname -- "$mf" ||
27572 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27573 X"$mf" : 'X\(//\)[^/]' \| \
27574 X"$mf" : 'X\(//\)$' \| \
27575 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27581 /^X\(\/\/\)[^/].*/{
27597 # Extract the definition of DEPDIR, am__include, and am__quote
27598 # from the Makefile without running `make'.
27599 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27600 test -z "$DEPDIR" && continue
27601 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27602 test -z "am__include" && continue
27603 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27604 # When using ansi2knr, U may be empty or an underscore; expand it
27605 U=`sed -n 's/^U = //p' < "$mf"`
27606 # Find all dependency output files, they are included files with
27607 # $(DEPDIR) in their names. We invoke sed twice because it is the
27608 # simplest approach to changing $(DEPDIR) to its actual value in the
27610 for file in `sed -n "
27611 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27612 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27613 # Make sure the directory exists.
27614 test -f "$dirpart/$file" && continue
27615 fdir=`$as_dirname -- "$file" ||
27616 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27617 X"$file" : 'X\(//\)[^/]' \| \
27618 X"$file" : 'X\(//\)$' \| \
27619 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27620 $as_echo X"$file" |
27621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27625 /^X\(\/\/\)[^/].*/{
27638 as_dir=$dirpart/$fdir; as_fn_mkdir_p
27639 # echo "creating $dirpart/$file"
27640 echo '# dummy' > "$dirpart/$file"
27647 # See if we are running on zsh, and set the options which allow our
27648 # commands through without removal of \ escapes.
27649 if test -n "${ZSH_VERSION+set}" ; then
27650 setopt NO_GLOB_SUBST
27653 cfgfile="${ofile}T"
27654 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27657 cat <<_LT_EOF >> "$cfgfile"
27660 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27661 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27662 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27663 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27665 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27666 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27667 # Written by Gordon Matzigkeit, 1996
27669 # This file is part of GNU Libtool.
27671 # GNU Libtool is free software; you can redistribute it and/or
27672 # modify it under the terms of the GNU General Public License as
27673 # published by the Free Software Foundation; either version 2 of
27674 # the License, or (at your option) any later version.
27676 # As a special exception to the GNU General Public License,
27677 # if you distribute this file as part of a program or library that
27678 # is built using GNU Libtool, you may include this file under the
27679 # same distribution terms that you use for the rest of that program.
27681 # GNU Libtool is distributed in the hope that it will be useful,
27682 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27683 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27684 # GNU General Public License for more details.
27686 # You should have received a copy of the GNU General Public License
27687 # along with GNU Libtool; see the file COPYING. If not, a copy
27688 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27689 # obtained by writing to the Free Software Foundation, Inc.,
27690 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27693 # The names of the tagged configurations supported by this script.
27694 available_tags="FC "
27696 # ### BEGIN LIBTOOL CONFIG
27698 # Which release of libtool.m4 was used?
27699 macro_version=$macro_version
27700 macro_revision=$macro_revision
27702 # Whether or not to build shared libraries.
27703 build_libtool_libs=$enable_shared
27705 # Whether or not to build static libraries.
27706 build_old_libs=$enable_static
27708 # What type of objects to build.
27711 # Whether or not to optimize for fast installation.
27712 fast_install=$enable_fast_install
27714 # Shell to use when invoking shell scripts.
27717 # An echo program that protects backslashes.
27721 host_alias=$host_alias
27725 # The build system.
27726 build_alias=$build_alias
27730 # A sed program that does not truncate output.
27733 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27734 Xsed="\$SED -e 1s/^X//"
27736 # A grep program that handles long lines.
27742 # A literal string matcher.
27745 # A BSD- or MS-compatible name lister.
27748 # Whether we need soft or hard links.
27751 # What is the maximum length of a command?
27752 max_cmd_len=$max_cmd_len
27754 # Object file suffix (normally "o").
27757 # Executable file suffix (normally "").
27760 # whether the shell understands "unset".
27763 # turn spaces into newlines.
27766 # turn newlines into spaces.
27769 # An object symbol dumper.
27770 OBJDUMP=$lt_OBJDUMP
27772 # Method to check whether dependent libraries are shared objects.
27773 deplibs_check_method=$lt_deplibs_check_method
27775 # Command to use when deplibs_check_method == "file_magic".
27776 file_magic_cmd=$lt_file_magic_cmd
27780 AR_FLAGS=$lt_AR_FLAGS
27782 # A symbol stripping program.
27785 # Commands used to install an old-style archive.
27787 old_postinstall_cmds=$lt_old_postinstall_cmds
27788 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27790 # Whether to use a lock for old archive extraction.
27791 lock_old_archive_extraction=$lock_old_archive_extraction
27796 # LTCC compiler flags.
27797 LTCFLAGS=$lt_CFLAGS
27799 # Take the output of nm and produce a listing of raw symbols and C names.
27800 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27802 # Transform the output of nm in a proper C declaration.
27803 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27805 # Transform the output of nm in a C name address pair.
27806 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27808 # Transform the output of nm in a C name address pair when lib prefix is needed.
27809 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27811 # The name of the directory that contains temporary libtool files.
27814 # Used to examine libraries when file_magic_cmd begins with "file".
27815 MAGIC_CMD=$MAGIC_CMD
27817 # Must we lock files when doing compilation?
27818 need_locks=$lt_need_locks
27820 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27821 DSYMUTIL=$lt_DSYMUTIL
27823 # Tool to change global to local symbols on Mac OS X.
27826 # Tool to manipulate fat objects and archives on Mac OS X.
27829 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27832 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27833 OTOOL64=$lt_OTOOL64
27835 # Old archive suffix (normally "a").
27838 # Shared library suffix (normally ".so").
27839 shrext_cmds=$lt_shrext_cmds
27841 # The commands to extract the exported symbol list from a shared archive.
27842 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27844 # Variables whose values should be saved in libtool wrapper scripts and
27845 # restored at link time.
27846 variables_saved_for_relink=$lt_variables_saved_for_relink
27848 # Do we need the "lib" prefix for modules?
27849 need_lib_prefix=$need_lib_prefix
27851 # Do we need a version for libraries?
27852 need_version=$need_version
27854 # Library versioning type.
27855 version_type=$version_type
27857 # Shared library runtime path variable.
27858 runpath_var=$runpath_var
27860 # Shared library path variable.
27861 shlibpath_var=$shlibpath_var
27863 # Is shlibpath searched before the hard-coded library search path?
27864 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27866 # Format of library name prefix.
27867 libname_spec=$lt_libname_spec
27869 # List of archive names. First name is the real one, the rest are links.
27870 # The last name is the one that the linker finds with -lNAME
27871 library_names_spec=$lt_library_names_spec
27873 # The coded name of the library, if different from the real name.
27874 soname_spec=$lt_soname_spec
27876 # Permission mode override for installation of shared libraries.
27877 install_override_mode=$lt_install_override_mode
27879 # Command to use after installation of a shared archive.
27880 postinstall_cmds=$lt_postinstall_cmds
27882 # Command to use after uninstallation of a shared archive.
27883 postuninstall_cmds=$lt_postuninstall_cmds
27885 # Commands used to finish a libtool library installation in a directory.
27886 finish_cmds=$lt_finish_cmds
27888 # As "finish_cmds", except a single script fragment to be evaled but
27890 finish_eval=$lt_finish_eval
27892 # Whether we should hardcode library paths into libraries.
27893 hardcode_into_libs=$hardcode_into_libs
27895 # Compile-time system search path for libraries.
27896 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27898 # Run-time system search path for libraries.
27899 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27901 # Whether dlopen is supported.
27902 dlopen_support=$enable_dlopen
27904 # Whether dlopen of programs is supported.
27905 dlopen_self=$enable_dlopen_self
27907 # Whether dlopen of statically linked programs is supported.
27908 dlopen_self_static=$enable_dlopen_self_static
27910 # Commands to strip libraries.
27911 old_striplib=$lt_old_striplib
27912 striplib=$lt_striplib
27915 # The linker used to build libraries.
27918 # How to create reloadable object files.
27919 reload_flag=$lt_reload_flag
27920 reload_cmds=$lt_reload_cmds
27922 # Commands used to build an old-style archive.
27923 old_archive_cmds=$lt_old_archive_cmds
27925 # A language specific compiler.
27928 # Is the compiler the GNU compiler?
27931 # Compiler flag to turn off builtin functions.
27932 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27934 # How to pass a linker flag through the compiler.
27935 wl=$lt_lt_prog_compiler_wl
27937 # Additional compiler flags for building library objects.
27938 pic_flag=$lt_lt_prog_compiler_pic
27940 # Compiler flag to prevent dynamic linking.
27941 link_static_flag=$lt_lt_prog_compiler_static
27943 # Does compiler simultaneously support -c and -o options?
27944 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27946 # Whether or not to add -lc for building shared libraries.
27947 build_libtool_need_lc=$archive_cmds_need_lc
27949 # Whether or not to disallow shared libs when runtime libs are static.
27950 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27952 # Compiler flag to allow reflexive dlopens.
27953 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27955 # Compiler flag to generate shared objects directly from archives.
27956 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27958 # Whether the compiler copes with passing no objects directly.
27959 compiler_needs_object=$lt_compiler_needs_object
27961 # Create an old-style archive from a shared archive.
27962 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27964 # Create a temporary old-style archive to link instead of a shared archive.
27965 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27967 # Commands used to build a shared archive.
27968 archive_cmds=$lt_archive_cmds
27969 archive_expsym_cmds=$lt_archive_expsym_cmds
27971 # Commands used to build a loadable module if different from building
27972 # a shared archive.
27973 module_cmds=$lt_module_cmds
27974 module_expsym_cmds=$lt_module_expsym_cmds
27976 # Whether we are building with GNU ld or not.
27977 with_gnu_ld=$lt_with_gnu_ld
27979 # Flag that allows shared libraries with undefined symbols to be built.
27980 allow_undefined_flag=$lt_allow_undefined_flag
27982 # Flag that enforces no undefined symbols.
27983 no_undefined_flag=$lt_no_undefined_flag
27985 # Flag to hardcode \$libdir into a binary during linking.
27986 # This must work even if \$libdir does not exist
27987 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27989 # If ld is used when linking, flag to hardcode \$libdir into a binary
27990 # during linking. This must work even if \$libdir does not exist.
27991 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27993 # Whether we need a single "-rpath" flag with a separated argument.
27994 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27996 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27997 # DIR into the resulting binary.
27998 hardcode_direct=$hardcode_direct
28000 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28001 # DIR into the resulting binary and the resulting library dependency is
28002 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28003 # library is relocated.
28004 hardcode_direct_absolute=$hardcode_direct_absolute
28006 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28007 # into the resulting binary.
28008 hardcode_minus_L=$hardcode_minus_L
28010 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28011 # into the resulting binary.
28012 hardcode_shlibpath_var=$hardcode_shlibpath_var
28014 # Set to "yes" if building a shared library automatically hardcodes DIR
28015 # into the library and all subsequent libraries and executables linked
28017 hardcode_automatic=$hardcode_automatic
28019 # Set to yes if linker adds runtime paths of dependent libraries
28020 # to runtime path list.
28021 inherit_rpath=$inherit_rpath
28023 # Whether libtool must link a program against all its dependency libraries.
28024 link_all_deplibs=$link_all_deplibs
28026 # Fix the shell variable \$srcfile for the compiler.
28027 fix_srcfile_path=$lt_fix_srcfile_path
28029 # Set to "yes" if exported symbols are required.
28030 always_export_symbols=$always_export_symbols
28032 # The commands to list exported symbols.
28033 export_symbols_cmds=$lt_export_symbols_cmds
28035 # Symbols that should not be listed in the preloaded symbols.
28036 exclude_expsyms=$lt_exclude_expsyms
28038 # Symbols that must always be exported.
28039 include_expsyms=$lt_include_expsyms
28041 # Commands necessary for linking programs (against libraries) with templates.
28042 prelink_cmds=$lt_prelink_cmds
28044 # Specify filename containing input files.
28045 file_list_spec=$lt_file_list_spec
28047 # How to hardcode a shared library path into an executable.
28048 hardcode_action=$hardcode_action
28050 # The directories searched by this compiler when creating a shared library.
28051 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28053 # Dependencies to place before and after the objects being linked to
28054 # create a shared library.
28055 predep_objects=$lt_predep_objects
28056 postdep_objects=$lt_postdep_objects
28057 predeps=$lt_predeps
28058 postdeps=$lt_postdeps
28060 # The library search path used internally by the compiler when linking
28061 # a shared library.
28062 compiler_lib_search_path=$lt_compiler_lib_search_path
28064 # ### END LIBTOOL CONFIG
28070 cat <<\_LT_EOF >> "$cfgfile"
28071 # AIX sometimes has problems with the GCC collect2 program. For some
28072 # reason, if we set the COLLECT_NAMES environment variable, the problems
28073 # vanish in a puff of smoke.
28074 if test "X${COLLECT_NAMES+set}" != Xset; then
28076 export COLLECT_NAMES
28083 ltmain="$ac_aux_dir/ltmain.sh"
28086 # We use sed instead of cat because bash on DJGPP gets confused if
28087 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28088 # text mode, it properly converts lines to CR/LF. This bash problem
28089 # is reportedly fixed, but why not run on old versions too?
28090 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28091 || (rm -f "$cfgfile"; exit 1)
28095 cat << \_LT_EOF >> "$cfgfile"
28097 # func_dirname file append nondir_replacement
28098 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28099 # otherwise set result to NONDIR_REPLACEMENT.
28103 */*) func_dirname_result="${1%/*}${2}" ;;
28104 * ) func_dirname_result="${3}" ;;
28108 # func_basename file
28111 func_basename_result="${1##*/}"
28114 # func_dirname_and_basename file append nondir_replacement
28115 # perform func_basename and func_dirname in a single function
28117 # dirname: Compute the dirname of FILE. If nonempty,
28118 # add APPEND to the result, otherwise set result
28119 # to NONDIR_REPLACEMENT.
28120 # value returned in "$func_dirname_result"
28121 # basename: Compute filename of FILE.
28122 # value retuned in "$func_basename_result"
28123 # Implementation must be kept synchronized with func_dirname
28124 # and func_basename. For efficiency, we do not delegate to
28125 # those functions but instead duplicate the functionality here.
28126 func_dirname_and_basename ()
28129 */*) func_dirname_result="${1%/*}${2}" ;;
28130 * ) func_dirname_result="${3}" ;;
28132 func_basename_result="${1##*/}"
28135 # func_stripname prefix suffix name
28136 # strip PREFIX and SUFFIX off of NAME.
28137 # PREFIX and SUFFIX must not contain globbing or regex special
28138 # characters, hashes, percent signs, but SUFFIX may contain a leading
28139 # dot (in which case that matches only a dot).
28142 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28143 # positional parameters, so assign one to ordinary parameter first.
28144 func_stripname_result=${3}
28145 func_stripname_result=${func_stripname_result#"${1}"}
28146 func_stripname_result=${func_stripname_result%"${2}"}
28152 func_opt_split_opt=${1%%=*}
28153 func_opt_split_arg=${1#*=}
28160 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28161 *) func_lo2o_result=${1} ;;
28165 # func_xform libobj-or-source
28168 func_xform_result=${1%.*}.lo
28171 # func_arith arithmetic-term...
28174 func_arith_result=$(( $* ))
28178 # STRING may not start with a hyphen.
28181 func_len_result=${#1}
28186 *) # Bourne compatible functions.
28187 cat << \_LT_EOF >> "$cfgfile"
28189 # func_dirname file append nondir_replacement
28190 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28191 # otherwise set result to NONDIR_REPLACEMENT.
28194 # Extract subdirectory from the argument.
28195 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28196 if test "X$func_dirname_result" = "X${1}"; then
28197 func_dirname_result="${3}"
28199 func_dirname_result="$func_dirname_result${2}"
28203 # func_basename file
28206 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28210 # func_stripname prefix suffix name
28211 # strip PREFIX and SUFFIX off of NAME.
28212 # PREFIX and SUFFIX must not contain globbing or regex special
28213 # characters, hashes, percent signs, but SUFFIX may contain a leading
28214 # dot (in which case that matches only a dot).
28215 # func_strip_suffix prefix name
28219 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28220 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28225 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28226 my_sed_long_arg='1s/^-[^=]*=//'
28231 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28232 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28238 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28241 # func_xform libobj-or-source
28244 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28247 # func_arith arithmetic-term...
28250 func_arith_result=`expr "$@"`
28254 # STRING may not start with a hyphen.
28257 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28263 case $lt_shell_append in
28265 cat << \_LT_EOF >> "$cfgfile"
28267 # func_append var value
28268 # Append VALUE to the end of shell variable VAR.
28276 cat << \_LT_EOF >> "$cfgfile"
28278 # func_append var value
28279 # Append VALUE to the end of shell variable VAR.
28290 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28291 || (rm -f "$cfgfile"; exit 1)
28293 mv -f "$cfgfile" "$ofile" ||
28294 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28298 cat <<_LT_EOF >> "$ofile"
28300 # ### BEGIN LIBTOOL TAG CONFIG: FC
28302 # The linker used to build libraries.
28305 # How to create reloadable object files.
28306 reload_flag=$lt_reload_flag_FC
28307 reload_cmds=$lt_reload_cmds_FC
28309 # Commands used to build an old-style archive.
28310 old_archive_cmds=$lt_old_archive_cmds_FC
28312 # A language specific compiler.
28315 # Is the compiler the GNU compiler?
28318 # Compiler flag to turn off builtin functions.
28319 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28321 # How to pass a linker flag through the compiler.
28322 wl=$lt_lt_prog_compiler_wl_FC
28324 # Additional compiler flags for building library objects.
28325 pic_flag=$lt_lt_prog_compiler_pic_FC
28327 # Compiler flag to prevent dynamic linking.
28328 link_static_flag=$lt_lt_prog_compiler_static_FC
28330 # Does compiler simultaneously support -c and -o options?
28331 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28333 # Whether or not to add -lc for building shared libraries.
28334 build_libtool_need_lc=$archive_cmds_need_lc_FC
28336 # Whether or not to disallow shared libs when runtime libs are static.
28337 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28339 # Compiler flag to allow reflexive dlopens.
28340 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
28342 # Compiler flag to generate shared objects directly from archives.
28343 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
28345 # Whether the compiler copes with passing no objects directly.
28346 compiler_needs_object=$lt_compiler_needs_object_FC
28348 # Create an old-style archive from a shared archive.
28349 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
28351 # Create a temporary old-style archive to link instead of a shared archive.
28352 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
28354 # Commands used to build a shared archive.
28355 archive_cmds=$lt_archive_cmds_FC
28356 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
28358 # Commands used to build a loadable module if different from building
28359 # a shared archive.
28360 module_cmds=$lt_module_cmds_FC
28361 module_expsym_cmds=$lt_module_expsym_cmds_FC
28363 # Whether we are building with GNU ld or not.
28364 with_gnu_ld=$lt_with_gnu_ld_FC
28366 # Flag that allows shared libraries with undefined symbols to be built.
28367 allow_undefined_flag=$lt_allow_undefined_flag_FC
28369 # Flag that enforces no undefined symbols.
28370 no_undefined_flag=$lt_no_undefined_flag_FC
28372 # Flag to hardcode \$libdir into a binary during linking.
28373 # This must work even if \$libdir does not exist
28374 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
28376 # If ld is used when linking, flag to hardcode \$libdir into a binary
28377 # during linking. This must work even if \$libdir does not exist.
28378 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
28380 # Whether we need a single "-rpath" flag with a separated argument.
28381 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
28383 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28384 # DIR into the resulting binary.
28385 hardcode_direct=$hardcode_direct_FC
28387 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28388 # DIR into the resulting binary and the resulting library dependency is
28389 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28390 # library is relocated.
28391 hardcode_direct_absolute=$hardcode_direct_absolute_FC
28393 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28394 # into the resulting binary.
28395 hardcode_minus_L=$hardcode_minus_L_FC
28397 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28398 # into the resulting binary.
28399 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
28401 # Set to "yes" if building a shared library automatically hardcodes DIR
28402 # into the library and all subsequent libraries and executables linked
28404 hardcode_automatic=$hardcode_automatic_FC
28406 # Set to yes if linker adds runtime paths of dependent libraries
28407 # to runtime path list.
28408 inherit_rpath=$inherit_rpath_FC
28410 # Whether libtool must link a program against all its dependency libraries.
28411 link_all_deplibs=$link_all_deplibs_FC
28413 # Fix the shell variable \$srcfile for the compiler.
28414 fix_srcfile_path=$lt_fix_srcfile_path_FC
28416 # Set to "yes" if exported symbols are required.
28417 always_export_symbols=$always_export_symbols_FC
28419 # The commands to list exported symbols.
28420 export_symbols_cmds=$lt_export_symbols_cmds_FC
28422 # Symbols that should not be listed in the preloaded symbols.
28423 exclude_expsyms=$lt_exclude_expsyms_FC
28425 # Symbols that must always be exported.
28426 include_expsyms=$lt_include_expsyms_FC
28428 # Commands necessary for linking programs (against libraries) with templates.
28429 prelink_cmds=$lt_prelink_cmds_FC
28431 # Specify filename containing input files.
28432 file_list_spec=$lt_file_list_spec_FC
28434 # How to hardcode a shared library path into an executable.
28435 hardcode_action=$hardcode_action_FC
28437 # The directories searched by this compiler when creating a shared library.
28438 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
28440 # Dependencies to place before and after the objects being linked to
28441 # create a shared library.
28442 predep_objects=$lt_predep_objects_FC
28443 postdep_objects=$lt_postdep_objects_FC
28444 predeps=$lt_predeps_FC
28445 postdeps=$lt_postdeps_FC
28447 # The library search path used internally by the compiler when linking
28448 # a shared library.
28449 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
28451 # ### END LIBTOOL TAG CONFIG: FC
28456 if test "$GCC" = yes; then
28457 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
28459 echo "/* generated for $CC */" > tmp-stdint.h
28462 sed 's/^ *//' >> tmp-stdint.h <<EOF
28464 #ifndef GCC_GENERATED_STDINT_H
28465 #define GCC_GENERATED_STDINT_H 1
28467 #include <sys/types.h>
28470 if test "$acx_cv_header_stdint" != stdint.h; then
28471 echo "#include <stddef.h>" >> tmp-stdint.h
28473 if test "$acx_cv_header_stdint" != stddef.h; then
28474 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
28477 sed 's/^ *//' >> tmp-stdint.h <<EOF
28478 /* glibc uses these symbols as guards to prevent redefinitions. */
28479 #ifdef __int8_t_defined
28484 #ifdef __uint32_t_defined
28490 # ----------------- done header, emit basic int types -------------
28491 if test "$acx_cv_header_stdint" = stddef.h; then
28492 sed 's/^ *//' >> tmp-stdint.h <<EOF
28496 #ifndef __uint8_t_defined
28497 #define __uint8_t_defined
28499 typedef unsigned $acx_cv_type_int8_t uint8_t;
28506 #ifndef __uint16_t_defined
28507 #define __uint16_t_defined
28509 typedef unsigned $acx_cv_type_int16_t uint16_t;
28516 #ifndef __uint32_t_defined
28517 #define __uint32_t_defined
28519 typedef unsigned $acx_cv_type_int32_t uint32_t;
28526 #ifndef __int8_t_defined
28527 #define __int8_t_defined
28529 typedef $acx_cv_type_int8_t int8_t;
28536 #ifndef __int16_t_defined
28537 #define __int16_t_defined
28539 typedef $acx_cv_type_int16_t int16_t;
28546 #ifndef __int32_t_defined
28547 #define __int32_t_defined
28549 typedef $acx_cv_type_int32_t int32_t;
28554 elif test "$ac_cv_type_u_int32_t" = yes; then
28555 sed 's/^ *//' >> tmp-stdint.h <<EOF
28557 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
28570 #ifndef __uint8_t_defined
28571 #define __uint8_t_defined
28573 typedef u_int8_t uint8_t;
28580 #ifndef __uint16_t_defined
28581 #define __uint16_t_defined
28583 typedef u_int16_t uint16_t;
28590 #ifndef __uint32_t_defined
28591 #define __uint32_t_defined
28593 typedef u_int32_t uint32_t;
28599 sed 's/^ *//' >> tmp-stdint.h <<EOF
28601 /* Some systems have guard macros to prevent redefinitions, define them. */
28623 # ------------- done basic int types, emit int64_t types ------------
28624 if test "$ac_cv_type_uint64_t" = yes; then
28625 sed 's/^ *//' >> tmp-stdint.h <<EOF
28627 /* system headers have good uint64_t and int64_t */
28635 elif test "$ac_cv_type_u_int64_t" = yes; then
28636 sed 's/^ *//' >> tmp-stdint.h <<EOF
28638 /* system headers have an u_int64_t (and int64_t) */
28644 #ifndef __uint64_t_defined
28645 #define __uint64_t_defined
28647 typedef u_int64_t uint64_t;
28652 elif test -n "$acx_cv_type_int64_t"; then
28653 sed 's/^ *//' >> tmp-stdint.h <<EOF
28655 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
28659 typedef $acx_cv_type_int64_t int64_t;
28664 #ifndef __uint64_t_defined
28665 #define __uint64_t_defined
28667 typedef unsigned $acx_cv_type_int64_t uint64_t;
28673 sed 's/^ *//' >> tmp-stdint.h <<EOF
28675 /* some common heuristics for int64_t, using compiler-specific tests */
28676 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
28679 #ifndef __int64_t_defined
28681 typedef long long int64_t;
28688 typedef unsigned long long uint64_t;
28692 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
28693 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
28694 does not implement __extension__. But that compiler doesn't define
28696 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
28697 # define __extension__
28703 __extension__ typedef long long int64_t;
28709 __extension__ typedef unsigned long long uint64_t;
28713 #elif !defined __STRICT_ANSI__
28714 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28719 typedef __int64 int64_t;
28725 typedef unsigned __int64 uint64_t;
28728 # endif /* compiler */
28730 #endif /* ANSI version */
28734 # ------------- done int64_t types, emit intptr types ------------
28735 if test "$ac_cv_type_uintptr_t" != yes; then
28736 sed 's/^ *//' >> tmp-stdint.h <<EOF
28738 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
28739 #ifndef __uintptr_t_defined
28741 typedef u$acx_cv_type_intptr_t uintptr_t;
28744 #ifndef __intptr_t_defined
28746 typedef $acx_cv_type_intptr_t intptr_t;
28752 # ------------- done intptr types, emit int_least types ------------
28753 if test "$ac_cv_type_int_least32_t" != yes; then
28754 sed 's/^ *//' >> tmp-stdint.h <<EOF
28756 /* Define int_least types */
28757 typedef int8_t int_least8_t;
28758 typedef int16_t int_least16_t;
28759 typedef int32_t int_least32_t;
28761 typedef int64_t int_least64_t;
28764 typedef uint8_t uint_least8_t;
28765 typedef uint16_t uint_least16_t;
28766 typedef uint32_t uint_least32_t;
28768 typedef uint64_t uint_least64_t;
28773 # ------------- done intptr types, emit int_fast types ------------
28774 if test "$ac_cv_type_int_fast32_t" != yes; then
28775 sed 's/^ *//' >> tmp-stdint.h <<EOF
28777 /* Define int_fast types. short is often slow */
28778 typedef int8_t int_fast8_t;
28779 typedef int int_fast16_t;
28780 typedef int32_t int_fast32_t;
28782 typedef int64_t int_fast64_t;
28785 typedef uint8_t uint_fast8_t;
28786 typedef unsigned int uint_fast16_t;
28787 typedef uint32_t uint_fast32_t;
28789 typedef uint64_t uint_fast64_t;
28794 if test "$ac_cv_type_uintmax_t" != yes; then
28795 sed 's/^ *//' >> tmp-stdint.h <<EOF
28797 /* Define intmax based on what we found */
28800 typedef int64_t intmax_t;
28802 typedef long intmax_t;
28807 typedef uint64_t uintmax_t;
28809 typedef unsigned long uintmax_t;
28815 sed 's/^ *//' >> tmp-stdint.h <<EOF
28817 #endif /* GCC_GENERATED_STDINT_H */
28820 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
28823 mv -f tmp-stdint.h gstdint.h
28834 ac_clean_files=$ac_clean_files_save
28836 test $ac_write_fail = 0 ||
28837 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28840 # configure is writing to config.log, and then calls config.status.
28841 # config.status does its own redirection, appending to config.log.
28842 # Unfortunately, on DOS this fails, as config.log is still kept open
28843 # by configure, so config.status won't be able to write to it; its
28844 # output is simply discarded. So we exec the FD to /dev/null,
28845 # effectively closing config.log, so it can be properly (re)opened and
28846 # appended to by config.status. When coming back to configure, we
28847 # need to make the FD available again.
28848 if test "$no_create" != yes; then
28850 ac_config_status_args=
28851 test "$silent" = yes &&
28852 ac_config_status_args="$ac_config_status_args --quiet"
28854 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28856 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28857 # would make configure fail if this is the last instruction.
28858 $ac_cs_success || as_fn_exit $?
28860 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28862 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}