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 as_fn_append ac_func_list " umask"
2595 as_fn_append ac_func_list " getegid"
2596 as_fn_append ac_func_list " __secure_getenv"
2597 as_fn_append ac_header_list " math.h"
2598 # Check that the precious variables saved in the cache have kept the same
2600 ac_cache_corrupted=false
2601 for ac_var in $ac_precious_vars; do
2602 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2603 eval ac_new_set=\$ac_env_${ac_var}_set
2604 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2605 eval ac_new_val=\$ac_env_${ac_var}_value
2606 case $ac_old_set,$ac_new_set in
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2609 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2610 ac_cache_corrupted=: ;;
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2613 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2614 ac_cache_corrupted=: ;;
2617 if test "x$ac_old_val" != "x$ac_new_val"; then
2618 # differences in whitespace do not lead to failure.
2619 ac_old_val_w=`echo x $ac_old_val`
2620 ac_new_val_w=`echo x $ac_new_val`
2621 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2623 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2624 ac_cache_corrupted=:
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2627 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2628 eval $ac_var=\$ac_old_val
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2631 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2633 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2636 # Pass precious variables to config.status.
2637 if test "$ac_new_set" = set; then
2639 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2640 *) ac_arg=$ac_var=$ac_new_val ;;
2642 case " $ac_configure_args " in
2643 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2644 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2648 if $ac_cache_corrupted; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2652 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2653 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2655 ## -------------------- ##
2656 ## Main body of script. ##
2657 ## -------------------- ##
2660 ac_cpp='$CPP $CPPFLAGS'
2661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2669 ac_config_headers="$ac_config_headers config.h"
2672 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2673 for ac_t in install-sh install.sh shtool; do
2674 if test -f "$ac_dir/$ac_t"; then
2676 ac_install_sh="$ac_aux_dir/$ac_t -c"
2681 if test -z "$ac_aux_dir"; then
2682 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2685 # These three variables are undocumented and unsupported,
2686 # and are intended to be withdrawn in a future Autoconf release.
2687 # They can cause serious problems if a builder's source tree is in a directory
2688 # whose full name contains unusual characters.
2689 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2690 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2691 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2694 # Make sure we can run config.sub.
2695 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2696 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2699 $as_echo_n "checking build system type... " >&6; }
2700 if test "${ac_cv_build+set}" = set; then :
2701 $as_echo_n "(cached) " >&6
2703 ac_build_alias=$build_alias
2704 test "x$ac_build_alias" = x &&
2705 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2706 test "x$ac_build_alias" = x &&
2707 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2708 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2709 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2713 $as_echo "$ac_cv_build" >&6; }
2714 case $ac_cv_build in
2716 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2719 ac_save_IFS=$IFS; IFS='-'
2725 # Remember, the first character of IFS is used to create $*,
2726 # except with old shells:
2729 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2732 case ${build_alias} in
2733 "") build_noncanonical=${build} ;;
2734 *) build_noncanonical=${build_alias} ;;
2737 case ${host_alias} in
2738 "") host_noncanonical=${build_noncanonical} ;;
2739 *) host_noncanonical=${host_alias} ;;
2742 case ${target_alias} in
2743 "") target_noncanonical=${host_noncanonical} ;;
2744 *) target_noncanonical=${target_alias} ;;
2748 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2749 # have matching libraries, they should use host libraries: Makefile.tpl
2750 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2751 # However, they still use the build modules, because the corresponding
2752 # host modules (e.g. bison) are only built for the host when bootstrap
2754 # - build_subdir is where we find build modules, and never changes.
2755 # - build_libsubdir is where we find build libraries, and can be overridden.
2757 # Prefix 'build-' so this never conflicts with target_subdir.
2758 build_subdir="build-${build_noncanonical}"
2760 # Check whether --with-build-libsubdir was given.
2761 if test "${with_build_libsubdir+set}" = set; then :
2762 withval=$with_build_libsubdir; build_libsubdir="$withval"
2764 build_libsubdir="$build_subdir"
2767 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2768 if ( test $srcdir = . && test -d gcc ) \
2769 || test -d $srcdir/../host-${host_noncanonical}; then
2770 host_subdir="host-${host_noncanonical}"
2775 target_subdir=${target_noncanonical}
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2783 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2784 # Check whether --enable-version-specific-runtime-libs was given.
2785 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2786 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2787 yes) version_specific_libs=yes ;;
2788 no) version_specific_libs=no ;;
2789 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2792 version_specific_libs=no
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2796 $as_echo "$version_specific_libs" >&6; }
2798 # Build with intermodule optimisations
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2800 $as_echo_n "checking for --enable-intermodule... " >&6; }
2801 # Check whether --enable-intermodule was given.
2802 if test "${enable_intermodule+set}" = set; then :
2803 enableval=$enable_intermodule; case "$enable_intermodule" in
2804 yes) onestep="-onestep";;
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2812 $as_echo "$enable_intermodule" >&6; }
2813 if test x$onestep = x-onestep; then
2823 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2825 # You will slowly go insane if you do not grok the following fact: when
2826 # building this library, the top-level /target/ becomes the library's /host/.
2828 # configure then causes --target to default to --host, exactly like any
2829 # other package using autoconf. Therefore, 'target' and 'host' will
2830 # always be the same. This makes sense both for native and cross compilers
2831 # just think about it for a little while. :-)
2833 # Also, if this library is being configured as part of a cross compiler, the
2834 # top-level configure script will pass the "real" host as $with_cross_host.
2836 # Do not delete or change the following two lines. For why, see
2837 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2839 $as_echo_n "checking host system type... " >&6; }
2840 if test "${ac_cv_host+set}" = set; then :
2841 $as_echo_n "(cached) " >&6
2843 if test "x$host_alias" = x; then
2844 ac_cv_host=$ac_cv_build
2846 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2847 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2852 $as_echo "$ac_cv_host" >&6; }
2855 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2858 ac_save_IFS=$IFS; IFS='-'
2864 # Remember, the first character of IFS is used to create $*,
2865 # except with old shells:
2868 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2872 $as_echo_n "checking target system type... " >&6; }
2873 if test "${ac_cv_target+set}" = set; then :
2874 $as_echo_n "(cached) " >&6
2876 if test "x$target_alias" = x; then
2877 ac_cv_target=$ac_cv_host
2879 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2880 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2885 $as_echo "$ac_cv_target" >&6; }
2886 case $ac_cv_target in
2888 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2890 target=$ac_cv_target
2891 ac_save_IFS=$IFS; IFS='-'
2897 # Remember, the first character of IFS is used to create $*,
2898 # except with old shells:
2901 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2904 # The aliases save the names the user supplied, while $host etc.
2905 # will get canonicalized.
2906 test -n "$target_alias" &&
2907 test "$program_prefix$program_suffix$program_transform_name" = \
2909 program_prefix=${target_alias}-
2914 target_alias=${target_alias-$host_alias}
2917 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2918 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2919 # 1.9.6: minimum required version
2920 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2921 # of other PACKAGE_* variables will, however, and there's nothing
2922 # we can do about that; they come from AC_INIT).
2923 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2924 # file in the top srcdir, etc, etc), so stop complaining.
2925 # no-dist: we don't want 'dist' and related rules.
2926 # -Wall: turns on all automake warnings...
2927 # -Wno-portability: ...except this one, since GNU make is required.
2928 am__api_version='1.11'
2930 # Find a good install program. We prefer a C program (faster),
2931 # so one script is as good as another. But avoid the broken or
2932 # incompatible versions:
2933 # SysV /etc/install, /usr/sbin/install
2934 # SunOS /usr/etc/install
2935 # IRIX /sbin/install
2937 # AmigaOS /C/install, which installs bootblocks on floppy discs
2938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2941 # OS/2's system install, which has a completely different semantic
2942 # ./install, which can be erroneously created by make from ./install.sh.
2943 # Reject install programs that cannot install multiple files.
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2945 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2946 if test -z "$INSTALL"; then
2947 if test "${ac_cv_path_install+set}" = set; then :
2948 $as_echo_n "(cached) " >&6
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir=.
2955 # Account for people who put trailing slashes in PATH elements.
2956 case $as_dir/ in #((
2957 ./ | .// | /[cC]/* | \
2958 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2959 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2962 # OSF1 and SCO ODT 3.0 have their own names for install.
2963 # Don't use installbsd from OSF since it installs stuff as root
2965 for ac_prog in ginstall scoinst install; do
2966 for ac_exec_ext in '' $ac_executable_extensions; do
2967 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2968 if test $ac_prog = install &&
2969 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2970 # AIX install. It has an incompatible calling convention.
2972 elif test $ac_prog = install &&
2973 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2974 # program-specific install script used by HP pwplus--don't use.
2977 rm -rf conftest.one conftest.two conftest.dir
2978 echo one > conftest.one
2979 echo two > conftest.two
2981 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2982 test -s conftest.one && test -s conftest.two &&
2983 test -s conftest.dir/conftest.one &&
2984 test -s conftest.dir/conftest.two
2986 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2999 rm -rf conftest.one conftest.two conftest.dir
3002 if test "${ac_cv_path_install+set}" = set; then
3003 INSTALL=$ac_cv_path_install
3005 # As a last resort, use the slow shell script. Don't cache a
3006 # value for INSTALL within a source directory, because that will
3007 # break other packages using the cache if that directory is
3008 # removed, or if the value is a relative name.
3009 INSTALL=$ac_install_sh
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3013 $as_echo "$INSTALL" >&6; }
3015 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3016 # It thinks the first close brace ends the variable substitution.
3017 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3019 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3021 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3024 $as_echo_n "checking whether build environment is sane... " >&6; }
3027 echo timestamp > conftest.file
3028 # Reject unsafe characters in $srcdir or the absolute working directory
3029 # name. Accept space and tab only in the latter.
3033 *[\\\"\#\$\&\'\`$am_lf]*)
3034 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3037 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3038 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3041 # Do `set' in a subshell so we don't clobber the current shell's
3042 # arguments. Must try -L first in case configure is actually a
3043 # symlink; some systems play weird games with the mod time of symlinks
3044 # (eg FreeBSD returns the mod time of the symlink's containing
3047 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3048 if test "$*" = "X"; then
3050 set X `ls -t "$srcdir/configure" conftest.file`
3053 if test "$*" != "X $srcdir/configure conftest.file" \
3054 && test "$*" != "X conftest.file $srcdir/configure"; then
3056 # If neither matched, then we have a broken ls. This can happen
3057 # if, for instance, CONFIG_SHELL is bash and it inherits a
3058 # broken ls alias from the environment. This has actually
3059 # happened. Such a system could not be considered "sane".
3060 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3061 alias in your environment" "$LINENO" 5
3064 test "$2" = conftest.file
3070 as_fn_error "newly created file is older than distributed files!
3071 Check your system clock" "$LINENO" 5
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3074 $as_echo "yes" >&6; }
3075 test "$program_prefix" != NONE &&
3076 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3077 # Use a double $ so make ignores it.
3078 test "$program_suffix" != NONE &&
3079 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3080 # Double any \ or $.
3081 # By default was `s,x,x', remove it if useless.
3082 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3083 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3085 # expand $ac_aux_dir to an absolute path
3086 am_aux_dir=`cd $ac_aux_dir && pwd`
3088 if test x"${MISSING+set}" != xset; then
3091 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3093 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3096 # Use eval to expand $SHELL
3097 if eval "$MISSING --run true"; then
3098 am_missing_run="$MISSING --run "
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3102 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3105 if test x"${install_sh}" != xset; then
3108 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3110 install_sh="\${SHELL} $am_aux_dir/install-sh"
3114 # Installed binaries are usually stripped using `strip' when the user
3115 # run `make install-strip'. However `strip' might not be the right
3116 # tool to use in cross-compilation environments, therefore Automake
3117 # will honor the `STRIP' environment variable to overrule this program.
3118 if test "$cross_compiling" != no; then
3119 if test -n "$ac_tool_prefix"; then
3120 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3121 set dummy ${ac_tool_prefix}strip; ac_word=$2
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if test "${ac_cv_prog_STRIP+set}" = set; then :
3125 $as_echo_n "(cached) " >&6
3127 if test -n "$STRIP"; then
3128 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir=.
3135 for ac_exec_ext in '' $ac_executable_extensions; do
3136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3147 STRIP=$ac_cv_prog_STRIP
3148 if test -n "$STRIP"; then
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3150 $as_echo "$STRIP" >&6; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3158 if test -z "$ac_cv_prog_STRIP"; then
3160 # Extract the first word of "strip", so it can be a program name with args.
3161 set dummy strip; ac_word=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$ac_ct_STRIP"; then
3168 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir=.
3175 for ac_exec_ext in '' $ac_executable_extensions; do
3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 ac_cv_prog_ac_ct_STRIP="strip"
3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3188 if test -n "$ac_ct_STRIP"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3190 $as_echo "$ac_ct_STRIP" >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193 $as_echo "no" >&6; }
3196 if test "x$ac_ct_STRIP" = x; then
3199 case $cross_compiling:$ac_tool_warned in
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3203 ac_tool_warned=yes ;;
3208 STRIP="$ac_cv_prog_STRIP"
3212 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3215 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3216 if test -z "$MKDIR_P"; then
3217 if test "${ac_cv_path_mkdir+set}" = set; then :
3218 $as_echo_n "(cached) " >&6
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3224 test -z "$as_dir" && as_dir=.
3225 for ac_prog in mkdir gmkdir; do
3226 for ac_exec_ext in '' $ac_executable_extensions; do
3227 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3228 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3229 'mkdir (GNU coreutils) '* | \
3230 'mkdir (coreutils) '* | \
3231 'mkdir (fileutils) '4.1*)
3232 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3242 if test "${ac_cv_path_mkdir+set}" = set; then
3243 MKDIR_P="$ac_cv_path_mkdir -p"
3245 # As a last resort, use the slow shell script. Don't cache a
3246 # value for MKDIR_P within a source directory, because that will
3247 # break other packages using the cache if that directory is
3248 # removed, or if the value is a relative name.
3249 test -d ./--version && rmdir ./--version
3250 MKDIR_P="$ac_install_sh -d"
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3254 $as_echo "$MKDIR_P" >&6; }
3258 [\\/$]* | ?:[\\/]*) ;;
3259 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3262 for ac_prog in gawk mawk nawk awk
3264 # Extract the first word of "$ac_prog", so it can be a program name with args.
3265 set dummy $ac_prog; ac_word=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if test "${ac_cv_prog_AWK+set}" = set; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$AWK"; then
3272 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir=.
3279 for ac_exec_ext in '' $ac_executable_extensions; do
3280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3281 ac_cv_prog_AWK="$ac_prog"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 if test -n "$AWK"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3294 $as_echo "$AWK" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3301 test -n "$AWK" && break
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3305 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3307 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3308 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3309 $as_echo_n "(cached) " >&6
3311 cat >conftest.make <<\_ACEOF
3314 @echo '@@@%%%=$(MAKE)=@@@%%%'
3316 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3317 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3319 eval ac_cv_prog_make_${ac_make}_set=yes;;
3321 eval ac_cv_prog_make_${ac_make}_set=no;;
3325 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3327 $as_echo "yes" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3332 SET_MAKE="MAKE=${MAKE-make}"
3335 rm -rf .tst 2>/dev/null
3336 mkdir .tst 2>/dev/null
3337 if test -d .tst; then
3342 rmdir .tst 2>/dev/null
3344 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3345 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3346 # is not polluted with repeated "-I."
3347 am__isrc=' -I$(srcdir)'
3348 # test to see if srcdir already configured
3349 if test -f $srcdir/config.status; then
3350 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3354 # test whether we have cygpath
3355 if test -z "$CYGPATH_W"; then
3356 if (cygpath --version) >/dev/null 2>/dev/null; then
3357 CYGPATH_W='cygpath -w'
3364 # Define the identity of the package.
3365 PACKAGE='libgfortran'
3369 # Some tools Automake needs.
3371 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3374 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3377 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3380 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3383 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3385 # We need awk for the "check" target. The system "awk" is bad on
3387 # Always define AMTAR for backward compatibility.
3389 AMTAR=${AMTAR-"${am_missing_run}tar"}
3391 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3400 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3401 # Check whether --enable-maintainer-mode was given.
3402 if test "${enable_maintainer_mode+set}" = set; then :
3403 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3405 USE_MAINTAINER_MODE=no
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3409 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3410 if test $USE_MAINTAINER_MODE = yes; then
3411 MAINTAINER_MODE_TRUE=
3412 MAINTAINER_MODE_FALSE='#'
3414 MAINTAINER_MODE_TRUE='#'
3415 MAINTAINER_MODE_FALSE=
3418 MAINT=$MAINTAINER_MODE_TRUE
3421 # Default to --enable-multilib
3422 # Check whether --enable-multilib was given.
3423 if test "${enable_multilib+set}" = set; then :
3424 enableval=$enable_multilib; case "$enableval" in
3425 yes) multilib=yes ;;
3427 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3434 # We may get other options which we leave undocumented:
3435 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3436 # See config-ml.in if you want the gory details.
3438 if test "$srcdir" = "."; then
3439 if test "$with_target_subdir" != "."; then
3440 multi_basedir="$srcdir/$with_multisrctop../.."
3442 multi_basedir="$srcdir/$with_multisrctop.."
3445 multi_basedir="$srcdir/.."
3449 # Even if the default multilib is not a cross compilation,
3450 # it may be that some of the other multilibs are.
3451 if test $cross_compiling = no && test $multilib = yes \
3452 && test "x${with_multisubdir}" != x ; then
3453 cross_compiling=maybe
3456 ac_config_commands="$ac_config_commands default-1"
3459 # Handy for debugging:
3460 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3462 # Are we being configured with some form of cross compiler?
3463 # NB: We don't actually need to know this just now, but when, say, a test
3464 # suite is included, we'll have to know.
3465 if test "$build" != "$host"; then
3466 LIBGFOR_IS_NATIVE=false
3469 LIBGFOR_IS_NATIVE=true
3472 DEPDIR="${am__leading_dot}deps"
3474 ac_config_commands="$ac_config_commands depfiles"
3477 am_make=${MAKE-make}
3478 cat > confinc << 'END'
3480 @echo this is the am__doit target
3483 # If we don't find an include directive, just comment out the code.
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3485 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3489 # First try GNU make style include.
3490 echo "include confinc" > confmf
3491 # Ignore all kinds of additional output from `make'.
3492 case `$am_make -s -f confmf 2> /dev/null` in #(
3493 *the\ am__doit\ target*)
3499 # Now try BSD make style include.
3500 if test "$am__include" = "#"; then
3501 echo '.include "confinc"' > confmf
3502 case `$am_make -s -f confmf 2> /dev/null` in #(
3503 *the\ am__doit\ target*)
3504 am__include=.include
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3513 $as_echo "$_am_result" >&6; }
3514 rm -f confinc confmf
3516 # Check whether --enable-dependency-tracking was given.
3517 if test "${enable_dependency_tracking+set}" = set; then :
3518 enableval=$enable_dependency_tracking;
3521 if test "x$enable_dependency_tracking" != xno; then
3522 am_depcomp="$ac_aux_dir/depcomp"
3525 if test "x$enable_dependency_tracking" != xno; then
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 if test -n "$ac_tool_prefix"; then
3540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3541 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if test "${ac_cv_prog_CC+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3547 if test -n "$CC"; then
3548 ac_cv_prog_CC="$CC" # Let the user override the test.
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3557 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3568 if test -n "$CC"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3570 $as_echo "$CC" >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3578 if test -z "$ac_cv_prog_CC"; then
3580 # Extract the first word of "gcc", so it can be a program name with args.
3581 set dummy gcc; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3585 $as_echo_n "(cached) " >&6
3587 if test -n "$ac_ct_CC"; then
3588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597 ac_cv_prog_ac_ct_CC="gcc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3608 if test -n "$ac_ct_CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3610 $as_echo "$ac_ct_CC" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3616 if test "x$ac_ct_CC" = x; then
3619 case $cross_compiling:$ac_tool_warned in
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3623 ac_tool_warned=yes ;;
3631 if test -z "$CC"; then
3632 if test -n "$ac_tool_prefix"; then
3633 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3634 set dummy ${ac_tool_prefix}cc; ac_word=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if test "${ac_cv_prog_CC+set}" = set; then :
3638 $as_echo_n "(cached) " >&6
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir=.
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650 ac_cv_prog_CC="${ac_tool_prefix}cc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 if test -n "$CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663 $as_echo "$CC" >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3672 if test -z "$CC"; then
3673 # Extract the first word of "cc", so it can be a program name with args.
3674 set dummy cc; ac_word=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if test "${ac_cv_prog_CC+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3680 if test -n "$CC"; then
3681 ac_cv_prog_CC="$CC" # Let the user override the test.
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3692 ac_prog_rejected=yes
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 if test $ac_prog_rejected = yes; then
3704 # We found a bogon in the path, so make sure we never use it.
3705 set dummy $ac_cv_prog_CC
3707 if test $# != 0; then
3708 # We chose a different compiler from the bogus one.
3709 # However, it has the same basename, so the bogon will be chosen
3710 # first if we set CC to just the basename; use the full file name.
3712 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3718 if test -n "$CC"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3720 $as_echo "$CC" >&6; }
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3728 if test -z "$CC"; then
3729 if test -n "$ac_tool_prefix"; then
3730 for ac_prog in cl.exe
3732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if test "${ac_cv_prog_CC+set}" = set; then :
3737 $as_echo_n "(cached) " >&6
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC="$CC" # Let the user override the test.
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3769 test -n "$CC" && break
3772 if test -z "$CC"; then
3774 for ac_prog in cl.exe
3776 # Extract the first word of "$ac_prog", so it can be a program name with args.
3777 set dummy $ac_prog; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3781 $as_echo_n "(cached) " >&6
3783 if test -n "$ac_ct_CC"; then
3784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3793 ac_cv_prog_ac_ct_CC="$ac_prog"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3804 if test -n "$ac_ct_CC"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 $as_echo "$ac_ct_CC" >&6; }
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3813 test -n "$ac_ct_CC" && break
3816 if test "x$ac_ct_CC" = x; then
3819 case $cross_compiling:$ac_tool_warned in
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3823 ac_tool_warned=yes ;;
3832 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834 as_fn_error "no acceptable C compiler found in \$PATH
3835 See \`config.log' for more details." "$LINENO" 5; }
3837 # Provide some information about the compiler.
3838 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3841 for ac_option in --version -v -V -qversion; do
3842 { { ac_try="$ac_compiler $ac_option >&5"
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3851 if test -s conftest.err; then
3853 ... rest of stderr output deleted ...
3854 10q' conftest.err >conftest.er1
3855 cat conftest.er1 >&5
3856 rm -f conftest.er1 conftest.err
3858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3875 (eval $ac_link) 2>&5
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }; then :
3883 if test x$gcc_no_link = xyes; then
3884 # Setting cross_compile will disable run tests; it will
3885 # also disable AC_CHECK_FILE but that's generally
3886 # correct if we can't link.
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3901 ac_clean_files_save=$ac_clean_files
3902 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3903 # Try to create an executable without -o first, disregard a.out.
3904 # It will help us diagnose broken compilers, and finding out an intuition
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3907 $as_echo_n "checking for C compiler default output file name... " >&6; }
3908 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3910 # The possible output files:
3911 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3914 for ac_file in $ac_files
3917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3918 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3923 if { { ac_try="$ac_link_default"
3925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;;
3928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3929 $as_echo "$ac_try_echo"; } >&5
3930 (eval "$ac_link_default") 2>&5
3932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3933 test $ac_status = 0; }; then :
3934 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3935 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3936 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3937 # so that the user can short-circuit this test for compilers unknown to
3939 for ac_file in $ac_files ''
3941 test -f "$ac_file" || continue
3943 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3946 # We found the default executable, but exeext='' is most
3950 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3952 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3954 # We set ac_cv_exeext here because the later test for it is not
3955 # safe: cross compilers may not add the suffix if given an `-o'
3956 # argument, so we may need to know it at that point already.
3957 # Even if this section looks crufty: it has the advantage of
3964 test "$ac_cv_exeext" = no && ac_cv_exeext=
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3970 $as_echo "$ac_file" >&6; }
3971 if test -z "$ac_file"; then :
3972 $as_echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3977 { as_fn_set_status 77
3978 as_fn_error "C compiler cannot create executables
3979 See \`config.log' for more details." "$LINENO" 5; }; }
3981 ac_exeext=$ac_cv_exeext
3983 # Check that the compiler produces executables we can run. If not, either
3984 # the compiler is broken, or we cross compile.
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3986 $as_echo_n "checking whether the C compiler works... " >&6; }
3987 # If not cross compiling, check that we can run a simple program.
3988 if test "$cross_compiling" != yes; then
3989 if { ac_try='./$ac_file'
3990 { { case "(($ac_try" in
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_try") 2>&5
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }; }; then
4002 if test "$cross_compiling" = maybe; then
4005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007 as_fn_error "cannot run C compiled programs.
4008 If you meant to cross compile, use \`--host'.
4009 See \`config.log' for more details." "$LINENO" 5; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014 $as_echo "yes" >&6; }
4016 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4017 ac_clean_files=$ac_clean_files_save
4018 # Check that the compiler produces executables we can run. If not, either
4019 # the compiler is broken, or we cross compile.
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4021 $as_echo_n "checking whether we are cross compiling... " >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4023 $as_echo "$cross_compiling" >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4026 $as_echo_n "checking for suffix of executables... " >&6; }
4027 if { { ac_try="$ac_link"
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_link") 2>&5
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; then :
4038 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4039 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4040 # work properly (i.e., refer to `conftest.exe'), while it won't with
4042 for ac_file in conftest.exe conftest conftest.*; do
4043 test -f "$ac_file" || continue
4045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4046 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054 as_fn_error "cannot compute suffix of executables: cannot compile and link
4055 See \`config.log' for more details." "$LINENO" 5; }
4057 rm -f conftest$ac_cv_exeext
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4059 $as_echo "$ac_cv_exeext" >&6; }
4061 rm -f conftest.$ac_ext
4062 EXEEXT=$ac_cv_exeext
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4066 $as_echo_n "checking for suffix of object files... " >&6; }
4067 if test "${ac_cv_objext+set}" = set; then :
4068 $as_echo_n "(cached) " >&6
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4081 rm -f conftest.o conftest.obj
4082 if { { ac_try="$ac_compile"
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 $as_echo "$ac_try_echo"; } >&5
4089 (eval "$ac_compile") 2>&5
4091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }; then :
4093 for ac_file in conftest.o conftest.obj conftest.*; do
4094 test -f "$ac_file" || continue;
4096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4097 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4102 $as_echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.$ac_ext >&5
4105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4107 as_fn_error "cannot compute suffix of object files: cannot compile
4108 See \`config.log' for more details." "$LINENO" 5; }
4110 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4113 $as_echo "$ac_cv_objext" >&6; }
4114 OBJEXT=$ac_cv_objext
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4117 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4118 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4135 if ac_fn_c_try_compile "$LINENO"; then :
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4145 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4146 if test $ac_compiler_gnu = yes; then
4151 ac_test_CFLAGS=${CFLAGS+set}
4152 ac_save_CFLAGS=$CFLAGS
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4154 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4155 if test "${ac_cv_prog_cc_g+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4158 ac_save_c_werror_flag=$ac_c_werror_flag
4159 ac_c_werror_flag=yes
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4173 if ac_fn_c_try_compile "$LINENO"; then :
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4188 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_c_werror_flag=$ac_save_c_werror_flag
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4204 if ac_fn_c_try_compile "$LINENO"; then :
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 ac_c_werror_flag=$ac_save_c_werror_flag
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4215 $as_echo "$ac_cv_prog_cc_g" >&6; }
4216 if test "$ac_test_CFLAGS" = set; then
4217 CFLAGS=$ac_save_CFLAGS
4218 elif test $ac_cv_prog_cc_g = yes; then
4219 if test "$GCC" = yes; then
4225 if test "$GCC" = yes; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4232 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4233 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4234 $as_echo_n "(cached) " >&6
4236 ac_cv_prog_cc_c89=no
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4242 #include <sys/types.h>
4243 #include <sys/stat.h>
4244 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4245 struct buf { int x; };
4246 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4247 static char *e (p, i)
4253 static char *f (char * (*g) (char **, int), char **p, ...)
4258 s = g (p, va_arg (v,int));
4263 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4264 function prototypes and stuff, but not '\xHH' hex character constants.
4265 These don't provoke an error unfortunately, instead are silently treated
4266 as 'x'. The following induces an error, until -std is added to get
4267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4268 array size at least. It's necessary to write '\x00'==0 to get something
4269 that's true only with -std. */
4270 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4272 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4273 inside strings and character constants. */
4275 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4277 int test (int i, double x);
4278 struct s1 {int (*f) (int a);};
4279 struct s2 {int (*f) (double a);};
4280 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4286 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4291 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4292 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4294 CC="$ac_save_CC $ac_arg"
4295 if ac_fn_c_try_compile "$LINENO"; then :
4296 ac_cv_prog_cc_c89=$ac_arg
4298 rm -f core conftest.err conftest.$ac_objext
4299 test "x$ac_cv_prog_cc_c89" != "xno" && break
4301 rm -f conftest.$ac_ext
4306 case "x$ac_cv_prog_cc_c89" in
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4309 $as_echo "none needed" >&6; } ;;
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4312 $as_echo "unsupported" >&6; } ;;
4314 CC="$CC $ac_cv_prog_cc_c89"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4316 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4318 if test "x$ac_cv_prog_cc_c89" != xno; then :
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328 depcc="$CC" am_compiler_list=
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4331 $as_echo_n "checking dependency style of $depcc... " >&6; }
4332 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4333 $as_echo_n "(cached) " >&6
4335 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4336 # We make a subdir and do the tests there. Otherwise we can end up
4337 # making bogus files that we don't know about and never remove. For
4338 # instance it was reported that on HP-UX the gcc test will end up
4339 # making a dummy file named `D' -- because `-MD' means `put the output
4342 # Copy depcomp to subdir because otherwise we won't find it if we're
4343 # using a relative directory.
4344 cp "$am_depcomp" conftest.dir
4346 # We will build objects and dependencies in a subdirectory because
4347 # it helps to detect inapplicable dependency modes. For instance
4348 # both Tru64's cc and ICC support -MD to output dependencies as a
4349 # side effect of compilation, but ICC will put the dependencies in
4350 # the current directory while Tru64 will put them in the object
4354 am_cv_CC_dependencies_compiler_type=none
4355 if test "$am_compiler_list" = ""; then
4356 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4359 case " $depcc " in #(
4360 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4363 for depmode in $am_compiler_list; do
4364 # Setup a source with many dependencies, because some compilers
4365 # like to wrap large dependency lists on column 80 (with \), and
4366 # we should not choose a depcomp mode which is confused by this.
4368 # We need to recreate these files for each test, as the compiler may
4369 # overwrite some of them when testing with obscure command lines.
4370 # This happens at least with the AIX C compiler.
4372 for i in 1 2 3 4 5 6; do
4373 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4374 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4375 # Solaris 8's {/usr,}/bin/sh.
4376 touch sub/conftst$i.h
4378 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4380 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4381 # mode. It turns out that the SunPro C++ compiler does not properly
4382 # handle `-M -o', and we need to detect this. Also, some Intel
4383 # versions had trouble with output in subdirs
4384 am__obj=sub/conftest.${OBJEXT-o}
4385 am__minus_obj="-o $am__obj"
4388 # This depmode causes a compiler race in universal mode.
4389 test "$am__universal" = false || continue
4392 # after this tag, mechanisms are not by side-effect, so they'll
4393 # only be used when explicitly requested
4394 if test "x$enable_dependency_tracking" = xyes; then
4400 msvisualcpp | msvcmsys)
4401 # This compiler won't grok `-c -o', but also, the minuso test has
4402 # not run yet. These depmodes are late enough in the game, and
4403 # so weak that their functioning should not be impacted.
4404 am__obj=conftest.${OBJEXT-o}
4409 if depmode=$depmode \
4410 source=sub/conftest.c object=$am__obj \
4411 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4412 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4413 >/dev/null 2>conftest.err &&
4414 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4415 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4416 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4417 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4418 # icc doesn't choke on unknown options, it will just issue warnings
4419 # or remarks (even with -Werror). So we grep stderr for any message
4420 # that says an option was ignored or not supported.
4421 # When given -MP, icc 7.0 and 7.1 complain thusly:
4422 # icc: Command line warning: ignoring option '-M'; no argument required
4423 # The diagnosis changed in icc 8.0:
4424 # icc: Command line remark: option '-MP' not supported
4425 if (grep 'ignoring option' conftest.err ||
4426 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4427 am_cv_CC_dependencies_compiler_type=$depmode
4436 am_cv_CC_dependencies_compiler_type=none
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4441 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4442 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4445 test "x$enable_dependency_tracking" != xno \
4446 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4448 am__fastdepCC_FALSE='#'
4450 am__fastdepCC_TRUE='#'
4451 am__fastdepCC_FALSE=
4457 ac_cpp='$CPP $CPPFLAGS'
4458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4462 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4463 # On Suns, sometimes $CPP names a directory.
4464 if test -n "$CPP" && test -d "$CPP"; then
4467 if test -z "$CPP"; then
4468 if test "${ac_cv_prog_CPP+set}" = set; then :
4469 $as_echo_n "(cached) " >&6
4471 # Double quotes because CPP needs to be expanded
4472 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4475 for ac_c_preproc_warn_flag in '' yes
4477 # Use a header file that comes with gcc, so configuring glibc
4478 # with a fresh cross-compiler works.
4479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4480 # <limits.h> exists even on freestanding compilers.
4481 # On the NeXT, cc -E runs the code through the compiler's parser,
4482 # not just through cpp. "Syntax error" is here to catch this case.
4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4486 # include <limits.h>
4488 # include <assert.h>
4492 if ac_fn_c_try_cpp "$LINENO"; then :
4495 # Broken: fails on valid input.
4498 rm -f conftest.err conftest.$ac_ext
4500 # OK, works on sane cases. Now check whether nonexistent headers
4501 # can be detected and how.
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4504 #include <ac_nonexistent.h>
4506 if ac_fn_c_try_cpp "$LINENO"; then :
4507 # Broken: success on invalid input.
4510 # Passes both tests.
4514 rm -f conftest.err conftest.$ac_ext
4517 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4518 rm -f conftest.err conftest.$ac_ext
4519 if $ac_preproc_ok; then :
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4532 $as_echo "$CPP" >&6; }
4534 for ac_c_preproc_warn_flag in '' yes
4536 # Use a header file that comes with gcc, so configuring glibc
4537 # with a fresh cross-compiler works.
4538 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4539 # <limits.h> exists even on freestanding compilers.
4540 # On the NeXT, cc -E runs the code through the compiler's parser,
4541 # not just through cpp. "Syntax error" is here to catch this case.
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4545 # include <limits.h>
4547 # include <assert.h>
4551 if ac_fn_c_try_cpp "$LINENO"; then :
4554 # Broken: fails on valid input.
4557 rm -f conftest.err conftest.$ac_ext
4559 # OK, works on sane cases. Now check whether nonexistent headers
4560 # can be detected and how.
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4563 #include <ac_nonexistent.h>
4565 if ac_fn_c_try_cpp "$LINENO"; then :
4566 # Broken: success on invalid input.
4569 # Passes both tests.
4573 rm -f conftest.err conftest.$ac_ext
4576 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4577 rm -f conftest.err conftest.$ac_ext
4578 if $ac_preproc_ok; then :
4581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4583 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4584 See \`config.log' for more details." "$LINENO" 5; }
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4595 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4596 if test "${ac_cv_path_GREP+set}" = set; then :
4597 $as_echo_n "(cached) " >&6
4599 if test -z "$GREP"; then
4600 ac_path_GREP_found=false
4601 # Loop through the user's path and test for each of PROGNAME-LIST
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4606 test -z "$as_dir" && as_dir=.
4607 for ac_prog in grep ggrep; do
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4610 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4611 # Check for GNU ac_path_GREP and select it if it is found.
4612 # Check for GNU $ac_path_GREP
4613 case `"$ac_path_GREP" --version 2>&1` in
4615 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4618 $as_echo_n 0123456789 >"conftest.in"
4621 cat "conftest.in" "conftest.in" >"conftest.tmp"
4622 mv "conftest.tmp" "conftest.in"
4623 cp "conftest.in" "conftest.nl"
4624 $as_echo 'GREP' >> "conftest.nl"
4625 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4626 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4627 as_fn_arith $ac_count + 1 && ac_count=$as_val
4628 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4629 # Best one so far, save it but keep looking for a better one
4630 ac_cv_path_GREP="$ac_path_GREP"
4631 ac_path_GREP_max=$ac_count
4633 # 10*(2^10) chars as input seems more than enough
4634 test $ac_count -gt 10 && break
4636 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4639 $ac_path_GREP_found && break 3
4644 if test -z "$ac_cv_path_GREP"; then
4645 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4648 ac_cv_path_GREP=$GREP
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4653 $as_echo "$ac_cv_path_GREP" >&6; }
4654 GREP="$ac_cv_path_GREP"
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4658 $as_echo_n "checking for egrep... " >&6; }
4659 if test "${ac_cv_path_EGREP+set}" = set; then :
4660 $as_echo_n "(cached) " >&6
4662 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4663 then ac_cv_path_EGREP="$GREP -E"
4665 if test -z "$EGREP"; then
4666 ac_path_EGREP_found=false
4667 # Loop through the user's path and test for each of PROGNAME-LIST
4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4672 test -z "$as_dir" && as_dir=.
4673 for ac_prog in egrep; do
4674 for ac_exec_ext in '' $ac_executable_extensions; do
4675 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4676 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4677 # Check for GNU ac_path_EGREP and select it if it is found.
4678 # Check for GNU $ac_path_EGREP
4679 case `"$ac_path_EGREP" --version 2>&1` in
4681 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4684 $as_echo_n 0123456789 >"conftest.in"
4687 cat "conftest.in" "conftest.in" >"conftest.tmp"
4688 mv "conftest.tmp" "conftest.in"
4689 cp "conftest.in" "conftest.nl"
4690 $as_echo 'EGREP' >> "conftest.nl"
4691 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4692 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4693 as_fn_arith $ac_count + 1 && ac_count=$as_val
4694 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4695 # Best one so far, save it but keep looking for a better one
4696 ac_cv_path_EGREP="$ac_path_EGREP"
4697 ac_path_EGREP_max=$ac_count
4699 # 10*(2^10) chars as input seems more than enough
4700 test $ac_count -gt 10 && break
4702 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4705 $ac_path_EGREP_found && break 3
4710 if test -z "$ac_cv_path_EGREP"; then
4711 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4714 ac_cv_path_EGREP=$EGREP
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4720 $as_echo "$ac_cv_path_EGREP" >&6; }
4721 EGREP="$ac_cv_path_EGREP"
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4725 $as_echo_n "checking for ANSI C header files... " >&6; }
4726 if test "${ac_cv_header_stdc+set}" = set; then :
4727 $as_echo_n "(cached) " >&6
4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4744 if ac_fn_c_try_compile "$LINENO"; then :
4745 ac_cv_header_stdc=yes
4747 ac_cv_header_stdc=no
4749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4751 if test $ac_cv_header_stdc = yes; then
4752 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4759 $EGREP "memchr" >/dev/null 2>&1; then :
4762 ac_cv_header_stdc=no
4768 if test $ac_cv_header_stdc = yes; then
4769 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4776 $EGREP "free" >/dev/null 2>&1; then :
4779 ac_cv_header_stdc=no
4785 if test $ac_cv_header_stdc = yes; then
4786 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4787 if test "$cross_compiling" = yes; then :
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4794 #if ((' ' & 0x0FF) == 0x020)
4795 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4796 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4798 # define ISLOWER(c) \
4799 (('a' <= (c) && (c) <= 'i') \
4800 || ('j' <= (c) && (c) <= 'r') \
4801 || ('s' <= (c) && (c) <= 'z'))
4802 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4805 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4810 for (i = 0; i < 256; i++)
4811 if (XOR (islower (i), ISLOWER (i))
4812 || toupper (i) != TOUPPER (i))
4817 if ac_fn_c_try_run "$LINENO"; then :
4820 ac_cv_header_stdc=no
4822 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4823 conftest.$ac_objext conftest.beam conftest.$ac_ext
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4829 $as_echo "$ac_cv_header_stdc" >&6; }
4830 if test $ac_cv_header_stdc = yes; then
4832 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4836 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4837 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4838 inttypes.h stdint.h unistd.h
4840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4841 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4843 eval as_val=\$$as_ac_Header
4844 if test "x$as_val" = x""yes; then :
4845 cat >>confdefs.h <<_ACEOF
4846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4855 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4856 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4863 if test "$MINIX" = yes; then
4865 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4868 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4871 $as_echo "#define _MINIX 1" >>confdefs.h
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4877 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4878 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4879 $as_echo_n "(cached) " >&6
4881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4882 /* end confdefs.h. */
4884 # define __EXTENSIONS__ 1
4885 $ac_includes_default
4894 if ac_fn_c_try_compile "$LINENO"; then :
4895 ac_cv_safe_to_define___extensions__=yes
4897 ac_cv_safe_to_define___extensions__=no
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4902 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4903 test $ac_cv_safe_to_define___extensions__ = yes &&
4904 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4906 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4908 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4910 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4912 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4916 # Calculate toolexeclibdir
4917 # Also toolexecdir, though it's only used in toolexeclibdir
4918 case ${version_specific_libs} in
4920 # Need the gcc compiler version to know where to install libraries
4921 # and header files if --enable-version-specific-runtime-libs option
4923 toolexecdir='$(libdir)/gcc/$(target_alias)'
4924 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4927 if test -n "$with_cross_host" &&
4928 test x"$with_cross_host" != x"no"; then
4929 # Install a library built with a cross compiler in tooldir, not libdir.
4930 toolexecdir='$(exec_prefix)/$(target_alias)'
4931 toolexeclibdir='$(toolexecdir)/lib'
4933 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4934 toolexeclibdir='$(libdir)'
4936 multi_os_directory=`$CC -print-multi-os-directory`
4937 case $multi_os_directory in
4938 .) ;; # Avoid trailing /.
4939 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4946 # Create a spec file, so that compile/link tests don't fail
4947 test -f libgfortran.spec || touch libgfortran.spec
4950 ac_cpp='$CPP $CPPFLAGS'
4951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4955 # Check the compiler.
4956 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4957 # We must force CC to /not/ be precious variables; otherwise
4958 # the wrong, non-multilib-adjusted value will be used in multilibs.
4959 # As a side effect, we have to subst CFLAGS ourselves.
4964 ac_cpp='$CPP $CPPFLAGS'
4965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4968 if test -n "$ac_tool_prefix"; then
4969 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4970 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_CC+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$CC"; then
4977 ac_cv_prog_CC="$CC" # Let the user override the test.
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 if test -n "$CC"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4999 $as_echo "$CC" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5007 if test -z "$ac_cv_prog_CC"; then
5009 # Extract the first word of "gcc", so it can be a program name with args.
5010 set dummy gcc; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$ac_ct_CC"; then
5017 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026 ac_cv_prog_ac_ct_CC="gcc"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5037 if test -n "$ac_ct_CC"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5039 $as_echo "$ac_ct_CC" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5045 if test "x$ac_ct_CC" = x; then
5048 case $cross_compiling:$ac_tool_warned in
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5052 ac_tool_warned=yes ;;
5060 if test -z "$CC"; then
5061 if test -n "$ac_tool_prefix"; then
5062 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5063 set dummy ${ac_tool_prefix}cc; ac_word=$2
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065 $as_echo_n "checking for $ac_word... " >&6; }
5066 if test "${ac_cv_prog_CC+set}" = set; then :
5067 $as_echo_n "(cached) " >&6
5069 if test -n "$CC"; then
5070 ac_cv_prog_CC="$CC" # Let the user override the test.
5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 test -z "$as_dir" && as_dir=.
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079 ac_cv_prog_CC="${ac_tool_prefix}cc"
5080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090 if test -n "$CC"; then
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5092 $as_echo "$CC" >&6; }
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5101 if test -z "$CC"; then
5102 # Extract the first word of "cc", so it can be a program name with args.
5103 set dummy cc; ac_word=$2
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105 $as_echo_n "checking for $ac_word... " >&6; }
5106 if test "${ac_cv_prog_CC+set}" = set; then :
5107 $as_echo_n "(cached) " >&6
5109 if test -n "$CC"; then
5110 ac_cv_prog_CC="$CC" # Let the user override the test.
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5121 ac_prog_rejected=yes
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 if test $ac_prog_rejected = yes; then
5133 # We found a bogon in the path, so make sure we never use it.
5134 set dummy $ac_cv_prog_CC
5136 if test $# != 0; then
5137 # We chose a different compiler from the bogus one.
5138 # However, it has the same basename, so the bogon will be chosen
5139 # first if we set CC to just the basename; use the full file name.
5141 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5147 if test -n "$CC"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5149 $as_echo "$CC" >&6; }
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5157 if test -z "$CC"; then
5158 if test -n "$ac_tool_prefix"; then
5159 for ac_prog in cl.exe
5161 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5162 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164 $as_echo_n "checking for $ac_word... " >&6; }
5165 if test "${ac_cv_prog_CC+set}" = set; then :
5166 $as_echo_n "(cached) " >&6
5168 if test -n "$CC"; then
5169 ac_cv_prog_CC="$CC" # Let the user override the test.
5171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 test -z "$as_dir" && as_dir=.
5176 for ac_exec_ext in '' $ac_executable_extensions; do
5177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5178 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 if test -n "$CC"; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5191 $as_echo "$CC" >&6; }
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 $as_echo "no" >&6; }
5198 test -n "$CC" && break
5201 if test -z "$CC"; then
5203 for ac_prog in cl.exe
5205 # Extract the first word of "$ac_prog", so it can be a program name with args.
5206 set dummy $ac_prog; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -n "$ac_ct_CC"; then
5213 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5222 ac_cv_prog_ac_ct_CC="$ac_prog"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5233 if test -n "$ac_ct_CC"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5235 $as_echo "$ac_ct_CC" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 test -n "$ac_ct_CC" && break
5245 if test "x$ac_ct_CC" = x; then
5248 case $cross_compiling:$ac_tool_warned in
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5252 ac_tool_warned=yes ;;
5261 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5263 as_fn_error "no acceptable C compiler found in \$PATH
5264 See \`config.log' for more details." "$LINENO" 5; }
5266 # Provide some information about the compiler.
5267 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5270 for ac_option in --version -v -V -qversion; do
5271 { { ac_try="$ac_compiler $ac_option >&5"
5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5274 *) ac_try_echo=$ac_try;;
5276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5277 $as_echo "$ac_try_echo"; } >&5
5278 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5280 if test -s conftest.err; then
5282 ... rest of stderr output deleted ...
5283 10q' conftest.err >conftest.er1
5284 cat conftest.er1 >&5
5285 rm -f conftest.er1 conftest.err
5287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5288 test $ac_status = 0; }
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5292 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5293 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5294 $as_echo_n "(cached) " >&6
5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297 /* end confdefs.h. */
5310 if ac_fn_c_try_compile "$LINENO"; then :
5315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5316 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5320 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5321 if test $ac_compiler_gnu = yes; then
5326 ac_test_CFLAGS=${CFLAGS+set}
5327 ac_save_CFLAGS=$CFLAGS
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5329 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5330 if test "${ac_cv_prog_cc_g+set}" = set; then :
5331 $as_echo_n "(cached) " >&6
5333 ac_save_c_werror_flag=$ac_c_werror_flag
5334 ac_c_werror_flag=yes
5337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5338 /* end confdefs.h. */
5348 if ac_fn_c_try_compile "$LINENO"; then :
5352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5353 /* end confdefs.h. */
5363 if ac_fn_c_try_compile "$LINENO"; then :
5366 ac_c_werror_flag=$ac_save_c_werror_flag
5368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5379 if ac_fn_c_try_compile "$LINENO"; then :
5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5387 ac_c_werror_flag=$ac_save_c_werror_flag
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5390 $as_echo "$ac_cv_prog_cc_g" >&6; }
5391 if test "$ac_test_CFLAGS" = set; then
5392 CFLAGS=$ac_save_CFLAGS
5393 elif test $ac_cv_prog_cc_g = yes; then
5394 if test "$GCC" = yes; then
5400 if test "$GCC" = yes; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5407 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5408 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5409 $as_echo_n "(cached) " >&6
5411 ac_cv_prog_cc_c89=no
5413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5417 #include <sys/types.h>
5418 #include <sys/stat.h>
5419 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5420 struct buf { int x; };
5421 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5422 static char *e (p, i)
5428 static char *f (char * (*g) (char **, int), char **p, ...)
5433 s = g (p, va_arg (v,int));
5438 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5439 function prototypes and stuff, but not '\xHH' hex character constants.
5440 These don't provoke an error unfortunately, instead are silently treated
5441 as 'x'. The following induces an error, until -std is added to get
5442 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5443 array size at least. It's necessary to write '\x00'==0 to get something
5444 that's true only with -std. */
5445 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5447 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5448 inside strings and character constants. */
5450 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5452 int test (int i, double x);
5453 struct s1 {int (*f) (int a);};
5454 struct s2 {int (*f) (double a);};
5455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5461 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5466 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5467 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5469 CC="$ac_save_CC $ac_arg"
5470 if ac_fn_c_try_compile "$LINENO"; then :
5471 ac_cv_prog_cc_c89=$ac_arg
5473 rm -f core conftest.err conftest.$ac_objext
5474 test "x$ac_cv_prog_cc_c89" != "xno" && break
5476 rm -f conftest.$ac_ext
5481 case "x$ac_cv_prog_cc_c89" in
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5484 $as_echo "none needed" >&6; } ;;
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5487 $as_echo "unsupported" >&6; } ;;
5489 CC="$CC $ac_cv_prog_cc_c89"
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5491 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5493 if test "x$ac_cv_prog_cc_c89" != xno; then :
5498 ac_cpp='$CPP $CPPFLAGS'
5499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5503 depcc="$CC" am_compiler_list=
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5506 $as_echo_n "checking dependency style of $depcc... " >&6; }
5507 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5508 $as_echo_n "(cached) " >&6
5510 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5511 # We make a subdir and do the tests there. Otherwise we can end up
5512 # making bogus files that we don't know about and never remove. For
5513 # instance it was reported that on HP-UX the gcc test will end up
5514 # making a dummy file named `D' -- because `-MD' means `put the output
5517 # Copy depcomp to subdir because otherwise we won't find it if we're
5518 # using a relative directory.
5519 cp "$am_depcomp" conftest.dir
5521 # We will build objects and dependencies in a subdirectory because
5522 # it helps to detect inapplicable dependency modes. For instance
5523 # both Tru64's cc and ICC support -MD to output dependencies as a
5524 # side effect of compilation, but ICC will put the dependencies in
5525 # the current directory while Tru64 will put them in the object
5529 am_cv_CC_dependencies_compiler_type=none
5530 if test "$am_compiler_list" = ""; then
5531 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5534 case " $depcc " in #(
5535 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5538 for depmode in $am_compiler_list; do
5539 # Setup a source with many dependencies, because some compilers
5540 # like to wrap large dependency lists on column 80 (with \), and
5541 # we should not choose a depcomp mode which is confused by this.
5543 # We need to recreate these files for each test, as the compiler may
5544 # overwrite some of them when testing with obscure command lines.
5545 # This happens at least with the AIX C compiler.
5547 for i in 1 2 3 4 5 6; do
5548 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5549 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5550 # Solaris 8's {/usr,}/bin/sh.
5551 touch sub/conftst$i.h
5553 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5555 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5556 # mode. It turns out that the SunPro C++ compiler does not properly
5557 # handle `-M -o', and we need to detect this. Also, some Intel
5558 # versions had trouble with output in subdirs
5559 am__obj=sub/conftest.${OBJEXT-o}
5560 am__minus_obj="-o $am__obj"
5563 # This depmode causes a compiler race in universal mode.
5564 test "$am__universal" = false || continue
5567 # after this tag, mechanisms are not by side-effect, so they'll
5568 # only be used when explicitly requested
5569 if test "x$enable_dependency_tracking" = xyes; then
5575 msvisualcpp | msvcmsys)
5576 # This compiler won't grok `-c -o', but also, the minuso test has
5577 # not run yet. These depmodes are late enough in the game, and
5578 # so weak that their functioning should not be impacted.
5579 am__obj=conftest.${OBJEXT-o}
5584 if depmode=$depmode \
5585 source=sub/conftest.c object=$am__obj \
5586 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5587 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5588 >/dev/null 2>conftest.err &&
5589 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5590 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5591 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5592 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5593 # icc doesn't choke on unknown options, it will just issue warnings
5594 # or remarks (even with -Werror). So we grep stderr for any message
5595 # that says an option was ignored or not supported.
5596 # When given -MP, icc 7.0 and 7.1 complain thusly:
5597 # icc: Command line warning: ignoring option '-M'; no argument required
5598 # The diagnosis changed in icc 8.0:
5599 # icc: Command line remark: option '-MP' not supported
5600 if (grep 'ignoring option' conftest.err ||
5601 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5602 am_cv_CC_dependencies_compiler_type=$depmode
5611 am_cv_CC_dependencies_compiler_type=none
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5616 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5617 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5620 test "x$enable_dependency_tracking" != xno \
5621 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5623 am__fastdepCC_FALSE='#'
5625 am__fastdepCC_TRUE='#'
5626 am__fastdepCC_FALSE=
5634 if test "x$CC" != xcc; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5636 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5639 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5641 set dummy $CC; ac_cc=`$as_echo "$2" |
5642 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5643 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5644 $as_echo_n "(cached) " >&6
5646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5647 /* end confdefs.h. */
5657 # Make sure it works both with $CC and with simple cc.
5658 # We do the test twice because some compilers refuse to overwrite an
5659 # existing .o file with -o, though they will create one.
5660 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5662 if { { case "(($ac_try" in
5663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5664 *) ac_try_echo=$ac_try;;
5666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5667 $as_echo "$ac_try_echo"; } >&5
5668 (eval "$ac_try") 2>&5
5670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5671 test $ac_status = 0; } &&
5672 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5674 *) ac_try_echo=$ac_try;;
5676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5677 $as_echo "$ac_try_echo"; } >&5
5678 (eval "$ac_try") 2>&5
5680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5681 test $ac_status = 0; };
5683 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5684 if test "x$CC" != xcc; then
5685 # Test first that cc exists at all.
5686 if { ac_try='cc -c conftest.$ac_ext >&5'
5687 { { case "(($ac_try" in
5688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5689 *) ac_try_echo=$ac_try;;
5691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5692 $as_echo "$ac_try_echo"; } >&5
5693 (eval "$ac_try") 2>&5
5695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5696 test $ac_status = 0; }; }; then
5697 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5699 if { { case "(($ac_try" in
5700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5701 *) ac_try_echo=$ac_try;;
5703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5704 $as_echo "$ac_try_echo"; } >&5
5705 (eval "$ac_try") 2>&5
5707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5708 test $ac_status = 0; } &&
5709 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5711 *) ac_try_echo=$ac_try;;
5713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5714 $as_echo "$ac_try_echo"; } >&5
5715 (eval "$ac_try") 2>&5
5717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5718 test $ac_status = 0; };
5723 # cc exists but doesn't like -o.
5724 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5729 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5731 rm -f core conftest*
5734 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5736 $as_echo "yes" >&6; }
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5741 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5745 # FIXME: we rely on the cache variable name because
5746 # there is no other way.
5748 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5749 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5750 if test "$am_t" != yes; then
5751 # Losing compiler, so override with the script.
5752 # FIXME: It is wrong to rewrite CC.
5753 # But if we don't then we get into trouble of one sort or another.
5754 # A longer-term fix would be to have automake use am__CC in this case,
5755 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5756 CC="$am_aux_dir/compile $CC"
5761 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5762 if test "x$GCC" = "xyes"; then
5763 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5764 ## We like to use C99 routines when available. This makes sure that
5765 ## __STDC_VERSION__ is set such that libc includes make them available.
5766 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5767 ## Compile the following tests with the same system header contents
5768 ## that we'll encounter when compiling our own source files.
5769 CFLAGS="-std=gnu99 $CFLAGS"
5775 # Check for symbol versioning (copied from libssp).
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5777 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5778 # Check whether --enable-symvers was given.
5779 if test "${enable_symvers+set}" = set; then :
5780 enableval=$enable_symvers; gfortran_use_symver=$enableval
5782 gfortran_use_symver=yes
5785 if test "x$gfortran_use_symver" = xyes; then
5786 save_LDFLAGS="$LDFLAGS"
5787 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5788 cat > conftest.map <<EOF
5790 global: *foo*; bar; local: *;
5793 if test x$gcc_no_link = xyes; then
5794 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5797 /* end confdefs.h. */
5807 if ac_fn_c_try_link "$LINENO"; then :
5808 gfortran_use_symver=gnu
5810 gfortran_use_symver=no
5812 rm -f core conftest.err conftest.$ac_objext \
5813 conftest$ac_exeext conftest.$ac_ext
5814 if test x$gfortran_use_symver = xno; then
5815 case "$target_os" in
5817 LDFLAGS="$save_LDFLAGS"
5818 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5819 # Sun ld cannot handle wildcards and treats all entries as undefined.
5820 cat > conftest.map <<EOF
5822 global: foo; local: *;
5825 if test x$gcc_no_link = xyes; then
5826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5839 if ac_fn_c_try_link "$LINENO"; then :
5840 gfortran_use_symver=sun
5842 gfortran_use_symver=no
5844 rm -f core conftest.err conftest.$ac_objext \
5845 conftest$ac_exeext conftest.$ac_ext
5849 LDFLAGS="$save_LDFLAGS"
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5852 $as_echo "$gfortran_use_symver" >&6; }
5853 if test "x$gfortran_use_symver" != xno; then
5854 LIBGFOR_USE_SYMVER_TRUE=
5855 LIBGFOR_USE_SYMVER_FALSE='#'
5857 LIBGFOR_USE_SYMVER_TRUE='#'
5858 LIBGFOR_USE_SYMVER_FALSE=
5861 if test "x$gfortran_use_symver" = xgnu; then
5862 LIBGFOR_USE_SYMVER_GNU_TRUE=
5863 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5865 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5866 LIBGFOR_USE_SYMVER_GNU_FALSE=
5869 if test "x$gfortran_use_symver" = xsun; then
5870 LIBGFOR_USE_SYMVER_SUN_TRUE=
5871 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5873 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5874 LIBGFOR_USE_SYMVER_SUN_FALSE=
5878 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5879 # similarly to how libstdc++ does it
5880 ac_test_CFLAGS="${CFLAGS+set}"
5881 ac_save_CFLAGS="$CFLAGS"
5883 # Check for -ffunction-sections -fdata-sections
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5885 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5886 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5888 /* end confdefs.h. */
5898 if ac_fn_c_try_compile "$LINENO"; then :
5903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5904 if test "$ac_test_CFLAGS" = set; then
5905 CFLAGS="$ac_save_CFLAGS"
5907 # this is the suspicious part
5910 if test x"$ac_fdsections" = x"yes"; then
5911 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5914 $as_echo "$ac_fdsections" >&6; }
5917 # Find other programs we need.
5918 if test -n "$ac_tool_prefix"; then
5919 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5920 set dummy ${ac_tool_prefix}as; ac_word=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if test "${ac_cv_prog_AS+set}" = set; then :
5924 $as_echo_n "(cached) " >&6
5926 if test -n "$AS"; then
5927 ac_cv_prog_AS="$AS" # Let the user override the test.
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5936 ac_cv_prog_AS="${ac_tool_prefix}as"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 if test -n "$AS"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5949 $as_echo "$AS" >&6; }
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5957 if test -z "$ac_cv_prog_AS"; then
5959 # Extract the first word of "as", so it can be a program name with args.
5960 set dummy as; ac_word=$2
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 $as_echo_n "checking for $ac_word... " >&6; }
5963 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5964 $as_echo_n "(cached) " >&6
5966 if test -n "$ac_ct_AS"; then
5967 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 test -z "$as_dir" && as_dir=.
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5976 ac_cv_prog_ac_ct_AS="as"
5977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5987 if test -n "$ac_ct_AS"; then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5989 $as_echo "$ac_ct_AS" >&6; }
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5992 $as_echo "no" >&6; }
5995 if test "x$ac_ct_AS" = x; then
5998 case $cross_compiling:$ac_tool_warned in
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6002 ac_tool_warned=yes ;;
6010 if test -n "$ac_tool_prefix"; then
6011 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6012 set dummy ${ac_tool_prefix}ar; ac_word=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 $as_echo_n "checking for $ac_word... " >&6; }
6015 if test "${ac_cv_prog_AR+set}" = set; then :
6016 $as_echo_n "(cached) " >&6
6018 if test -n "$AR"; then
6019 ac_cv_prog_AR="$AR" # Let the user override the test.
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir=.
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6028 ac_cv_prog_AR="${ac_tool_prefix}ar"
6029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 if test -n "$AR"; then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6041 $as_echo "$AR" >&6; }
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 $as_echo "no" >&6; }
6049 if test -z "$ac_cv_prog_AR"; then
6051 # Extract the first word of "ar", so it can be a program name with args.
6052 set dummy ar; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6056 $as_echo_n "(cached) " >&6
6058 if test -n "$ac_ct_AR"; then
6059 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6068 ac_cv_prog_ac_ct_AR="ar"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6079 if test -n "$ac_ct_AR"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6081 $as_echo "$ac_ct_AR" >&6; }
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6087 if test "x$ac_ct_AR" = x; then
6090 case $cross_compiling:$ac_tool_warned in
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6094 ac_tool_warned=yes ;;
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6108 $as_echo_n "(cached) " >&6
6110 if test -n "$RANLIB"; then
6111 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 RANLIB=$ac_cv_prog_RANLIB
6131 if test -n "$RANLIB"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6133 $as_echo "$RANLIB" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6141 if test -z "$ac_cv_prog_RANLIB"; then
6142 ac_ct_RANLIB=$RANLIB
6143 # Extract the first word of "ranlib", so it can be a program name with args.
6144 set dummy ranlib; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6148 $as_echo_n "(cached) " >&6
6150 if test -n "$ac_ct_RANLIB"; then
6151 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6160 ac_cv_prog_ac_ct_RANLIB="ranlib"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6171 if test -n "$ac_ct_RANLIB"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6173 $as_echo "$ac_ct_RANLIB" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6179 if test "x$ac_ct_RANLIB" = x; then
6180 RANLIB="ranlib-not-found-in-path-error"
6182 case $cross_compiling:$ac_tool_warned in
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6186 ac_tool_warned=yes ;;
6188 RANLIB=$ac_ct_RANLIB
6191 RANLIB="$ac_cv_prog_RANLIB"
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6195 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6197 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6198 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6199 $as_echo_n "(cached) " >&6
6201 cat >conftest.make <<\_ACEOF
6204 @echo '@@@%%%=$(MAKE)=@@@%%%'
6206 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6207 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6209 eval ac_cv_prog_make_${ac_make}_set=yes;;
6211 eval ac_cv_prog_make_${ac_make}_set=no;;
6215 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6217 $as_echo "yes" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221 $as_echo "no" >&6; }
6222 SET_MAKE="MAKE=${MAKE-make}"
6228 #AC_MSG_NOTICE([====== Starting libtool configuration])
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6236 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6241 macro_version='2.2.7a'
6242 macro_revision='1.3134'
6256 ltmain="$ac_aux_dir/ltmain.sh"
6258 # Backslashify metacharacters that are still active within
6259 # double-quoted strings.
6260 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6262 # Same as above, but do not quote variable references.
6263 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6265 # Sed substitution to delay expansion of an escaped shell variable in a
6266 # double_quote_subst'ed string.
6267 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6269 # Sed substitution to delay expansion of an escaped single quote.
6270 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6272 # Sed substitution to avoid accidental globbing in evaled expressions
6273 no_glob_subst='s/\*/\\\*/g'
6275 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6276 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6277 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6280 $as_echo_n "checking how to print strings... " >&6; }
6281 # Test print first, because it will be a builtin if present.
6282 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6283 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6285 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6288 # Use this function as a fallback that always works.
6289 func_fallback_echo ()
6291 eval 'cat <<_LTECHO_EOF
6295 ECHO='func_fallback_echo'
6298 # func_echo_all arg...
6299 # Invoke $ECHO with all args, space-separated.
6306 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6307 $as_echo "printf" >&6; } ;;
6308 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6309 $as_echo "print -r" >&6; } ;;
6310 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6311 $as_echo "cat" >&6; } ;;
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6328 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6329 if test "${ac_cv_path_SED+set}" = set; then :
6330 $as_echo_n "(cached) " >&6
6332 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6333 for ac_i in 1 2 3 4 5 6 7; do
6334 ac_script="$ac_script$as_nl$ac_script"
6336 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6337 { ac_script=; unset ac_script;}
6338 if test -z "$SED"; then
6339 ac_path_SED_found=false
6340 # Loop through the user's path and test for each of PROGNAME-LIST
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6345 test -z "$as_dir" && as_dir=.
6346 for ac_prog in sed gsed; do
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6349 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6350 # Check for GNU ac_path_SED and select it if it is found.
6351 # Check for GNU $ac_path_SED
6352 case `"$ac_path_SED" --version 2>&1` in
6354 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6357 $as_echo_n 0123456789 >"conftest.in"
6360 cat "conftest.in" "conftest.in" >"conftest.tmp"
6361 mv "conftest.tmp" "conftest.in"
6362 cp "conftest.in" "conftest.nl"
6363 $as_echo '' >> "conftest.nl"
6364 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6365 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6366 as_fn_arith $ac_count + 1 && ac_count=$as_val
6367 if test $ac_count -gt ${ac_path_SED_max-0}; then
6368 # Best one so far, save it but keep looking for a better one
6369 ac_cv_path_SED="$ac_path_SED"
6370 ac_path_SED_max=$ac_count
6372 # 10*(2^10) chars as input seems more than enough
6373 test $ac_count -gt 10 && break
6375 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6378 $ac_path_SED_found && break 3
6383 if test -z "$ac_cv_path_SED"; then
6384 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6392 $as_echo "$ac_cv_path_SED" >&6; }
6393 SED="$ac_cv_path_SED"
6396 test -z "$SED" && SED=sed
6397 Xsed="$SED -e 1s/^X//"
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6410 $as_echo_n "checking for fgrep... " >&6; }
6411 if test "${ac_cv_path_FGREP+set}" = set; then :
6412 $as_echo_n "(cached) " >&6
6414 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6415 then ac_cv_path_FGREP="$GREP -F"
6417 if test -z "$FGREP"; then
6418 ac_path_FGREP_found=false
6419 # Loop through the user's path and test for each of PROGNAME-LIST
6420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6421 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6424 test -z "$as_dir" && as_dir=.
6425 for ac_prog in fgrep; do
6426 for ac_exec_ext in '' $ac_executable_extensions; do
6427 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6428 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6429 # Check for GNU ac_path_FGREP and select it if it is found.
6430 # Check for GNU $ac_path_FGREP
6431 case `"$ac_path_FGREP" --version 2>&1` in
6433 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6436 $as_echo_n 0123456789 >"conftest.in"
6439 cat "conftest.in" "conftest.in" >"conftest.tmp"
6440 mv "conftest.tmp" "conftest.in"
6441 cp "conftest.in" "conftest.nl"
6442 $as_echo 'FGREP' >> "conftest.nl"
6443 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6444 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6445 as_fn_arith $ac_count + 1 && ac_count=$as_val
6446 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6447 # Best one so far, save it but keep looking for a better one
6448 ac_cv_path_FGREP="$ac_path_FGREP"
6449 ac_path_FGREP_max=$ac_count
6451 # 10*(2^10) chars as input seems more than enough
6452 test $ac_count -gt 10 && break
6454 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6457 $ac_path_FGREP_found && break 3
6462 if test -z "$ac_cv_path_FGREP"; then
6463 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6466 ac_cv_path_FGREP=$FGREP
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6472 $as_echo "$ac_cv_path_FGREP" >&6; }
6473 FGREP="$ac_cv_path_FGREP"
6476 test -z "$GREP" && GREP=grep
6496 # Check whether --with-gnu-ld was given.
6497 if test "${with_gnu_ld+set}" = set; then :
6498 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6504 if test "$GCC" = yes; then
6505 # Check if gcc -print-prog-name=ld gives a path.
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6507 $as_echo_n "checking for ld used by $CC... " >&6; }
6510 # gcc leaves a trailing carriage return which upsets mingw
6511 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6513 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6516 # Accept absolute paths.
6518 re_direlt='/[^/][^/]*/\.\./'
6519 # Canonicalize the pathname of ld
6520 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6521 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6522 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6524 test -z "$LD" && LD="$ac_prog"
6527 # If it fails, then pretend we aren't using GCC.
6531 # If it is relative, then search for the first ld in PATH.
6535 elif test "$with_gnu_ld" = yes; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6537 $as_echo_n "checking for GNU ld... " >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6540 $as_echo_n "checking for non-GNU ld... " >&6; }
6542 if test "${lt_cv_path_LD+set}" = set; then :
6543 $as_echo_n "(cached) " >&6
6545 if test -z "$LD"; then
6546 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6547 for ac_dir in $PATH; do
6549 test -z "$ac_dir" && ac_dir=.
6550 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6551 lt_cv_path_LD="$ac_dir/$ac_prog"
6552 # Check to see if the program is GNU ld. I'd rather use --version,
6553 # but apparently some variants of GNU ld only accept -v.
6554 # Break only if it was the GNU/non-GNU ld that we prefer.
6555 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6556 *GNU* | *'with BFD'*)
6557 test "$with_gnu_ld" != no && break
6560 test "$with_gnu_ld" != yes && break
6567 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6572 if test -n "$LD"; then
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6574 $as_echo "$LD" >&6; }
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577 $as_echo "no" >&6; }
6579 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6581 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6582 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6583 $as_echo_n "(cached) " >&6
6585 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6586 case `$LD -v 2>&1 </dev/null` in
6587 *GNU* | *'with BFD'*)
6588 lt_cv_prog_gnu_ld=yes
6591 lt_cv_prog_gnu_ld=no
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6596 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6597 with_gnu_ld=$lt_cv_prog_gnu_ld
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6608 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6609 if test "${lt_cv_path_NM+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6612 if test -n "$NM"; then
6613 # Let the user override the test.
6616 lt_nm_to_check="${ac_tool_prefix}nm"
6617 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6618 lt_nm_to_check="$lt_nm_to_check nm"
6620 for lt_tmp_nm in $lt_nm_to_check; do
6621 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6622 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6624 test -z "$ac_dir" && ac_dir=.
6625 tmp_nm="$ac_dir/$lt_tmp_nm"
6626 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6627 # Check to see if the nm accepts a BSD-compat flag.
6628 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6629 # nm: unknown option "B" ignored
6630 # Tru64's nm complains that /dev/null is an invalid object file
6631 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6632 */dev/null* | *'Invalid file or object type'*)
6633 lt_cv_path_NM="$tmp_nm -B"
6637 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6639 lt_cv_path_NM="$tmp_nm -p"
6643 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6644 continue # so that we can try to find one that supports BSD flags
6653 : ${lt_cv_path_NM=no}
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6657 $as_echo "$lt_cv_path_NM" >&6; }
6658 if test "$lt_cv_path_NM" != "no"; then
6661 # Didn't find any BSD compatible name lister, look for dumpbin.
6662 if test -n "$DUMPBIN"; then :
6663 # Let the user override the test.
6665 if test -n "$ac_tool_prefix"; then
6666 for ac_prog in dumpbin "link -dump"
6668 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6669 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6671 $as_echo_n "checking for $ac_word... " >&6; }
6672 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6673 $as_echo_n "(cached) " >&6
6675 if test -n "$DUMPBIN"; then
6676 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir=.
6683 for ac_exec_ext in '' $ac_executable_extensions; do
6684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 DUMPBIN=$ac_cv_prog_DUMPBIN
6696 if test -n "$DUMPBIN"; then
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6698 $as_echo "$DUMPBIN" >&6; }
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 $as_echo "no" >&6; }
6705 test -n "$DUMPBIN" && break
6708 if test -z "$DUMPBIN"; then
6709 ac_ct_DUMPBIN=$DUMPBIN
6710 for ac_prog in dumpbin "link -dump"
6712 # Extract the first word of "$ac_prog", so it can be a program name with args.
6713 set dummy $ac_prog; ac_word=$2
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6715 $as_echo_n "checking for $ac_word... " >&6; }
6716 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6717 $as_echo_n "(cached) " >&6
6719 if test -n "$ac_ct_DUMPBIN"; then
6720 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6726 test -z "$as_dir" && as_dir=.
6727 for ac_exec_ext in '' $ac_executable_extensions; do
6728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6729 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6740 if test -n "$ac_ct_DUMPBIN"; then
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6742 $as_echo "$ac_ct_DUMPBIN" >&6; }
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 $as_echo "no" >&6; }
6749 test -n "$ac_ct_DUMPBIN" && break
6752 if test "x$ac_ct_DUMPBIN" = x; then
6755 case $cross_compiling:$ac_tool_warned in
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6759 ac_tool_warned=yes ;;
6761 DUMPBIN=$ac_ct_DUMPBIN
6765 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6767 DUMPBIN="$DUMPBIN -symbols"
6775 if test "$DUMPBIN" != ":"; then
6779 test -z "$NM" && NM=nm
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6787 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6788 if test "${lt_cv_nm_interface+set}" = set; then :
6789 $as_echo_n "(cached) " >&6
6791 lt_cv_nm_interface="BSD nm"
6792 echo "int some_variable = 0;" > conftest.$ac_ext
6793 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6794 (eval "$ac_compile" 2>conftest.err)
6795 cat conftest.err >&5
6796 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6797 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6798 cat conftest.err >&5
6799 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6800 cat conftest.out >&5
6801 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6802 lt_cv_nm_interface="MS dumpbin"
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6807 $as_echo "$lt_cv_nm_interface" >&6; }
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6810 $as_echo_n "checking whether ln -s works... " >&6; }
6812 if test "$LN_S" = "ln -s"; then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6814 $as_echo "yes" >&6; }
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6817 $as_echo "no, using $LN_S" >&6; }
6820 # find the maximum length of command line arguments
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6822 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6823 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6824 $as_echo_n "(cached) " >&6
6831 # On DJGPP, this test can blow up pretty badly due to problems in libc
6832 # (any single argument exceeding 2000 bytes causes a buffer overrun
6833 # during glob expansion). Even if it were fixed, the result of this
6834 # check would be larger than it should be.
6835 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6839 # Under GNU Hurd, this test is not required because there is
6840 # no limit to the length of command line arguments.
6841 # Libtool will interpret -1 as no limit whatsoever
6842 lt_cv_sys_max_cmd_len=-1;
6845 cygwin* | mingw* | cegcc*)
6846 # On Win9x/ME, this test blows up -- it succeeds, but takes
6847 # about 5 minutes as the teststring grows exponentially.
6848 # Worse, since 9x/ME are not pre-emptively multitasking,
6849 # you end up with a "frozen" computer, even though with patience
6850 # the test eventually succeeds (with a max line length of 256k).
6851 # Instead, let's just punt: use the minimum linelength reported by
6852 # all of the supported platforms: 8192 (on NT/2K/XP).
6853 lt_cv_sys_max_cmd_len=8192;
6857 # On MiNT this can take a long time and run out of memory.
6858 lt_cv_sys_max_cmd_len=8192;
6862 # On AmigaOS with pdksh, this test takes hours, literally.
6863 # So we just punt and use a minimum line length of 8192.
6864 lt_cv_sys_max_cmd_len=8192;
6867 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6868 # This has been around since 386BSD, at least. Likely further.
6869 if test -x /sbin/sysctl; then
6870 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6871 elif test -x /usr/sbin/sysctl; then
6872 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6874 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6876 # And add a safety zone
6877 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6878 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6882 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6883 lt_cv_sys_max_cmd_len=196608
6887 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6888 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6889 # nice to cause kernel panics so lets avoid the loop below.
6890 # First set a reasonable default.
6891 lt_cv_sys_max_cmd_len=16384
6893 if test -x /sbin/sysconfig; then
6894 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6895 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6900 lt_cv_sys_max_cmd_len=102400
6902 sysv5* | sco5v6* | sysv4.2uw2*)
6903 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6904 if test -n "$kargmax"; then
6905 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6907 lt_cv_sys_max_cmd_len=32768
6911 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6912 if test -n "$lt_cv_sys_max_cmd_len"; then
6913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6916 # Make teststring a little bigger before we do anything with it.
6917 # a 1K string should be a reasonable start.
6918 for i in 1 2 3 4 5 6 7 8 ; do
6919 teststring=$teststring$teststring
6921 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6922 # If test is not a shell built-in, we'll probably end up computing a
6923 # maximum length that is only half of the actual maximum length, but
6925 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6926 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6927 test $i != 17 # 1/2 MB should be enough
6930 teststring=$teststring$teststring
6932 # Only check the string length outside the loop.
6933 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6935 # Add a significant safety factor because C++ compilers can tack on
6936 # massive amounts of additional arguments before passing them to the
6937 # linker. It appears as though 1/2 is a usable value.
6938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6945 if test -n $lt_cv_sys_max_cmd_len ; then
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6947 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6950 $as_echo "none" >&6; }
6952 max_cmd_len=$lt_cv_sys_max_cmd_len
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6964 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6965 # Try some XSI features
6968 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6970 && eval 'test $(( 1 + 1 )) -eq 2 \
6971 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6974 $as_echo "$xsi_shell" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6978 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6980 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6982 && lt_shell_append=yes
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6984 $as_echo "$lt_shell_append" >&6; }
6987 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6997 # test EBCDIC or ASCII
6998 case `echo X|tr X '\101'` in
6999 A) # ASCII based system
7000 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7001 lt_SP2NL='tr \040 \012'
7002 lt_NL2SP='tr \015\012 \040\040'
7004 *) # EBCDIC based system
7005 lt_SP2NL='tr \100 \n'
7006 lt_NL2SP='tr \r\n \100\100'
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7019 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7020 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7021 $as_echo_n "(cached) " >&6
7023 lt_cv_ld_reload_flag='-r'
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7026 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7027 reload_flag=$lt_cv_ld_reload_flag
7028 case $reload_flag in
7030 *) reload_flag=" $reload_flag" ;;
7032 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7035 if test "$GCC" = yes; then
7036 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7038 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7051 if test -n "$ac_tool_prefix"; then
7052 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7053 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 $as_echo_n "checking for $ac_word... " >&6; }
7056 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7057 $as_echo_n "(cached) " >&6
7059 if test -n "$OBJDUMP"; then
7060 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066 test -z "$as_dir" && as_dir=.
7067 for ac_exec_ext in '' $ac_executable_extensions; do
7068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7069 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079 OBJDUMP=$ac_cv_prog_OBJDUMP
7080 if test -n "$OBJDUMP"; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7082 $as_echo "$OBJDUMP" >&6; }
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 $as_echo "no" >&6; }
7090 if test -z "$ac_cv_prog_OBJDUMP"; then
7091 ac_ct_OBJDUMP=$OBJDUMP
7092 # Extract the first word of "objdump", so it can be a program name with args.
7093 set dummy objdump; ac_word=$2
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7095 $as_echo_n "checking for $ac_word... " >&6; }
7096 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7097 $as_echo_n "(cached) " >&6
7099 if test -n "$ac_ct_OBJDUMP"; then
7100 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106 test -z "$as_dir" && as_dir=.
7107 for ac_exec_ext in '' $ac_executable_extensions; do
7108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7109 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7120 if test -n "$ac_ct_OBJDUMP"; then
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7122 $as_echo "$ac_ct_OBJDUMP" >&6; }
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7125 $as_echo "no" >&6; }
7128 if test "x$ac_ct_OBJDUMP" = x; then
7131 case $cross_compiling:$ac_tool_warned in
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7135 ac_tool_warned=yes ;;
7137 OBJDUMP=$ac_ct_OBJDUMP
7140 OBJDUMP="$ac_cv_prog_OBJDUMP"
7143 test -z "$OBJDUMP" && OBJDUMP=objdump
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7154 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7155 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7156 $as_echo_n "(cached) " >&6
7158 lt_cv_file_magic_cmd='$MAGIC_CMD'
7159 lt_cv_file_magic_test_file=
7160 lt_cv_deplibs_check_method='unknown'
7161 # Need to set the preceding variable on all platforms that support
7162 # interlibrary dependencies.
7163 # 'none' -- dependencies not supported.
7164 # `unknown' -- same as none, but documents that we really don't know.
7165 # 'pass_all' -- all dependencies passed with no checks.
7166 # 'test_compile' -- check by making test program.
7167 # 'file_magic [[regex]]' -- check by looking for files in library path
7168 # which responds to the $file_magic_cmd with a given extended regex.
7169 # If you have `file' or equivalent on your system and you're not sure
7170 # whether `pass_all' will *always* work, you probably want this one.
7174 lt_cv_deplibs_check_method=pass_all
7178 lt_cv_deplibs_check_method=pass_all
7182 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7183 lt_cv_file_magic_cmd='/usr/bin/file -L'
7184 lt_cv_file_magic_test_file=/shlib/libc.so
7188 # func_win32_libid is a shell function defined in ltmain.sh
7189 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7190 lt_cv_file_magic_cmd='func_win32_libid'
7194 # Base MSYS/MinGW do not provide the 'file' command needed by
7195 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7196 # unless we find 'file', for example because we are cross-compiling.
7197 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7198 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7199 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7200 lt_cv_file_magic_cmd='func_win32_libid'
7202 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7203 lt_cv_file_magic_cmd='$OBJDUMP -f'
7208 # use the weaker test based on 'objdump'. See mingw*.
7209 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7210 lt_cv_file_magic_cmd='$OBJDUMP -f'
7213 darwin* | rhapsody*)
7214 lt_cv_deplibs_check_method=pass_all
7217 freebsd* | dragonfly*)
7218 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7221 # Not sure whether the presence of OpenBSD here was a mistake.
7222 # Let's accept both of them until this is cleared up.
7223 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7224 lt_cv_file_magic_cmd=/usr/bin/file
7225 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7229 lt_cv_deplibs_check_method=pass_all
7234 lt_cv_deplibs_check_method=pass_all
7238 lt_cv_deplibs_check_method=pass_all
7241 hpux10.20* | hpux11*)
7242 lt_cv_file_magic_cmd=/usr/bin/file
7245 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7246 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7249 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]'
7250 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7253 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7254 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7260 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7261 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7264 irix5* | irix6* | nonstopux*)
7266 *-32|*"-32 ") libmagic=32-bit;;
7267 *-n32|*"-n32 ") libmagic=N32;;
7268 *-64|*"-64 ") libmagic=64-bit;;
7269 *) libmagic=never-match;;
7271 lt_cv_deplibs_check_method=pass_all
7274 # This must be Linux ELF.
7275 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7276 lt_cv_deplibs_check_method=pass_all
7280 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7281 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7283 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7288 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7289 lt_cv_file_magic_cmd=/usr/bin/file
7290 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7294 lt_cv_deplibs_check_method=pass_all
7298 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7299 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7301 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7305 osf3* | osf4* | osf5*)
7306 lt_cv_deplibs_check_method=pass_all
7310 lt_cv_deplibs_check_method=pass_all
7314 lt_cv_deplibs_check_method=pass_all
7317 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7318 lt_cv_deplibs_check_method=pass_all
7322 case $host_vendor in
7324 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]'
7325 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7328 lt_cv_deplibs_check_method=pass_all
7331 lt_cv_file_magic_cmd='/bin/file'
7332 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7335 lt_cv_file_magic_cmd='/bin/file'
7336 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7337 lt_cv_file_magic_test_file=/lib/libc.so
7340 lt_cv_deplibs_check_method=pass_all
7343 lt_cv_deplibs_check_method=pass_all
7349 lt_cv_deplibs_check_method=pass_all
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7355 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7356 file_magic_cmd=$lt_cv_file_magic_cmd
7357 deplibs_check_method=$lt_cv_deplibs_check_method
7358 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7371 if test -n "$ac_tool_prefix"; then
7372 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7373 set dummy ${ac_tool_prefix}ar; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if test "${ac_cv_prog_AR+set}" = set; then :
7377 $as_echo_n "(cached) " >&6
7379 if test -n "$AR"; then
7380 ac_cv_prog_AR="$AR" # Let the user override the test.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_AR="${ac_tool_prefix}ar"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400 if test -n "$AR"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7402 $as_echo "$AR" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7410 if test -z "$ac_cv_prog_AR"; then
7412 # Extract the first word of "ar", so it can be a program name with args.
7413 set dummy ar; ac_word=$2
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 $as_echo_n "checking for $ac_word... " >&6; }
7416 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7417 $as_echo_n "(cached) " >&6
7419 if test -n "$ac_ct_AR"; then
7420 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 test -z "$as_dir" && as_dir=.
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7429 ac_cv_prog_ac_ct_AR="ar"
7430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7439 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7440 if test -n "$ac_ct_AR"; then
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7442 $as_echo "$ac_ct_AR" >&6; }
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7448 if test "x$ac_ct_AR" = x; then
7451 case $cross_compiling:$ac_tool_warned in
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7455 ac_tool_warned=yes ;;
7463 test -z "$AR" && AR=ar
7464 test -z "$AR_FLAGS" && AR_FLAGS=cru
7476 if test -n "$ac_tool_prefix"; then
7477 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7478 set dummy ${ac_tool_prefix}strip; ac_word=$2
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7480 $as_echo_n "checking for $ac_word... " >&6; }
7481 if test "${ac_cv_prog_STRIP+set}" = set; then :
7482 $as_echo_n "(cached) " >&6
7484 if test -n "$STRIP"; then
7485 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7491 test -z "$as_dir" && as_dir=.
7492 for ac_exec_ext in '' $ac_executable_extensions; do
7493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7494 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504 STRIP=$ac_cv_prog_STRIP
7505 if test -n "$STRIP"; then
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7507 $as_echo "$STRIP" >&6; }
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7510 $as_echo "no" >&6; }
7515 if test -z "$ac_cv_prog_STRIP"; then
7517 # Extract the first word of "strip", so it can be a program name with args.
7518 set dummy strip; ac_word=$2
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520 $as_echo_n "checking for $ac_word... " >&6; }
7521 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7522 $as_echo_n "(cached) " >&6
7524 if test -n "$ac_ct_STRIP"; then
7525 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 test -z "$as_dir" && as_dir=.
7532 for ac_exec_ext in '' $ac_executable_extensions; do
7533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7534 ac_cv_prog_ac_ct_STRIP="strip"
7535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7545 if test -n "$ac_ct_STRIP"; then
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7547 $as_echo "$ac_ct_STRIP" >&6; }
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 $as_echo "no" >&6; }
7553 if test "x$ac_ct_STRIP" = x; then
7556 case $cross_compiling:$ac_tool_warned in
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7560 ac_tool_warned=yes ;;
7565 STRIP="$ac_cv_prog_STRIP"
7568 test -z "$STRIP" && STRIP=:
7575 if test -n "$ac_tool_prefix"; then
7576 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7577 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7579 $as_echo_n "checking for $ac_word... " >&6; }
7580 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7581 $as_echo_n "(cached) " >&6
7583 if test -n "$RANLIB"; then
7584 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7593 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 RANLIB=$ac_cv_prog_RANLIB
7604 if test -n "$RANLIB"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7606 $as_echo "$RANLIB" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7609 $as_echo "no" >&6; }
7614 if test -z "$ac_cv_prog_RANLIB"; then
7615 ac_ct_RANLIB=$RANLIB
7616 # Extract the first word of "ranlib", so it can be a program name with args.
7617 set dummy ranlib; ac_word=$2
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7619 $as_echo_n "checking for $ac_word... " >&6; }
7620 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7621 $as_echo_n "(cached) " >&6
7623 if test -n "$ac_ct_RANLIB"; then
7624 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7630 test -z "$as_dir" && as_dir=.
7631 for ac_exec_ext in '' $ac_executable_extensions; do
7632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7633 ac_cv_prog_ac_ct_RANLIB="ranlib"
7634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7644 if test -n "$ac_ct_RANLIB"; then
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7646 $as_echo "$ac_ct_RANLIB" >&6; }
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7649 $as_echo "no" >&6; }
7652 if test "x$ac_ct_RANLIB" = x; then
7655 case $cross_compiling:$ac_tool_warned in
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7659 ac_tool_warned=yes ;;
7661 RANLIB=$ac_ct_RANLIB
7664 RANLIB="$ac_cv_prog_RANLIB"
7667 test -z "$RANLIB" && RANLIB=:
7674 # Determine commands to create old-style static archives.
7675 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7676 old_postinstall_cmds='chmod 644 $oldlib'
7677 old_postuninstall_cmds=
7679 if test -n "$RANLIB"; then
7682 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7685 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7688 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7693 lock_old_archive_extraction=yes ;;
7695 lock_old_archive_extraction=no ;;
7736 # If no C compiler was specified, use CC.
7739 # If no C compiler flags were specified, use CFLAGS.
7740 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7742 # Allow CC to be a program name with arguments.
7746 # Check for command to grab the raw symbol name followed by C symbol from nm.
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7748 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7749 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7750 $as_echo_n "(cached) " >&6
7753 # These are sane defaults that work on at least a few old systems.
7754 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7756 # Character class describing NM global symbol codes.
7757 symcode='[BCDEGRST]'
7759 # Regexp to match symbols that can be accessed directly from C.
7760 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7762 # Define system-specific variables.
7767 cygwin* | mingw* | pw32* | cegcc*)
7768 symcode='[ABCDGISTW]'
7771 if test "$host_cpu" = ia64; then
7772 symcode='[ABCDEGRST]'
7776 symcode='[BCDEGRST]'
7779 symcode='[BCDEGQRST]'
7790 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7798 # If we're using GNU nm, then use its standard symbol codes.
7799 case `$NM -V 2>&1` in
7800 *GNU* | *'with BFD'*)
7801 symcode='[ABCDGIRSTW]' ;;
7804 # Transform an extracted symbol line into a proper C declaration.
7805 # Some systems (esp. on ia64) link data and code symbols differently,
7806 # so use this general approach.
7807 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7809 # Transform an extracted symbol line into symbol name and symbol address
7810 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7811 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'"
7813 # Handle CRLF in mingw tool chain
7817 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7821 # Try without a prefix underscore, then with it.
7822 for ac_symprfx in "" "_"; do
7824 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7825 symxfrm="\\1 $ac_symprfx\\2 \\2"
7827 # Write the raw and C identifiers.
7828 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7829 # Fake it for dumpbin and say T for any non-static function
7830 # and D for any global variable.
7831 # Also find C++ and __fastcall symbols from MSVC++,
7832 # which start with @ or ?.
7833 lt_cv_sys_global_symbol_pipe="$AWK '"\
7834 " {last_section=section; section=\$ 3};"\
7835 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7836 " \$ 0!~/External *\|/{next};"\
7837 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7838 " {if(hide[section]) next};"\
7839 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7840 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7841 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7842 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7843 " ' prfx=^$ac_symprfx"
7845 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7848 # Check to see that the pipe works correctly.
7852 cat > conftest.$ac_ext <<_LT_EOF
7857 void nm_test_func(void);
7858 void nm_test_func(void){}
7862 int main(){nm_test_var='a';nm_test_func();return(0);}
7865 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7866 (eval $ac_compile) 2>&5
7868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7869 test $ac_status = 0; }; then
7870 # Now try to grab the symbols.
7872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7873 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7876 test $ac_status = 0; } && test -s "$nlist"; then
7877 # Try sorting and uniquifying the output.
7878 if sort "$nlist" | uniq > "$nlist"T; then
7879 mv -f "$nlist"T "$nlist"
7884 # Make sure that we snagged all the symbols we need.
7885 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7886 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7887 cat <<_LT_EOF > conftest.$ac_ext
7893 # Now generate the symbol file.
7894 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7896 cat <<_LT_EOF >> conftest.$ac_ext
7898 /* The mapping between symbol names and symbols. */
7903 lt__PROGRAM__LTX_preloaded_symbols[] =
7905 { "@PROGRAM@", (void *) 0 },
7907 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7908 cat <<\_LT_EOF >> conftest.$ac_ext
7912 /* This works around a problem in FreeBSD linker */
7913 #ifdef FREEBSD_WORKAROUND
7914 static const void *lt_preloaded_setup() {
7915 return lt__PROGRAM__LTX_preloaded_symbols;
7923 # Now try linking the two files.
7924 mv conftest.$ac_objext conftstm.$ac_objext
7925 lt_save_LIBS="$LIBS"
7926 lt_save_CFLAGS="$CFLAGS"
7927 LIBS="conftstm.$ac_objext"
7928 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7929 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7930 (eval $ac_link) 2>&5
7932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7933 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7936 LIBS="$lt_save_LIBS"
7937 CFLAGS="$lt_save_CFLAGS"
7939 echo "cannot find nm_test_func in $nlist" >&5
7942 echo "cannot find nm_test_var in $nlist" >&5
7945 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7948 echo "$progname: failed program was:" >&5
7949 cat conftest.$ac_ext >&5
7951 rm -rf conftest* conftst*
7953 # Do not use the global_symbol_pipe unless it works.
7954 if test "$pipe_works" = yes; then
7957 lt_cv_sys_global_symbol_pipe=
7963 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7964 lt_cv_sys_global_symbol_to_cdecl=
7966 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7968 $as_echo "failed" >&6; }
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7971 $as_echo "ok" >&6; }
7995 # Check whether --enable-libtool-lock was given.
7996 if test "${enable_libtool_lock+set}" = set; then :
7997 enableval=$enable_libtool_lock;
8000 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8002 # Some flags need to be propagated to the compiler or linker for good
8006 # Find out which ABI we are using.
8007 echo 'int i;' > conftest.$ac_ext
8008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8009 (eval $ac_compile) 2>&5
8011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8012 test $ac_status = 0; }; then
8013 case `/usr/bin/file conftest.$ac_objext` in
8025 # Find out which ABI we are using.
8026 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8028 (eval $ac_compile) 2>&5
8030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8031 test $ac_status = 0; }; then
8032 if test "$lt_cv_prog_gnu_ld" = yes; then
8033 case `/usr/bin/file conftest.$ac_objext` in
8035 LD="${LD-ld} -melf32bsmip"
8038 LD="${LD-ld} -melf32bmipn32"
8041 LD="${LD-ld} -melf64bmip"
8045 case `/usr/bin/file conftest.$ac_objext` in
8061 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8062 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8063 # Find out which ABI we are using.
8064 echo 'int i;' > conftest.$ac_ext
8065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8066 (eval $ac_compile) 2>&5
8068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8069 test $ac_status = 0; }; then
8070 case `/usr/bin/file conftest.o` in
8073 x86_64-*kfreebsd*-gnu)
8074 LD="${LD-ld} -m elf_i386_fbsd"
8077 LD="${LD-ld} -m elf_i386"
8079 ppc64-*linux*|powerpc64-*linux*)
8080 LD="${LD-ld} -m elf32ppclinux"
8083 LD="${LD-ld} -m elf_s390"
8086 LD="${LD-ld} -m elf32_sparc"
8092 x86_64-*kfreebsd*-gnu)
8093 LD="${LD-ld} -m elf_x86_64_fbsd"
8096 LD="${LD-ld} -m elf_x86_64"
8098 ppc*-*linux*|powerpc*-*linux*)
8099 LD="${LD-ld} -m elf64ppc"
8101 s390*-*linux*|s390*-*tpf*)
8102 LD="${LD-ld} -m elf64_s390"
8105 LD="${LD-ld} -m elf64_sparc"
8115 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8116 SAVE_CFLAGS="$CFLAGS"
8117 CFLAGS="$CFLAGS -belf"
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8119 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8120 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8121 $as_echo_n "(cached) " >&6
8124 ac_cpp='$CPP $CPPFLAGS'
8125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8129 if test x$gcc_no_link = xyes; then
8130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8143 if ac_fn_c_try_link "$LINENO"; then :
8144 lt_cv_cc_needs_belf=yes
8146 lt_cv_cc_needs_belf=no
8148 rm -f core conftest.err conftest.$ac_objext \
8149 conftest$ac_exeext conftest.$ac_ext
8151 ac_cpp='$CPP $CPPFLAGS'
8152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8158 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8159 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8160 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8161 CFLAGS="$SAVE_CFLAGS"
8165 # Find out which ABI we are using.
8166 echo 'int i;' > conftest.$ac_ext
8167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8168 (eval $ac_compile) 2>&5
8170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8171 test $ac_status = 0; }; then
8172 case `/usr/bin/file conftest.o` in
8174 case $lt_cv_prog_gnu_ld in
8175 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8177 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8189 need_locks="$enable_libtool_lock"
8193 rhapsody* | darwin*)
8194 if test -n "$ac_tool_prefix"; then
8195 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8196 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8198 $as_echo_n "checking for $ac_word... " >&6; }
8199 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8200 $as_echo_n "(cached) " >&6
8202 if test -n "$DSYMUTIL"; then
8203 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 test -z "$as_dir" && as_dir=.
8210 for ac_exec_ext in '' $ac_executable_extensions; do
8211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8212 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8222 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8223 if test -n "$DSYMUTIL"; then
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8225 $as_echo "$DSYMUTIL" >&6; }
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8228 $as_echo "no" >&6; }
8233 if test -z "$ac_cv_prog_DSYMUTIL"; then
8234 ac_ct_DSYMUTIL=$DSYMUTIL
8235 # Extract the first word of "dsymutil", so it can be a program name with args.
8236 set dummy dsymutil; ac_word=$2
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8238 $as_echo_n "checking for $ac_word... " >&6; }
8239 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8240 $as_echo_n "(cached) " >&6
8242 if test -n "$ac_ct_DSYMUTIL"; then
8243 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8249 test -z "$as_dir" && as_dir=.
8250 for ac_exec_ext in '' $ac_executable_extensions; do
8251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8252 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8262 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8263 if test -n "$ac_ct_DSYMUTIL"; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8265 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8268 $as_echo "no" >&6; }
8271 if test "x$ac_ct_DSYMUTIL" = x; then
8274 case $cross_compiling:$ac_tool_warned in
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8278 ac_tool_warned=yes ;;
8280 DSYMUTIL=$ac_ct_DSYMUTIL
8283 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8286 if test -n "$ac_tool_prefix"; then
8287 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8288 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8290 $as_echo_n "checking for $ac_word... " >&6; }
8291 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8292 $as_echo_n "(cached) " >&6
8294 if test -n "$NMEDIT"; then
8295 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8301 test -z "$as_dir" && as_dir=.
8302 for ac_exec_ext in '' $ac_executable_extensions; do
8303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8304 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8314 NMEDIT=$ac_cv_prog_NMEDIT
8315 if test -n "$NMEDIT"; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8317 $as_echo "$NMEDIT" >&6; }
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8320 $as_echo "no" >&6; }
8325 if test -z "$ac_cv_prog_NMEDIT"; then
8326 ac_ct_NMEDIT=$NMEDIT
8327 # Extract the first word of "nmedit", so it can be a program name with args.
8328 set dummy nmedit; ac_word=$2
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8330 $as_echo_n "checking for $ac_word... " >&6; }
8331 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8332 $as_echo_n "(cached) " >&6
8334 if test -n "$ac_ct_NMEDIT"; then
8335 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8341 test -z "$as_dir" && as_dir=.
8342 for ac_exec_ext in '' $ac_executable_extensions; do
8343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8344 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8354 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8355 if test -n "$ac_ct_NMEDIT"; then
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8357 $as_echo "$ac_ct_NMEDIT" >&6; }
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8360 $as_echo "no" >&6; }
8363 if test "x$ac_ct_NMEDIT" = x; then
8366 case $cross_compiling:$ac_tool_warned in
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8370 ac_tool_warned=yes ;;
8372 NMEDIT=$ac_ct_NMEDIT
8375 NMEDIT="$ac_cv_prog_NMEDIT"
8378 if test -n "$ac_tool_prefix"; then
8379 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8380 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8382 $as_echo_n "checking for $ac_word... " >&6; }
8383 if test "${ac_cv_prog_LIPO+set}" = set; then :
8384 $as_echo_n "(cached) " >&6
8386 if test -n "$LIPO"; then
8387 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8393 test -z "$as_dir" && as_dir=.
8394 for ac_exec_ext in '' $ac_executable_extensions; do
8395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8396 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8406 LIPO=$ac_cv_prog_LIPO
8407 if test -n "$LIPO"; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8409 $as_echo "$LIPO" >&6; }
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412 $as_echo "no" >&6; }
8417 if test -z "$ac_cv_prog_LIPO"; then
8419 # Extract the first word of "lipo", so it can be a program name with args.
8420 set dummy lipo; ac_word=$2
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8422 $as_echo_n "checking for $ac_word... " >&6; }
8423 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8424 $as_echo_n "(cached) " >&6
8426 if test -n "$ac_ct_LIPO"; then
8427 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8433 test -z "$as_dir" && as_dir=.
8434 for ac_exec_ext in '' $ac_executable_extensions; do
8435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8436 ac_cv_prog_ac_ct_LIPO="lipo"
8437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8446 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8447 if test -n "$ac_ct_LIPO"; then
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8449 $as_echo "$ac_ct_LIPO" >&6; }
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8452 $as_echo "no" >&6; }
8455 if test "x$ac_ct_LIPO" = x; then
8458 case $cross_compiling:$ac_tool_warned in
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8462 ac_tool_warned=yes ;;
8467 LIPO="$ac_cv_prog_LIPO"
8470 if test -n "$ac_tool_prefix"; then
8471 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8472 set dummy ${ac_tool_prefix}otool; ac_word=$2
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8474 $as_echo_n "checking for $ac_word... " >&6; }
8475 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8478 if test -n "$OTOOL"; then
8479 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8485 test -z "$as_dir" && as_dir=.
8486 for ac_exec_ext in '' $ac_executable_extensions; do
8487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8488 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8498 OTOOL=$ac_cv_prog_OTOOL
8499 if test -n "$OTOOL"; then
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8501 $as_echo "$OTOOL" >&6; }
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8504 $as_echo "no" >&6; }
8509 if test -z "$ac_cv_prog_OTOOL"; then
8511 # Extract the first word of "otool", so it can be a program name with args.
8512 set dummy otool; ac_word=$2
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8514 $as_echo_n "checking for $ac_word... " >&6; }
8515 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8516 $as_echo_n "(cached) " >&6
8518 if test -n "$ac_ct_OTOOL"; then
8519 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8525 test -z "$as_dir" && as_dir=.
8526 for ac_exec_ext in '' $ac_executable_extensions; do
8527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8528 ac_cv_prog_ac_ct_OTOOL="otool"
8529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8538 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8539 if test -n "$ac_ct_OTOOL"; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8541 $as_echo "$ac_ct_OTOOL" >&6; }
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8544 $as_echo "no" >&6; }
8547 if test "x$ac_ct_OTOOL" = x; then
8550 case $cross_compiling:$ac_tool_warned in
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8554 ac_tool_warned=yes ;;
8559 OTOOL="$ac_cv_prog_OTOOL"
8562 if test -n "$ac_tool_prefix"; then
8563 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8564 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8566 $as_echo_n "checking for $ac_word... " >&6; }
8567 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8568 $as_echo_n "(cached) " >&6
8570 if test -n "$OTOOL64"; then
8571 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8577 test -z "$as_dir" && as_dir=.
8578 for ac_exec_ext in '' $ac_executable_extensions; do
8579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8580 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8590 OTOOL64=$ac_cv_prog_OTOOL64
8591 if test -n "$OTOOL64"; then
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8593 $as_echo "$OTOOL64" >&6; }
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8596 $as_echo "no" >&6; }
8601 if test -z "$ac_cv_prog_OTOOL64"; then
8602 ac_ct_OTOOL64=$OTOOL64
8603 # Extract the first word of "otool64", so it can be a program name with args.
8604 set dummy otool64; ac_word=$2
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8606 $as_echo_n "checking for $ac_word... " >&6; }
8607 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8608 $as_echo_n "(cached) " >&6
8610 if test -n "$ac_ct_OTOOL64"; then
8611 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8617 test -z "$as_dir" && as_dir=.
8618 for ac_exec_ext in '' $ac_executable_extensions; do
8619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8620 ac_cv_prog_ac_ct_OTOOL64="otool64"
8621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8630 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8631 if test -n "$ac_ct_OTOOL64"; then
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8633 $as_echo "$ac_ct_OTOOL64" >&6; }
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8636 $as_echo "no" >&6; }
8639 if test "x$ac_ct_OTOOL64" = x; then
8642 case $cross_compiling:$ac_tool_warned in
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8646 ac_tool_warned=yes ;;
8648 OTOOL64=$ac_ct_OTOOL64
8651 OTOOL64="$ac_cv_prog_OTOOL64"
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8681 $as_echo_n "checking for -single_module linker flag... " >&6; }
8682 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8683 $as_echo_n "(cached) " >&6
8685 lt_cv_apple_cc_single_mod=no
8686 if test -z "${LT_MULTI_MODULE}"; then
8687 # By default we will add the -single_module flag. You can override
8688 # by either setting the environment variable LT_MULTI_MODULE
8689 # non-empty at configure time, or by adding -multi_module to the
8691 rm -rf libconftest.dylib*
8692 echo "int foo(void){return 1;}" > conftest.c
8693 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8694 -dynamiclib -Wl,-single_module conftest.c" >&5
8695 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8696 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8698 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8699 lt_cv_apple_cc_single_mod=yes
8701 cat conftest.err >&5
8703 rm -rf libconftest.dylib*
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8708 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8710 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8711 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8712 $as_echo_n "(cached) " >&6
8714 lt_cv_ld_exported_symbols_list=no
8715 save_LDFLAGS=$LDFLAGS
8716 echo "_main" > conftest.sym
8717 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8718 if test x$gcc_no_link = xyes; then
8719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8722 /* end confdefs.h. */
8732 if ac_fn_c_try_link "$LINENO"; then :
8733 lt_cv_ld_exported_symbols_list=yes
8735 lt_cv_ld_exported_symbols_list=no
8737 rm -f core conftest.err conftest.$ac_objext \
8738 conftest$ac_exeext conftest.$ac_ext
8739 LDFLAGS="$save_LDFLAGS"
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8743 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8745 $as_echo_n "checking for -force_load linker flag... " >&6; }
8746 if test "${lt_cv_ld_force_load+set}" = set; then :
8747 $as_echo_n "(cached) " >&6
8749 lt_cv_ld_force_load=no
8750 cat > conftest.c << _LT_EOF
8751 int forced_loaded() { return 2;}
8753 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8754 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8755 echo "$AR cru libconftest.a conftest.o" >&5
8756 $AR cru libconftest.a conftest.o 2>&5
8757 cat > conftest.c << _LT_EOF
8758 int main() { return 0;}
8760 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8761 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8763 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8764 lt_cv_ld_force_load=yes
8766 cat conftest.err >&5
8768 rm -f conftest.err libconftest.a conftest conftest.c
8769 rm -rf conftest.dSYM
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8773 $as_echo "$lt_cv_ld_force_load" >&6; }
8775 rhapsody* | darwin1.[012])
8776 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8778 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8779 darwin*) # darwin 5.x on
8780 # if running on 10.5 or later, the deployment target defaults
8781 # to the OS version, if on x86, and 10.4, the deployment
8782 # target defaults to 10.4. Don't you love it?
8783 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8784 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8785 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8787 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8789 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8793 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8794 _lt_dar_single_mod='$single_module'
8796 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8797 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8799 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8801 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8802 _lt_dsymutil='~$DSYMUTIL $lib || :'
8809 for ac_header in dlfcn.h
8811 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8813 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8814 cat >>confdefs.h <<_ACEOF
8815 #define HAVE_DLFCN_H 1
8834 # Check whether --enable-shared was given.
8835 if test "${enable_shared+set}" = set; then :
8836 enableval=$enable_shared; p=${PACKAGE-default}
8838 yes) enable_shared=yes ;;
8839 no) enable_shared=no ;;
8842 # Look at the argument we got. We use all the common list separators.
8843 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8844 for pkg in $enableval; do
8846 if test "X$pkg" = "X$p"; then
8865 # Check whether --enable-static was given.
8866 if test "${enable_static+set}" = set; then :
8867 enableval=$enable_static; p=${PACKAGE-default}
8869 yes) enable_static=yes ;;
8870 no) enable_static=no ;;
8873 # Look at the argument we got. We use all the common list separators.
8874 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8875 for pkg in $enableval; do
8877 if test "X$pkg" = "X$p"; then
8897 # Check whether --with-pic was given.
8898 if test "${with_pic+set}" = set; then :
8899 withval=$with_pic; pic_mode="$withval"
8905 test -z "$pic_mode" && pic_mode=default
8913 # Check whether --enable-fast-install was given.
8914 if test "${enable_fast_install+set}" = set; then :
8915 enableval=$enable_fast_install; p=${PACKAGE-default}
8917 yes) enable_fast_install=yes ;;
8918 no) enable_fast_install=no ;;
8920 enable_fast_install=no
8921 # Look at the argument we got. We use all the common list separators.
8922 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8923 for pkg in $enableval; do
8925 if test "X$pkg" = "X$p"; then
8926 enable_fast_install=yes
8933 enable_fast_install=yes
8946 # This can be used to rebuild libtool when needed
8947 LIBTOOL_DEPS="$ltmain"
8949 # Always use our own libtool.
8950 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8977 test -z "$LN_S" && LN_S="ln -s"
8992 if test -n "${ZSH_VERSION+set}" ; then
8993 setopt NO_GLOB_SUBST
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8997 $as_echo_n "checking for objdir... " >&6; }
8998 if test "${lt_cv_objdir+set}" = set; then :
8999 $as_echo_n "(cached) " >&6
9001 rm -f .libs 2>/dev/null
9002 mkdir .libs 2>/dev/null
9003 if test -d .libs; then
9006 # MS-DOS does not allow filenames that begin with a dot.
9009 rmdir .libs 2>/dev/null
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9012 $as_echo "$lt_cv_objdir" >&6; }
9013 objdir=$lt_cv_objdir
9019 cat >>confdefs.h <<_ACEOF
9020 #define LT_OBJDIR "$lt_cv_objdir/"
9028 # AIX sometimes has problems with the GCC collect2 program. For some
9029 # reason, if we set the COLLECT_NAMES environment variable, the problems
9030 # vanish in a puff of smoke.
9031 if test "X${COLLECT_NAMES+set}" != Xset; then
9033 export COLLECT_NAMES
9040 can_build_shared=yes
9042 # All known linkers require a `.a' archive for static linking (except MSVC,
9043 # which needs '.lib').
9046 with_gnu_ld="$lt_cv_prog_gnu_ld"
9049 old_CFLAGS="$CFLAGS"
9051 # Set sane defaults for various variables
9052 test -z "$CC" && CC=cc
9053 test -z "$LTCC" && LTCC=$CC
9054 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9055 test -z "$LD" && LD=ld
9056 test -z "$ac_objext" && ac_objext=o
9058 for cc_temp in $compiler""; do
9060 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9061 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9066 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9069 # Only perform the check for file, if the check method requires it
9070 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9071 case $deplibs_check_method in
9073 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9075 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9076 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9077 $as_echo_n "(cached) " >&6
9081 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9084 lt_save_MAGIC_CMD="$MAGIC_CMD"
9085 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9086 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9087 for ac_dir in $ac_dummy; do
9089 test -z "$ac_dir" && ac_dir=.
9090 if test -f $ac_dir/${ac_tool_prefix}file; then
9091 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9092 if test -n "$file_magic_test_file"; then
9093 case $deplibs_check_method in
9095 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9096 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9097 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9098 $EGREP "$file_magic_regex" > /dev/null; then
9103 *** Warning: the command libtool uses to detect shared libraries,
9104 *** $file_magic_cmd, produces output that libtool cannot recognize.
9105 *** The result is that libtool may fail to recognize shared libraries
9106 *** as such. This will affect the creation of libtool libraries that
9107 *** depend on shared libraries, but programs linked with such libtool
9108 *** libraries will work regardless of this problem. Nevertheless, you
9109 *** may want to report the problem to your system manager and/or to
9110 *** bug-libtool@gnu.org
9120 MAGIC_CMD="$lt_save_MAGIC_CMD"
9125 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9126 if test -n "$MAGIC_CMD"; then
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9128 $as_echo "$MAGIC_CMD" >&6; }
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9131 $as_echo "no" >&6; }
9138 if test -z "$lt_cv_path_MAGIC_CMD"; then
9139 if test -n "$ac_tool_prefix"; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9141 $as_echo_n "checking for file... " >&6; }
9142 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9143 $as_echo_n "(cached) " >&6
9147 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9150 lt_save_MAGIC_CMD="$MAGIC_CMD"
9151 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9152 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9153 for ac_dir in $ac_dummy; do
9155 test -z "$ac_dir" && ac_dir=.
9156 if test -f $ac_dir/file; then
9157 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9158 if test -n "$file_magic_test_file"; then
9159 case $deplibs_check_method in
9161 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9162 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9163 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9164 $EGREP "$file_magic_regex" > /dev/null; then
9169 *** Warning: the command libtool uses to detect shared libraries,
9170 *** $file_magic_cmd, produces output that libtool cannot recognize.
9171 *** The result is that libtool may fail to recognize shared libraries
9172 *** as such. This will affect the creation of libtool libraries that
9173 *** depend on shared libraries, but programs linked with such libtool
9174 *** libraries will work regardless of this problem. Nevertheless, you
9175 *** may want to report the problem to your system manager and/or to
9176 *** bug-libtool@gnu.org
9186 MAGIC_CMD="$lt_save_MAGIC_CMD"
9191 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9192 if test -n "$MAGIC_CMD"; then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9194 $as_echo "$MAGIC_CMD" >&6; }
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9197 $as_echo "no" >&6; }
9210 # Use C for the default configuration in the libtool script
9214 ac_cpp='$CPP $CPPFLAGS'
9215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9220 # Source file extension for C test sources.
9223 # Object file extension for compiled C test sources.
9227 # Code to be used in simple compile tests
9228 lt_simple_compile_test_code="int some_variable = 0;"
9230 # Code to be used in simple link tests
9231 lt_simple_link_test_code='int main(){return(0);}'
9239 # If no C compiler was specified, use CC.
9242 # If no C compiler flags were specified, use CFLAGS.
9243 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9245 # Allow CC to be a program name with arguments.
9248 # Save the default compiler, since it gets overwritten when the other
9249 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9250 compiler_DEFAULT=$CC
9252 # save warnings/boilerplate of simple test code
9253 ac_outfile=conftest.$ac_objext
9254 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9255 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9256 _lt_compiler_boilerplate=`cat conftest.err`
9259 ac_outfile=conftest.$ac_objext
9260 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9261 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9262 _lt_linker_boilerplate=`cat conftest.err`
9267 ## There is no encapsulation within the following macros, do not change
9268 ## the running order or otherwise move them around unless you know exactly
9269 ## what you are doing...
9270 if test -n "$compiler"; then
9272 lt_prog_compiler_no_builtin_flag=
9274 if test "$GCC" = yes; then
9275 case $cc_basename in
9277 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9279 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9283 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9284 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9285 $as_echo_n "(cached) " >&6
9287 lt_cv_prog_compiler_rtti_exceptions=no
9288 ac_outfile=conftest.$ac_objext
9289 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9290 lt_compiler_flag="-fno-rtti -fno-exceptions"
9291 # Insert the option either (1) after the last *FLAGS variable, or
9292 # (2) before a word containing "conftest.", or (3) at the end.
9293 # Note that $ac_compile itself does not contain backslashes and begins
9294 # with a dollar sign (not a hyphen), so the echo should work correctly.
9295 # The option is referenced via a variable to avoid confusing sed.
9296 lt_compile=`echo "$ac_compile" | $SED \
9297 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9298 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9299 -e 's:$: $lt_compiler_flag:'`
9300 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9301 (eval "$lt_compile" 2>conftest.err)
9303 cat conftest.err >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 if (exit $ac_status) && test -s "$ac_outfile"; then
9306 # The compiler can only warn and ignore the option if not recognized
9307 # So say no if there are warnings other than the usual output.
9308 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9309 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9310 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9311 lt_cv_prog_compiler_rtti_exceptions=yes
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9318 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9320 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9321 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9333 lt_prog_compiler_wl=
9334 lt_prog_compiler_pic=
9335 lt_prog_compiler_static=
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9338 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9340 if test "$GCC" = yes; then
9341 lt_prog_compiler_wl='-Wl,'
9342 lt_prog_compiler_static='-static'
9346 # All AIX code is PIC.
9347 if test "$host_cpu" = ia64; then
9348 # AIX 5 now supports IA64 processor
9349 lt_prog_compiler_static='-Bstatic'
9356 # see comment about AmigaOS4 .so support
9357 lt_prog_compiler_pic='-fPIC'
9360 # FIXME: we need at least 68020 code to build shared libraries, but
9361 # adding the `-m68020' flag to GCC prevents building anything better,
9363 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9368 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9369 # PIC is the default for these OSes.
9372 mingw* | cygwin* | pw32* | os2* | cegcc*)
9373 # This hack is so that the source file can tell whether it is being
9374 # built for inclusion in a dll (and should export symbols for example).
9375 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9376 # (--disable-auto-import) libraries
9377 lt_prog_compiler_pic='-DDLL_EXPORT'
9380 darwin* | rhapsody*)
9381 # PIC is the default on this platform
9382 # Common symbols not allowed in MH_DYLIB files
9383 lt_prog_compiler_pic='-fno-common'
9387 # PIC is the default for Haiku.
9388 # The "-static" flag exists, but is broken.
9389 lt_prog_compiler_static=
9393 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9394 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9395 # sets the default TLS model and affects inlining.
9401 lt_prog_compiler_pic='-fPIC'
9407 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9408 # Instead, we relocate shared libraries at runtime.
9412 # Just because we use GCC doesn't mean we suddenly get shared libraries
9413 # on systems that don't support them.
9414 lt_prog_compiler_can_build_shared=no
9419 # QNX uses GNU C++, but need to define -shared option too, otherwise
9421 lt_prog_compiler_pic='-fPIC -shared'
9425 if test -d /usr/nec; then
9426 lt_prog_compiler_pic=-Kconform_pic
9431 lt_prog_compiler_pic='-fPIC'
9435 case $cc_basename in
9436 nvcc*) # Cuda Compiler Driver 2.2
9437 lt_prog_compiler_wl='-Xlinker '
9438 lt_prog_compiler_pic='-Xcompiler -fPIC'
9442 # PORTME Check for flag to pass linker flags through the system compiler.
9445 lt_prog_compiler_wl='-Wl,'
9446 if test "$host_cpu" = ia64; then
9447 # AIX 5 now supports IA64 processor
9448 lt_prog_compiler_static='-Bstatic'
9450 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9454 mingw* | cygwin* | pw32* | os2* | cegcc*)
9455 # This hack is so that the source file can tell whether it is being
9456 # built for inclusion in a dll (and should export symbols for example).
9457 lt_prog_compiler_pic='-DDLL_EXPORT'
9460 hpux9* | hpux10* | hpux11*)
9461 lt_prog_compiler_wl='-Wl,'
9462 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9469 lt_prog_compiler_pic='+Z'
9472 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9473 lt_prog_compiler_static='${wl}-a ${wl}archive'
9476 irix5* | irix6* | nonstopux*)
9477 lt_prog_compiler_wl='-Wl,'
9478 # PIC (with -KPIC) is the default.
9479 lt_prog_compiler_static='-non_shared'
9482 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9483 case $cc_basename in
9484 # old Intel for x86_64 which still supported -KPIC.
9486 lt_prog_compiler_wl='-Wl,'
9487 lt_prog_compiler_pic='-KPIC'
9488 lt_prog_compiler_static='-static'
9490 # icc used to be incompatible with GCC.
9491 # ICC 10 doesn't accept -KPIC any more.
9493 lt_prog_compiler_wl='-Wl,'
9494 lt_prog_compiler_pic='-fPIC'
9495 lt_prog_compiler_static='-static'
9497 # Lahey Fortran 8.1.
9499 lt_prog_compiler_wl='-Wl,'
9500 lt_prog_compiler_pic='--shared'
9501 lt_prog_compiler_static='--static'
9503 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9504 # Portland Group compilers (*not* the Pentium gcc compiler,
9505 # which looks to be a dead project)
9506 lt_prog_compiler_wl='-Wl,'
9507 lt_prog_compiler_pic='-fpic'
9508 lt_prog_compiler_static='-Bstatic'
9511 lt_prog_compiler_wl='-Wl,'
9512 # All Alpha code is PIC.
9513 lt_prog_compiler_static='-non_shared'
9515 xl* | bgxl* | bgf* | mpixl*)
9516 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9517 lt_prog_compiler_wl='-Wl,'
9518 lt_prog_compiler_pic='-qpic'
9519 lt_prog_compiler_static='-qstaticlink'
9522 case `$CC -V 2>&1 | sed 5q` in
9523 *Sun\ F* | *Sun*Fortran*)
9524 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9525 lt_prog_compiler_pic='-KPIC'
9526 lt_prog_compiler_static='-Bstatic'
9527 lt_prog_compiler_wl=''
9531 lt_prog_compiler_pic='-KPIC'
9532 lt_prog_compiler_static='-Bstatic'
9533 lt_prog_compiler_wl='-Wl,'
9541 lt_prog_compiler_pic='-KPIC'
9542 lt_prog_compiler_static='-Bstatic'
9546 # QNX uses GNU C++, but need to define -shared option too, otherwise
9548 lt_prog_compiler_pic='-fPIC -shared'
9551 osf3* | osf4* | osf5*)
9552 lt_prog_compiler_wl='-Wl,'
9553 # All OSF/1 code is PIC.
9554 lt_prog_compiler_static='-non_shared'
9558 lt_prog_compiler_static='-non_shared'
9562 lt_prog_compiler_pic='-KPIC'
9563 lt_prog_compiler_static='-Bstatic'
9564 case $cc_basename in
9566 lt_prog_compiler_wl='-Qoption ld ';;
9568 lt_prog_compiler_wl='-Wl,';;
9573 lt_prog_compiler_wl='-Qoption ld '
9574 lt_prog_compiler_pic='-PIC'
9575 lt_prog_compiler_static='-Bstatic'
9578 sysv4 | sysv4.2uw2* | sysv4.3*)
9579 lt_prog_compiler_wl='-Wl,'
9580 lt_prog_compiler_pic='-KPIC'
9581 lt_prog_compiler_static='-Bstatic'
9585 if test -d /usr/nec ;then
9586 lt_prog_compiler_pic='-Kconform_pic'
9587 lt_prog_compiler_static='-Bstatic'
9591 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9592 lt_prog_compiler_wl='-Wl,'
9593 lt_prog_compiler_pic='-KPIC'
9594 lt_prog_compiler_static='-Bstatic'
9598 lt_prog_compiler_wl='-Wl,'
9599 lt_prog_compiler_can_build_shared=no
9603 lt_prog_compiler_pic='-pic'
9604 lt_prog_compiler_static='-Bstatic'
9608 lt_prog_compiler_can_build_shared=no
9614 # For platforms which do not support PIC, -DPIC is meaningless:
9616 lt_prog_compiler_pic=
9619 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9623 $as_echo "$lt_prog_compiler_pic" >&6; }
9631 # Check to make sure the PIC flag actually works.
9633 if test -n "$lt_prog_compiler_pic"; then
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9635 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9636 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9637 $as_echo_n "(cached) " >&6
9639 lt_cv_prog_compiler_pic_works=no
9640 ac_outfile=conftest.$ac_objext
9641 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9642 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9643 # Insert the option either (1) after the last *FLAGS variable, or
9644 # (2) before a word containing "conftest.", or (3) at the end.
9645 # Note that $ac_compile itself does not contain backslashes and begins
9646 # with a dollar sign (not a hyphen), so the echo should work correctly.
9647 # The option is referenced via a variable to avoid confusing sed.
9648 lt_compile=`echo "$ac_compile" | $SED \
9649 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9650 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9651 -e 's:$: $lt_compiler_flag:'`
9652 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9653 (eval "$lt_compile" 2>conftest.err)
9655 cat conftest.err >&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 if (exit $ac_status) && test -s "$ac_outfile"; then
9658 # The compiler can only warn and ignore the option if not recognized
9659 # So say no if there are warnings other than the usual output.
9660 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9661 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9662 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9663 lt_cv_prog_compiler_pic_works=yes
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9670 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9672 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9673 case $lt_prog_compiler_pic in
9675 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9678 lt_prog_compiler_pic=
9679 lt_prog_compiler_can_build_shared=no
9690 # Check to make sure the static flag actually works.
9692 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9694 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9695 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9696 $as_echo_n "(cached) " >&6
9698 lt_cv_prog_compiler_static_works=no
9699 save_LDFLAGS="$LDFLAGS"
9700 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9701 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9702 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9703 # The linker can only warn and ignore the option if not recognized
9704 # So say no if there are warnings
9705 if test -s conftest.err; then
9706 # Append any errors to the config.log.
9707 cat conftest.err 1>&5
9708 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9709 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9710 if diff conftest.exp conftest.er2 >/dev/null; then
9711 lt_cv_prog_compiler_static_works=yes
9714 lt_cv_prog_compiler_static_works=yes
9718 LDFLAGS="$save_LDFLAGS"
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9722 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9724 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9727 lt_prog_compiler_static=
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9737 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9738 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9739 $as_echo_n "(cached) " >&6
9741 lt_cv_prog_compiler_c_o=no
9742 $RM -r conftest 2>/dev/null
9746 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9748 lt_compiler_flag="-o out/conftest2.$ac_objext"
9749 # Insert the option either (1) after the last *FLAGS variable, or
9750 # (2) before a word containing "conftest.", or (3) at the end.
9751 # Note that $ac_compile itself does not contain backslashes and begins
9752 # with a dollar sign (not a hyphen), so the echo should work correctly.
9753 lt_compile=`echo "$ac_compile" | $SED \
9754 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9755 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9756 -e 's:$: $lt_compiler_flag:'`
9757 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9758 (eval "$lt_compile" 2>out/conftest.err)
9760 cat out/conftest.err >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9764 # The compiler can only warn and ignore the option if not recognized
9765 # So say no if there are warnings
9766 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9767 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9768 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9769 lt_cv_prog_compiler_c_o=yes
9774 # SGI C++ compiler will create directory out/ii_files/ for
9775 # template instantiation
9776 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9777 $RM out/* && rmdir out
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9784 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9792 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9793 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9794 $as_echo_n "(cached) " >&6
9796 lt_cv_prog_compiler_c_o=no
9797 $RM -r conftest 2>/dev/null
9801 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9803 lt_compiler_flag="-o out/conftest2.$ac_objext"
9804 # Insert the option either (1) after the last *FLAGS variable, or
9805 # (2) before a word containing "conftest.", or (3) at the end.
9806 # Note that $ac_compile itself does not contain backslashes and begins
9807 # with a dollar sign (not a hyphen), so the echo should work correctly.
9808 lt_compile=`echo "$ac_compile" | $SED \
9809 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9811 -e 's:$: $lt_compiler_flag:'`
9812 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9813 (eval "$lt_compile" 2>out/conftest.err)
9815 cat out/conftest.err >&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9819 # The compiler can only warn and ignore the option if not recognized
9820 # So say no if there are warnings
9821 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9822 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9823 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9824 lt_cv_prog_compiler_c_o=yes
9829 # SGI C++ compiler will create directory out/ii_files/ for
9830 # template instantiation
9831 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9832 $RM out/* && rmdir out
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9839 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9844 hard_links="nottested"
9845 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9846 # do not overwrite the value of need_locks provided by the user
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9848 $as_echo_n "checking if we can lock with hard links... " >&6; }
9851 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9853 ln conftest.a conftest.b 2>&5 || hard_links=no
9854 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9856 $as_echo "$hard_links" >&6; }
9857 if test "$hard_links" = no; then
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9859 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9872 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9875 allow_undefined_flag=
9876 always_export_symbols=no
9878 archive_expsym_cmds=
9879 compiler_needs_object=no
9880 enable_shared_with_static_runtimes=no
9881 export_dynamic_flag_spec=
9882 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9883 hardcode_automatic=no
9885 hardcode_direct_absolute=no
9886 hardcode_libdir_flag_spec=
9887 hardcode_libdir_flag_spec_ld=
9888 hardcode_libdir_separator=
9890 hardcode_shlibpath_var=unsupported
9892 link_all_deplibs=unknown
9895 old_archive_from_new_cmds=
9896 old_archive_from_expsyms_cmds=
9897 thread_safe_flag_spec=
9898 whole_archive_flag_spec=
9899 # include_expsyms should be a list of space-separated symbols to be *always*
9900 # included in the symbol list
9902 # exclude_expsyms can be an extended regexp of symbols to exclude
9903 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9904 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9905 # as well as any symbol that contains `d'.
9906 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9907 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9908 # platforms (ab)use it in PIC code, but their linkers get confused if
9909 # the symbol is explicitly referenced. Since portable code cannot
9910 # rely on this symbol name, it's probably fine to never include it in
9911 # preloaded symbol tables.
9912 # Exclude shared library initialization/finalization symbols.
9913 extract_expsyms_cmds=
9916 cygwin* | mingw* | pw32* | cegcc*)
9917 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9918 # When not using gcc, we currently assume that we are using
9919 # Microsoft Visual C++.
9920 if test "$GCC" != yes; then
9925 # we just hope/assume this is gcc and not c89 (= MSVC++)
9935 # On some targets, GNU ld is compatible enough with the native linker
9936 # that we're better off using the native interface for both.
9937 lt_use_gnu_ld_interface=no
9938 if test "$with_gnu_ld" = yes; then
9941 # The AIX port of GNU ld has always aspired to compatibility
9942 # with the native linker. However, as the warning in the GNU ld
9943 # block says, versions before 2.19.5* couldn't really create working
9944 # shared libraries, regardless of the interface used.
9945 case `$LD -v 2>&1` in
9946 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9947 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9948 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9950 lt_use_gnu_ld_interface=yes
9955 lt_use_gnu_ld_interface=yes
9960 if test "$lt_use_gnu_ld_interface" = yes; then
9961 # If archive_cmds runs LD, not CC, wlarc should be empty
9964 # Set some defaults for GNU ld with shared library support. These
9965 # are reset later if shared libraries are not supported. Putting them
9966 # here allows them to be overridden if necessary.
9967 runpath_var=LD_RUN_PATH
9968 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9969 export_dynamic_flag_spec='${wl}--export-dynamic'
9970 # ancient GNU ld didn't support --whole-archive et. al.
9971 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9972 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9974 whole_archive_flag_spec=
9976 supports_anon_versioning=no
9977 case `$LD -v 2>&1` in
9978 *GNU\ gold*) supports_anon_versioning=yes ;;
9979 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9980 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9981 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9982 *\ 2.11.*) ;; # other 2.11 versions
9983 *) supports_anon_versioning=yes ;;
9986 # See if GNU ld supports shared libraries.
9989 # On AIX/PPC, the GNU linker is very broken
9990 if test "$host_cpu" != ia64; then
9994 *** Warning: the GNU linker, at least up to release 2.19, is reported
9995 *** to be unable to reliably create shared libraries on AIX.
9996 *** Therefore, libtool is disabling shared libraries support. If you
9997 *** really care for shared libraries, you may want to install binutils
9998 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9999 *** You will then need to restart the configuration process.
10008 # see comment about AmigaOS4 .so support
10009 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010 archive_expsym_cmds=''
10013 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)'
10014 hardcode_libdir_flag_spec='-L$libdir'
10015 hardcode_minus_L=yes
10021 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10022 allow_undefined_flag=unsupported
10023 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10024 # support --undefined. This deserves some investigation. FIXME
10025 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10031 cygwin* | mingw* | pw32* | cegcc*)
10032 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10033 # as there is no search path for DLLs.
10034 hardcode_libdir_flag_spec='-L$libdir'
10035 export_dynamic_flag_spec='${wl}--export-all-symbols'
10036 allow_undefined_flag=unsupported
10037 always_export_symbols=no
10038 enable_shared_with_static_runtimes=yes
10039 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10041 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10042 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10043 # If the export-symbols file already is a .def file (1st line
10044 # is EXPORTS), use it as is; otherwise, prepend...
10045 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10046 cp $export_symbols $output_objdir/$soname.def;
10048 echo EXPORTS > $output_objdir/$soname.def;
10049 cat $export_symbols >> $output_objdir/$soname.def;
10051 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10058 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10059 link_all_deplibs=yes
10064 hardcode_shlibpath_var=no
10065 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10066 export_dynamic_flag_spec='${wl}-E'
10067 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10068 # Instead, shared libraries are loaded at an image base (0x10000000 by
10069 # default) and relocated if they conflict, which is a slow very memory
10070 # consuming and fragmenting process. To avoid this, we pick a random,
10071 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10072 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10073 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10074 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'
10077 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10079 if test "$host_os" = linux-dietlibc; then
10080 case $cc_basename in
10081 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10084 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10085 && test "$tmp_diet" = no
10088 tmp_sharedflag='-shared'
10089 case $cc_basename,$host_cpu in
10090 pgcc*) # Portland Group C compiler
10091 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'
10092 tmp_addflag=' $pic_flag'
10094 pgf77* | pgf90* | pgf95* | pgfortran*)
10095 # Portland Group f77 and f90 compilers
10096 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'
10097 tmp_addflag=' $pic_flag -Mnomain' ;;
10098 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10099 tmp_addflag=' -i_dynamic' ;;
10100 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10101 tmp_addflag=' -i_dynamic -nofor_main' ;;
10102 ifc* | ifort*) # Intel Fortran compiler
10103 tmp_addflag=' -nofor_main' ;;
10104 lf95*) # Lahey Fortran 8.1
10105 whole_archive_flag_spec=
10106 tmp_sharedflag='--shared' ;;
10107 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10108 tmp_sharedflag='-qmkshrobj'
10110 nvcc*) # Cuda Compiler Driver 2.2
10111 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'
10112 compiler_needs_object=yes
10115 case `$CC -V 2>&1 | sed 5q` in
10116 *Sun\ C*) # Sun C 5.9
10117 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'
10118 compiler_needs_object=yes
10119 tmp_sharedflag='-G' ;;
10120 *Sun\ F*) # Sun Fortran 8.3
10121 tmp_sharedflag='-G' ;;
10123 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10125 if test "x$supports_anon_versioning" = xyes; then
10126 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10127 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10128 echo "local: *; };" >> $output_objdir/$libname.ver~
10129 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10132 case $cc_basename in
10133 xlf* | bgf* | bgxlf* | mpixlf*)
10134 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10135 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10136 hardcode_libdir_flag_spec=
10137 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10138 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10139 if test "x$supports_anon_versioning" = xyes; then
10140 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10141 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10142 echo "local: *; };" >> $output_objdir/$libname.ver~
10143 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10153 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10154 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10157 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10158 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10163 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10167 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10168 *** create shared libraries on Solaris systems. Therefore, libtool
10169 *** is disabling shared libraries support. We urge you to upgrade GNU
10170 *** binutils to release 2.9.1 or newer. Another option is to modify
10171 *** your PATH or compiler configuration so that the native linker is
10172 *** used, and then restart.
10175 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10176 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10177 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10183 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10184 case `$LD -v 2>&1` in
10185 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10189 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10190 *** reliably create shared libraries on SCO systems. Therefore, libtool
10191 *** is disabling shared libraries support. We urge you to upgrade GNU
10192 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10193 *** your PATH or compiler configuration so that the native linker is
10194 *** used, and then restart.
10199 # For security reasons, it is highly recommended that you always
10200 # use absolute paths for naming shared libraries, and exclude the
10201 # DT_RUNPATH tag from executables and libraries. But doing so
10202 # requires that you compile everything twice, which is a pain.
10203 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10204 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10205 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10206 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10215 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10217 hardcode_direct=yes
10218 hardcode_shlibpath_var=no
10222 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10223 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10224 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10231 if test "$ld_shlibs" = no; then
10233 hardcode_libdir_flag_spec=
10234 export_dynamic_flag_spec=
10235 whole_archive_flag_spec=
10238 # PORTME fill in a description of your system's linker (not GNU ld)
10241 allow_undefined_flag=unsupported
10242 always_export_symbols=yes
10243 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'
10244 # Note: this linker hardcodes the directories in LIBPATH if there
10245 # are no directories specified by -L.
10246 hardcode_minus_L=yes
10247 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10248 # Neither direct hardcoding nor static linking is supported with a
10250 hardcode_direct=unsupported
10255 if test "$host_cpu" = ia64; then
10256 # On IA64, the linker does run time linking by default, so we don't
10257 # have to do anything special.
10258 aix_use_runtimelinking=no
10259 exp_sym_flag='-Bexport'
10262 # If we're using GNU nm, then we don't want the "-C" option.
10263 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10264 # Also, AIX nm treats weak defined symbols like other global
10265 # defined symbols, whereas GNU nm marks them as "W".
10266 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10267 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'
10269 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'
10271 aix_use_runtimelinking=no
10273 # Test if we are trying to use run time linking or normal
10274 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10275 # need to do runtime linking.
10276 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10277 for ld_flag in $LDFLAGS; do
10278 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10279 aix_use_runtimelinking=yes
10286 exp_sym_flag='-bexport'
10287 no_entry_flag='-bnoentry'
10290 # When large executables or shared objects are built, AIX ld can
10291 # have problems creating the table of contents. If linking a library
10292 # or program results in "error TOC overflow" add -mminimal-toc to
10293 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10294 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10297 hardcode_direct=yes
10298 hardcode_direct_absolute=yes
10299 hardcode_libdir_separator=':'
10300 link_all_deplibs=yes
10301 file_list_spec='${wl}-f,'
10303 if test "$GCC" = yes; then
10304 case $host_os in aix4.[012]|aix4.[012].*)
10305 # We only want to do this on AIX 4.2 and lower, the check
10306 # below for broken collect2 doesn't work under 4.3+
10307 collect2name=`${CC} -print-prog-name=collect2`
10308 if test -f "$collect2name" &&
10309 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10311 # We have reworked collect2
10314 # We have old collect2
10315 hardcode_direct=unsupported
10316 # It fails to find uninstalled libraries when the uninstalled
10317 # path is not listed in the libpath. Setting hardcode_minus_L
10318 # to unsupported forces relinking
10319 hardcode_minus_L=yes
10320 hardcode_libdir_flag_spec='-L$libdir'
10321 hardcode_libdir_separator=
10325 shared_flag='-shared'
10326 if test "$aix_use_runtimelinking" = yes; then
10327 shared_flag="$shared_flag "'${wl}-G'
10331 if test "$host_cpu" = ia64; then
10332 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10333 # chokes on -Wl,-G. The following line is correct:
10336 if test "$aix_use_runtimelinking" = yes; then
10337 shared_flag='${wl}-G'
10339 shared_flag='${wl}-bM:SRE'
10344 export_dynamic_flag_spec='${wl}-bexpall'
10345 # It seems that -bexpall does not export symbols beginning with
10346 # underscore (_), so it is better to generate a list of symbols to export.
10347 always_export_symbols=yes
10348 if test "$aix_use_runtimelinking" = yes; then
10349 # Warning - without using the other runtime loading flags (-brtl),
10350 # -berok will link without error, but may produce a broken library.
10351 allow_undefined_flag='-berok'
10352 # Determine the default libpath from the value encoded in an
10353 # empty executable.
10354 if test x$gcc_no_link = xyes; then
10355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10368 if ac_fn_c_try_link "$LINENO"; then :
10370 lt_aix_libpath_sed='
10371 /Import File Strings/,/^$/ {
10377 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10378 # Check for a 64-bit object if we didn't find anything.
10379 if test -z "$aix_libpath"; then
10380 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10383 rm -f core conftest.err conftest.$ac_objext \
10384 conftest$ac_exeext conftest.$ac_ext
10385 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10387 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10388 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"
10390 if test "$host_cpu" = ia64; then
10391 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10392 allow_undefined_flag="-z nodefs"
10393 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"
10395 # Determine the default libpath from the value encoded in an
10396 # empty executable.
10397 if test x$gcc_no_link = xyes; then
10398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10411 if ac_fn_c_try_link "$LINENO"; then :
10413 lt_aix_libpath_sed='
10414 /Import File Strings/,/^$/ {
10420 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10421 # Check for a 64-bit object if we didn't find anything.
10422 if test -z "$aix_libpath"; then
10423 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10426 rm -f core conftest.err conftest.$ac_objext \
10427 conftest$ac_exeext conftest.$ac_ext
10428 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10430 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10431 # Warning - without using the other run time loading flags,
10432 # -berok will link without error, but may produce a broken library.
10433 no_undefined_flag=' ${wl}-bernotok'
10434 allow_undefined_flag=' ${wl}-berok'
10435 if test "$with_gnu_ld" = yes; then
10436 # We only use this code for GNU lds that support --whole-archive.
10437 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10439 # Exported symbols can be pulled into shared objects from archives
10440 whole_archive_flag_spec='$convenience'
10442 archive_cmds_need_lc=yes
10443 # This is similar to how AIX traditionally builds its shared libraries.
10444 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'
10452 # see comment about AmigaOS4 .so support
10453 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10454 archive_expsym_cmds=''
10457 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)'
10458 hardcode_libdir_flag_spec='-L$libdir'
10459 hardcode_minus_L=yes
10465 export_dynamic_flag_spec=-rdynamic
10468 cygwin* | mingw* | pw32* | cegcc*)
10469 # When not using gcc, we currently assume that we are using
10470 # Microsoft Visual C++.
10471 # hardcode_libdir_flag_spec is actually meaningless, as there is
10472 # no search path for DLLs.
10473 hardcode_libdir_flag_spec=' '
10474 allow_undefined_flag=unsupported
10475 # Tell ltmain to make .lib files, not .a files.
10477 # Tell ltmain to make .dll files, not .so files.
10479 # FIXME: Setting linknames here is a bad hack.
10480 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10481 # The linker will automatically build a .lib file if we build a DLL.
10482 old_archive_from_new_cmds='true'
10483 # FIXME: Should let the user specify the lib program.
10484 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10485 fix_srcfile_path='`cygpath -w "$srcfile"`'
10486 enable_shared_with_static_runtimes=yes
10489 darwin* | rhapsody*)
10492 archive_cmds_need_lc=no
10494 hardcode_automatic=yes
10495 hardcode_shlibpath_var=unsupported
10496 if test "$lt_cv_ld_force_load" = "yes"; then
10497 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\"`'
10499 whole_archive_flag_spec=''
10501 link_all_deplibs=yes
10502 allow_undefined_flag="$_lt_dar_allow_undefined"
10503 case $cc_basename in
10504 ifort*) _lt_dar_can_shared=yes ;;
10505 *) _lt_dar_can_shared=$GCC ;;
10507 if test "$_lt_dar_can_shared" = "yes"; then
10508 output_verbose_link_cmd=func_echo_all
10509 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10510 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10511 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}"
10512 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}"
10521 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10522 hardcode_libdir_flag_spec='-L$libdir'
10523 hardcode_shlibpath_var=no
10526 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10527 # support. Future versions do this automatically, but an explicit c++rt0.o
10528 # does not break anything, and helps significantly (at the cost of a little
10531 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10532 hardcode_libdir_flag_spec='-R$libdir'
10533 hardcode_direct=yes
10534 hardcode_shlibpath_var=no
10537 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10539 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10540 hardcode_direct=yes
10541 hardcode_minus_L=yes
10542 hardcode_shlibpath_var=no
10545 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10546 freebsd* | dragonfly*)
10547 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10548 hardcode_libdir_flag_spec='-R$libdir'
10549 hardcode_direct=yes
10550 hardcode_shlibpath_var=no
10554 if test "$GCC" = yes; then
10555 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'
10557 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'
10559 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10560 hardcode_libdir_separator=:
10561 hardcode_direct=yes
10563 # hardcode_minus_L: Not really in the search PATH,
10564 # but as the default location of the library.
10565 hardcode_minus_L=yes
10566 export_dynamic_flag_spec='${wl}-E'
10570 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10571 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10573 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10575 if test "$with_gnu_ld" = no; then
10576 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10577 hardcode_libdir_flag_spec_ld='+b $libdir'
10578 hardcode_libdir_separator=:
10579 hardcode_direct=yes
10580 hardcode_direct_absolute=yes
10581 export_dynamic_flag_spec='${wl}-E'
10582 # hardcode_minus_L: Not really in the search PATH,
10583 # but as the default location of the library.
10584 hardcode_minus_L=yes
10589 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10592 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10595 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10598 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10604 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10607 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10611 # Older versions of the 11.00 compiler do not understand -b yet
10612 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10614 $as_echo_n "checking if $CC understands -b... " >&6; }
10615 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10616 $as_echo_n "(cached) " >&6
10618 lt_cv_prog_compiler__b=no
10619 save_LDFLAGS="$LDFLAGS"
10620 LDFLAGS="$LDFLAGS -b"
10621 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10622 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10623 # The linker can only warn and ignore the option if not recognized
10624 # So say no if there are warnings
10625 if test -s conftest.err; then
10626 # Append any errors to the config.log.
10627 cat conftest.err 1>&5
10628 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10629 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10630 if diff conftest.exp conftest.er2 >/dev/null; then
10631 lt_cv_prog_compiler__b=yes
10634 lt_cv_prog_compiler__b=yes
10638 LDFLAGS="$save_LDFLAGS"
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10642 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10644 if test x"$lt_cv_prog_compiler__b" = xyes; then
10645 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10647 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10653 if test "$with_gnu_ld" = no; then
10654 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10655 hardcode_libdir_separator=:
10660 hardcode_shlibpath_var=no
10663 hardcode_direct=yes
10664 hardcode_direct_absolute=yes
10665 export_dynamic_flag_spec='${wl}-E'
10667 # hardcode_minus_L: Not really in the search PATH,
10668 # but as the default location of the library.
10669 hardcode_minus_L=yes
10675 irix5* | irix6* | nonstopux*)
10676 if test "$GCC" = yes; then
10677 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'
10678 # Try to use the -exported_symbol ld option, if it does not
10679 # work, assume that -exports_file does not work either and
10680 # implicitly export all symbols.
10681 save_LDFLAGS="$LDFLAGS"
10682 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10683 if test x$gcc_no_link = xyes; then
10684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10690 if ac_fn_c_try_link "$LINENO"; then :
10691 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'
10694 rm -f core conftest.err conftest.$ac_objext \
10695 conftest$ac_exeext conftest.$ac_ext
10696 LDFLAGS="$save_LDFLAGS"
10698 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'
10699 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'
10701 archive_cmds_need_lc='no'
10702 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10703 hardcode_libdir_separator=:
10705 link_all_deplibs=yes
10709 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10710 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10712 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10714 hardcode_libdir_flag_spec='-R$libdir'
10715 hardcode_direct=yes
10716 hardcode_shlibpath_var=no
10720 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10721 hardcode_direct=yes
10722 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10723 hardcode_libdir_separator=:
10724 hardcode_shlibpath_var=no
10731 if test -f /usr/libexec/ld.so; then
10732 hardcode_direct=yes
10733 hardcode_shlibpath_var=no
10734 hardcode_direct_absolute=yes
10735 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10736 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10737 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10738 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10739 export_dynamic_flag_spec='${wl}-E'
10742 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10743 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10744 hardcode_libdir_flag_spec='-R$libdir'
10747 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10748 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10758 hardcode_libdir_flag_spec='-L$libdir'
10759 hardcode_minus_L=yes
10760 allow_undefined_flag=unsupported
10761 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'
10762 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10766 if test "$GCC" = yes; then
10767 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10768 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'
10770 allow_undefined_flag=' -expect_unresolved \*'
10771 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'
10773 archive_cmds_need_lc='no'
10774 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10775 hardcode_libdir_separator=:
10778 osf4* | osf5*) # as osf3* with the addition of -msym flag
10779 if test "$GCC" = yes; then
10780 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10781 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'
10782 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10784 allow_undefined_flag=' -expect_unresolved \*'
10785 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'
10786 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~
10787 $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'
10789 # Both c and cxx compiler support -rpath directly
10790 hardcode_libdir_flag_spec='-rpath $libdir'
10792 archive_cmds_need_lc='no'
10793 hardcode_libdir_separator=:
10797 no_undefined_flag=' -z defs'
10798 if test "$GCC" = yes; then
10800 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10801 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10802 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10804 case `$CC -V 2>&1` in
10807 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10808 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10809 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10813 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10814 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10815 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10819 hardcode_libdir_flag_spec='-R$libdir'
10820 hardcode_shlibpath_var=no
10822 solaris2.[0-5] | solaris2.[0-5].*) ;;
10824 # The compiler driver will combine and reorder linker options,
10825 # but understands `-z linker_flag'. GCC discards it without `$wl',
10826 # but is careful enough not to reorder.
10827 # Supported since Solaris 2.6 (maybe 2.5.1?)
10828 if test "$GCC" = yes; then
10829 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10831 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10835 link_all_deplibs=yes
10839 if test "x$host_vendor" = xsequent; then
10840 # Use $CC to link under sequent, because it throws in some extra .o
10841 # files that make .init and .fini sections work.
10842 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10844 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10846 hardcode_libdir_flag_spec='-L$libdir'
10847 hardcode_direct=yes
10848 hardcode_minus_L=yes
10849 hardcode_shlibpath_var=no
10853 case $host_vendor in
10855 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10856 hardcode_direct=yes # is this really true???
10859 ## LD is ld it makes a PLAMLIB
10860 ## CC just makes a GrossModule.
10861 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10862 reload_cmds='$CC -r -o $output$reload_objs'
10866 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10867 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10870 runpath_var='LD_RUN_PATH'
10871 hardcode_shlibpath_var=no
10875 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10876 hardcode_shlibpath_var=no
10877 export_dynamic_flag_spec='-Bexport'
10881 if test -d /usr/nec; then
10882 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10883 hardcode_shlibpath_var=no
10884 runpath_var=LD_RUN_PATH
10885 hardcode_runpath_var=yes
10890 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10891 no_undefined_flag='${wl}-z,text'
10892 archive_cmds_need_lc=no
10893 hardcode_shlibpath_var=no
10894 runpath_var='LD_RUN_PATH'
10896 if test "$GCC" = yes; then
10897 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10898 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10900 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10901 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10905 sysv5* | sco3.2v5* | sco5v6*)
10906 # Note: We can NOT use -z defs as we might desire, because we do not
10907 # link with -lc, and that would cause any symbols used from libc to
10908 # always be unresolved, which means just about no library would
10909 # ever link correctly. If we're not using GNU ld we use -z text
10910 # though, which does catch some bad symbols but isn't as heavy-handed
10912 no_undefined_flag='${wl}-z,text'
10913 allow_undefined_flag='${wl}-z,nodefs'
10914 archive_cmds_need_lc=no
10915 hardcode_shlibpath_var=no
10916 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10917 hardcode_libdir_separator=':'
10918 link_all_deplibs=yes
10919 export_dynamic_flag_spec='${wl}-Bexport'
10920 runpath_var='LD_RUN_PATH'
10922 if test "$GCC" = yes; then
10923 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10926 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10927 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10932 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10933 hardcode_libdir_flag_spec='-L$libdir'
10934 hardcode_shlibpath_var=no
10942 if test x$host_vendor = xsni; then
10944 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10945 export_dynamic_flag_spec='${wl}-Blargedynsym'
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10952 $as_echo "$ld_shlibs" >&6; }
10953 test "$ld_shlibs" = no && can_build_shared=no
10955 with_gnu_ld=$with_gnu_ld
10972 # Do we need to explicitly link libc?
10974 case "x$archive_cmds_need_lc" in
10976 # Assume -lc should be added
10977 archive_cmds_need_lc=yes
10979 if test "$enable_shared" = yes && test "$GCC" = yes; then
10980 case $archive_cmds in
10982 # FIXME: we may have to deal with multi-command sequences.
10985 # Test whether the compiler implicitly links with -lc since on some
10986 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10987 # to ld, don't add -lc before -lgcc.
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10989 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10990 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10991 $as_echo_n "(cached) " >&6
10994 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10997 (eval $ac_compile) 2>&5
10999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11000 test $ac_status = 0; } 2>conftest.err; then
11003 libobjs=conftest.$ac_objext
11005 wl=$lt_prog_compiler_wl
11006 pic_flag=$lt_prog_compiler_pic
11012 lt_save_allow_undefined_flag=$allow_undefined_flag
11013 allow_undefined_flag=
11014 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11015 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11018 test $ac_status = 0; }
11020 lt_cv_archive_cmds_need_lc=no
11022 lt_cv_archive_cmds_need_lc=yes
11024 allow_undefined_flag=$lt_save_allow_undefined_flag
11026 cat conftest.err 1>&5
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11032 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11033 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11197 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11199 if test "$GCC" = yes; then
11201 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11202 *) lt_awk_arg="/^libraries:/" ;;
11205 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11206 *) lt_sed_strip_eq="s,=/,/,g" ;;
11208 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11209 case $lt_search_path_spec in
11211 # if the path contains ";" then we assume it to be the separator
11212 # otherwise default to the standard path separator (i.e. ":") - it is
11213 # assumed that no part of a normal pathname contains ";" but that should
11214 # okay in the real world where ";" in dirpaths is itself problematic.
11215 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11218 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11221 # Ok, now we have the path, separated by spaces, we can step through it
11222 # and add multilib dir if necessary.
11223 lt_tmp_lt_search_path_spec=
11224 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11225 for lt_sys_path in $lt_search_path_spec; do
11226 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11227 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11229 test -d "$lt_sys_path" && \
11230 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11233 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11234 BEGIN {RS=" "; FS="/|\n";} {
11237 for (lt_i = NF; lt_i > 0; lt_i--) {
11238 if ($lt_i != "" && $lt_i != ".") {
11239 if ($lt_i == "..") {
11242 if (lt_count == 0) {
11243 lt_foo="/" $lt_i lt_foo;
11250 if (lt_foo != "") { lt_freq[lt_foo]++; }
11251 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11253 # AWK program above erroneously prepends '/' to C:/dos/paths
11256 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11257 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11259 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11261 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11263 library_names_spec=
11264 libname_spec='lib$name'
11268 postuninstall_cmds=
11272 shlibpath_overrides_runpath=unknown
11274 dynamic_linker="$host_os ld.so"
11275 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11276 need_lib_prefix=unknown
11277 hardcode_into_libs=no
11279 # when you set need_version to no, make sure it does not cause -set_version
11280 # flags to be left without arguments
11281 need_version=unknown
11286 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11287 shlibpath_var=LIBPATH
11289 # AIX 3 has no versioning support, so we append a major version to the name.
11290 soname_spec='${libname}${release}${shared_ext}$major'
11297 hardcode_into_libs=yes
11298 if test "$host_cpu" = ia64; then
11299 # AIX 5 supports IA64
11300 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11301 shlibpath_var=LD_LIBRARY_PATH
11303 # With GCC up to 2.95.x, collect2 would create an import file
11304 # for dependence libraries. The import file would start with
11305 # the line `#! .'. This would cause the generated library to
11306 # depend on `.', always an invalid library. This was fixed in
11307 # development snapshots of GCC prior to 3.0.
11309 aix4 | aix4.[01] | aix4.[01].*)
11310 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11312 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11315 can_build_shared=no
11319 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11320 # soname into executable. Probably we can add versioning support to
11321 # collect2, so additional links can be useful in future.
11322 if test "$aix_use_runtimelinking" = yes; then
11323 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11324 # instead of lib<name>.a to let people know that these are not
11325 # typical AIX shared libraries.
11326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11328 # We preserve .a as extension for shared libraries through AIX4.2
11329 # and later when we are not doing run time linking.
11330 library_names_spec='${libname}${release}.a $libname.a'
11331 soname_spec='${libname}${release}${shared_ext}$major'
11333 shlibpath_var=LIBPATH
11340 # Since July 2007 AmigaOS4 officially supports .so libraries.
11341 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11345 library_names_spec='$libname.ixlibrary $libname.a'
11346 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11347 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'
11353 library_names_spec='${libname}${shared_ext}'
11354 dynamic_linker="$host_os ld.so"
11355 shlibpath_var=LIBRARY_PATH
11361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11362 soname_spec='${libname}${release}${shared_ext}$major'
11363 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11364 shlibpath_var=LD_LIBRARY_PATH
11365 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11366 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11367 # the default ld.so.conf also contains /usr/contrib/lib and
11368 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11369 # libtool to hard-code these into programs
11372 cygwin* | mingw* | pw32* | cegcc*)
11373 version_type=windows
11378 case $GCC,$host_os in
11379 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11380 library_names_spec='$libname.dll.a'
11381 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11382 postinstall_cmds='base_file=`basename \${file}`~
11383 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11384 dldir=$destdir/`dirname \$dlpath`~
11385 test -d \$dldir || mkdir -p \$dldir~
11386 $install_prog $dir/$dlname \$dldir/$dlname~
11387 chmod a+x \$dldir/$dlname~
11388 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11389 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11391 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11392 dlpath=$dir/\$dldll~
11394 shlibpath_overrides_runpath=yes
11398 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11399 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11401 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11404 # MinGW DLLs use traditional 'lib' prefix
11405 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11408 # pw32 DLLs use 'pw' prefix rather than 'lib'
11409 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11415 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11418 dynamic_linker='Win32 ld.exe'
11419 # FIXME: first we should search . and the directory the executable is in
11423 darwin* | rhapsody*)
11424 dynamic_linker="$host_os dyld"
11425 version_type=darwin
11428 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11429 soname_spec='${libname}${release}${major}$shared_ext'
11430 shlibpath_overrides_runpath=yes
11431 shlibpath_var=DYLD_LIBRARY_PATH
11432 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11434 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11435 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11443 soname_spec='${libname}${release}${shared_ext}$major'
11444 shlibpath_var=LD_LIBRARY_PATH
11447 freebsd* | dragonfly*)
11448 # DragonFly does not have aout. When/if they implement a new
11449 # versioning mechanism, adjust this.
11450 if test -x /usr/bin/objformat; then
11451 objformat=`/usr/bin/objformat`
11454 freebsd[23].*) objformat=aout ;;
11455 *) objformat=elf ;;
11458 version_type=freebsd-$objformat
11459 case $version_type in
11461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11466 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11470 shlibpath_var=LD_LIBRARY_PATH
11473 shlibpath_overrides_runpath=yes
11475 freebsd3.[01]* | freebsdelf3.[01]*)
11476 shlibpath_overrides_runpath=yes
11477 hardcode_into_libs=yes
11479 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11480 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11481 shlibpath_overrides_runpath=no
11482 hardcode_into_libs=yes
11484 *) # from 4.6 on, and DragonFly
11485 shlibpath_overrides_runpath=yes
11486 hardcode_into_libs=yes
11495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11496 soname_spec='${libname}${release}${shared_ext}$major'
11497 shlibpath_var=LD_LIBRARY_PATH
11498 hardcode_into_libs=yes
11505 dynamic_linker="$host_os runtime_loader"
11506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11507 soname_spec='${libname}${release}${shared_ext}$major'
11508 shlibpath_var=LIBRARY_PATH
11509 shlibpath_overrides_runpath=yes
11510 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11511 hardcode_into_libs=yes
11514 hpux9* | hpux10* | hpux11*)
11515 # Give a soname corresponding to the major version so that dld.sl refuses to
11516 # link against other versions.
11523 hardcode_into_libs=yes
11524 dynamic_linker="$host_os dld.so"
11525 shlibpath_var=LD_LIBRARY_PATH
11526 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11528 soname_spec='${libname}${release}${shared_ext}$major'
11529 if test "X$HPUX_IA64_MODE" = X32; then
11530 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11532 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11534 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11538 hardcode_into_libs=yes
11539 dynamic_linker="$host_os dld.sl"
11540 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11541 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11543 soname_spec='${libname}${release}${shared_ext}$major'
11544 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11545 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11549 dynamic_linker="$host_os dld.sl"
11550 shlibpath_var=SHLIB_PATH
11551 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11553 soname_spec='${libname}${release}${shared_ext}$major'
11556 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11557 postinstall_cmds='chmod 555 $lib'
11558 # or fails outright, so override atomically:
11559 install_override_mode=555
11566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11567 soname_spec='${libname}${release}${shared_ext}$major'
11568 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11569 shlibpath_var=LD_LIBRARY_PATH
11570 shlibpath_overrides_runpath=no
11571 hardcode_into_libs=yes
11574 irix5* | irix6* | nonstopux*)
11576 nonstopux*) version_type=nonstopux ;;
11578 if test "$lt_cv_prog_gnu_ld" = yes; then
11586 soname_spec='${libname}${release}${shared_ext}$major'
11587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11589 irix5* | nonstopux*)
11590 libsuff= shlibsuff=
11593 case $LD in # libtool.m4 will add one of these switches to LD
11594 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11595 libsuff= shlibsuff= libmagic=32-bit;;
11596 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11597 libsuff=32 shlibsuff=N32 libmagic=N32;;
11598 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11599 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11600 *) libsuff= shlibsuff= libmagic=never-match;;
11604 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11605 shlibpath_overrides_runpath=no
11606 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11607 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11608 hardcode_into_libs=yes
11611 # No shared lib support for Linux oldld, aout, or coff.
11612 linux*oldld* | linux*aout* | linux*coff*)
11616 # This must be Linux ELF.
11617 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11622 soname_spec='${libname}${release}${shared_ext}$major'
11623 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11624 shlibpath_var=LD_LIBRARY_PATH
11625 shlibpath_overrides_runpath=no
11627 # Some binutils ld are patched to set DT_RUNPATH
11628 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11629 $as_echo_n "(cached) " >&6
11631 lt_cv_shlibpath_overrides_runpath=no
11632 save_LDFLAGS=$LDFLAGS
11633 save_libdir=$libdir
11634 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11635 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11636 if test x$gcc_no_link = xyes; then
11637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11650 if ac_fn_c_try_link "$LINENO"; then :
11651 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11652 lt_cv_shlibpath_overrides_runpath=yes
11655 rm -f core conftest.err conftest.$ac_objext \
11656 conftest$ac_exeext conftest.$ac_ext
11657 LDFLAGS=$save_LDFLAGS
11658 libdir=$save_libdir
11662 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11664 # This implies no fast_install, which is unacceptable.
11665 # Some rework will be needed to allow for fast_install
11666 # before this can be enabled.
11667 hardcode_into_libs=yes
11669 # Append ld.so.conf contents to the search path
11670 if test -f /etc/ld.so.conf; then
11671 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' ' '`
11672 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11675 # We used to test for /lib/ld.so.1 and disable shared libraries on
11676 # powerpc, because MkLinux only supported shared libraries with the
11677 # GNU dynamic linker. Since this was broken with cross compilers,
11678 # most powerpc-linux boxes support dynamic linking these days and
11679 # people can always --disable-shared, the test was removed, and we
11680 # assume the GNU/Linux dynamic linker is in use.
11681 dynamic_linker='GNU/Linux ld.so'
11688 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11690 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11691 dynamic_linker='NetBSD (a.out) ld.so'
11693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11694 soname_spec='${libname}${release}${shared_ext}$major'
11695 dynamic_linker='NetBSD ld.elf_so'
11697 shlibpath_var=LD_LIBRARY_PATH
11698 shlibpath_overrides_runpath=yes
11699 hardcode_into_libs=yes
11704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11705 shlibpath_var=LD_LIBRARY_PATH
11706 shlibpath_overrides_runpath=yes
11713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11714 soname_spec='${libname}${release}${shared_ext}$major'
11715 shlibpath_var=LD_LIBRARY_PATH
11716 shlibpath_overrides_runpath=no
11717 hardcode_into_libs=yes
11718 dynamic_linker='ldqnx.so'
11723 sys_lib_dlsearch_path_spec="/usr/lib"
11725 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11727 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11728 *) need_version=no ;;
11730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11731 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11732 shlibpath_var=LD_LIBRARY_PATH
11733 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11735 openbsd2.[89] | openbsd2.[89].*)
11736 shlibpath_overrides_runpath=no
11739 shlibpath_overrides_runpath=yes
11743 shlibpath_overrides_runpath=yes
11748 libname_spec='$name'
11751 library_names_spec='$libname${shared_ext} $libname.a'
11752 dynamic_linker='OS/2 ld.exe'
11753 shlibpath_var=LIBPATH
11756 osf3* | osf4* | osf5*)
11760 soname_spec='${libname}${release}${shared_ext}$major'
11761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11762 shlibpath_var=LD_LIBRARY_PATH
11763 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11764 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11776 soname_spec='${libname}${release}${shared_ext}$major'
11777 shlibpath_var=LD_LIBRARY_PATH
11778 shlibpath_overrides_runpath=yes
11779 hardcode_into_libs=yes
11780 # ldd complains unless libraries are executable
11781 postinstall_cmds='chmod +x $lib'
11786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11787 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11788 shlibpath_var=LD_LIBRARY_PATH
11789 shlibpath_overrides_runpath=yes
11790 if test "$with_gnu_ld" = yes; then
11798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11799 soname_spec='${libname}${release}${shared_ext}$major'
11800 shlibpath_var=LD_LIBRARY_PATH
11801 case $host_vendor in
11803 shlibpath_overrides_runpath=no
11805 runpath_var=LD_RUN_PATH
11813 shlibpath_overrides_runpath=no
11814 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11820 if test -d /usr/nec ;then
11822 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11823 soname_spec='$libname${shared_ext}.$major'
11824 shlibpath_var=LD_LIBRARY_PATH
11828 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11829 version_type=freebsd-elf
11832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11833 soname_spec='${libname}${release}${shared_ext}$major'
11834 shlibpath_var=LD_LIBRARY_PATH
11835 shlibpath_overrides_runpath=yes
11836 hardcode_into_libs=yes
11837 if test "$with_gnu_ld" = yes; then
11838 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11840 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11843 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11847 sys_lib_dlsearch_path_spec='/usr/lib'
11851 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11856 shlibpath_var=LD_LIBRARY_PATH
11857 shlibpath_overrides_runpath=no
11858 hardcode_into_libs=yes
11863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11864 soname_spec='${libname}${release}${shared_ext}$major'
11865 shlibpath_var=LD_LIBRARY_PATH
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11873 $as_echo "$dynamic_linker" >&6; }
11874 test "$dynamic_linker" = no && can_build_shared=no
11876 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11877 if test "$GCC" = yes; then
11878 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11881 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11882 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11884 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11885 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11980 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11982 if test -n "$hardcode_libdir_flag_spec" ||
11983 test -n "$runpath_var" ||
11984 test "X$hardcode_automatic" = "Xyes" ; then
11986 # We can hardcode non-existent directories.
11987 if test "$hardcode_direct" != no &&
11988 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11989 # have to relink, otherwise we might link with an installed library
11990 # when we should be linking with a yet-to-be-installed one
11991 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11992 test "$hardcode_minus_L" != no; then
11993 # Linking always hardcodes the temporary library directory.
11994 hardcode_action=relink
11996 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11997 hardcode_action=immediate
12000 # We cannot hardcode anything, or else we can only hardcode existing
12002 hardcode_action=unsupported
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12005 $as_echo "$hardcode_action" >&6; }
12007 if test "$hardcode_action" = relink ||
12008 test "$inherit_rpath" = yes; then
12009 # Fast installation is not supported
12010 enable_fast_install=no
12011 elif test "$shlibpath_overrides_runpath" = yes ||
12012 test "$enable_shared" = no; then
12013 # Fast installation is not necessary
12014 enable_fast_install=needless
12022 if test "x$enable_dlopen" != xyes; then
12023 enable_dlopen=unknown
12024 enable_dlopen_self=unknown
12025 enable_dlopen_self_static=unknown
12032 lt_cv_dlopen="load_add_on"
12034 lt_cv_dlopen_self=yes
12037 mingw* | pw32* | cegcc*)
12038 lt_cv_dlopen="LoadLibrary"
12043 lt_cv_dlopen="dlopen"
12048 # if libdl is installed we need to link against it
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12050 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12051 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12052 $as_echo_n "(cached) " >&6
12054 ac_check_lib_save_LIBS=$LIBS
12056 if test x$gcc_no_link = xyes; then
12057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12062 /* Override any GCC internal prototype to avoid an error.
12063 Use char because int might match the return type of a GCC
12064 builtin and then its argument prototype would still apply. */
12077 if ac_fn_c_try_link "$LINENO"; then :
12078 ac_cv_lib_dl_dlopen=yes
12080 ac_cv_lib_dl_dlopen=no
12082 rm -f core conftest.err conftest.$ac_objext \
12083 conftest$ac_exeext conftest.$ac_ext
12084 LIBS=$ac_check_lib_save_LIBS
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12087 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12088 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12089 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12092 lt_cv_dlopen="dyld"
12094 lt_cv_dlopen_self=yes
12101 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12102 if test "x$ac_cv_func_shl_load" = x""yes; then :
12103 lt_cv_dlopen="shl_load"
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12106 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12107 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12108 $as_echo_n "(cached) " >&6
12110 ac_check_lib_save_LIBS=$LIBS
12112 if test x$gcc_no_link = xyes; then
12113 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12128 return shl_load ();
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 ac_cv_lib_dld_shl_load=yes
12136 ac_cv_lib_dld_shl_load=no
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12143 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12144 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12145 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12147 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12148 if test "x$ac_cv_func_dlopen" = x""yes; then :
12149 lt_cv_dlopen="dlopen"
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12152 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12153 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12154 $as_echo_n "(cached) " >&6
12156 ac_check_lib_save_LIBS=$LIBS
12158 if test x$gcc_no_link = xyes; then
12159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 /* Override any GCC internal prototype to avoid an error.
12165 Use char because int might match the return type of a GCC
12166 builtin and then its argument prototype would still apply. */
12179 if ac_fn_c_try_link "$LINENO"; then :
12180 ac_cv_lib_dl_dlopen=yes
12182 ac_cv_lib_dl_dlopen=no
12184 rm -f core conftest.err conftest.$ac_objext \
12185 conftest$ac_exeext conftest.$ac_ext
12186 LIBS=$ac_check_lib_save_LIBS
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12189 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12190 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12191 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12194 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12195 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12196 $as_echo_n "(cached) " >&6
12198 ac_check_lib_save_LIBS=$LIBS
12199 LIBS="-lsvld $LIBS"
12200 if test x$gcc_no_link = xyes; then
12201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12204 /* end confdefs.h. */
12206 /* Override any GCC internal prototype to avoid an error.
12207 Use char because int might match the return type of a GCC
12208 builtin and then its argument prototype would still apply. */
12221 if ac_fn_c_try_link "$LINENO"; then :
12222 ac_cv_lib_svld_dlopen=yes
12224 ac_cv_lib_svld_dlopen=no
12226 rm -f core conftest.err conftest.$ac_objext \
12227 conftest$ac_exeext conftest.$ac_ext
12228 LIBS=$ac_check_lib_save_LIBS
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12231 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12232 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12233 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12236 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12237 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12238 $as_echo_n "(cached) " >&6
12240 ac_check_lib_save_LIBS=$LIBS
12242 if test x$gcc_no_link = xyes; then
12243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12248 /* Override any GCC internal prototype to avoid an error.
12249 Use char because int might match the return type of a GCC
12250 builtin and then its argument prototype would still apply. */
12258 return dld_link ();
12263 if ac_fn_c_try_link "$LINENO"; then :
12264 ac_cv_lib_dld_dld_link=yes
12266 ac_cv_lib_dld_dld_link=no
12268 rm -f core conftest.err conftest.$ac_objext \
12269 conftest$ac_exeext conftest.$ac_ext
12270 LIBS=$ac_check_lib_save_LIBS
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12273 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12274 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12275 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12296 if test "x$lt_cv_dlopen" != xno; then
12302 case $lt_cv_dlopen in
12304 save_CPPFLAGS="$CPPFLAGS"
12305 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12307 save_LDFLAGS="$LDFLAGS"
12308 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12311 LIBS="$lt_cv_dlopen_libs $LIBS"
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12314 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12315 if test "${lt_cv_dlopen_self+set}" = set; then :
12316 $as_echo_n "(cached) " >&6
12318 if test "$cross_compiling" = yes; then :
12319 lt_cv_dlopen_self=cross
12321 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12322 lt_status=$lt_dlunknown
12323 cat > conftest.$ac_ext <<_LT_EOF
12324 #line 12324 "configure"
12325 #include "confdefs.h"
12334 # define LT_DLGLOBAL RTLD_GLOBAL
12337 # define LT_DLGLOBAL DL_GLOBAL
12339 # define LT_DLGLOBAL 0
12343 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12344 find out it does not work in some platform. */
12345 #ifndef LT_DLLAZY_OR_NOW
12347 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12350 # define LT_DLLAZY_OR_NOW DL_LAZY
12353 # define LT_DLLAZY_OR_NOW RTLD_NOW
12356 # define LT_DLLAZY_OR_NOW DL_NOW
12358 # define LT_DLLAZY_OR_NOW 0
12365 /* When -fvisbility=hidden is used, assume the code has been annotated
12366 correspondingly for the symbols needed. */
12367 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12368 void fnord () __attribute__((visibility("default")));
12371 void fnord () { int i=42; }
12374 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12375 int status = $lt_dlunknown;
12379 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12382 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12383 else puts (dlerror ());
12385 /* dlclose (self); */
12393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12394 (eval $ac_link) 2>&5
12396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12397 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12398 (./conftest; exit; ) >&5 2>/dev/null
12400 case x$lt_status in
12401 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12402 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12403 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12406 # compilation failed
12407 lt_cv_dlopen_self=no
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12415 $as_echo "$lt_cv_dlopen_self" >&6; }
12417 if test "x$lt_cv_dlopen_self" = xyes; then
12418 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12420 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12421 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12422 $as_echo_n "(cached) " >&6
12424 if test "$cross_compiling" = yes; then :
12425 lt_cv_dlopen_self_static=cross
12427 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12428 lt_status=$lt_dlunknown
12429 cat > conftest.$ac_ext <<_LT_EOF
12430 #line 12430 "configure"
12431 #include "confdefs.h"
12440 # define LT_DLGLOBAL RTLD_GLOBAL
12443 # define LT_DLGLOBAL DL_GLOBAL
12445 # define LT_DLGLOBAL 0
12449 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12450 find out it does not work in some platform. */
12451 #ifndef LT_DLLAZY_OR_NOW
12453 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12456 # define LT_DLLAZY_OR_NOW DL_LAZY
12459 # define LT_DLLAZY_OR_NOW RTLD_NOW
12462 # define LT_DLLAZY_OR_NOW DL_NOW
12464 # define LT_DLLAZY_OR_NOW 0
12471 /* When -fvisbility=hidden is used, assume the code has been annotated
12472 correspondingly for the symbols needed. */
12473 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12474 void fnord () __attribute__((visibility("default")));
12477 void fnord () { int i=42; }
12480 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12481 int status = $lt_dlunknown;
12485 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12488 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12489 else puts (dlerror ());
12491 /* dlclose (self); */
12499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12500 (eval $ac_link) 2>&5
12502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12503 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12504 (./conftest; exit; ) >&5 2>/dev/null
12506 case x$lt_status in
12507 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12508 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12509 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12512 # compilation failed
12513 lt_cv_dlopen_self_static=no
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12521 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12524 CPPFLAGS="$save_CPPFLAGS"
12525 LDFLAGS="$save_LDFLAGS"
12530 case $lt_cv_dlopen_self in
12531 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12532 *) enable_dlopen_self=unknown ;;
12535 case $lt_cv_dlopen_self_static in
12536 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12537 *) enable_dlopen_self_static=unknown ;;
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12560 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12561 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12562 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12563 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12565 $as_echo "yes" >&6; }
12567 # FIXME - insert some real tests, host_os isn't really good enough
12570 if test -n "$STRIP" ; then
12571 striplib="$STRIP -x"
12572 old_striplib="$STRIP -S"
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12574 $as_echo "yes" >&6; }
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12577 $as_echo "no" >&6; }
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12582 $as_echo "no" >&6; }
12598 # Report which library types will actually be built
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12600 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12602 $as_echo "$can_build_shared" >&6; }
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12605 $as_echo_n "checking whether to build shared libraries... " >&6; }
12606 test "$can_build_shared" = "no" && enable_shared=no
12608 # On AIX, shared libraries and static libraries use the same namespace, and
12609 # are all built from PIC.
12612 test "$enable_shared" = yes && enable_static=no
12613 if test -n "$RANLIB"; then
12614 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12615 postinstall_cmds='$RANLIB $lib'
12620 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12621 test "$enable_shared" = yes && enable_static=no
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12626 $as_echo "$enable_shared" >&6; }
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12629 $as_echo_n "checking whether to build static libraries... " >&6; }
12630 # Make sure either enable_shared or enable_static is yes.
12631 test "$enable_shared" = yes || enable_static=yes
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12633 $as_echo "$enable_static" >&6; }
12640 ac_cpp='$CPP $CPPFLAGS'
12641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12659 ac_config_commands="$ac_config_commands libtool"
12664 # Only expand once:
12671 *-cygwin* | *-mingw*)
12672 # 'host' will be top-level target in the case of a target lib,
12673 # we must compare to with_cross_host to decide if this is a native
12674 # or cross-compiler and select where to install dlls appropriately.
12675 if test -n "$with_cross_host" &&
12676 test x"$with_cross_host" != x"no"; then
12677 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12679 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12691 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12693 # We need gfortran to compile parts of the library
12694 #AC_PROG_FC(gfortran)
12696 ac_ext=${ac_fc_srcext-f}
12697 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12698 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12699 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12700 if test -n "$ac_tool_prefix"; then
12701 for ac_prog in gfortran
12703 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12704 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12706 $as_echo_n "checking for $ac_word... " >&6; }
12707 if test "${ac_cv_prog_FC+set}" = set; then :
12708 $as_echo_n "(cached) " >&6
12710 if test -n "$FC"; then
12711 ac_cv_prog_FC="$FC" # Let the user override the test.
12713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12714 for as_dir in $PATH
12717 test -z "$as_dir" && as_dir=.
12718 for ac_exec_ext in '' $ac_executable_extensions; do
12719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12720 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12731 if test -n "$FC"; then
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12733 $as_echo "$FC" >&6; }
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12736 $as_echo "no" >&6; }
12740 test -n "$FC" && break
12743 if test -z "$FC"; then
12745 for ac_prog in gfortran
12747 # Extract the first word of "$ac_prog", so it can be a program name with args.
12748 set dummy $ac_prog; ac_word=$2
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12750 $as_echo_n "checking for $ac_word... " >&6; }
12751 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12752 $as_echo_n "(cached) " >&6
12754 if test -n "$ac_ct_FC"; then
12755 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12758 for as_dir in $PATH
12761 test -z "$as_dir" && as_dir=.
12762 for ac_exec_ext in '' $ac_executable_extensions; do
12763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12764 ac_cv_prog_ac_ct_FC="$ac_prog"
12765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12774 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12775 if test -n "$ac_ct_FC"; then
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12777 $as_echo "$ac_ct_FC" >&6; }
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12780 $as_echo "no" >&6; }
12784 test -n "$ac_ct_FC" && break
12787 if test "x$ac_ct_FC" = x; then
12790 case $cross_compiling:$ac_tool_warned in
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12794 ac_tool_warned=yes ;;
12801 # Provide some information about the compiler.
12802 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12805 for ac_option in --version -v -V -qversion; do
12806 { { ac_try="$ac_compiler $ac_option >&5"
12807 case "(($ac_try" in
12808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12809 *) ac_try_echo=$ac_try;;
12811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12812 $as_echo "$ac_try_echo"; } >&5
12813 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12815 if test -s conftest.err; then
12817 ... rest of stderr output deleted ...
12818 10q' conftest.err >conftest.er1
12819 cat conftest.er1 >&5
12820 rm -f conftest.er1 conftest.err
12822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12823 test $ac_status = 0; }
12827 # If we don't use `.F' as extension, the preprocessor is not run on the
12828 # input file. (Note that this only needs to work for GNU compilers.)
12829 ac_save_ext=$ac_ext
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12832 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12833 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12834 $as_echo_n "(cached) " >&6
12836 cat > conftest.$ac_ext <<_ACEOF
12844 if ac_fn_fc_try_compile "$LINENO"; then :
12845 ac_compiler_gnu=yes
12849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12850 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12854 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12855 ac_ext=$ac_save_ext
12856 ac_test_FCFLAGS=${FCFLAGS+set}
12857 ac_save_FCFLAGS=$FCFLAGS
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12860 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12861 if test "${ac_cv_prog_fc_g+set}" = set; then :
12862 $as_echo_n "(cached) " >&6
12865 cat > conftest.$ac_ext <<_ACEOF
12870 if ac_fn_fc_try_compile "$LINENO"; then :
12871 ac_cv_prog_fc_g=yes
12875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12879 $as_echo "$ac_cv_prog_fc_g" >&6; }
12880 if test "$ac_test_FCFLAGS" = set; then
12881 FCFLAGS=$ac_save_FCFLAGS
12882 elif test $ac_cv_prog_fc_g = yes; then
12883 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12889 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12897 ac_cpp='$CPP $CPPFLAGS'
12898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12902 ac_ext=${ac_fc_srcext-f}
12903 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12904 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12905 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12908 if test -z "$FC" || test "X$FC" = "Xno"; then
12912 archive_cmds_need_lc_FC=no
12913 allow_undefined_flag_FC=
12914 always_export_symbols_FC=no
12915 archive_expsym_cmds_FC=
12916 export_dynamic_flag_spec_FC=
12917 hardcode_direct_FC=no
12918 hardcode_direct_absolute_FC=no
12919 hardcode_libdir_flag_spec_FC=
12920 hardcode_libdir_flag_spec_ld_FC=
12921 hardcode_libdir_separator_FC=
12922 hardcode_minus_L_FC=no
12923 hardcode_automatic_FC=no
12924 inherit_rpath_FC=no
12926 module_expsym_cmds_FC=
12927 link_all_deplibs_FC=unknown
12928 old_archive_cmds_FC=$old_archive_cmds
12929 reload_flag_FC=$reload_flag
12930 reload_cmds_FC=$reload_cmds
12931 no_undefined_flag_FC=
12932 whole_archive_flag_spec_FC=
12933 enable_shared_with_static_runtimes_FC=no
12935 # Source file extension for fc test sources.
12936 ac_ext=${ac_fc_srcext-f}
12938 # Object file extension for compiled fc test sources.
12942 # No sense in running all these tests if we already determined that
12943 # the FC compiler isn't working. Some variables (like enable_shared)
12944 # are currently assumed to apply to all compilers on this platform,
12945 # and will be corrupted by setting them based on a non-working compiler.
12946 if test "$_lt_disable_FC" != yes; then
12947 # Code to be used in simple compile tests
12948 lt_simple_compile_test_code="\
12954 # Code to be used in simple link tests
12955 lt_simple_link_test_code="\
12960 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12967 # If no C compiler was specified, use CC.
12970 # If no C compiler flags were specified, use CFLAGS.
12971 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12973 # Allow CC to be a program name with arguments.
12977 # save warnings/boilerplate of simple test code
12978 ac_outfile=conftest.$ac_objext
12979 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12980 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12981 _lt_compiler_boilerplate=`cat conftest.err`
12984 ac_outfile=conftest.$ac_objext
12985 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12986 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12987 _lt_linker_boilerplate=`cat conftest.err`
12991 # Allow CC to be a program name with arguments.
12996 GCC=$ac_cv_fc_compiler_gnu
12999 for cc_temp in $compiler""; do
13001 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13002 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13007 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13010 if test -n "$compiler"; then
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13012 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13014 $as_echo "$can_build_shared" >&6; }
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13017 $as_echo_n "checking whether to build shared libraries... " >&6; }
13018 test "$can_build_shared" = "no" && enable_shared=no
13020 # On AIX, shared libraries and static libraries use the same namespace, and
13021 # are all built from PIC.
13024 test "$enable_shared" = yes && enable_static=no
13025 if test -n "$RANLIB"; then
13026 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13027 postinstall_cmds='$RANLIB $lib'
13031 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13032 test "$enable_shared" = yes && enable_static=no
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13037 $as_echo "$enable_shared" >&6; }
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13040 $as_echo_n "checking whether to build static libraries... " >&6; }
13041 # Make sure either enable_shared or enable_static is yes.
13042 test "$enable_shared" = yes || enable_static=yes
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13044 $as_echo "$enable_static" >&6; }
13046 GCC_FC="$ac_cv_fc_compiler_gnu"
13050 ## There is no encapsulation within the following macros, do not change
13051 ## the running order or otherwise move them around unless you know exactly
13052 ## what you are doing...
13053 # Dependencies to place before and after the object being linked:
13055 postdep_objects_FC=
13058 compiler_lib_search_path_FC=
13060 cat > conftest.$ac_ext <<_LT_EOF
13069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13070 (eval $ac_compile) 2>&5
13072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13073 test $ac_status = 0; }; then
13074 # Parse the compiler output and extract the necessary
13075 # objects, libraries and library flags.
13077 # Sentinel used to keep track of whether or not we are before
13078 # the conftest object file.
13079 pre_test_object_deps_done=no
13081 for p in `eval "$output_verbose_link_cmd"`; do
13085 # Some compilers place space between "-{L,R}" and the path.
13086 # Remove the space.
13087 if test $p = "-L" ||
13088 test $p = "-R"; then
13095 if test "$pre_test_object_deps_done" = no; then
13098 # Internal compiler library paths should come after those
13099 # provided the user. The postdeps already come after the
13100 # user supplied libs so there is no need to process them.
13101 if test -z "$compiler_lib_search_path_FC"; then
13102 compiler_lib_search_path_FC="${prev}${p}"
13104 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13107 # The "-l" case would never come before the object being
13108 # linked, so don't bother handling this case.
13111 if test -z "$postdeps_FC"; then
13112 postdeps_FC="${prev}${p}"
13114 postdeps_FC="${postdeps_FC} ${prev}${p}"
13120 # This assumes that the test object file only shows up
13121 # once in the compiler output.
13122 if test "$p" = "conftest.$objext"; then
13123 pre_test_object_deps_done=yes
13127 if test "$pre_test_object_deps_done" = no; then
13128 if test -z "$predep_objects_FC"; then
13129 predep_objects_FC="$p"
13131 predep_objects_FC="$predep_objects_FC $p"
13134 if test -z "$postdep_objects_FC"; then
13135 postdep_objects_FC="$p"
13137 postdep_objects_FC="$postdep_objects_FC $p"
13142 *) ;; # Ignore the rest.
13150 echo "libtool.m4: error: problem compiling FC test program"
13153 $RM -f confest.$objext
13155 # PORTME: override above test on systems where it is broken
13158 case " $postdeps_FC " in
13159 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13161 compiler_lib_search_dirs_FC=
13162 if test -n "${compiler_lib_search_path_FC}"; then
13163 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13196 lt_prog_compiler_wl_FC=
13197 lt_prog_compiler_pic_FC=
13198 lt_prog_compiler_static_FC=
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13201 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13203 if test "$GCC" = yes; then
13204 lt_prog_compiler_wl_FC='-Wl,'
13205 lt_prog_compiler_static_FC='-static'
13209 # All AIX code is PIC.
13210 if test "$host_cpu" = ia64; then
13211 # AIX 5 now supports IA64 processor
13212 lt_prog_compiler_static_FC='-Bstatic'
13219 # see comment about AmigaOS4 .so support
13220 lt_prog_compiler_pic_FC='-fPIC'
13223 # FIXME: we need at least 68020 code to build shared libraries, but
13224 # adding the `-m68020' flag to GCC prevents building anything better,
13226 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13231 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13232 # PIC is the default for these OSes.
13235 mingw* | cygwin* | pw32* | os2* | cegcc*)
13236 # This hack is so that the source file can tell whether it is being
13237 # built for inclusion in a dll (and should export symbols for example).
13238 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13239 # (--disable-auto-import) libraries
13240 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13243 darwin* | rhapsody*)
13244 # PIC is the default on this platform
13245 # Common symbols not allowed in MH_DYLIB files
13246 lt_prog_compiler_pic_FC='-fno-common'
13250 # PIC is the default for Haiku.
13251 # The "-static" flag exists, but is broken.
13252 lt_prog_compiler_static_FC=
13256 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13257 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13258 # sets the default TLS model and affects inlining.
13264 lt_prog_compiler_pic_FC='-fPIC'
13270 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13271 # Instead, we relocate shared libraries at runtime.
13275 # Just because we use GCC doesn't mean we suddenly get shared libraries
13276 # on systems that don't support them.
13277 lt_prog_compiler_can_build_shared_FC=no
13282 # QNX uses GNU C++, but need to define -shared option too, otherwise
13283 # it will coredump.
13284 lt_prog_compiler_pic_FC='-fPIC -shared'
13288 if test -d /usr/nec; then
13289 lt_prog_compiler_pic_FC=-Kconform_pic
13294 lt_prog_compiler_pic_FC='-fPIC'
13298 case $cc_basename in
13299 nvcc*) # Cuda Compiler Driver 2.2
13300 lt_prog_compiler_wl_FC='-Xlinker '
13301 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13305 # PORTME Check for flag to pass linker flags through the system compiler.
13308 lt_prog_compiler_wl_FC='-Wl,'
13309 if test "$host_cpu" = ia64; then
13310 # AIX 5 now supports IA64 processor
13311 lt_prog_compiler_static_FC='-Bstatic'
13313 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13317 mingw* | cygwin* | pw32* | os2* | cegcc*)
13318 # This hack is so that the source file can tell whether it is being
13319 # built for inclusion in a dll (and should export symbols for example).
13320 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13323 hpux9* | hpux10* | hpux11*)
13324 lt_prog_compiler_wl_FC='-Wl,'
13325 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13326 # not for PA HP-UX.
13332 lt_prog_compiler_pic_FC='+Z'
13335 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13336 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13339 irix5* | irix6* | nonstopux*)
13340 lt_prog_compiler_wl_FC='-Wl,'
13341 # PIC (with -KPIC) is the default.
13342 lt_prog_compiler_static_FC='-non_shared'
13345 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13346 case $cc_basename in
13347 # old Intel for x86_64 which still supported -KPIC.
13349 lt_prog_compiler_wl_FC='-Wl,'
13350 lt_prog_compiler_pic_FC='-KPIC'
13351 lt_prog_compiler_static_FC='-static'
13353 # icc used to be incompatible with GCC.
13354 # ICC 10 doesn't accept -KPIC any more.
13356 lt_prog_compiler_wl_FC='-Wl,'
13357 lt_prog_compiler_pic_FC='-fPIC'
13358 lt_prog_compiler_static_FC='-static'
13360 # Lahey Fortran 8.1.
13362 lt_prog_compiler_wl_FC='-Wl,'
13363 lt_prog_compiler_pic_FC='--shared'
13364 lt_prog_compiler_static_FC='--static'
13366 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13367 # Portland Group compilers (*not* the Pentium gcc compiler,
13368 # which looks to be a dead project)
13369 lt_prog_compiler_wl_FC='-Wl,'
13370 lt_prog_compiler_pic_FC='-fpic'
13371 lt_prog_compiler_static_FC='-Bstatic'
13374 lt_prog_compiler_wl_FC='-Wl,'
13375 # All Alpha code is PIC.
13376 lt_prog_compiler_static_FC='-non_shared'
13378 xl* | bgxl* | bgf* | mpixl*)
13379 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13380 lt_prog_compiler_wl_FC='-Wl,'
13381 lt_prog_compiler_pic_FC='-qpic'
13382 lt_prog_compiler_static_FC='-qstaticlink'
13385 case `$CC -V 2>&1 | sed 5q` in
13386 *Sun\ F* | *Sun*Fortran*)
13387 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13388 lt_prog_compiler_pic_FC='-KPIC'
13389 lt_prog_compiler_static_FC='-Bstatic'
13390 lt_prog_compiler_wl_FC=''
13394 lt_prog_compiler_pic_FC='-KPIC'
13395 lt_prog_compiler_static_FC='-Bstatic'
13396 lt_prog_compiler_wl_FC='-Wl,'
13404 lt_prog_compiler_pic_FC='-KPIC'
13405 lt_prog_compiler_static_FC='-Bstatic'
13409 # QNX uses GNU C++, but need to define -shared option too, otherwise
13410 # it will coredump.
13411 lt_prog_compiler_pic_FC='-fPIC -shared'
13414 osf3* | osf4* | osf5*)
13415 lt_prog_compiler_wl_FC='-Wl,'
13416 # All OSF/1 code is PIC.
13417 lt_prog_compiler_static_FC='-non_shared'
13421 lt_prog_compiler_static_FC='-non_shared'
13425 lt_prog_compiler_pic_FC='-KPIC'
13426 lt_prog_compiler_static_FC='-Bstatic'
13427 case $cc_basename in
13428 f77* | f90* | f95*)
13429 lt_prog_compiler_wl_FC='-Qoption ld ';;
13431 lt_prog_compiler_wl_FC='-Wl,';;
13436 lt_prog_compiler_wl_FC='-Qoption ld '
13437 lt_prog_compiler_pic_FC='-PIC'
13438 lt_prog_compiler_static_FC='-Bstatic'
13441 sysv4 | sysv4.2uw2* | sysv4.3*)
13442 lt_prog_compiler_wl_FC='-Wl,'
13443 lt_prog_compiler_pic_FC='-KPIC'
13444 lt_prog_compiler_static_FC='-Bstatic'
13448 if test -d /usr/nec ;then
13449 lt_prog_compiler_pic_FC='-Kconform_pic'
13450 lt_prog_compiler_static_FC='-Bstatic'
13454 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13455 lt_prog_compiler_wl_FC='-Wl,'
13456 lt_prog_compiler_pic_FC='-KPIC'
13457 lt_prog_compiler_static_FC='-Bstatic'
13461 lt_prog_compiler_wl_FC='-Wl,'
13462 lt_prog_compiler_can_build_shared_FC=no
13466 lt_prog_compiler_pic_FC='-pic'
13467 lt_prog_compiler_static_FC='-Bstatic'
13471 lt_prog_compiler_can_build_shared_FC=no
13477 # For platforms which do not support PIC, -DPIC is meaningless:
13479 lt_prog_compiler_pic_FC=
13482 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13486 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13491 # Check to make sure the PIC flag actually works.
13493 if test -n "$lt_prog_compiler_pic_FC"; then
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13495 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13496 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13497 $as_echo_n "(cached) " >&6
13499 lt_cv_prog_compiler_pic_works_FC=no
13500 ac_outfile=conftest.$ac_objext
13501 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13502 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13503 # Insert the option either (1) after the last *FLAGS variable, or
13504 # (2) before a word containing "conftest.", or (3) at the end.
13505 # Note that $ac_compile itself does not contain backslashes and begins
13506 # with a dollar sign (not a hyphen), so the echo should work correctly.
13507 # The option is referenced via a variable to avoid confusing sed.
13508 lt_compile=`echo "$ac_compile" | $SED \
13509 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13510 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13511 -e 's:$: $lt_compiler_flag:'`
13512 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13513 (eval "$lt_compile" 2>conftest.err)
13515 cat conftest.err >&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 if (exit $ac_status) && test -s "$ac_outfile"; then
13518 # The compiler can only warn and ignore the option if not recognized
13519 # So say no if there are warnings other than the usual output.
13520 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13521 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13522 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13523 lt_cv_prog_compiler_pic_works_FC=yes
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13530 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13532 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13533 case $lt_prog_compiler_pic_FC in
13535 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13538 lt_prog_compiler_pic_FC=
13539 lt_prog_compiler_can_build_shared_FC=no
13547 # Check to make sure the static flag actually works.
13549 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13551 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13552 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13553 $as_echo_n "(cached) " >&6
13555 lt_cv_prog_compiler_static_works_FC=no
13556 save_LDFLAGS="$LDFLAGS"
13557 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13558 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13559 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13560 # The linker can only warn and ignore the option if not recognized
13561 # So say no if there are warnings
13562 if test -s conftest.err; then
13563 # Append any errors to the config.log.
13564 cat conftest.err 1>&5
13565 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13566 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13567 if diff conftest.exp conftest.er2 >/dev/null; then
13568 lt_cv_prog_compiler_static_works_FC=yes
13571 lt_cv_prog_compiler_static_works_FC=yes
13575 LDFLAGS="$save_LDFLAGS"
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13579 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13581 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13584 lt_prog_compiler_static_FC=
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13591 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13592 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13593 $as_echo_n "(cached) " >&6
13595 lt_cv_prog_compiler_c_o_FC=no
13596 $RM -r conftest 2>/dev/null
13600 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13602 lt_compiler_flag="-o out/conftest2.$ac_objext"
13603 # Insert the option either (1) after the last *FLAGS variable, or
13604 # (2) before a word containing "conftest.", or (3) at the end.
13605 # Note that $ac_compile itself does not contain backslashes and begins
13606 # with a dollar sign (not a hyphen), so the echo should work correctly.
13607 lt_compile=`echo "$ac_compile" | $SED \
13608 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13609 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13610 -e 's:$: $lt_compiler_flag:'`
13611 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13612 (eval "$lt_compile" 2>out/conftest.err)
13614 cat out/conftest.err >&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13618 # The compiler can only warn and ignore the option if not recognized
13619 # So say no if there are warnings
13620 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13621 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13622 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13623 lt_cv_prog_compiler_c_o_FC=yes
13628 # SGI C++ compiler will create directory out/ii_files/ for
13629 # template instantiation
13630 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13631 $RM out/* && rmdir out
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13638 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13643 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13644 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13645 $as_echo_n "(cached) " >&6
13647 lt_cv_prog_compiler_c_o_FC=no
13648 $RM -r conftest 2>/dev/null
13652 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13654 lt_compiler_flag="-o out/conftest2.$ac_objext"
13655 # Insert the option either (1) after the last *FLAGS variable, or
13656 # (2) before a word containing "conftest.", or (3) at the end.
13657 # Note that $ac_compile itself does not contain backslashes and begins
13658 # with a dollar sign (not a hyphen), so the echo should work correctly.
13659 lt_compile=`echo "$ac_compile" | $SED \
13660 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13662 -e 's:$: $lt_compiler_flag:'`
13663 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13664 (eval "$lt_compile" 2>out/conftest.err)
13666 cat out/conftest.err >&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13670 # The compiler can only warn and ignore the option if not recognized
13671 # So say no if there are warnings
13672 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13673 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13674 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13675 lt_cv_prog_compiler_c_o_FC=yes
13680 # SGI C++ compiler will create directory out/ii_files/ for
13681 # template instantiation
13682 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13683 $RM out/* && rmdir out
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13690 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13695 hard_links="nottested"
13696 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13697 # do not overwrite the value of need_locks provided by the user
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13699 $as_echo_n "checking if we can lock with hard links... " >&6; }
13702 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13704 ln conftest.a conftest.b 2>&5 || hard_links=no
13705 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13707 $as_echo "$hard_links" >&6; }
13708 if test "$hard_links" = no; then
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13710 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13720 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13723 allow_undefined_flag_FC=
13724 always_export_symbols_FC=no
13726 archive_expsym_cmds_FC=
13727 compiler_needs_object_FC=no
13728 enable_shared_with_static_runtimes_FC=no
13729 export_dynamic_flag_spec_FC=
13730 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13731 hardcode_automatic_FC=no
13732 hardcode_direct_FC=no
13733 hardcode_direct_absolute_FC=no
13734 hardcode_libdir_flag_spec_FC=
13735 hardcode_libdir_flag_spec_ld_FC=
13736 hardcode_libdir_separator_FC=
13737 hardcode_minus_L_FC=no
13738 hardcode_shlibpath_var_FC=unsupported
13739 inherit_rpath_FC=no
13740 link_all_deplibs_FC=unknown
13742 module_expsym_cmds_FC=
13743 old_archive_from_new_cmds_FC=
13744 old_archive_from_expsyms_cmds_FC=
13745 thread_safe_flag_spec_FC=
13746 whole_archive_flag_spec_FC=
13747 # include_expsyms should be a list of space-separated symbols to be *always*
13748 # included in the symbol list
13749 include_expsyms_FC=
13750 # exclude_expsyms can be an extended regexp of symbols to exclude
13751 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13752 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13753 # as well as any symbol that contains `d'.
13754 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13755 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13756 # platforms (ab)use it in PIC code, but their linkers get confused if
13757 # the symbol is explicitly referenced. Since portable code cannot
13758 # rely on this symbol name, it's probably fine to never include it in
13759 # preloaded symbol tables.
13760 # Exclude shared library initialization/finalization symbols.
13761 extract_expsyms_cmds=
13764 cygwin* | mingw* | pw32* | cegcc*)
13765 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13766 # When not using gcc, we currently assume that we are using
13767 # Microsoft Visual C++.
13768 if test "$GCC" != yes; then
13773 # we just hope/assume this is gcc and not c89 (= MSVC++)
13783 # On some targets, GNU ld is compatible enough with the native linker
13784 # that we're better off using the native interface for both.
13785 lt_use_gnu_ld_interface=no
13786 if test "$with_gnu_ld" = yes; then
13789 # The AIX port of GNU ld has always aspired to compatibility
13790 # with the native linker. However, as the warning in the GNU ld
13791 # block says, versions before 2.19.5* couldn't really create working
13792 # shared libraries, regardless of the interface used.
13793 case `$LD -v 2>&1` in
13794 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13795 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13796 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13798 lt_use_gnu_ld_interface=yes
13803 lt_use_gnu_ld_interface=yes
13808 if test "$lt_use_gnu_ld_interface" = yes; then
13809 # If archive_cmds runs LD, not CC, wlarc should be empty
13812 # Set some defaults for GNU ld with shared library support. These
13813 # are reset later if shared libraries are not supported. Putting them
13814 # here allows them to be overridden if necessary.
13815 runpath_var=LD_RUN_PATH
13816 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13817 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13818 # ancient GNU ld didn't support --whole-archive et. al.
13819 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13820 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13822 whole_archive_flag_spec_FC=
13824 supports_anon_versioning=no
13825 case `$LD -v 2>&1` in
13826 *GNU\ gold*) supports_anon_versioning=yes ;;
13827 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13828 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13829 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13830 *\ 2.11.*) ;; # other 2.11 versions
13831 *) supports_anon_versioning=yes ;;
13834 # See if GNU ld supports shared libraries.
13837 # On AIX/PPC, the GNU linker is very broken
13838 if test "$host_cpu" != ia64; then
13842 *** Warning: the GNU linker, at least up to release 2.19, is reported
13843 *** to be unable to reliably create shared libraries on AIX.
13844 *** Therefore, libtool is disabling shared libraries support. If you
13845 *** really care for shared libraries, you may want to install binutils
13846 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13847 *** You will then need to restart the configuration process.
13856 # see comment about AmigaOS4 .so support
13857 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13858 archive_expsym_cmds_FC=''
13861 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)'
13862 hardcode_libdir_flag_spec_FC='-L$libdir'
13863 hardcode_minus_L_FC=yes
13869 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13870 allow_undefined_flag_FC=unsupported
13871 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13872 # support --undefined. This deserves some investigation. FIXME
13873 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13879 cygwin* | mingw* | pw32* | cegcc*)
13880 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13881 # as there is no search path for DLLs.
13882 hardcode_libdir_flag_spec_FC='-L$libdir'
13883 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13884 allow_undefined_flag_FC=unsupported
13885 always_export_symbols_FC=no
13886 enable_shared_with_static_runtimes_FC=yes
13887 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13889 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13890 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13891 # If the export-symbols file already is a .def file (1st line
13892 # is EXPORTS), use it as is; otherwise, prepend...
13893 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13894 cp $export_symbols $output_objdir/$soname.def;
13896 echo EXPORTS > $output_objdir/$soname.def;
13897 cat $export_symbols >> $output_objdir/$soname.def;
13899 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13906 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13907 link_all_deplibs_FC=yes
13911 hardcode_direct_FC=no
13912 hardcode_shlibpath_var_FC=no
13913 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13914 export_dynamic_flag_spec_FC='${wl}-E'
13915 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13916 # Instead, shared libraries are loaded at an image base (0x10000000 by
13917 # default) and relocated if they conflict, which is a slow very memory
13918 # consuming and fragmenting process. To avoid this, we pick a random,
13919 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13920 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13921 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'
13922 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'
13925 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13927 if test "$host_os" = linux-dietlibc; then
13928 case $cc_basename in
13929 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13932 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13933 && test "$tmp_diet" = no
13936 tmp_sharedflag='-shared'
13937 case $cc_basename,$host_cpu in
13938 pgcc*) # Portland Group C compiler
13939 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'
13940 tmp_addflag=' $pic_flag'
13942 pgf77* | pgf90* | pgf95* | pgfortran*)
13943 # Portland Group f77 and f90 compilers
13944 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'
13945 tmp_addflag=' $pic_flag -Mnomain' ;;
13946 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13947 tmp_addflag=' -i_dynamic' ;;
13948 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13949 tmp_addflag=' -i_dynamic -nofor_main' ;;
13950 ifc* | ifort*) # Intel Fortran compiler
13951 tmp_addflag=' -nofor_main' ;;
13952 lf95*) # Lahey Fortran 8.1
13953 whole_archive_flag_spec_FC=
13954 tmp_sharedflag='--shared' ;;
13955 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13956 tmp_sharedflag='-qmkshrobj'
13958 nvcc*) # Cuda Compiler Driver 2.2
13959 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13960 compiler_needs_object_FC=yes
13963 case `$CC -V 2>&1 | sed 5q` in
13964 *Sun\ C*) # Sun C 5.9
13965 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'
13966 compiler_needs_object_FC=yes
13967 tmp_sharedflag='-G' ;;
13968 *Sun\ F*) # Sun Fortran 8.3
13969 tmp_sharedflag='-G' ;;
13971 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13973 if test "x$supports_anon_versioning" = xyes; then
13974 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13975 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13976 echo "local: *; };" >> $output_objdir/$libname.ver~
13977 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13980 case $cc_basename in
13981 xlf* | bgf* | bgxlf* | mpixlf*)
13982 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13983 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13984 hardcode_libdir_flag_spec_FC=
13985 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13986 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13987 if test "x$supports_anon_versioning" = xyes; then
13988 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13989 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13990 echo "local: *; };" >> $output_objdir/$libname.ver~
13991 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14001 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14002 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14005 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14006 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14011 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14015 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14016 *** create shared libraries on Solaris systems. Therefore, libtool
14017 *** is disabling shared libraries support. We urge you to upgrade GNU
14018 *** binutils to release 2.9.1 or newer. Another option is to modify
14019 *** your PATH or compiler configuration so that the native linker is
14020 *** used, and then restart.
14023 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14024 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14025 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14032 case `$LD -v 2>&1` in
14033 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14037 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14038 *** reliably create shared libraries on SCO systems. Therefore, libtool
14039 *** is disabling shared libraries support. We urge you to upgrade GNU
14040 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14041 *** your PATH or compiler configuration so that the native linker is
14042 *** used, and then restart.
14047 # For security reasons, it is highly recommended that you always
14048 # use absolute paths for naming shared libraries, and exclude the
14049 # DT_RUNPATH tag from executables and libraries. But doing so
14050 # requires that you compile everything twice, which is a pain.
14051 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14052 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14053 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14054 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14063 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14065 hardcode_direct_FC=yes
14066 hardcode_shlibpath_var_FC=no
14070 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14071 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14072 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14079 if test "$ld_shlibs_FC" = no; then
14081 hardcode_libdir_flag_spec_FC=
14082 export_dynamic_flag_spec_FC=
14083 whole_archive_flag_spec_FC=
14086 # PORTME fill in a description of your system's linker (not GNU ld)
14089 allow_undefined_flag_FC=unsupported
14090 always_export_symbols_FC=yes
14091 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'
14092 # Note: this linker hardcodes the directories in LIBPATH if there
14093 # are no directories specified by -L.
14094 hardcode_minus_L_FC=yes
14095 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14096 # Neither direct hardcoding nor static linking is supported with a
14098 hardcode_direct_FC=unsupported
14103 if test "$host_cpu" = ia64; then
14104 # On IA64, the linker does run time linking by default, so we don't
14105 # have to do anything special.
14106 aix_use_runtimelinking=no
14107 exp_sym_flag='-Bexport'
14110 # If we're using GNU nm, then we don't want the "-C" option.
14111 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14112 # Also, AIX nm treats weak defined symbols like other global
14113 # defined symbols, whereas GNU nm marks them as "W".
14114 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14115 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'
14117 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'
14119 aix_use_runtimelinking=no
14121 # Test if we are trying to use run time linking or normal
14122 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14123 # need to do runtime linking.
14124 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14125 for ld_flag in $LDFLAGS; do
14126 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14127 aix_use_runtimelinking=yes
14134 exp_sym_flag='-bexport'
14135 no_entry_flag='-bnoentry'
14138 # When large executables or shared objects are built, AIX ld can
14139 # have problems creating the table of contents. If linking a library
14140 # or program results in "error TOC overflow" add -mminimal-toc to
14141 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14142 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14145 hardcode_direct_FC=yes
14146 hardcode_direct_absolute_FC=yes
14147 hardcode_libdir_separator_FC=':'
14148 link_all_deplibs_FC=yes
14149 file_list_spec_FC='${wl}-f,'
14151 if test "$GCC" = yes; then
14152 case $host_os in aix4.[012]|aix4.[012].*)
14153 # We only want to do this on AIX 4.2 and lower, the check
14154 # below for broken collect2 doesn't work under 4.3+
14155 collect2name=`${CC} -print-prog-name=collect2`
14156 if test -f "$collect2name" &&
14157 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14159 # We have reworked collect2
14162 # We have old collect2
14163 hardcode_direct_FC=unsupported
14164 # It fails to find uninstalled libraries when the uninstalled
14165 # path is not listed in the libpath. Setting hardcode_minus_L
14166 # to unsupported forces relinking
14167 hardcode_minus_L_FC=yes
14168 hardcode_libdir_flag_spec_FC='-L$libdir'
14169 hardcode_libdir_separator_FC=
14173 shared_flag='-shared'
14174 if test "$aix_use_runtimelinking" = yes; then
14175 shared_flag="$shared_flag "'${wl}-G'
14179 if test "$host_cpu" = ia64; then
14180 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14181 # chokes on -Wl,-G. The following line is correct:
14184 if test "$aix_use_runtimelinking" = yes; then
14185 shared_flag='${wl}-G'
14187 shared_flag='${wl}-bM:SRE'
14192 export_dynamic_flag_spec_FC='${wl}-bexpall'
14193 # It seems that -bexpall does not export symbols beginning with
14194 # underscore (_), so it is better to generate a list of symbols to export.
14195 always_export_symbols_FC=yes
14196 if test "$aix_use_runtimelinking" = yes; then
14197 # Warning - without using the other runtime loading flags (-brtl),
14198 # -berok will link without error, but may produce a broken library.
14199 allow_undefined_flag_FC='-berok'
14200 # Determine the default libpath from the value encoded in an
14201 # empty executable.
14202 if test x$gcc_no_link = xyes; then
14203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14205 cat > conftest.$ac_ext <<_ACEOF
14210 if ac_fn_fc_try_link "$LINENO"; then :
14212 lt_aix_libpath_sed='
14213 /Import File Strings/,/^$/ {
14219 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14220 # Check for a 64-bit object if we didn't find anything.
14221 if test -z "$aix_libpath"; then
14222 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14225 rm -f core conftest.err conftest.$ac_objext \
14226 conftest$ac_exeext conftest.$ac_ext
14227 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14229 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14230 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"
14232 if test "$host_cpu" = ia64; then
14233 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14234 allow_undefined_flag_FC="-z nodefs"
14235 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"
14237 # Determine the default libpath from the value encoded in an
14238 # empty executable.
14239 if test x$gcc_no_link = xyes; then
14240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14242 cat > conftest.$ac_ext <<_ACEOF
14247 if ac_fn_fc_try_link "$LINENO"; then :
14249 lt_aix_libpath_sed='
14250 /Import File Strings/,/^$/ {
14256 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14257 # Check for a 64-bit object if we didn't find anything.
14258 if test -z "$aix_libpath"; then
14259 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14262 rm -f core conftest.err conftest.$ac_objext \
14263 conftest$ac_exeext conftest.$ac_ext
14264 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14266 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14267 # Warning - without using the other run time loading flags,
14268 # -berok will link without error, but may produce a broken library.
14269 no_undefined_flag_FC=' ${wl}-bernotok'
14270 allow_undefined_flag_FC=' ${wl}-berok'
14271 if test "$with_gnu_ld" = yes; then
14272 # We only use this code for GNU lds that support --whole-archive.
14273 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14275 # Exported symbols can be pulled into shared objects from archives
14276 whole_archive_flag_spec_FC='$convenience'
14278 archive_cmds_need_lc_FC=yes
14279 # This is similar to how AIX traditionally builds its shared libraries.
14280 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'
14288 # see comment about AmigaOS4 .so support
14289 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14290 archive_expsym_cmds_FC=''
14293 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)'
14294 hardcode_libdir_flag_spec_FC='-L$libdir'
14295 hardcode_minus_L_FC=yes
14301 export_dynamic_flag_spec_FC=-rdynamic
14304 cygwin* | mingw* | pw32* | cegcc*)
14305 # When not using gcc, we currently assume that we are using
14306 # Microsoft Visual C++.
14307 # hardcode_libdir_flag_spec is actually meaningless, as there is
14308 # no search path for DLLs.
14309 hardcode_libdir_flag_spec_FC=' '
14310 allow_undefined_flag_FC=unsupported
14311 # Tell ltmain to make .lib files, not .a files.
14313 # Tell ltmain to make .dll files, not .so files.
14315 # FIXME: Setting linknames here is a bad hack.
14316 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14317 # The linker will automatically build a .lib file if we build a DLL.
14318 old_archive_from_new_cmds_FC='true'
14319 # FIXME: Should let the user specify the lib program.
14320 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14321 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14322 enable_shared_with_static_runtimes_FC=yes
14325 darwin* | rhapsody*)
14328 archive_cmds_need_lc_FC=no
14329 hardcode_direct_FC=no
14330 hardcode_automatic_FC=yes
14331 hardcode_shlibpath_var_FC=unsupported
14332 if test "$lt_cv_ld_force_load" = "yes"; then
14333 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\"`'
14335 whole_archive_flag_spec_FC=''
14337 link_all_deplibs_FC=yes
14338 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14339 case $cc_basename in
14340 ifort*) _lt_dar_can_shared=yes ;;
14341 *) _lt_dar_can_shared=$GCC ;;
14343 if test "$_lt_dar_can_shared" = "yes"; then
14344 output_verbose_link_cmd=func_echo_all
14345 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}"
14346 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14347 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}"
14348 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}"
14357 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14358 hardcode_libdir_flag_spec_FC='-L$libdir'
14359 hardcode_shlibpath_var_FC=no
14362 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14363 # support. Future versions do this automatically, but an explicit c++rt0.o
14364 # does not break anything, and helps significantly (at the cost of a little
14367 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14368 hardcode_libdir_flag_spec_FC='-R$libdir'
14369 hardcode_direct_FC=yes
14370 hardcode_shlibpath_var_FC=no
14373 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14375 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14376 hardcode_direct_FC=yes
14377 hardcode_minus_L_FC=yes
14378 hardcode_shlibpath_var_FC=no
14381 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14382 freebsd* | dragonfly*)
14383 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14384 hardcode_libdir_flag_spec_FC='-R$libdir'
14385 hardcode_direct_FC=yes
14386 hardcode_shlibpath_var_FC=no
14390 if test "$GCC" = yes; then
14391 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'
14393 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'
14395 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14396 hardcode_libdir_separator_FC=:
14397 hardcode_direct_FC=yes
14399 # hardcode_minus_L: Not really in the search PATH,
14400 # but as the default location of the library.
14401 hardcode_minus_L_FC=yes
14402 export_dynamic_flag_spec_FC='${wl}-E'
14406 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14407 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14409 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14411 if test "$with_gnu_ld" = no; then
14412 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14413 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14414 hardcode_libdir_separator_FC=:
14415 hardcode_direct_FC=yes
14416 hardcode_direct_absolute_FC=yes
14417 export_dynamic_flag_spec_FC='${wl}-E'
14418 # hardcode_minus_L: Not really in the search PATH,
14419 # but as the default location of the library.
14420 hardcode_minus_L_FC=yes
14425 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14428 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14431 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14434 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14440 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14443 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14446 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14450 if test "$with_gnu_ld" = no; then
14451 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14452 hardcode_libdir_separator_FC=:
14456 hardcode_direct_FC=no
14457 hardcode_shlibpath_var_FC=no
14460 hardcode_direct_FC=yes
14461 hardcode_direct_absolute_FC=yes
14462 export_dynamic_flag_spec_FC='${wl}-E'
14464 # hardcode_minus_L: Not really in the search PATH,
14465 # but as the default location of the library.
14466 hardcode_minus_L_FC=yes
14472 irix5* | irix6* | nonstopux*)
14473 if test "$GCC" = yes; then
14474 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'
14475 # Try to use the -exported_symbol ld option, if it does not
14476 # work, assume that -exports_file does not work either and
14477 # implicitly export all symbols.
14478 save_LDFLAGS="$LDFLAGS"
14479 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14480 if test x$gcc_no_link = xyes; then
14481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14483 cat > conftest.$ac_ext <<_ACEOF
14486 if ac_fn_fc_try_link "$LINENO"; then :
14487 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'
14490 rm -f core conftest.err conftest.$ac_objext \
14491 conftest$ac_exeext conftest.$ac_ext
14492 LDFLAGS="$save_LDFLAGS"
14494 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'
14495 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'
14497 archive_cmds_need_lc_FC='no'
14498 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14499 hardcode_libdir_separator_FC=:
14500 inherit_rpath_FC=yes
14501 link_all_deplibs_FC=yes
14505 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14506 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14508 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14510 hardcode_libdir_flag_spec_FC='-R$libdir'
14511 hardcode_direct_FC=yes
14512 hardcode_shlibpath_var_FC=no
14516 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14517 hardcode_direct_FC=yes
14518 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14519 hardcode_libdir_separator_FC=:
14520 hardcode_shlibpath_var_FC=no
14527 if test -f /usr/libexec/ld.so; then
14528 hardcode_direct_FC=yes
14529 hardcode_shlibpath_var_FC=no
14530 hardcode_direct_absolute_FC=yes
14531 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14532 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14533 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14534 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14535 export_dynamic_flag_spec_FC='${wl}-E'
14538 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14539 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14540 hardcode_libdir_flag_spec_FC='-R$libdir'
14543 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14544 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14554 hardcode_libdir_flag_spec_FC='-L$libdir'
14555 hardcode_minus_L_FC=yes
14556 allow_undefined_flag_FC=unsupported
14557 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'
14558 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14562 if test "$GCC" = yes; then
14563 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14564 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'
14566 allow_undefined_flag_FC=' -expect_unresolved \*'
14567 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'
14569 archive_cmds_need_lc_FC='no'
14570 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14571 hardcode_libdir_separator_FC=:
14574 osf4* | osf5*) # as osf3* with the addition of -msym flag
14575 if test "$GCC" = yes; then
14576 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14577 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'
14578 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14580 allow_undefined_flag_FC=' -expect_unresolved \*'
14581 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'
14582 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~
14583 $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'
14585 # Both c and cxx compiler support -rpath directly
14586 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14588 archive_cmds_need_lc_FC='no'
14589 hardcode_libdir_separator_FC=:
14593 no_undefined_flag_FC=' -z defs'
14594 if test "$GCC" = yes; then
14596 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14597 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14598 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14600 case `$CC -V 2>&1` in
14603 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14604 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14605 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14609 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14610 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14611 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14615 hardcode_libdir_flag_spec_FC='-R$libdir'
14616 hardcode_shlibpath_var_FC=no
14618 solaris2.[0-5] | solaris2.[0-5].*) ;;
14620 # The compiler driver will combine and reorder linker options,
14621 # but understands `-z linker_flag'. GCC discards it without `$wl',
14622 # but is careful enough not to reorder.
14623 # Supported since Solaris 2.6 (maybe 2.5.1?)
14624 if test "$GCC" = yes; then
14625 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14627 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14631 link_all_deplibs_FC=yes
14635 if test "x$host_vendor" = xsequent; then
14636 # Use $CC to link under sequent, because it throws in some extra .o
14637 # files that make .init and .fini sections work.
14638 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14640 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14642 hardcode_libdir_flag_spec_FC='-L$libdir'
14643 hardcode_direct_FC=yes
14644 hardcode_minus_L_FC=yes
14645 hardcode_shlibpath_var_FC=no
14649 case $host_vendor in
14651 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14652 hardcode_direct_FC=yes # is this really true???
14655 ## LD is ld it makes a PLAMLIB
14656 ## CC just makes a GrossModule.
14657 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14658 reload_cmds_FC='$CC -r -o $output$reload_objs'
14659 hardcode_direct_FC=no
14662 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14663 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14666 runpath_var='LD_RUN_PATH'
14667 hardcode_shlibpath_var_FC=no
14671 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14672 hardcode_shlibpath_var_FC=no
14673 export_dynamic_flag_spec_FC='-Bexport'
14677 if test -d /usr/nec; then
14678 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14679 hardcode_shlibpath_var_FC=no
14680 runpath_var=LD_RUN_PATH
14681 hardcode_runpath_var=yes
14686 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14687 no_undefined_flag_FC='${wl}-z,text'
14688 archive_cmds_need_lc_FC=no
14689 hardcode_shlibpath_var_FC=no
14690 runpath_var='LD_RUN_PATH'
14692 if test "$GCC" = yes; then
14693 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14694 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14696 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14697 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14701 sysv5* | sco3.2v5* | sco5v6*)
14702 # Note: We can NOT use -z defs as we might desire, because we do not
14703 # link with -lc, and that would cause any symbols used from libc to
14704 # always be unresolved, which means just about no library would
14705 # ever link correctly. If we're not using GNU ld we use -z text
14706 # though, which does catch some bad symbols but isn't as heavy-handed
14708 no_undefined_flag_FC='${wl}-z,text'
14709 allow_undefined_flag_FC='${wl}-z,nodefs'
14710 archive_cmds_need_lc_FC=no
14711 hardcode_shlibpath_var_FC=no
14712 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14713 hardcode_libdir_separator_FC=':'
14714 link_all_deplibs_FC=yes
14715 export_dynamic_flag_spec_FC='${wl}-Bexport'
14716 runpath_var='LD_RUN_PATH'
14718 if test "$GCC" = yes; then
14719 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14720 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14722 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14723 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14728 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14729 hardcode_libdir_flag_spec_FC='-L$libdir'
14730 hardcode_shlibpath_var_FC=no
14738 if test x$host_vendor = xsni; then
14740 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14741 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14748 $as_echo "$ld_shlibs_FC" >&6; }
14749 test "$ld_shlibs_FC" = no && can_build_shared=no
14751 with_gnu_ld_FC=$with_gnu_ld
14759 # Do we need to explicitly link libc?
14761 case "x$archive_cmds_need_lc_FC" in
14763 # Assume -lc should be added
14764 archive_cmds_need_lc_FC=yes
14766 if test "$enable_shared" = yes && test "$GCC" = yes; then
14767 case $archive_cmds_FC in
14769 # FIXME: we may have to deal with multi-command sequences.
14772 # Test whether the compiler implicitly links with -lc since on some
14773 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14774 # to ld, don't add -lc before -lgcc.
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14776 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14777 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14778 $as_echo_n "(cached) " >&6
14781 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14784 (eval $ac_compile) 2>&5
14786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14787 test $ac_status = 0; } 2>conftest.err; then
14790 libobjs=conftest.$ac_objext
14792 wl=$lt_prog_compiler_wl_FC
14793 pic_flag=$lt_prog_compiler_pic_FC
14799 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14800 allow_undefined_flag_FC=
14801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14802 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14805 test $ac_status = 0; }
14807 lt_cv_archive_cmds_need_lc_FC=no
14809 lt_cv_archive_cmds_need_lc_FC=yes
14811 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14813 cat conftest.err 1>&5
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14819 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14820 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14891 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14893 library_names_spec=
14894 libname_spec='lib$name'
14898 postuninstall_cmds=
14902 shlibpath_overrides_runpath=unknown
14904 dynamic_linker="$host_os ld.so"
14905 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14906 need_lib_prefix=unknown
14907 hardcode_into_libs=no
14909 # when you set need_version to no, make sure it does not cause -set_version
14910 # flags to be left without arguments
14911 need_version=unknown
14916 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14917 shlibpath_var=LIBPATH
14919 # AIX 3 has no versioning support, so we append a major version to the name.
14920 soname_spec='${libname}${release}${shared_ext}$major'
14927 hardcode_into_libs=yes
14928 if test "$host_cpu" = ia64; then
14929 # AIX 5 supports IA64
14930 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14931 shlibpath_var=LD_LIBRARY_PATH
14933 # With GCC up to 2.95.x, collect2 would create an import file
14934 # for dependence libraries. The import file would start with
14935 # the line `#! .'. This would cause the generated library to
14936 # depend on `.', always an invalid library. This was fixed in
14937 # development snapshots of GCC prior to 3.0.
14939 aix4 | aix4.[01] | aix4.[01].*)
14940 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14942 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14945 can_build_shared=no
14949 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14950 # soname into executable. Probably we can add versioning support to
14951 # collect2, so additional links can be useful in future.
14952 if test "$aix_use_runtimelinking" = yes; then
14953 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14954 # instead of lib<name>.a to let people know that these are not
14955 # typical AIX shared libraries.
14956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14958 # We preserve .a as extension for shared libraries through AIX4.2
14959 # and later when we are not doing run time linking.
14960 library_names_spec='${libname}${release}.a $libname.a'
14961 soname_spec='${libname}${release}${shared_ext}$major'
14963 shlibpath_var=LIBPATH
14970 # Since July 2007 AmigaOS4 officially supports .so libraries.
14971 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14975 library_names_spec='$libname.ixlibrary $libname.a'
14976 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14977 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'
14983 library_names_spec='${libname}${shared_ext}'
14984 dynamic_linker="$host_os ld.so"
14985 shlibpath_var=LIBRARY_PATH
14991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14992 soname_spec='${libname}${release}${shared_ext}$major'
14993 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14994 shlibpath_var=LD_LIBRARY_PATH
14995 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14996 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14997 # the default ld.so.conf also contains /usr/contrib/lib and
14998 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14999 # libtool to hard-code these into programs
15002 cygwin* | mingw* | pw32* | cegcc*)
15003 version_type=windows
15008 case $GCC,$host_os in
15009 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15010 library_names_spec='$libname.dll.a'
15011 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15012 postinstall_cmds='base_file=`basename \${file}`~
15013 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15014 dldir=$destdir/`dirname \$dlpath`~
15015 test -d \$dldir || mkdir -p \$dldir~
15016 $install_prog $dir/$dlname \$dldir/$dlname~
15017 chmod a+x \$dldir/$dlname~
15018 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15019 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15021 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15022 dlpath=$dir/\$dldll~
15024 shlibpath_overrides_runpath=yes
15028 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15029 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15033 # MinGW DLLs use traditional 'lib' prefix
15034 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15037 # pw32 DLLs use 'pw' prefix rather than 'lib'
15038 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15044 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15047 dynamic_linker='Win32 ld.exe'
15048 # FIXME: first we should search . and the directory the executable is in
15052 darwin* | rhapsody*)
15053 dynamic_linker="$host_os dyld"
15054 version_type=darwin
15057 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15058 soname_spec='${libname}${release}${major}$shared_ext'
15059 shlibpath_overrides_runpath=yes
15060 shlibpath_var=DYLD_LIBRARY_PATH
15061 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15063 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15071 soname_spec='${libname}${release}${shared_ext}$major'
15072 shlibpath_var=LD_LIBRARY_PATH
15075 freebsd* | dragonfly*)
15076 # DragonFly does not have aout. When/if they implement a new
15077 # versioning mechanism, adjust this.
15078 if test -x /usr/bin/objformat; then
15079 objformat=`/usr/bin/objformat`
15082 freebsd[23].*) objformat=aout ;;
15083 *) objformat=elf ;;
15086 version_type=freebsd-$objformat
15087 case $version_type in
15089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15094 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15098 shlibpath_var=LD_LIBRARY_PATH
15101 shlibpath_overrides_runpath=yes
15103 freebsd3.[01]* | freebsdelf3.[01]*)
15104 shlibpath_overrides_runpath=yes
15105 hardcode_into_libs=yes
15107 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15108 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15109 shlibpath_overrides_runpath=no
15110 hardcode_into_libs=yes
15112 *) # from 4.6 on, and DragonFly
15113 shlibpath_overrides_runpath=yes
15114 hardcode_into_libs=yes
15123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15124 soname_spec='${libname}${release}${shared_ext}$major'
15125 shlibpath_var=LD_LIBRARY_PATH
15126 hardcode_into_libs=yes
15133 dynamic_linker="$host_os runtime_loader"
15134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15135 soname_spec='${libname}${release}${shared_ext}$major'
15136 shlibpath_var=LIBRARY_PATH
15137 shlibpath_overrides_runpath=yes
15138 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15139 hardcode_into_libs=yes
15142 hpux9* | hpux10* | hpux11*)
15143 # Give a soname corresponding to the major version so that dld.sl refuses to
15144 # link against other versions.
15151 hardcode_into_libs=yes
15152 dynamic_linker="$host_os dld.so"
15153 shlibpath_var=LD_LIBRARY_PATH
15154 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15156 soname_spec='${libname}${release}${shared_ext}$major'
15157 if test "X$HPUX_IA64_MODE" = X32; then
15158 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15160 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15162 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15166 hardcode_into_libs=yes
15167 dynamic_linker="$host_os dld.sl"
15168 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15169 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15171 soname_spec='${libname}${release}${shared_ext}$major'
15172 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15173 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15177 dynamic_linker="$host_os dld.sl"
15178 shlibpath_var=SHLIB_PATH
15179 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15181 soname_spec='${libname}${release}${shared_ext}$major'
15184 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15185 postinstall_cmds='chmod 555 $lib'
15186 # or fails outright, so override atomically:
15187 install_override_mode=555
15194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15195 soname_spec='${libname}${release}${shared_ext}$major'
15196 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15197 shlibpath_var=LD_LIBRARY_PATH
15198 shlibpath_overrides_runpath=no
15199 hardcode_into_libs=yes
15202 irix5* | irix6* | nonstopux*)
15204 nonstopux*) version_type=nonstopux ;;
15206 if test "$lt_cv_prog_gnu_ld" = yes; then
15214 soname_spec='${libname}${release}${shared_ext}$major'
15215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15217 irix5* | nonstopux*)
15218 libsuff= shlibsuff=
15221 case $LD in # libtool.m4 will add one of these switches to LD
15222 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15223 libsuff= shlibsuff= libmagic=32-bit;;
15224 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15225 libsuff=32 shlibsuff=N32 libmagic=N32;;
15226 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15227 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15228 *) libsuff= shlibsuff= libmagic=never-match;;
15232 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15233 shlibpath_overrides_runpath=no
15234 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15235 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15236 hardcode_into_libs=yes
15239 # No shared lib support for Linux oldld, aout, or coff.
15240 linux*oldld* | linux*aout* | linux*coff*)
15244 # This must be Linux ELF.
15245 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15250 soname_spec='${libname}${release}${shared_ext}$major'
15251 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15252 shlibpath_var=LD_LIBRARY_PATH
15253 shlibpath_overrides_runpath=no
15255 # Some binutils ld are patched to set DT_RUNPATH
15256 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15257 $as_echo_n "(cached) " >&6
15259 lt_cv_shlibpath_overrides_runpath=no
15260 save_LDFLAGS=$LDFLAGS
15261 save_libdir=$libdir
15262 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15263 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15264 if test x$gcc_no_link = xyes; then
15265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15267 cat > conftest.$ac_ext <<_ACEOF
15272 if ac_fn_fc_try_link "$LINENO"; then :
15273 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15274 lt_cv_shlibpath_overrides_runpath=yes
15277 rm -f core conftest.err conftest.$ac_objext \
15278 conftest$ac_exeext conftest.$ac_ext
15279 LDFLAGS=$save_LDFLAGS
15280 libdir=$save_libdir
15284 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15286 # This implies no fast_install, which is unacceptable.
15287 # Some rework will be needed to allow for fast_install
15288 # before this can be enabled.
15289 hardcode_into_libs=yes
15291 # Append ld.so.conf contents to the search path
15292 if test -f /etc/ld.so.conf; then
15293 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' ' '`
15294 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15297 # We used to test for /lib/ld.so.1 and disable shared libraries on
15298 # powerpc, because MkLinux only supported shared libraries with the
15299 # GNU dynamic linker. Since this was broken with cross compilers,
15300 # most powerpc-linux boxes support dynamic linking these days and
15301 # people can always --disable-shared, the test was removed, and we
15302 # assume the GNU/Linux dynamic linker is in use.
15303 dynamic_linker='GNU/Linux ld.so'
15310 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15312 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15313 dynamic_linker='NetBSD (a.out) ld.so'
15315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15316 soname_spec='${libname}${release}${shared_ext}$major'
15317 dynamic_linker='NetBSD ld.elf_so'
15319 shlibpath_var=LD_LIBRARY_PATH
15320 shlibpath_overrides_runpath=yes
15321 hardcode_into_libs=yes
15326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15327 shlibpath_var=LD_LIBRARY_PATH
15328 shlibpath_overrides_runpath=yes
15335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15336 soname_spec='${libname}${release}${shared_ext}$major'
15337 shlibpath_var=LD_LIBRARY_PATH
15338 shlibpath_overrides_runpath=no
15339 hardcode_into_libs=yes
15340 dynamic_linker='ldqnx.so'
15345 sys_lib_dlsearch_path_spec="/usr/lib"
15347 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15349 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15350 *) need_version=no ;;
15352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15353 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15354 shlibpath_var=LD_LIBRARY_PATH
15355 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15357 openbsd2.[89] | openbsd2.[89].*)
15358 shlibpath_overrides_runpath=no
15361 shlibpath_overrides_runpath=yes
15365 shlibpath_overrides_runpath=yes
15370 libname_spec='$name'
15373 library_names_spec='$libname${shared_ext} $libname.a'
15374 dynamic_linker='OS/2 ld.exe'
15375 shlibpath_var=LIBPATH
15378 osf3* | osf4* | osf5*)
15382 soname_spec='${libname}${release}${shared_ext}$major'
15383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15384 shlibpath_var=LD_LIBRARY_PATH
15385 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15386 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15398 soname_spec='${libname}${release}${shared_ext}$major'
15399 shlibpath_var=LD_LIBRARY_PATH
15400 shlibpath_overrides_runpath=yes
15401 hardcode_into_libs=yes
15402 # ldd complains unless libraries are executable
15403 postinstall_cmds='chmod +x $lib'
15408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15409 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15410 shlibpath_var=LD_LIBRARY_PATH
15411 shlibpath_overrides_runpath=yes
15412 if test "$with_gnu_ld" = yes; then
15420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15421 soname_spec='${libname}${release}${shared_ext}$major'
15422 shlibpath_var=LD_LIBRARY_PATH
15423 case $host_vendor in
15425 shlibpath_overrides_runpath=no
15427 runpath_var=LD_RUN_PATH
15435 shlibpath_overrides_runpath=no
15436 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15442 if test -d /usr/nec ;then
15444 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15445 soname_spec='$libname${shared_ext}.$major'
15446 shlibpath_var=LD_LIBRARY_PATH
15450 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15451 version_type=freebsd-elf
15454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15455 soname_spec='${libname}${release}${shared_ext}$major'
15456 shlibpath_var=LD_LIBRARY_PATH
15457 shlibpath_overrides_runpath=yes
15458 hardcode_into_libs=yes
15459 if test "$with_gnu_ld" = yes; then
15460 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15462 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15465 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15469 sys_lib_dlsearch_path_spec='/usr/lib'
15473 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15478 shlibpath_var=LD_LIBRARY_PATH
15479 shlibpath_overrides_runpath=no
15480 hardcode_into_libs=yes
15485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15486 soname_spec='${libname}${release}${shared_ext}$major'
15487 shlibpath_var=LD_LIBRARY_PATH
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15495 $as_echo "$dynamic_linker" >&6; }
15496 test "$dynamic_linker" = no && can_build_shared=no
15498 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15499 if test "$GCC" = yes; then
15500 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15503 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15504 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15506 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15507 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15548 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15549 hardcode_action_FC=
15550 if test -n "$hardcode_libdir_flag_spec_FC" ||
15551 test -n "$runpath_var_FC" ||
15552 test "X$hardcode_automatic_FC" = "Xyes" ; then
15554 # We can hardcode non-existent directories.
15555 if test "$hardcode_direct_FC" != no &&
15556 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15557 # have to relink, otherwise we might link with an installed library
15558 # when we should be linking with a yet-to-be-installed one
15559 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15560 test "$hardcode_minus_L_FC" != no; then
15561 # Linking always hardcodes the temporary library directory.
15562 hardcode_action_FC=relink
15564 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15565 hardcode_action_FC=immediate
15568 # We cannot hardcode anything, or else we can only hardcode existing
15570 hardcode_action_FC=unsupported
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15573 $as_echo "$hardcode_action_FC" >&6; }
15575 if test "$hardcode_action_FC" = relink ||
15576 test "$inherit_rpath_FC" = yes; then
15577 # Fast installation is not supported
15578 enable_fast_install=no
15579 elif test "$shlibpath_overrides_runpath" = yes ||
15580 test "$enable_shared" = no; then
15581 # Fast installation is not necessary
15582 enable_fast_install=needless
15591 fi # test -n "$compiler"
15595 fi # test "$_lt_disable_FC" != yes
15598 ac_cpp='$CPP $CPPFLAGS'
15599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605 # extra LD Flags which are required for targets
15608 # Darwin needs -single_module when linking libgfortran
15609 extra_ldflags_libgfortran=-Wl,-single_module
15614 # We need a working compiler at that point, otherwise give a clear
15615 # error message and bail out.
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15618 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15619 ac_ext=${ac_fc_srcext-f}
15620 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15621 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15622 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15624 cat > conftest.$ac_ext <<_ACEOF
15627 real, parameter :: bar = sin (12.34 / 2.5)
15630 if ac_fn_fc_try_compile "$LINENO"; then :
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15632 $as_echo "yes" >&6; }
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15635 $as_echo "no" >&6; }
15636 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15641 ac_cpp='$CPP $CPPFLAGS'
15642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15648 # Check whether --enable-largefile was given.
15649 if test "${enable_largefile+set}" = set; then :
15650 enableval=$enable_largefile;
15653 if test "$enable_largefile" != no; then
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15656 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15657 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15658 $as_echo_n "(cached) " >&6
15660 ac_cv_sys_largefile_CC=no
15661 if test "$GCC" != yes; then
15664 # IRIX 6.2 and later do not support large files by default,
15665 # so use the C compiler's -n32 option if that helps.
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15668 #include <sys/types.h>
15669 /* Check that off_t can represent 2**63 - 1 correctly.
15670 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15671 since some C++ compilers masquerading as C compilers
15672 incorrectly reject 9223372036854775807. */
15673 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15674 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15675 && LARGE_OFF_T % 2147483647 == 1)
15685 if ac_fn_c_try_compile "$LINENO"; then :
15688 rm -f core conftest.err conftest.$ac_objext
15690 if ac_fn_c_try_compile "$LINENO"; then :
15691 ac_cv_sys_largefile_CC=' -n32'; break
15693 rm -f core conftest.err conftest.$ac_objext
15697 rm -f conftest.$ac_ext
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15701 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15702 if test "$ac_cv_sys_largefile_CC" != no; then
15703 CC=$CC$ac_cv_sys_largefile_CC
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15707 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15708 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15709 $as_echo_n "(cached) " >&6
15712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15713 /* end confdefs.h. */
15714 #include <sys/types.h>
15715 /* Check that off_t can represent 2**63 - 1 correctly.
15716 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15717 since some C++ compilers masquerading as C compilers
15718 incorrectly reject 9223372036854775807. */
15719 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15720 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15721 && LARGE_OFF_T % 2147483647 == 1)
15731 if ac_fn_c_try_compile "$LINENO"; then :
15732 ac_cv_sys_file_offset_bits=no; break
15734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 #define _FILE_OFFSET_BITS 64
15738 #include <sys/types.h>
15739 /* Check that off_t can represent 2**63 - 1 correctly.
15740 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15741 since some C++ compilers masquerading as C compilers
15742 incorrectly reject 9223372036854775807. */
15743 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15744 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15745 && LARGE_OFF_T % 2147483647 == 1)
15755 if ac_fn_c_try_compile "$LINENO"; then :
15756 ac_cv_sys_file_offset_bits=64; break
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 ac_cv_sys_file_offset_bits=unknown
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15764 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15765 case $ac_cv_sys_file_offset_bits in #(
15768 cat >>confdefs.h <<_ACEOF
15769 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15774 if test $ac_cv_sys_file_offset_bits = unknown; then
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15776 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15777 if test "${ac_cv_sys_large_files+set}" = set; then :
15778 $as_echo_n "(cached) " >&6
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15783 #include <sys/types.h>
15784 /* Check that off_t can represent 2**63 - 1 correctly.
15785 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15786 since some C++ compilers masquerading as C compilers
15787 incorrectly reject 9223372036854775807. */
15788 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15789 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15790 && LARGE_OFF_T % 2147483647 == 1)
15800 if ac_fn_c_try_compile "$LINENO"; then :
15801 ac_cv_sys_large_files=no; break
15803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15806 #define _LARGE_FILES 1
15807 #include <sys/types.h>
15808 /* Check that off_t can represent 2**63 - 1 correctly.
15809 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15810 since some C++ compilers masquerading as C compilers
15811 incorrectly reject 9223372036854775807. */
15812 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15813 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15814 && LARGE_OFF_T % 2147483647 == 1)
15824 if ac_fn_c_try_compile "$LINENO"; then :
15825 ac_cv_sys_large_files=1; break
15827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15828 ac_cv_sys_large_files=unknown
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15833 $as_echo "$ac_cv_sys_large_files" >&6; }
15834 case $ac_cv_sys_large_files in #(
15837 cat >>confdefs.h <<_ACEOF
15838 #define _LARGE_FILES $ac_cv_sys_large_files
15848 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15849 if test "x$ac_cv_type_off_t" = x""yes; then :
15853 cat >>confdefs.h <<_ACEOF
15854 #define off_t long int
15860 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15861 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15863 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15866 for ac_type in 'int' 'long int' 'long long int'; do
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15869 $ac_includes_default
15873 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15880 if ac_fn_c_try_compile "$LINENO"; then :
15882 cat >>confdefs.h <<_ACEOF
15883 #define intptr_t $ac_type
15888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15889 test -z "$ac_type" && break
15895 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15896 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15898 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15901 for ac_type in 'unsigned int' 'unsigned long int' \
15902 'unsigned long long int'; do
15903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15905 $ac_includes_default
15909 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15916 if ac_fn_c_try_compile "$LINENO"; then :
15918 cat >>confdefs.h <<_ACEOF
15919 #define uintptr_t $ac_type
15924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15925 test -z "$ac_type" && break
15930 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15931 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15933 cat >>confdefs.h <<_ACEOF
15934 #define HAVE_PTRDIFF_T 1
15941 # check header files (we assume C89 is available, so don't check for that)
15945 for ac_header in $ac_header_list
15947 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15948 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15950 eval as_val=\$$as_ac_Header
15951 if test "x$as_val" = x""yes; then :
15952 cat >>confdefs.h <<_ACEOF
15953 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15990 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15992 acx_cv_header_stdint=stddef.h
15993 acx_cv_header_stdint_kind="(already complete)"
15994 for i in stdint.h $inttype_headers; do
15995 unset ac_cv_type_uintptr_t
15996 unset ac_cv_type_uintmax_t
15997 unset ac_cv_type_int_least32_t
15998 unset ac_cv_type_int_fast32_t
15999 unset ac_cv_type_uint64_t
16000 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16001 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16004 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16005 acx_cv_header_stdint=$i
16010 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16013 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16016 acx_cv_header_stdint_kind="(mostly complete)"
16019 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16022 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16025 acx_cv_header_stdint_kind="(mostly complete)"
16028 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16031 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16034 acx_cv_header_stdint_kind="(mostly complete)"
16037 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16040 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16043 acx_cv_header_stdint_kind="(lacks uint64_t)"
16048 if test "$acx_cv_header_stdint" = stddef.h; then
16049 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16050 for i in stdint.h $inttype_headers; do
16051 unset ac_cv_type_uintptr_t
16052 unset ac_cv_type_uint32_t
16053 unset ac_cv_type_uint64_t
16054 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16055 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16058 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16059 acx_cv_header_stdint=$i
16064 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16067 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16071 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16074 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16081 if test "$acx_cv_header_stdint" = stddef.h; then
16082 acx_cv_header_stdint_kind="(u_intXX_t style)"
16083 for i in sys/types.h $inttype_headers; do
16084 unset ac_cv_type_u_int32_t
16085 unset ac_cv_type_u_int64_t
16086 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16087 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16090 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16091 acx_cv_header_stdint=$i
16096 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16099 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16106 if test "$acx_cv_header_stdint" = stddef.h; then
16107 acx_cv_header_stdint_kind="(using manual detection)"
16110 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16111 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16112 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16113 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16114 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16116 # ----------------- Summarize what we found so far
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16119 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16121 case `$as_basename -- gstdint.h ||
16122 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16123 Xgstdint.h : 'X\(//\)$' \| \
16124 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16125 $as_echo X/gstdint.h |
16126 sed '/^.*\/\([^/][^/]*\)\/*$/{
16139 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16140 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16141 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16142 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16147 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16149 # ----------------- done included file, check C basic types --------
16151 # Lacking an uintptr_t? Test size of void *
16152 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16153 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16154 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16155 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16156 # This bug is HP SR number 8606223364.
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16158 $as_echo_n "checking size of void *... " >&6; }
16159 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16160 $as_echo_n "(cached) " >&6
16162 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16165 if test "$ac_cv_type_void_p" = yes; then
16166 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16168 { as_fn_set_status 77
16169 as_fn_error "cannot compute sizeof (void *)
16170 See \`config.log' for more details." "$LINENO" 5; }; }
16172 ac_cv_sizeof_void_p=0
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16178 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16182 cat >>confdefs.h <<_ACEOF
16183 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16189 # Lacking an uint64_t? Test size of long
16190 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16191 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16192 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16193 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16194 # This bug is HP SR number 8606223364.
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16196 $as_echo_n "checking size of long... " >&6; }
16197 if test "${ac_cv_sizeof_long+set}" = set; then :
16198 $as_echo_n "(cached) " >&6
16200 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16203 if test "$ac_cv_type_long" = yes; then
16204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16206 { as_fn_set_status 77
16207 as_fn_error "cannot compute sizeof (long)
16208 See \`config.log' for more details." "$LINENO" 5; }; }
16210 ac_cv_sizeof_long=0
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16216 $as_echo "$ac_cv_sizeof_long" >&6; }
16220 cat >>confdefs.h <<_ACEOF
16221 #define SIZEOF_LONG $ac_cv_sizeof_long
16227 if test $acx_cv_header_stdint = stddef.h; then
16228 # Lacking a good header? Test size of everything and deduce all types.
16229 # The cast to long int works around a bug in the HP C Compiler
16230 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16231 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16232 # This bug is HP SR number 8606223364.
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16234 $as_echo_n "checking size of int... " >&6; }
16235 if test "${ac_cv_sizeof_int+set}" = set; then :
16236 $as_echo_n "(cached) " >&6
16238 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16241 if test "$ac_cv_type_int" = yes; then
16242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16244 { as_fn_set_status 77
16245 as_fn_error "cannot compute sizeof (int)
16246 See \`config.log' for more details." "$LINENO" 5; }; }
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16254 $as_echo "$ac_cv_sizeof_int" >&6; }
16258 cat >>confdefs.h <<_ACEOF
16259 #define SIZEOF_INT $ac_cv_sizeof_int
16263 # The cast to long int works around a bug in the HP C Compiler
16264 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16265 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16266 # This bug is HP SR number 8606223364.
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16268 $as_echo_n "checking size of short... " >&6; }
16269 if test "${ac_cv_sizeof_short+set}" = set; then :
16270 $as_echo_n "(cached) " >&6
16272 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16275 if test "$ac_cv_type_short" = yes; then
16276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16278 { as_fn_set_status 77
16279 as_fn_error "cannot compute sizeof (short)
16280 See \`config.log' for more details." "$LINENO" 5; }; }
16282 ac_cv_sizeof_short=0
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16288 $as_echo "$ac_cv_sizeof_short" >&6; }
16292 cat >>confdefs.h <<_ACEOF
16293 #define SIZEOF_SHORT $ac_cv_sizeof_short
16297 # The cast to long int works around a bug in the HP C Compiler
16298 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16299 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16300 # This bug is HP SR number 8606223364.
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16302 $as_echo_n "checking size of char... " >&6; }
16303 if test "${ac_cv_sizeof_char+set}" = set; then :
16304 $as_echo_n "(cached) " >&6
16306 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16309 if test "$ac_cv_type_char" = yes; then
16310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16312 { as_fn_set_status 77
16313 as_fn_error "cannot compute sizeof (char)
16314 See \`config.log' for more details." "$LINENO" 5; }; }
16316 ac_cv_sizeof_char=0
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16322 $as_echo "$ac_cv_sizeof_char" >&6; }
16326 cat >>confdefs.h <<_ACEOF
16327 #define SIZEOF_CHAR $ac_cv_sizeof_char
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16333 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16334 case "$ac_cv_sizeof_char" in
16335 1) acx_cv_type_int8_t=char ;;
16336 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16339 $as_echo "$acx_cv_type_int8_t" >&6; }
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16342 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16343 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16344 2:*) acx_cv_type_int16_t=int ;;
16345 *:2) acx_cv_type_int16_t=short ;;
16346 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16349 $as_echo "$acx_cv_type_int16_t" >&6; }
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16352 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16353 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16354 4:*) acx_cv_type_int32_t=int ;;
16355 *:4) acx_cv_type_int32_t=long ;;
16356 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16359 $as_echo "$acx_cv_type_int32_t" >&6; }
16362 # These tests are here to make the output prettier
16364 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16365 case "$ac_cv_sizeof_long" in
16366 8) acx_cv_type_int64_t=long ;;
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16369 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16371 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16374 # Now we can use the above types
16376 if test "$ac_cv_type_uintptr_t" != yes; then
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16378 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16379 case $ac_cv_sizeof_void_p in
16380 2) acx_cv_type_intptr_t=int16_t ;;
16381 4) acx_cv_type_intptr_t=int32_t ;;
16382 8) acx_cv_type_intptr_t=int64_t ;;
16383 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16386 $as_echo "$acx_cv_type_intptr_t" >&6; }
16389 # ----------------- done all checks, emit header -------------
16390 ac_config_commands="$ac_config_commands gstdint.h"
16395 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16396 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16398 cat >>confdefs.h <<_ACEOF
16399 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16404 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16405 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16407 cat >>confdefs.h <<_ACEOF
16408 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16413 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16414 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_STRUCT_STAT_ST_RDEV 1
16424 # Check for library functions.
16428 for ac_func in $ac_func_list
16430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16432 eval as_val=\$$as_ac_var
16433 if test "x$as_val" = x""yes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16545 # Check for C99 (and other IEEE) math functions
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16547 $as_echo_n "checking for sin in -lm... " >&6; }
16548 if test "${ac_cv_lib_m_sin+set}" = set; then :
16549 $as_echo_n "(cached) " >&6
16551 ac_check_lib_save_LIBS=$LIBS
16553 if test x$gcc_no_link = xyes; then
16554 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16557 /* end confdefs.h. */
16559 /* Override any GCC internal prototype to avoid an error.
16560 Use char because int might match the return type of a GCC
16561 builtin and then its argument prototype would still apply. */
16574 if ac_fn_c_try_link "$LINENO"; then :
16575 ac_cv_lib_m_sin=yes
16579 rm -f core conftest.err conftest.$ac_objext \
16580 conftest$ac_exeext conftest.$ac_ext
16581 LIBS=$ac_check_lib_save_LIBS
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16584 $as_echo "$ac_cv_lib_m_sin" >&6; }
16585 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16586 cat >>confdefs.h <<_ACEOF
16587 #define HAVE_LIBM 1
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16601 $as_echo_n "checking for acosf... " >&6; }
16602 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16603 $as_echo_n "(cached) " >&6
16605 if test x$gcc_no_link = xyes; then
16606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16609 /* end confdefs.h. */
16611 #ifdef HAVE_COMPLEX_H
16612 #include <complex.h>
16618 int (*ptr)() = (int (*)())acosf;
16627 if ac_fn_c_try_link "$LINENO"; then :
16628 gcc_cv_math_func_acosf=yes
16630 gcc_cv_math_func_acosf=no
16632 rm -f core conftest.err conftest.$ac_objext \
16633 conftest$ac_exeext conftest.$ac_ext
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16636 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16637 if test $gcc_cv_math_func_acosf = yes; then
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_ACOSF 1
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16649 $as_echo_n "checking for acos... " >&6; }
16650 if test "${gcc_cv_math_func_acos+set}" = set; then :
16651 $as_echo_n "(cached) " >&6
16653 if test x$gcc_no_link = xyes; then
16654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16659 #ifdef HAVE_COMPLEX_H
16660 #include <complex.h>
16666 int (*ptr)() = (int (*)())acos;
16675 if ac_fn_c_try_link "$LINENO"; then :
16676 gcc_cv_math_func_acos=yes
16678 gcc_cv_math_func_acos=no
16680 rm -f core conftest.err conftest.$ac_objext \
16681 conftest$ac_exeext conftest.$ac_ext
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16684 $as_echo "$gcc_cv_math_func_acos" >&6; }
16685 if test $gcc_cv_math_func_acos = yes; then
16687 cat >>confdefs.h <<_ACEOF
16688 #define HAVE_ACOS 1
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16697 $as_echo_n "checking for acosl... " >&6; }
16698 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16699 $as_echo_n "(cached) " >&6
16701 if test x$gcc_no_link = xyes; then
16702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16707 #ifdef HAVE_COMPLEX_H
16708 #include <complex.h>
16714 int (*ptr)() = (int (*)())acosl;
16723 if ac_fn_c_try_link "$LINENO"; then :
16724 gcc_cv_math_func_acosl=yes
16726 gcc_cv_math_func_acosl=no
16728 rm -f core conftest.err conftest.$ac_objext \
16729 conftest$ac_exeext conftest.$ac_ext
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16732 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16733 if test $gcc_cv_math_func_acosl = yes; then
16735 cat >>confdefs.h <<_ACEOF
16736 #define HAVE_ACOSL 1
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16745 $as_echo_n "checking for acoshf... " >&6; }
16746 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16747 $as_echo_n "(cached) " >&6
16749 if test x$gcc_no_link = xyes; then
16750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16755 #ifdef HAVE_COMPLEX_H
16756 #include <complex.h>
16762 int (*ptr)() = (int (*)())acoshf;
16771 if ac_fn_c_try_link "$LINENO"; then :
16772 gcc_cv_math_func_acoshf=yes
16774 gcc_cv_math_func_acoshf=no
16776 rm -f core conftest.err conftest.$ac_objext \
16777 conftest$ac_exeext conftest.$ac_ext
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16780 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16781 if test $gcc_cv_math_func_acoshf = yes; then
16783 cat >>confdefs.h <<_ACEOF
16784 #define HAVE_ACOSHF 1
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16793 $as_echo_n "checking for acosh... " >&6; }
16794 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16795 $as_echo_n "(cached) " >&6
16797 if test x$gcc_no_link = xyes; then
16798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16803 #ifdef HAVE_COMPLEX_H
16804 #include <complex.h>
16810 int (*ptr)() = (int (*)())acosh;
16819 if ac_fn_c_try_link "$LINENO"; then :
16820 gcc_cv_math_func_acosh=yes
16822 gcc_cv_math_func_acosh=no
16824 rm -f core conftest.err conftest.$ac_objext \
16825 conftest$ac_exeext conftest.$ac_ext
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16828 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16829 if test $gcc_cv_math_func_acosh = yes; then
16831 cat >>confdefs.h <<_ACEOF
16832 #define HAVE_ACOSH 1
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16841 $as_echo_n "checking for acoshl... " >&6; }
16842 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16843 $as_echo_n "(cached) " >&6
16845 if test x$gcc_no_link = xyes; then
16846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16849 /* end confdefs.h. */
16851 #ifdef HAVE_COMPLEX_H
16852 #include <complex.h>
16858 int (*ptr)() = (int (*)())acoshl;
16867 if ac_fn_c_try_link "$LINENO"; then :
16868 gcc_cv_math_func_acoshl=yes
16870 gcc_cv_math_func_acoshl=no
16872 rm -f core conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext conftest.$ac_ext
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16876 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16877 if test $gcc_cv_math_func_acoshl = yes; then
16879 cat >>confdefs.h <<_ACEOF
16880 #define HAVE_ACOSHL 1
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
16889 $as_echo_n "checking for asinf... " >&6; }
16890 if test "${gcc_cv_math_func_asinf+set}" = set; then :
16891 $as_echo_n "(cached) " >&6
16893 if test x$gcc_no_link = xyes; then
16894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16899 #ifdef HAVE_COMPLEX_H
16900 #include <complex.h>
16906 int (*ptr)() = (int (*)())asinf;
16915 if ac_fn_c_try_link "$LINENO"; then :
16916 gcc_cv_math_func_asinf=yes
16918 gcc_cv_math_func_asinf=no
16920 rm -f core conftest.err conftest.$ac_objext \
16921 conftest$ac_exeext conftest.$ac_ext
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
16924 $as_echo "$gcc_cv_math_func_asinf" >&6; }
16925 if test $gcc_cv_math_func_asinf = yes; then
16927 cat >>confdefs.h <<_ACEOF
16928 #define HAVE_ASINF 1
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
16937 $as_echo_n "checking for asin... " >&6; }
16938 if test "${gcc_cv_math_func_asin+set}" = set; then :
16939 $as_echo_n "(cached) " >&6
16941 if test x$gcc_no_link = xyes; then
16942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16947 #ifdef HAVE_COMPLEX_H
16948 #include <complex.h>
16954 int (*ptr)() = (int (*)())asin;
16963 if ac_fn_c_try_link "$LINENO"; then :
16964 gcc_cv_math_func_asin=yes
16966 gcc_cv_math_func_asin=no
16968 rm -f core conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
16972 $as_echo "$gcc_cv_math_func_asin" >&6; }
16973 if test $gcc_cv_math_func_asin = yes; then
16975 cat >>confdefs.h <<_ACEOF
16976 #define HAVE_ASIN 1
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
16985 $as_echo_n "checking for asinl... " >&6; }
16986 if test "${gcc_cv_math_func_asinl+set}" = set; then :
16987 $as_echo_n "(cached) " >&6
16989 if test x$gcc_no_link = xyes; then
16990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16995 #ifdef HAVE_COMPLEX_H
16996 #include <complex.h>
17002 int (*ptr)() = (int (*)())asinl;
17011 if ac_fn_c_try_link "$LINENO"; then :
17012 gcc_cv_math_func_asinl=yes
17014 gcc_cv_math_func_asinl=no
17016 rm -f core conftest.err conftest.$ac_objext \
17017 conftest$ac_exeext conftest.$ac_ext
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17020 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17021 if test $gcc_cv_math_func_asinl = yes; then
17023 cat >>confdefs.h <<_ACEOF
17024 #define HAVE_ASINL 1
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17033 $as_echo_n "checking for asinhf... " >&6; }
17034 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17035 $as_echo_n "(cached) " >&6
17037 if test x$gcc_no_link = xyes; then
17038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17043 #ifdef HAVE_COMPLEX_H
17044 #include <complex.h>
17050 int (*ptr)() = (int (*)())asinhf;
17059 if ac_fn_c_try_link "$LINENO"; then :
17060 gcc_cv_math_func_asinhf=yes
17062 gcc_cv_math_func_asinhf=no
17064 rm -f core conftest.err conftest.$ac_objext \
17065 conftest$ac_exeext conftest.$ac_ext
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17068 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17069 if test $gcc_cv_math_func_asinhf = yes; then
17071 cat >>confdefs.h <<_ACEOF
17072 #define HAVE_ASINHF 1
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17081 $as_echo_n "checking for asinh... " >&6; }
17082 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17083 $as_echo_n "(cached) " >&6
17085 if test x$gcc_no_link = xyes; then
17086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17091 #ifdef HAVE_COMPLEX_H
17092 #include <complex.h>
17098 int (*ptr)() = (int (*)())asinh;
17107 if ac_fn_c_try_link "$LINENO"; then :
17108 gcc_cv_math_func_asinh=yes
17110 gcc_cv_math_func_asinh=no
17112 rm -f core conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17116 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17117 if test $gcc_cv_math_func_asinh = yes; then
17119 cat >>confdefs.h <<_ACEOF
17120 #define HAVE_ASINH 1
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17129 $as_echo_n "checking for asinhl... " >&6; }
17130 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17131 $as_echo_n "(cached) " >&6
17133 if test x$gcc_no_link = xyes; then
17134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17139 #ifdef HAVE_COMPLEX_H
17140 #include <complex.h>
17146 int (*ptr)() = (int (*)())asinhl;
17155 if ac_fn_c_try_link "$LINENO"; then :
17156 gcc_cv_math_func_asinhl=yes
17158 gcc_cv_math_func_asinhl=no
17160 rm -f core conftest.err conftest.$ac_objext \
17161 conftest$ac_exeext conftest.$ac_ext
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17164 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17165 if test $gcc_cv_math_func_asinhl = yes; then
17167 cat >>confdefs.h <<_ACEOF
17168 #define HAVE_ASINHL 1
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17177 $as_echo_n "checking for atan2f... " >&6; }
17178 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17179 $as_echo_n "(cached) " >&6
17181 if test x$gcc_no_link = xyes; then
17182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17185 /* end confdefs.h. */
17187 #ifdef HAVE_COMPLEX_H
17188 #include <complex.h>
17194 int (*ptr)() = (int (*)())atan2f;
17203 if ac_fn_c_try_link "$LINENO"; then :
17204 gcc_cv_math_func_atan2f=yes
17206 gcc_cv_math_func_atan2f=no
17208 rm -f core conftest.err conftest.$ac_objext \
17209 conftest$ac_exeext conftest.$ac_ext
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17212 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17213 if test $gcc_cv_math_func_atan2f = yes; then
17215 cat >>confdefs.h <<_ACEOF
17216 #define HAVE_ATAN2F 1
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17225 $as_echo_n "checking for atan2... " >&6; }
17226 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17227 $as_echo_n "(cached) " >&6
17229 if test x$gcc_no_link = xyes; then
17230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17235 #ifdef HAVE_COMPLEX_H
17236 #include <complex.h>
17242 int (*ptr)() = (int (*)())atan2;
17251 if ac_fn_c_try_link "$LINENO"; then :
17252 gcc_cv_math_func_atan2=yes
17254 gcc_cv_math_func_atan2=no
17256 rm -f core conftest.err conftest.$ac_objext \
17257 conftest$ac_exeext conftest.$ac_ext
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17260 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17261 if test $gcc_cv_math_func_atan2 = yes; then
17263 cat >>confdefs.h <<_ACEOF
17264 #define HAVE_ATAN2 1
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17273 $as_echo_n "checking for atan2l... " >&6; }
17274 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17275 $as_echo_n "(cached) " >&6
17277 if test x$gcc_no_link = xyes; then
17278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17283 #ifdef HAVE_COMPLEX_H
17284 #include <complex.h>
17290 int (*ptr)() = (int (*)())atan2l;
17299 if ac_fn_c_try_link "$LINENO"; then :
17300 gcc_cv_math_func_atan2l=yes
17302 gcc_cv_math_func_atan2l=no
17304 rm -f core conftest.err conftest.$ac_objext \
17305 conftest$ac_exeext conftest.$ac_ext
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17308 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17309 if test $gcc_cv_math_func_atan2l = yes; then
17311 cat >>confdefs.h <<_ACEOF
17312 #define HAVE_ATAN2L 1
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17321 $as_echo_n "checking for atanf... " >&6; }
17322 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17323 $as_echo_n "(cached) " >&6
17325 if test x$gcc_no_link = xyes; then
17326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17331 #ifdef HAVE_COMPLEX_H
17332 #include <complex.h>
17338 int (*ptr)() = (int (*)())atanf;
17347 if ac_fn_c_try_link "$LINENO"; then :
17348 gcc_cv_math_func_atanf=yes
17350 gcc_cv_math_func_atanf=no
17352 rm -f core conftest.err conftest.$ac_objext \
17353 conftest$ac_exeext conftest.$ac_ext
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17356 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17357 if test $gcc_cv_math_func_atanf = yes; then
17359 cat >>confdefs.h <<_ACEOF
17360 #define HAVE_ATANF 1
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17369 $as_echo_n "checking for atan... " >&6; }
17370 if test "${gcc_cv_math_func_atan+set}" = set; then :
17371 $as_echo_n "(cached) " >&6
17373 if test x$gcc_no_link = xyes; then
17374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17379 #ifdef HAVE_COMPLEX_H
17380 #include <complex.h>
17386 int (*ptr)() = (int (*)())atan;
17395 if ac_fn_c_try_link "$LINENO"; then :
17396 gcc_cv_math_func_atan=yes
17398 gcc_cv_math_func_atan=no
17400 rm -f core conftest.err conftest.$ac_objext \
17401 conftest$ac_exeext conftest.$ac_ext
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17404 $as_echo "$gcc_cv_math_func_atan" >&6; }
17405 if test $gcc_cv_math_func_atan = yes; then
17407 cat >>confdefs.h <<_ACEOF
17408 #define HAVE_ATAN 1
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17417 $as_echo_n "checking for atanl... " >&6; }
17418 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17419 $as_echo_n "(cached) " >&6
17421 if test x$gcc_no_link = xyes; then
17422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17427 #ifdef HAVE_COMPLEX_H
17428 #include <complex.h>
17434 int (*ptr)() = (int (*)())atanl;
17443 if ac_fn_c_try_link "$LINENO"; then :
17444 gcc_cv_math_func_atanl=yes
17446 gcc_cv_math_func_atanl=no
17448 rm -f core conftest.err conftest.$ac_objext \
17449 conftest$ac_exeext conftest.$ac_ext
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17452 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17453 if test $gcc_cv_math_func_atanl = yes; then
17455 cat >>confdefs.h <<_ACEOF
17456 #define HAVE_ATANL 1
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17465 $as_echo_n "checking for atanhf... " >&6; }
17466 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17467 $as_echo_n "(cached) " >&6
17469 if test x$gcc_no_link = xyes; then
17470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h. */
17475 #ifdef HAVE_COMPLEX_H
17476 #include <complex.h>
17482 int (*ptr)() = (int (*)())atanhf;
17491 if ac_fn_c_try_link "$LINENO"; then :
17492 gcc_cv_math_func_atanhf=yes
17494 gcc_cv_math_func_atanhf=no
17496 rm -f core conftest.err conftest.$ac_objext \
17497 conftest$ac_exeext conftest.$ac_ext
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17500 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17501 if test $gcc_cv_math_func_atanhf = yes; then
17503 cat >>confdefs.h <<_ACEOF
17504 #define HAVE_ATANHF 1
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17513 $as_echo_n "checking for atanh... " >&6; }
17514 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17515 $as_echo_n "(cached) " >&6
17517 if test x$gcc_no_link = xyes; then
17518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17523 #ifdef HAVE_COMPLEX_H
17524 #include <complex.h>
17530 int (*ptr)() = (int (*)())atanh;
17539 if ac_fn_c_try_link "$LINENO"; then :
17540 gcc_cv_math_func_atanh=yes
17542 gcc_cv_math_func_atanh=no
17544 rm -f core conftest.err conftest.$ac_objext \
17545 conftest$ac_exeext conftest.$ac_ext
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17548 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17549 if test $gcc_cv_math_func_atanh = yes; then
17551 cat >>confdefs.h <<_ACEOF
17552 #define HAVE_ATANH 1
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17561 $as_echo_n "checking for atanhl... " >&6; }
17562 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17563 $as_echo_n "(cached) " >&6
17565 if test x$gcc_no_link = xyes; then
17566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17571 #ifdef HAVE_COMPLEX_H
17572 #include <complex.h>
17578 int (*ptr)() = (int (*)())atanhl;
17587 if ac_fn_c_try_link "$LINENO"; then :
17588 gcc_cv_math_func_atanhl=yes
17590 gcc_cv_math_func_atanhl=no
17592 rm -f core conftest.err conftest.$ac_objext \
17593 conftest$ac_exeext conftest.$ac_ext
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17596 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17597 if test $gcc_cv_math_func_atanhl = yes; then
17599 cat >>confdefs.h <<_ACEOF
17600 #define HAVE_ATANHL 1
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17609 $as_echo_n "checking for cargf... " >&6; }
17610 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17611 $as_echo_n "(cached) " >&6
17613 if test x$gcc_no_link = xyes; then
17614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17619 #ifdef HAVE_COMPLEX_H
17620 #include <complex.h>
17626 int (*ptr)() = (int (*)())cargf;
17635 if ac_fn_c_try_link "$LINENO"; then :
17636 gcc_cv_math_func_cargf=yes
17638 gcc_cv_math_func_cargf=no
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17644 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17645 if test $gcc_cv_math_func_cargf = yes; then
17647 cat >>confdefs.h <<_ACEOF
17648 #define HAVE_CARGF 1
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17657 $as_echo_n "checking for carg... " >&6; }
17658 if test "${gcc_cv_math_func_carg+set}" = set; then :
17659 $as_echo_n "(cached) " >&6
17661 if test x$gcc_no_link = xyes; then
17662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17667 #ifdef HAVE_COMPLEX_H
17668 #include <complex.h>
17674 int (*ptr)() = (int (*)())carg;
17683 if ac_fn_c_try_link "$LINENO"; then :
17684 gcc_cv_math_func_carg=yes
17686 gcc_cv_math_func_carg=no
17688 rm -f core conftest.err conftest.$ac_objext \
17689 conftest$ac_exeext conftest.$ac_ext
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17692 $as_echo "$gcc_cv_math_func_carg" >&6; }
17693 if test $gcc_cv_math_func_carg = yes; then
17695 cat >>confdefs.h <<_ACEOF
17696 #define HAVE_CARG 1
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17705 $as_echo_n "checking for cargl... " >&6; }
17706 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17707 $as_echo_n "(cached) " >&6
17709 if test x$gcc_no_link = xyes; then
17710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17713 /* end confdefs.h. */
17715 #ifdef HAVE_COMPLEX_H
17716 #include <complex.h>
17722 int (*ptr)() = (int (*)())cargl;
17731 if ac_fn_c_try_link "$LINENO"; then :
17732 gcc_cv_math_func_cargl=yes
17734 gcc_cv_math_func_cargl=no
17736 rm -f core conftest.err conftest.$ac_objext \
17737 conftest$ac_exeext conftest.$ac_ext
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17740 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17741 if test $gcc_cv_math_func_cargl = yes; then
17743 cat >>confdefs.h <<_ACEOF
17744 #define HAVE_CARGL 1
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17753 $as_echo_n "checking for ceilf... " >&6; }
17754 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17755 $as_echo_n "(cached) " >&6
17757 if test x$gcc_no_link = xyes; then
17758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17763 #ifdef HAVE_COMPLEX_H
17764 #include <complex.h>
17770 int (*ptr)() = (int (*)())ceilf;
17779 if ac_fn_c_try_link "$LINENO"; then :
17780 gcc_cv_math_func_ceilf=yes
17782 gcc_cv_math_func_ceilf=no
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17788 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17789 if test $gcc_cv_math_func_ceilf = yes; then
17791 cat >>confdefs.h <<_ACEOF
17792 #define HAVE_CEILF 1
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17801 $as_echo_n "checking for ceil... " >&6; }
17802 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17803 $as_echo_n "(cached) " >&6
17805 if test x$gcc_no_link = xyes; then
17806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17809 /* end confdefs.h. */
17811 #ifdef HAVE_COMPLEX_H
17812 #include <complex.h>
17818 int (*ptr)() = (int (*)())ceil;
17827 if ac_fn_c_try_link "$LINENO"; then :
17828 gcc_cv_math_func_ceil=yes
17830 gcc_cv_math_func_ceil=no
17832 rm -f core conftest.err conftest.$ac_objext \
17833 conftest$ac_exeext conftest.$ac_ext
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17836 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17837 if test $gcc_cv_math_func_ceil = yes; then
17839 cat >>confdefs.h <<_ACEOF
17840 #define HAVE_CEIL 1
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17849 $as_echo_n "checking for ceill... " >&6; }
17850 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17851 $as_echo_n "(cached) " >&6
17853 if test x$gcc_no_link = xyes; then
17854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17859 #ifdef HAVE_COMPLEX_H
17860 #include <complex.h>
17866 int (*ptr)() = (int (*)())ceill;
17875 if ac_fn_c_try_link "$LINENO"; then :
17876 gcc_cv_math_func_ceill=yes
17878 gcc_cv_math_func_ceill=no
17880 rm -f core conftest.err conftest.$ac_objext \
17881 conftest$ac_exeext conftest.$ac_ext
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17884 $as_echo "$gcc_cv_math_func_ceill" >&6; }
17885 if test $gcc_cv_math_func_ceill = yes; then
17887 cat >>confdefs.h <<_ACEOF
17888 #define HAVE_CEILL 1
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
17897 $as_echo_n "checking for copysignf... " >&6; }
17898 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
17899 $as_echo_n "(cached) " >&6
17901 if test x$gcc_no_link = xyes; then
17902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h. */
17907 #ifdef HAVE_COMPLEX_H
17908 #include <complex.h>
17914 int (*ptr)() = (int (*)())copysignf;
17923 if ac_fn_c_try_link "$LINENO"; then :
17924 gcc_cv_math_func_copysignf=yes
17926 gcc_cv_math_func_copysignf=no
17928 rm -f core conftest.err conftest.$ac_objext \
17929 conftest$ac_exeext conftest.$ac_ext
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
17932 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
17933 if test $gcc_cv_math_func_copysignf = yes; then
17935 cat >>confdefs.h <<_ACEOF
17936 #define HAVE_COPYSIGNF 1
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
17945 $as_echo_n "checking for copysign... " >&6; }
17946 if test "${gcc_cv_math_func_copysign+set}" = set; then :
17947 $as_echo_n "(cached) " >&6
17949 if test x$gcc_no_link = xyes; then
17950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17955 #ifdef HAVE_COMPLEX_H
17956 #include <complex.h>
17962 int (*ptr)() = (int (*)())copysign;
17971 if ac_fn_c_try_link "$LINENO"; then :
17972 gcc_cv_math_func_copysign=yes
17974 gcc_cv_math_func_copysign=no
17976 rm -f core conftest.err conftest.$ac_objext \
17977 conftest$ac_exeext conftest.$ac_ext
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
17980 $as_echo "$gcc_cv_math_func_copysign" >&6; }
17981 if test $gcc_cv_math_func_copysign = yes; then
17983 cat >>confdefs.h <<_ACEOF
17984 #define HAVE_COPYSIGN 1
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
17993 $as_echo_n "checking for copysignl... " >&6; }
17994 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
17995 $as_echo_n "(cached) " >&6
17997 if test x$gcc_no_link = xyes; then
17998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18003 #ifdef HAVE_COMPLEX_H
18004 #include <complex.h>
18010 int (*ptr)() = (int (*)())copysignl;
18019 if ac_fn_c_try_link "$LINENO"; then :
18020 gcc_cv_math_func_copysignl=yes
18022 gcc_cv_math_func_copysignl=no
18024 rm -f core conftest.err conftest.$ac_objext \
18025 conftest$ac_exeext conftest.$ac_ext
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18028 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18029 if test $gcc_cv_math_func_copysignl = yes; then
18031 cat >>confdefs.h <<_ACEOF
18032 #define HAVE_COPYSIGNL 1
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18041 $as_echo_n "checking for cosf... " >&6; }
18042 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18043 $as_echo_n "(cached) " >&6
18045 if test x$gcc_no_link = xyes; then
18046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18051 #ifdef HAVE_COMPLEX_H
18052 #include <complex.h>
18058 int (*ptr)() = (int (*)())cosf;
18067 if ac_fn_c_try_link "$LINENO"; then :
18068 gcc_cv_math_func_cosf=yes
18070 gcc_cv_math_func_cosf=no
18072 rm -f core conftest.err conftest.$ac_objext \
18073 conftest$ac_exeext conftest.$ac_ext
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18076 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18077 if test $gcc_cv_math_func_cosf = yes; then
18079 cat >>confdefs.h <<_ACEOF
18080 #define HAVE_COSF 1
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18089 $as_echo_n "checking for cos... " >&6; }
18090 if test "${gcc_cv_math_func_cos+set}" = set; then :
18091 $as_echo_n "(cached) " >&6
18093 if test x$gcc_no_link = xyes; then
18094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18099 #ifdef HAVE_COMPLEX_H
18100 #include <complex.h>
18106 int (*ptr)() = (int (*)())cos;
18115 if ac_fn_c_try_link "$LINENO"; then :
18116 gcc_cv_math_func_cos=yes
18118 gcc_cv_math_func_cos=no
18120 rm -f core conftest.err conftest.$ac_objext \
18121 conftest$ac_exeext conftest.$ac_ext
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18124 $as_echo "$gcc_cv_math_func_cos" >&6; }
18125 if test $gcc_cv_math_func_cos = yes; then
18127 cat >>confdefs.h <<_ACEOF
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18137 $as_echo_n "checking for cosl... " >&6; }
18138 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18139 $as_echo_n "(cached) " >&6
18141 if test x$gcc_no_link = xyes; then
18142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18145 /* end confdefs.h. */
18147 #ifdef HAVE_COMPLEX_H
18148 #include <complex.h>
18154 int (*ptr)() = (int (*)())cosl;
18163 if ac_fn_c_try_link "$LINENO"; then :
18164 gcc_cv_math_func_cosl=yes
18166 gcc_cv_math_func_cosl=no
18168 rm -f core conftest.err conftest.$ac_objext \
18169 conftest$ac_exeext conftest.$ac_ext
18171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18172 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18173 if test $gcc_cv_math_func_cosl = yes; then
18175 cat >>confdefs.h <<_ACEOF
18176 #define HAVE_COSL 1
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18185 $as_echo_n "checking for ccosf... " >&6; }
18186 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18187 $as_echo_n "(cached) " >&6
18189 if test x$gcc_no_link = xyes; then
18190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18193 /* end confdefs.h. */
18195 #ifdef HAVE_COMPLEX_H
18196 #include <complex.h>
18202 int (*ptr)() = (int (*)())ccosf;
18211 if ac_fn_c_try_link "$LINENO"; then :
18212 gcc_cv_math_func_ccosf=yes
18214 gcc_cv_math_func_ccosf=no
18216 rm -f core conftest.err conftest.$ac_objext \
18217 conftest$ac_exeext conftest.$ac_ext
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18220 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18221 if test $gcc_cv_math_func_ccosf = yes; then
18223 cat >>confdefs.h <<_ACEOF
18224 #define HAVE_CCOSF 1
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18233 $as_echo_n "checking for ccos... " >&6; }
18234 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18235 $as_echo_n "(cached) " >&6
18237 if test x$gcc_no_link = xyes; then
18238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h. */
18243 #ifdef HAVE_COMPLEX_H
18244 #include <complex.h>
18250 int (*ptr)() = (int (*)())ccos;
18259 if ac_fn_c_try_link "$LINENO"; then :
18260 gcc_cv_math_func_ccos=yes
18262 gcc_cv_math_func_ccos=no
18264 rm -f core conftest.err conftest.$ac_objext \
18265 conftest$ac_exeext conftest.$ac_ext
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18268 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18269 if test $gcc_cv_math_func_ccos = yes; then
18271 cat >>confdefs.h <<_ACEOF
18272 #define HAVE_CCOS 1
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18281 $as_echo_n "checking for ccosl... " >&6; }
18282 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18283 $as_echo_n "(cached) " >&6
18285 if test x$gcc_no_link = xyes; then
18286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h. */
18291 #ifdef HAVE_COMPLEX_H
18292 #include <complex.h>
18298 int (*ptr)() = (int (*)())ccosl;
18307 if ac_fn_c_try_link "$LINENO"; then :
18308 gcc_cv_math_func_ccosl=yes
18310 gcc_cv_math_func_ccosl=no
18312 rm -f core conftest.err conftest.$ac_objext \
18313 conftest$ac_exeext conftest.$ac_ext
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18316 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18317 if test $gcc_cv_math_func_ccosl = yes; then
18319 cat >>confdefs.h <<_ACEOF
18320 #define HAVE_CCOSL 1
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18329 $as_echo_n "checking for coshf... " >&6; }
18330 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18331 $as_echo_n "(cached) " >&6
18333 if test x$gcc_no_link = xyes; then
18334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18337 /* end confdefs.h. */
18339 #ifdef HAVE_COMPLEX_H
18340 #include <complex.h>
18346 int (*ptr)() = (int (*)())coshf;
18355 if ac_fn_c_try_link "$LINENO"; then :
18356 gcc_cv_math_func_coshf=yes
18358 gcc_cv_math_func_coshf=no
18360 rm -f core conftest.err conftest.$ac_objext \
18361 conftest$ac_exeext conftest.$ac_ext
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18364 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18365 if test $gcc_cv_math_func_coshf = yes; then
18367 cat >>confdefs.h <<_ACEOF
18368 #define HAVE_COSHF 1
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18377 $as_echo_n "checking for cosh... " >&6; }
18378 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18379 $as_echo_n "(cached) " >&6
18381 if test x$gcc_no_link = xyes; then
18382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18385 /* end confdefs.h. */
18387 #ifdef HAVE_COMPLEX_H
18388 #include <complex.h>
18394 int (*ptr)() = (int (*)())cosh;
18403 if ac_fn_c_try_link "$LINENO"; then :
18404 gcc_cv_math_func_cosh=yes
18406 gcc_cv_math_func_cosh=no
18408 rm -f core conftest.err conftest.$ac_objext \
18409 conftest$ac_exeext conftest.$ac_ext
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18412 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18413 if test $gcc_cv_math_func_cosh = yes; then
18415 cat >>confdefs.h <<_ACEOF
18416 #define HAVE_COSH 1
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18425 $as_echo_n "checking for coshl... " >&6; }
18426 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18427 $as_echo_n "(cached) " >&6
18429 if test x$gcc_no_link = xyes; then
18430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18435 #ifdef HAVE_COMPLEX_H
18436 #include <complex.h>
18442 int (*ptr)() = (int (*)())coshl;
18451 if ac_fn_c_try_link "$LINENO"; then :
18452 gcc_cv_math_func_coshl=yes
18454 gcc_cv_math_func_coshl=no
18456 rm -f core conftest.err conftest.$ac_objext \
18457 conftest$ac_exeext conftest.$ac_ext
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18460 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18461 if test $gcc_cv_math_func_coshl = yes; then
18463 cat >>confdefs.h <<_ACEOF
18464 #define HAVE_COSHL 1
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18473 $as_echo_n "checking for ccoshf... " >&6; }
18474 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18475 $as_echo_n "(cached) " >&6
18477 if test x$gcc_no_link = xyes; then
18478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18481 /* end confdefs.h. */
18483 #ifdef HAVE_COMPLEX_H
18484 #include <complex.h>
18490 int (*ptr)() = (int (*)())ccoshf;
18499 if ac_fn_c_try_link "$LINENO"; then :
18500 gcc_cv_math_func_ccoshf=yes
18502 gcc_cv_math_func_ccoshf=no
18504 rm -f core conftest.err conftest.$ac_objext \
18505 conftest$ac_exeext conftest.$ac_ext
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18508 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18509 if test $gcc_cv_math_func_ccoshf = yes; then
18511 cat >>confdefs.h <<_ACEOF
18512 #define HAVE_CCOSHF 1
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18521 $as_echo_n "checking for ccosh... " >&6; }
18522 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18523 $as_echo_n "(cached) " >&6
18525 if test x$gcc_no_link = xyes; then
18526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18529 /* end confdefs.h. */
18531 #ifdef HAVE_COMPLEX_H
18532 #include <complex.h>
18538 int (*ptr)() = (int (*)())ccosh;
18547 if ac_fn_c_try_link "$LINENO"; then :
18548 gcc_cv_math_func_ccosh=yes
18550 gcc_cv_math_func_ccosh=no
18552 rm -f core conftest.err conftest.$ac_objext \
18553 conftest$ac_exeext conftest.$ac_ext
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18556 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18557 if test $gcc_cv_math_func_ccosh = yes; then
18559 cat >>confdefs.h <<_ACEOF
18560 #define HAVE_CCOSH 1
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18569 $as_echo_n "checking for ccoshl... " >&6; }
18570 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18571 $as_echo_n "(cached) " >&6
18573 if test x$gcc_no_link = xyes; then
18574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18579 #ifdef HAVE_COMPLEX_H
18580 #include <complex.h>
18586 int (*ptr)() = (int (*)())ccoshl;
18595 if ac_fn_c_try_link "$LINENO"; then :
18596 gcc_cv_math_func_ccoshl=yes
18598 gcc_cv_math_func_ccoshl=no
18600 rm -f core conftest.err conftest.$ac_objext \
18601 conftest$ac_exeext conftest.$ac_ext
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18604 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18605 if test $gcc_cv_math_func_ccoshl = yes; then
18607 cat >>confdefs.h <<_ACEOF
18608 #define HAVE_CCOSHL 1
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18617 $as_echo_n "checking for expf... " >&6; }
18618 if test "${gcc_cv_math_func_expf+set}" = set; then :
18619 $as_echo_n "(cached) " >&6
18621 if test x$gcc_no_link = xyes; then
18622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18627 #ifdef HAVE_COMPLEX_H
18628 #include <complex.h>
18634 int (*ptr)() = (int (*)())expf;
18643 if ac_fn_c_try_link "$LINENO"; then :
18644 gcc_cv_math_func_expf=yes
18646 gcc_cv_math_func_expf=no
18648 rm -f core conftest.err conftest.$ac_objext \
18649 conftest$ac_exeext conftest.$ac_ext
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18652 $as_echo "$gcc_cv_math_func_expf" >&6; }
18653 if test $gcc_cv_math_func_expf = yes; then
18655 cat >>confdefs.h <<_ACEOF
18656 #define HAVE_EXPF 1
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18665 $as_echo_n "checking for exp... " >&6; }
18666 if test "${gcc_cv_math_func_exp+set}" = set; then :
18667 $as_echo_n "(cached) " >&6
18669 if test x$gcc_no_link = xyes; then
18670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18673 /* end confdefs.h. */
18675 #ifdef HAVE_COMPLEX_H
18676 #include <complex.h>
18682 int (*ptr)() = (int (*)())exp;
18691 if ac_fn_c_try_link "$LINENO"; then :
18692 gcc_cv_math_func_exp=yes
18694 gcc_cv_math_func_exp=no
18696 rm -f core conftest.err conftest.$ac_objext \
18697 conftest$ac_exeext conftest.$ac_ext
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18700 $as_echo "$gcc_cv_math_func_exp" >&6; }
18701 if test $gcc_cv_math_func_exp = yes; then
18703 cat >>confdefs.h <<_ACEOF
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18713 $as_echo_n "checking for expl... " >&6; }
18714 if test "${gcc_cv_math_func_expl+set}" = set; then :
18715 $as_echo_n "(cached) " >&6
18717 if test x$gcc_no_link = xyes; then
18718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18721 /* end confdefs.h. */
18723 #ifdef HAVE_COMPLEX_H
18724 #include <complex.h>
18730 int (*ptr)() = (int (*)())expl;
18739 if ac_fn_c_try_link "$LINENO"; then :
18740 gcc_cv_math_func_expl=yes
18742 gcc_cv_math_func_expl=no
18744 rm -f core conftest.err conftest.$ac_objext \
18745 conftest$ac_exeext conftest.$ac_ext
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18748 $as_echo "$gcc_cv_math_func_expl" >&6; }
18749 if test $gcc_cv_math_func_expl = yes; then
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_EXPL 1
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18761 $as_echo_n "checking for cexpf... " >&6; }
18762 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18763 $as_echo_n "(cached) " >&6
18765 if test x$gcc_no_link = xyes; then
18766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18769 /* end confdefs.h. */
18771 #ifdef HAVE_COMPLEX_H
18772 #include <complex.h>
18778 int (*ptr)() = (int (*)())cexpf;
18787 if ac_fn_c_try_link "$LINENO"; then :
18788 gcc_cv_math_func_cexpf=yes
18790 gcc_cv_math_func_cexpf=no
18792 rm -f core conftest.err conftest.$ac_objext \
18793 conftest$ac_exeext conftest.$ac_ext
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18796 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18797 if test $gcc_cv_math_func_cexpf = yes; then
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_CEXPF 1
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18809 $as_echo_n "checking for cexp... " >&6; }
18810 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18811 $as_echo_n "(cached) " >&6
18813 if test x$gcc_no_link = xyes; then
18814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18817 /* end confdefs.h. */
18819 #ifdef HAVE_COMPLEX_H
18820 #include <complex.h>
18826 int (*ptr)() = (int (*)())cexp;
18835 if ac_fn_c_try_link "$LINENO"; then :
18836 gcc_cv_math_func_cexp=yes
18838 gcc_cv_math_func_cexp=no
18840 rm -f core conftest.err conftest.$ac_objext \
18841 conftest$ac_exeext conftest.$ac_ext
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18844 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18845 if test $gcc_cv_math_func_cexp = yes; then
18847 cat >>confdefs.h <<_ACEOF
18848 #define HAVE_CEXP 1
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18857 $as_echo_n "checking for cexpl... " >&6; }
18858 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18859 $as_echo_n "(cached) " >&6
18861 if test x$gcc_no_link = xyes; then
18862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18867 #ifdef HAVE_COMPLEX_H
18868 #include <complex.h>
18874 int (*ptr)() = (int (*)())cexpl;
18883 if ac_fn_c_try_link "$LINENO"; then :
18884 gcc_cv_math_func_cexpl=yes
18886 gcc_cv_math_func_cexpl=no
18888 rm -f core conftest.err conftest.$ac_objext \
18889 conftest$ac_exeext conftest.$ac_ext
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
18892 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
18893 if test $gcc_cv_math_func_cexpl = yes; then
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_CEXPL 1
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
18905 $as_echo_n "checking for fabsf... " >&6; }
18906 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
18907 $as_echo_n "(cached) " >&6
18909 if test x$gcc_no_link = xyes; then
18910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18915 #ifdef HAVE_COMPLEX_H
18916 #include <complex.h>
18922 int (*ptr)() = (int (*)())fabsf;
18931 if ac_fn_c_try_link "$LINENO"; then :
18932 gcc_cv_math_func_fabsf=yes
18934 gcc_cv_math_func_fabsf=no
18936 rm -f core conftest.err conftest.$ac_objext \
18937 conftest$ac_exeext conftest.$ac_ext
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
18940 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
18941 if test $gcc_cv_math_func_fabsf = yes; then
18943 cat >>confdefs.h <<_ACEOF
18944 #define HAVE_FABSF 1
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
18953 $as_echo_n "checking for fabs... " >&6; }
18954 if test "${gcc_cv_math_func_fabs+set}" = set; then :
18955 $as_echo_n "(cached) " >&6
18957 if test x$gcc_no_link = xyes; then
18958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18961 /* end confdefs.h. */
18963 #ifdef HAVE_COMPLEX_H
18964 #include <complex.h>
18970 int (*ptr)() = (int (*)())fabs;
18979 if ac_fn_c_try_link "$LINENO"; then :
18980 gcc_cv_math_func_fabs=yes
18982 gcc_cv_math_func_fabs=no
18984 rm -f core conftest.err conftest.$ac_objext \
18985 conftest$ac_exeext conftest.$ac_ext
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
18988 $as_echo "$gcc_cv_math_func_fabs" >&6; }
18989 if test $gcc_cv_math_func_fabs = yes; then
18991 cat >>confdefs.h <<_ACEOF
18992 #define HAVE_FABS 1
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19001 $as_echo_n "checking for fabsl... " >&6; }
19002 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19003 $as_echo_n "(cached) " >&6
19005 if test x$gcc_no_link = xyes; then
19006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19011 #ifdef HAVE_COMPLEX_H
19012 #include <complex.h>
19018 int (*ptr)() = (int (*)())fabsl;
19027 if ac_fn_c_try_link "$LINENO"; then :
19028 gcc_cv_math_func_fabsl=yes
19030 gcc_cv_math_func_fabsl=no
19032 rm -f core conftest.err conftest.$ac_objext \
19033 conftest$ac_exeext conftest.$ac_ext
19035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19036 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19037 if test $gcc_cv_math_func_fabsl = yes; then
19039 cat >>confdefs.h <<_ACEOF
19040 #define HAVE_FABSL 1
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19049 $as_echo_n "checking for cabsf... " >&6; }
19050 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19051 $as_echo_n "(cached) " >&6
19053 if test x$gcc_no_link = xyes; then
19054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19059 #ifdef HAVE_COMPLEX_H
19060 #include <complex.h>
19066 int (*ptr)() = (int (*)())cabsf;
19075 if ac_fn_c_try_link "$LINENO"; then :
19076 gcc_cv_math_func_cabsf=yes
19078 gcc_cv_math_func_cabsf=no
19080 rm -f core conftest.err conftest.$ac_objext \
19081 conftest$ac_exeext conftest.$ac_ext
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19084 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19085 if test $gcc_cv_math_func_cabsf = yes; then
19087 cat >>confdefs.h <<_ACEOF
19088 #define HAVE_CABSF 1
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19097 $as_echo_n "checking for cabs... " >&6; }
19098 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19099 $as_echo_n "(cached) " >&6
19101 if test x$gcc_no_link = xyes; then
19102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19105 /* end confdefs.h. */
19107 #ifdef HAVE_COMPLEX_H
19108 #include <complex.h>
19114 int (*ptr)() = (int (*)())cabs;
19123 if ac_fn_c_try_link "$LINENO"; then :
19124 gcc_cv_math_func_cabs=yes
19126 gcc_cv_math_func_cabs=no
19128 rm -f core conftest.err conftest.$ac_objext \
19129 conftest$ac_exeext conftest.$ac_ext
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19132 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19133 if test $gcc_cv_math_func_cabs = yes; then
19135 cat >>confdefs.h <<_ACEOF
19136 #define HAVE_CABS 1
19144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19145 $as_echo_n "checking for cabsl... " >&6; }
19146 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19147 $as_echo_n "(cached) " >&6
19149 if test x$gcc_no_link = xyes; then
19150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19153 /* end confdefs.h. */
19155 #ifdef HAVE_COMPLEX_H
19156 #include <complex.h>
19162 int (*ptr)() = (int (*)())cabsl;
19171 if ac_fn_c_try_link "$LINENO"; then :
19172 gcc_cv_math_func_cabsl=yes
19174 gcc_cv_math_func_cabsl=no
19176 rm -f core conftest.err conftest.$ac_objext \
19177 conftest$ac_exeext conftest.$ac_ext
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19180 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19181 if test $gcc_cv_math_func_cabsl = yes; then
19183 cat >>confdefs.h <<_ACEOF
19184 #define HAVE_CABSL 1
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19193 $as_echo_n "checking for floorf... " >&6; }
19194 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19195 $as_echo_n "(cached) " >&6
19197 if test x$gcc_no_link = xyes; then
19198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19201 /* end confdefs.h. */
19203 #ifdef HAVE_COMPLEX_H
19204 #include <complex.h>
19210 int (*ptr)() = (int (*)())floorf;
19219 if ac_fn_c_try_link "$LINENO"; then :
19220 gcc_cv_math_func_floorf=yes
19222 gcc_cv_math_func_floorf=no
19224 rm -f core conftest.err conftest.$ac_objext \
19225 conftest$ac_exeext conftest.$ac_ext
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19228 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19229 if test $gcc_cv_math_func_floorf = yes; then
19231 cat >>confdefs.h <<_ACEOF
19232 #define HAVE_FLOORF 1
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19241 $as_echo_n "checking for floor... " >&6; }
19242 if test "${gcc_cv_math_func_floor+set}" = set; then :
19243 $as_echo_n "(cached) " >&6
19245 if test x$gcc_no_link = xyes; then
19246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19249 /* end confdefs.h. */
19251 #ifdef HAVE_COMPLEX_H
19252 #include <complex.h>
19258 int (*ptr)() = (int (*)())floor;
19267 if ac_fn_c_try_link "$LINENO"; then :
19268 gcc_cv_math_func_floor=yes
19270 gcc_cv_math_func_floor=no
19272 rm -f core conftest.err conftest.$ac_objext \
19273 conftest$ac_exeext conftest.$ac_ext
19275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19276 $as_echo "$gcc_cv_math_func_floor" >&6; }
19277 if test $gcc_cv_math_func_floor = yes; then
19279 cat >>confdefs.h <<_ACEOF
19280 #define HAVE_FLOOR 1
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19289 $as_echo_n "checking for floorl... " >&6; }
19290 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19291 $as_echo_n "(cached) " >&6
19293 if test x$gcc_no_link = xyes; then
19294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19297 /* end confdefs.h. */
19299 #ifdef HAVE_COMPLEX_H
19300 #include <complex.h>
19306 int (*ptr)() = (int (*)())floorl;
19315 if ac_fn_c_try_link "$LINENO"; then :
19316 gcc_cv_math_func_floorl=yes
19318 gcc_cv_math_func_floorl=no
19320 rm -f core conftest.err conftest.$ac_objext \
19321 conftest$ac_exeext conftest.$ac_ext
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19324 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19325 if test $gcc_cv_math_func_floorl = yes; then
19327 cat >>confdefs.h <<_ACEOF
19328 #define HAVE_FLOORL 1
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19337 $as_echo_n "checking for fmodf... " >&6; }
19338 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19339 $as_echo_n "(cached) " >&6
19341 if test x$gcc_no_link = xyes; then
19342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19345 /* end confdefs.h. */
19347 #ifdef HAVE_COMPLEX_H
19348 #include <complex.h>
19354 int (*ptr)() = (int (*)())fmodf;
19363 if ac_fn_c_try_link "$LINENO"; then :
19364 gcc_cv_math_func_fmodf=yes
19366 gcc_cv_math_func_fmodf=no
19368 rm -f core conftest.err conftest.$ac_objext \
19369 conftest$ac_exeext conftest.$ac_ext
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19372 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19373 if test $gcc_cv_math_func_fmodf = yes; then
19375 cat >>confdefs.h <<_ACEOF
19376 #define HAVE_FMODF 1
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19385 $as_echo_n "checking for fmod... " >&6; }
19386 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19387 $as_echo_n "(cached) " >&6
19389 if test x$gcc_no_link = xyes; then
19390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19395 #ifdef HAVE_COMPLEX_H
19396 #include <complex.h>
19402 int (*ptr)() = (int (*)())fmod;
19411 if ac_fn_c_try_link "$LINENO"; then :
19412 gcc_cv_math_func_fmod=yes
19414 gcc_cv_math_func_fmod=no
19416 rm -f core conftest.err conftest.$ac_objext \
19417 conftest$ac_exeext conftest.$ac_ext
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19420 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19421 if test $gcc_cv_math_func_fmod = yes; then
19423 cat >>confdefs.h <<_ACEOF
19424 #define HAVE_FMOD 1
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19433 $as_echo_n "checking for fmodl... " >&6; }
19434 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19435 $as_echo_n "(cached) " >&6
19437 if test x$gcc_no_link = xyes; then
19438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441 /* end confdefs.h. */
19443 #ifdef HAVE_COMPLEX_H
19444 #include <complex.h>
19450 int (*ptr)() = (int (*)())fmodl;
19459 if ac_fn_c_try_link "$LINENO"; then :
19460 gcc_cv_math_func_fmodl=yes
19462 gcc_cv_math_func_fmodl=no
19464 rm -f core conftest.err conftest.$ac_objext \
19465 conftest$ac_exeext conftest.$ac_ext
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19468 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19469 if test $gcc_cv_math_func_fmodl = yes; then
19471 cat >>confdefs.h <<_ACEOF
19472 #define HAVE_FMODL 1
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19481 $as_echo_n "checking for frexpf... " >&6; }
19482 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19483 $as_echo_n "(cached) " >&6
19485 if test x$gcc_no_link = xyes; then
19486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19491 #ifdef HAVE_COMPLEX_H
19492 #include <complex.h>
19498 int (*ptr)() = (int (*)())frexpf;
19507 if ac_fn_c_try_link "$LINENO"; then :
19508 gcc_cv_math_func_frexpf=yes
19510 gcc_cv_math_func_frexpf=no
19512 rm -f core conftest.err conftest.$ac_objext \
19513 conftest$ac_exeext conftest.$ac_ext
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19516 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19517 if test $gcc_cv_math_func_frexpf = yes; then
19519 cat >>confdefs.h <<_ACEOF
19520 #define HAVE_FREXPF 1
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19529 $as_echo_n "checking for frexp... " >&6; }
19530 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19531 $as_echo_n "(cached) " >&6
19533 if test x$gcc_no_link = xyes; then
19534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19539 #ifdef HAVE_COMPLEX_H
19540 #include <complex.h>
19546 int (*ptr)() = (int (*)())frexp;
19555 if ac_fn_c_try_link "$LINENO"; then :
19556 gcc_cv_math_func_frexp=yes
19558 gcc_cv_math_func_frexp=no
19560 rm -f core conftest.err conftest.$ac_objext \
19561 conftest$ac_exeext conftest.$ac_ext
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19564 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19565 if test $gcc_cv_math_func_frexp = yes; then
19567 cat >>confdefs.h <<_ACEOF
19568 #define HAVE_FREXP 1
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19577 $as_echo_n "checking for frexpl... " >&6; }
19578 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19579 $as_echo_n "(cached) " >&6
19581 if test x$gcc_no_link = xyes; then
19582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19585 /* end confdefs.h. */
19587 #ifdef HAVE_COMPLEX_H
19588 #include <complex.h>
19594 int (*ptr)() = (int (*)())frexpl;
19603 if ac_fn_c_try_link "$LINENO"; then :
19604 gcc_cv_math_func_frexpl=yes
19606 gcc_cv_math_func_frexpl=no
19608 rm -f core conftest.err conftest.$ac_objext \
19609 conftest$ac_exeext conftest.$ac_ext
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19612 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19613 if test $gcc_cv_math_func_frexpl = yes; then
19615 cat >>confdefs.h <<_ACEOF
19616 #define HAVE_FREXPL 1
19624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19625 $as_echo_n "checking for hypotf... " >&6; }
19626 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19627 $as_echo_n "(cached) " >&6
19629 if test x$gcc_no_link = xyes; then
19630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19633 /* end confdefs.h. */
19635 #ifdef HAVE_COMPLEX_H
19636 #include <complex.h>
19642 int (*ptr)() = (int (*)())hypotf;
19651 if ac_fn_c_try_link "$LINENO"; then :
19652 gcc_cv_math_func_hypotf=yes
19654 gcc_cv_math_func_hypotf=no
19656 rm -f core conftest.err conftest.$ac_objext \
19657 conftest$ac_exeext conftest.$ac_ext
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19660 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19661 if test $gcc_cv_math_func_hypotf = yes; then
19663 cat >>confdefs.h <<_ACEOF
19664 #define HAVE_HYPOTF 1
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19673 $as_echo_n "checking for hypot... " >&6; }
19674 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19675 $as_echo_n "(cached) " >&6
19677 if test x$gcc_no_link = xyes; then
19678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h. */
19683 #ifdef HAVE_COMPLEX_H
19684 #include <complex.h>
19690 int (*ptr)() = (int (*)())hypot;
19699 if ac_fn_c_try_link "$LINENO"; then :
19700 gcc_cv_math_func_hypot=yes
19702 gcc_cv_math_func_hypot=no
19704 rm -f core conftest.err conftest.$ac_objext \
19705 conftest$ac_exeext conftest.$ac_ext
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19708 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19709 if test $gcc_cv_math_func_hypot = yes; then
19711 cat >>confdefs.h <<_ACEOF
19712 #define HAVE_HYPOT 1
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19721 $as_echo_n "checking for hypotl... " >&6; }
19722 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19723 $as_echo_n "(cached) " >&6
19725 if test x$gcc_no_link = xyes; then
19726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19731 #ifdef HAVE_COMPLEX_H
19732 #include <complex.h>
19738 int (*ptr)() = (int (*)())hypotl;
19747 if ac_fn_c_try_link "$LINENO"; then :
19748 gcc_cv_math_func_hypotl=yes
19750 gcc_cv_math_func_hypotl=no
19752 rm -f core conftest.err conftest.$ac_objext \
19753 conftest$ac_exeext conftest.$ac_ext
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19756 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19757 if test $gcc_cv_math_func_hypotl = yes; then
19759 cat >>confdefs.h <<_ACEOF
19760 #define HAVE_HYPOTL 1
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19769 $as_echo_n "checking for ldexpf... " >&6; }
19770 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19771 $as_echo_n "(cached) " >&6
19773 if test x$gcc_no_link = xyes; then
19774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19777 /* end confdefs.h. */
19779 #ifdef HAVE_COMPLEX_H
19780 #include <complex.h>
19786 int (*ptr)() = (int (*)())ldexpf;
19795 if ac_fn_c_try_link "$LINENO"; then :
19796 gcc_cv_math_func_ldexpf=yes
19798 gcc_cv_math_func_ldexpf=no
19800 rm -f core conftest.err conftest.$ac_objext \
19801 conftest$ac_exeext conftest.$ac_ext
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19804 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19805 if test $gcc_cv_math_func_ldexpf = yes; then
19807 cat >>confdefs.h <<_ACEOF
19808 #define HAVE_LDEXPF 1
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19817 $as_echo_n "checking for ldexp... " >&6; }
19818 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19819 $as_echo_n "(cached) " >&6
19821 if test x$gcc_no_link = xyes; then
19822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h. */
19827 #ifdef HAVE_COMPLEX_H
19828 #include <complex.h>
19834 int (*ptr)() = (int (*)())ldexp;
19843 if ac_fn_c_try_link "$LINENO"; then :
19844 gcc_cv_math_func_ldexp=yes
19846 gcc_cv_math_func_ldexp=no
19848 rm -f core conftest.err conftest.$ac_objext \
19849 conftest$ac_exeext conftest.$ac_ext
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19852 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19853 if test $gcc_cv_math_func_ldexp = yes; then
19855 cat >>confdefs.h <<_ACEOF
19856 #define HAVE_LDEXP 1
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19865 $as_echo_n "checking for ldexpl... " >&6; }
19866 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19867 $as_echo_n "(cached) " >&6
19869 if test x$gcc_no_link = xyes; then
19870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19875 #ifdef HAVE_COMPLEX_H
19876 #include <complex.h>
19882 int (*ptr)() = (int (*)())ldexpl;
19891 if ac_fn_c_try_link "$LINENO"; then :
19892 gcc_cv_math_func_ldexpl=yes
19894 gcc_cv_math_func_ldexpl=no
19896 rm -f core conftest.err conftest.$ac_objext \
19897 conftest$ac_exeext conftest.$ac_ext
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
19900 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
19901 if test $gcc_cv_math_func_ldexpl = yes; then
19903 cat >>confdefs.h <<_ACEOF
19904 #define HAVE_LDEXPL 1
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
19913 $as_echo_n "checking for logf... " >&6; }
19914 if test "${gcc_cv_math_func_logf+set}" = set; then :
19915 $as_echo_n "(cached) " >&6
19917 if test x$gcc_no_link = xyes; then
19918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19923 #ifdef HAVE_COMPLEX_H
19924 #include <complex.h>
19930 int (*ptr)() = (int (*)())logf;
19939 if ac_fn_c_try_link "$LINENO"; then :
19940 gcc_cv_math_func_logf=yes
19942 gcc_cv_math_func_logf=no
19944 rm -f core conftest.err conftest.$ac_objext \
19945 conftest$ac_exeext conftest.$ac_ext
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
19948 $as_echo "$gcc_cv_math_func_logf" >&6; }
19949 if test $gcc_cv_math_func_logf = yes; then
19951 cat >>confdefs.h <<_ACEOF
19952 #define HAVE_LOGF 1
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
19961 $as_echo_n "checking for log... " >&6; }
19962 if test "${gcc_cv_math_func_log+set}" = set; then :
19963 $as_echo_n "(cached) " >&6
19965 if test x$gcc_no_link = xyes; then
19966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19969 /* end confdefs.h. */
19971 #ifdef HAVE_COMPLEX_H
19972 #include <complex.h>
19978 int (*ptr)() = (int (*)())log;
19987 if ac_fn_c_try_link "$LINENO"; then :
19988 gcc_cv_math_func_log=yes
19990 gcc_cv_math_func_log=no
19992 rm -f core conftest.err conftest.$ac_objext \
19993 conftest$ac_exeext conftest.$ac_ext
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
19996 $as_echo "$gcc_cv_math_func_log" >&6; }
19997 if test $gcc_cv_math_func_log = yes; then
19999 cat >>confdefs.h <<_ACEOF
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20009 $as_echo_n "checking for logl... " >&6; }
20010 if test "${gcc_cv_math_func_logl+set}" = set; then :
20011 $as_echo_n "(cached) " >&6
20013 if test x$gcc_no_link = xyes; then
20014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20017 /* end confdefs.h. */
20019 #ifdef HAVE_COMPLEX_H
20020 #include <complex.h>
20026 int (*ptr)() = (int (*)())logl;
20035 if ac_fn_c_try_link "$LINENO"; then :
20036 gcc_cv_math_func_logl=yes
20038 gcc_cv_math_func_logl=no
20040 rm -f core conftest.err conftest.$ac_objext \
20041 conftest$ac_exeext conftest.$ac_ext
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20044 $as_echo "$gcc_cv_math_func_logl" >&6; }
20045 if test $gcc_cv_math_func_logl = yes; then
20047 cat >>confdefs.h <<_ACEOF
20048 #define HAVE_LOGL 1
20056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20057 $as_echo_n "checking for clogf... " >&6; }
20058 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20059 $as_echo_n "(cached) " >&6
20061 if test x$gcc_no_link = xyes; then
20062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20067 #ifdef HAVE_COMPLEX_H
20068 #include <complex.h>
20074 int (*ptr)() = (int (*)())clogf;
20083 if ac_fn_c_try_link "$LINENO"; then :
20084 gcc_cv_math_func_clogf=yes
20086 gcc_cv_math_func_clogf=no
20088 rm -f core conftest.err conftest.$ac_objext \
20089 conftest$ac_exeext conftest.$ac_ext
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20092 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20093 if test $gcc_cv_math_func_clogf = yes; then
20095 cat >>confdefs.h <<_ACEOF
20096 #define HAVE_CLOGF 1
20104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20105 $as_echo_n "checking for clog... " >&6; }
20106 if test "${gcc_cv_math_func_clog+set}" = set; then :
20107 $as_echo_n "(cached) " >&6
20109 if test x$gcc_no_link = xyes; then
20110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20113 /* end confdefs.h. */
20115 #ifdef HAVE_COMPLEX_H
20116 #include <complex.h>
20122 int (*ptr)() = (int (*)())clog;
20131 if ac_fn_c_try_link "$LINENO"; then :
20132 gcc_cv_math_func_clog=yes
20134 gcc_cv_math_func_clog=no
20136 rm -f core conftest.err conftest.$ac_objext \
20137 conftest$ac_exeext conftest.$ac_ext
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20140 $as_echo "$gcc_cv_math_func_clog" >&6; }
20141 if test $gcc_cv_math_func_clog = yes; then
20143 cat >>confdefs.h <<_ACEOF
20144 #define HAVE_CLOG 1
20152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20153 $as_echo_n "checking for clogl... " >&6; }
20154 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20155 $as_echo_n "(cached) " >&6
20157 if test x$gcc_no_link = xyes; then
20158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20163 #ifdef HAVE_COMPLEX_H
20164 #include <complex.h>
20170 int (*ptr)() = (int (*)())clogl;
20179 if ac_fn_c_try_link "$LINENO"; then :
20180 gcc_cv_math_func_clogl=yes
20182 gcc_cv_math_func_clogl=no
20184 rm -f core conftest.err conftest.$ac_objext \
20185 conftest$ac_exeext conftest.$ac_ext
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20188 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20189 if test $gcc_cv_math_func_clogl = yes; then
20191 cat >>confdefs.h <<_ACEOF
20192 #define HAVE_CLOGL 1
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20201 $as_echo_n "checking for log10f... " >&6; }
20202 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20203 $as_echo_n "(cached) " >&6
20205 if test x$gcc_no_link = xyes; then
20206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20209 /* end confdefs.h. */
20211 #ifdef HAVE_COMPLEX_H
20212 #include <complex.h>
20218 int (*ptr)() = (int (*)())log10f;
20227 if ac_fn_c_try_link "$LINENO"; then :
20228 gcc_cv_math_func_log10f=yes
20230 gcc_cv_math_func_log10f=no
20232 rm -f core conftest.err conftest.$ac_objext \
20233 conftest$ac_exeext conftest.$ac_ext
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20236 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20237 if test $gcc_cv_math_func_log10f = yes; then
20239 cat >>confdefs.h <<_ACEOF
20240 #define HAVE_LOG10F 1
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20249 $as_echo_n "checking for log10... " >&6; }
20250 if test "${gcc_cv_math_func_log10+set}" = set; then :
20251 $as_echo_n "(cached) " >&6
20253 if test x$gcc_no_link = xyes; then
20254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20257 /* end confdefs.h. */
20259 #ifdef HAVE_COMPLEX_H
20260 #include <complex.h>
20266 int (*ptr)() = (int (*)())log10;
20275 if ac_fn_c_try_link "$LINENO"; then :
20276 gcc_cv_math_func_log10=yes
20278 gcc_cv_math_func_log10=no
20280 rm -f core conftest.err conftest.$ac_objext \
20281 conftest$ac_exeext conftest.$ac_ext
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20284 $as_echo "$gcc_cv_math_func_log10" >&6; }
20285 if test $gcc_cv_math_func_log10 = yes; then
20287 cat >>confdefs.h <<_ACEOF
20288 #define HAVE_LOG10 1
20296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20297 $as_echo_n "checking for log10l... " >&6; }
20298 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20299 $as_echo_n "(cached) " >&6
20301 if test x$gcc_no_link = xyes; then
20302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20305 /* end confdefs.h. */
20307 #ifdef HAVE_COMPLEX_H
20308 #include <complex.h>
20314 int (*ptr)() = (int (*)())log10l;
20323 if ac_fn_c_try_link "$LINENO"; then :
20324 gcc_cv_math_func_log10l=yes
20326 gcc_cv_math_func_log10l=no
20328 rm -f core conftest.err conftest.$ac_objext \
20329 conftest$ac_exeext conftest.$ac_ext
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20332 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20333 if test $gcc_cv_math_func_log10l = yes; then
20335 cat >>confdefs.h <<_ACEOF
20336 #define HAVE_LOG10L 1
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20345 $as_echo_n "checking for clog10f... " >&6; }
20346 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20347 $as_echo_n "(cached) " >&6
20349 if test x$gcc_no_link = xyes; then
20350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20353 /* end confdefs.h. */
20355 #ifdef HAVE_COMPLEX_H
20356 #include <complex.h>
20362 int (*ptr)() = (int (*)())clog10f;
20371 if ac_fn_c_try_link "$LINENO"; then :
20372 gcc_cv_math_func_clog10f=yes
20374 gcc_cv_math_func_clog10f=no
20376 rm -f core conftest.err conftest.$ac_objext \
20377 conftest$ac_exeext conftest.$ac_ext
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20380 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20381 if test $gcc_cv_math_func_clog10f = yes; then
20383 cat >>confdefs.h <<_ACEOF
20384 #define HAVE_CLOG10F 1
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20393 $as_echo_n "checking for clog10... " >&6; }
20394 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20395 $as_echo_n "(cached) " >&6
20397 if test x$gcc_no_link = xyes; then
20398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20401 /* end confdefs.h. */
20403 #ifdef HAVE_COMPLEX_H
20404 #include <complex.h>
20410 int (*ptr)() = (int (*)())clog10;
20419 if ac_fn_c_try_link "$LINENO"; then :
20420 gcc_cv_math_func_clog10=yes
20422 gcc_cv_math_func_clog10=no
20424 rm -f core conftest.err conftest.$ac_objext \
20425 conftest$ac_exeext conftest.$ac_ext
20427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20428 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20429 if test $gcc_cv_math_func_clog10 = yes; then
20431 cat >>confdefs.h <<_ACEOF
20432 #define HAVE_CLOG10 1
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20441 $as_echo_n "checking for clog10l... " >&6; }
20442 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20443 $as_echo_n "(cached) " >&6
20445 if test x$gcc_no_link = xyes; then
20446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20449 /* end confdefs.h. */
20451 #ifdef HAVE_COMPLEX_H
20452 #include <complex.h>
20458 int (*ptr)() = (int (*)())clog10l;
20467 if ac_fn_c_try_link "$LINENO"; then :
20468 gcc_cv_math_func_clog10l=yes
20470 gcc_cv_math_func_clog10l=no
20472 rm -f core conftest.err conftest.$ac_objext \
20473 conftest$ac_exeext conftest.$ac_ext
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20476 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20477 if test $gcc_cv_math_func_clog10l = yes; then
20479 cat >>confdefs.h <<_ACEOF
20480 #define HAVE_CLOG10L 1
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20489 $as_echo_n "checking for nextafterf... " >&6; }
20490 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20491 $as_echo_n "(cached) " >&6
20493 if test x$gcc_no_link = xyes; then
20494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h. */
20499 #ifdef HAVE_COMPLEX_H
20500 #include <complex.h>
20506 int (*ptr)() = (int (*)())nextafterf;
20515 if ac_fn_c_try_link "$LINENO"; then :
20516 gcc_cv_math_func_nextafterf=yes
20518 gcc_cv_math_func_nextafterf=no
20520 rm -f core conftest.err conftest.$ac_objext \
20521 conftest$ac_exeext conftest.$ac_ext
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20524 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20525 if test $gcc_cv_math_func_nextafterf = yes; then
20527 cat >>confdefs.h <<_ACEOF
20528 #define HAVE_NEXTAFTERF 1
20536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20537 $as_echo_n "checking for nextafter... " >&6; }
20538 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20539 $as_echo_n "(cached) " >&6
20541 if test x$gcc_no_link = xyes; then
20542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20545 /* end confdefs.h. */
20547 #ifdef HAVE_COMPLEX_H
20548 #include <complex.h>
20554 int (*ptr)() = (int (*)())nextafter;
20563 if ac_fn_c_try_link "$LINENO"; then :
20564 gcc_cv_math_func_nextafter=yes
20566 gcc_cv_math_func_nextafter=no
20568 rm -f core conftest.err conftest.$ac_objext \
20569 conftest$ac_exeext conftest.$ac_ext
20571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20572 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20573 if test $gcc_cv_math_func_nextafter = yes; then
20575 cat >>confdefs.h <<_ACEOF
20576 #define HAVE_NEXTAFTER 1
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20585 $as_echo_n "checking for nextafterl... " >&6; }
20586 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20587 $as_echo_n "(cached) " >&6
20589 if test x$gcc_no_link = xyes; then
20590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20593 /* end confdefs.h. */
20595 #ifdef HAVE_COMPLEX_H
20596 #include <complex.h>
20602 int (*ptr)() = (int (*)())nextafterl;
20611 if ac_fn_c_try_link "$LINENO"; then :
20612 gcc_cv_math_func_nextafterl=yes
20614 gcc_cv_math_func_nextafterl=no
20616 rm -f core conftest.err conftest.$ac_objext \
20617 conftest$ac_exeext conftest.$ac_ext
20619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20620 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20621 if test $gcc_cv_math_func_nextafterl = yes; then
20623 cat >>confdefs.h <<_ACEOF
20624 #define HAVE_NEXTAFTERL 1
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20633 $as_echo_n "checking for powf... " >&6; }
20634 if test "${gcc_cv_math_func_powf+set}" = set; then :
20635 $as_echo_n "(cached) " >&6
20637 if test x$gcc_no_link = xyes; then
20638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20641 /* end confdefs.h. */
20643 #ifdef HAVE_COMPLEX_H
20644 #include <complex.h>
20650 int (*ptr)() = (int (*)())powf;
20659 if ac_fn_c_try_link "$LINENO"; then :
20660 gcc_cv_math_func_powf=yes
20662 gcc_cv_math_func_powf=no
20664 rm -f core conftest.err conftest.$ac_objext \
20665 conftest$ac_exeext conftest.$ac_ext
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20668 $as_echo "$gcc_cv_math_func_powf" >&6; }
20669 if test $gcc_cv_math_func_powf = yes; then
20671 cat >>confdefs.h <<_ACEOF
20672 #define HAVE_POWF 1
20680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20681 $as_echo_n "checking for pow... " >&6; }
20682 if test "${gcc_cv_math_func_pow+set}" = set; then :
20683 $as_echo_n "(cached) " >&6
20685 if test x$gcc_no_link = xyes; then
20686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20689 /* end confdefs.h. */
20691 #ifdef HAVE_COMPLEX_H
20692 #include <complex.h>
20698 int (*ptr)() = (int (*)())pow;
20707 if ac_fn_c_try_link "$LINENO"; then :
20708 gcc_cv_math_func_pow=yes
20710 gcc_cv_math_func_pow=no
20712 rm -f core conftest.err conftest.$ac_objext \
20713 conftest$ac_exeext conftest.$ac_ext
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20716 $as_echo "$gcc_cv_math_func_pow" >&6; }
20717 if test $gcc_cv_math_func_pow = yes; then
20719 cat >>confdefs.h <<_ACEOF
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20729 $as_echo_n "checking for powl... " >&6; }
20730 if test "${gcc_cv_math_func_powl+set}" = set; then :
20731 $as_echo_n "(cached) " >&6
20733 if test x$gcc_no_link = xyes; then
20734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20737 /* end confdefs.h. */
20739 #ifdef HAVE_COMPLEX_H
20740 #include <complex.h>
20746 int (*ptr)() = (int (*)())powl;
20755 if ac_fn_c_try_link "$LINENO"; then :
20756 gcc_cv_math_func_powl=yes
20758 gcc_cv_math_func_powl=no
20760 rm -f core conftest.err conftest.$ac_objext \
20761 conftest$ac_exeext conftest.$ac_ext
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20764 $as_echo "$gcc_cv_math_func_powl" >&6; }
20765 if test $gcc_cv_math_func_powl = yes; then
20767 cat >>confdefs.h <<_ACEOF
20768 #define HAVE_POWL 1
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20777 $as_echo_n "checking for cpowf... " >&6; }
20778 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20779 $as_echo_n "(cached) " >&6
20781 if test x$gcc_no_link = xyes; then
20782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20785 /* end confdefs.h. */
20787 #ifdef HAVE_COMPLEX_H
20788 #include <complex.h>
20794 int (*ptr)() = (int (*)())cpowf;
20803 if ac_fn_c_try_link "$LINENO"; then :
20804 gcc_cv_math_func_cpowf=yes
20806 gcc_cv_math_func_cpowf=no
20808 rm -f core conftest.err conftest.$ac_objext \
20809 conftest$ac_exeext conftest.$ac_ext
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20812 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20813 if test $gcc_cv_math_func_cpowf = yes; then
20815 cat >>confdefs.h <<_ACEOF
20816 #define HAVE_CPOWF 1
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20825 $as_echo_n "checking for cpow... " >&6; }
20826 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20827 $as_echo_n "(cached) " >&6
20829 if test x$gcc_no_link = xyes; then
20830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20833 /* end confdefs.h. */
20835 #ifdef HAVE_COMPLEX_H
20836 #include <complex.h>
20842 int (*ptr)() = (int (*)())cpow;
20851 if ac_fn_c_try_link "$LINENO"; then :
20852 gcc_cv_math_func_cpow=yes
20854 gcc_cv_math_func_cpow=no
20856 rm -f core conftest.err conftest.$ac_objext \
20857 conftest$ac_exeext conftest.$ac_ext
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20860 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20861 if test $gcc_cv_math_func_cpow = yes; then
20863 cat >>confdefs.h <<_ACEOF
20864 #define HAVE_CPOW 1
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20873 $as_echo_n "checking for cpowl... " >&6; }
20874 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20875 $as_echo_n "(cached) " >&6
20877 if test x$gcc_no_link = xyes; then
20878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20883 #ifdef HAVE_COMPLEX_H
20884 #include <complex.h>
20890 int (*ptr)() = (int (*)())cpowl;
20899 if ac_fn_c_try_link "$LINENO"; then :
20900 gcc_cv_math_func_cpowl=yes
20902 gcc_cv_math_func_cpowl=no
20904 rm -f core conftest.err conftest.$ac_objext \
20905 conftest$ac_exeext conftest.$ac_ext
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
20908 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
20909 if test $gcc_cv_math_func_cpowl = yes; then
20911 cat >>confdefs.h <<_ACEOF
20912 #define HAVE_CPOWL 1
20920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
20921 $as_echo_n "checking for roundf... " >&6; }
20922 if test "${gcc_cv_math_func_roundf+set}" = set; then :
20923 $as_echo_n "(cached) " >&6
20925 if test x$gcc_no_link = xyes; then
20926 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20929 /* end confdefs.h. */
20931 #ifdef HAVE_COMPLEX_H
20932 #include <complex.h>
20938 int (*ptr)() = (int (*)())roundf;
20947 if ac_fn_c_try_link "$LINENO"; then :
20948 gcc_cv_math_func_roundf=yes
20950 gcc_cv_math_func_roundf=no
20952 rm -f core conftest.err conftest.$ac_objext \
20953 conftest$ac_exeext conftest.$ac_ext
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
20956 $as_echo "$gcc_cv_math_func_roundf" >&6; }
20957 if test $gcc_cv_math_func_roundf = yes; then
20959 cat >>confdefs.h <<_ACEOF
20960 #define HAVE_ROUNDF 1
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
20969 $as_echo_n "checking for round... " >&6; }
20970 if test "${gcc_cv_math_func_round+set}" = set; then :
20971 $as_echo_n "(cached) " >&6
20973 if test x$gcc_no_link = xyes; then
20974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20977 /* end confdefs.h. */
20979 #ifdef HAVE_COMPLEX_H
20980 #include <complex.h>
20986 int (*ptr)() = (int (*)())round;
20995 if ac_fn_c_try_link "$LINENO"; then :
20996 gcc_cv_math_func_round=yes
20998 gcc_cv_math_func_round=no
21000 rm -f core conftest.err conftest.$ac_objext \
21001 conftest$ac_exeext conftest.$ac_ext
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21004 $as_echo "$gcc_cv_math_func_round" >&6; }
21005 if test $gcc_cv_math_func_round = yes; then
21007 cat >>confdefs.h <<_ACEOF
21008 #define HAVE_ROUND 1
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21017 $as_echo_n "checking for roundl... " >&6; }
21018 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21019 $as_echo_n "(cached) " >&6
21021 if test x$gcc_no_link = xyes; then
21022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21025 /* end confdefs.h. */
21027 #ifdef HAVE_COMPLEX_H
21028 #include <complex.h>
21034 int (*ptr)() = (int (*)())roundl;
21043 if ac_fn_c_try_link "$LINENO"; then :
21044 gcc_cv_math_func_roundl=yes
21046 gcc_cv_math_func_roundl=no
21048 rm -f core conftest.err conftest.$ac_objext \
21049 conftest$ac_exeext conftest.$ac_ext
21051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21052 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21053 if test $gcc_cv_math_func_roundl = yes; then
21055 cat >>confdefs.h <<_ACEOF
21056 #define HAVE_ROUNDL 1
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21065 $as_echo_n "checking for lroundf... " >&6; }
21066 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21067 $as_echo_n "(cached) " >&6
21069 if test x$gcc_no_link = xyes; then
21070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h. */
21075 #ifdef HAVE_COMPLEX_H
21076 #include <complex.h>
21082 int (*ptr)() = (int (*)())lroundf;
21091 if ac_fn_c_try_link "$LINENO"; then :
21092 gcc_cv_math_func_lroundf=yes
21094 gcc_cv_math_func_lroundf=no
21096 rm -f core conftest.err conftest.$ac_objext \
21097 conftest$ac_exeext conftest.$ac_ext
21099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21100 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21101 if test $gcc_cv_math_func_lroundf = yes; then
21103 cat >>confdefs.h <<_ACEOF
21104 #define HAVE_LROUNDF 1
21112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21113 $as_echo_n "checking for lround... " >&6; }
21114 if test "${gcc_cv_math_func_lround+set}" = set; then :
21115 $as_echo_n "(cached) " >&6
21117 if test x$gcc_no_link = xyes; then
21118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h. */
21123 #ifdef HAVE_COMPLEX_H
21124 #include <complex.h>
21130 int (*ptr)() = (int (*)())lround;
21139 if ac_fn_c_try_link "$LINENO"; then :
21140 gcc_cv_math_func_lround=yes
21142 gcc_cv_math_func_lround=no
21144 rm -f core conftest.err conftest.$ac_objext \
21145 conftest$ac_exeext conftest.$ac_ext
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21148 $as_echo "$gcc_cv_math_func_lround" >&6; }
21149 if test $gcc_cv_math_func_lround = yes; then
21151 cat >>confdefs.h <<_ACEOF
21152 #define HAVE_LROUND 1
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21161 $as_echo_n "checking for lroundl... " >&6; }
21162 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21163 $as_echo_n "(cached) " >&6
21165 if test x$gcc_no_link = xyes; then
21166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21169 /* end confdefs.h. */
21171 #ifdef HAVE_COMPLEX_H
21172 #include <complex.h>
21178 int (*ptr)() = (int (*)())lroundl;
21187 if ac_fn_c_try_link "$LINENO"; then :
21188 gcc_cv_math_func_lroundl=yes
21190 gcc_cv_math_func_lroundl=no
21192 rm -f core conftest.err conftest.$ac_objext \
21193 conftest$ac_exeext conftest.$ac_ext
21195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21196 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21197 if test $gcc_cv_math_func_lroundl = yes; then
21199 cat >>confdefs.h <<_ACEOF
21200 #define HAVE_LROUNDL 1
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21209 $as_echo_n "checking for llroundf... " >&6; }
21210 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21211 $as_echo_n "(cached) " >&6
21213 if test x$gcc_no_link = xyes; then
21214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21217 /* end confdefs.h. */
21219 #ifdef HAVE_COMPLEX_H
21220 #include <complex.h>
21226 int (*ptr)() = (int (*)())llroundf;
21235 if ac_fn_c_try_link "$LINENO"; then :
21236 gcc_cv_math_func_llroundf=yes
21238 gcc_cv_math_func_llroundf=no
21240 rm -f core conftest.err conftest.$ac_objext \
21241 conftest$ac_exeext conftest.$ac_ext
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21244 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21245 if test $gcc_cv_math_func_llroundf = yes; then
21247 cat >>confdefs.h <<_ACEOF
21248 #define HAVE_LLROUNDF 1
21256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21257 $as_echo_n "checking for llround... " >&6; }
21258 if test "${gcc_cv_math_func_llround+set}" = set; then :
21259 $as_echo_n "(cached) " >&6
21261 if test x$gcc_no_link = xyes; then
21262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21265 /* end confdefs.h. */
21267 #ifdef HAVE_COMPLEX_H
21268 #include <complex.h>
21274 int (*ptr)() = (int (*)())llround;
21283 if ac_fn_c_try_link "$LINENO"; then :
21284 gcc_cv_math_func_llround=yes
21286 gcc_cv_math_func_llround=no
21288 rm -f core conftest.err conftest.$ac_objext \
21289 conftest$ac_exeext conftest.$ac_ext
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21292 $as_echo "$gcc_cv_math_func_llround" >&6; }
21293 if test $gcc_cv_math_func_llround = yes; then
21295 cat >>confdefs.h <<_ACEOF
21296 #define HAVE_LLROUND 1
21304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21305 $as_echo_n "checking for llroundl... " >&6; }
21306 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21307 $as_echo_n "(cached) " >&6
21309 if test x$gcc_no_link = xyes; then
21310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21313 /* end confdefs.h. */
21315 #ifdef HAVE_COMPLEX_H
21316 #include <complex.h>
21322 int (*ptr)() = (int (*)())llroundl;
21331 if ac_fn_c_try_link "$LINENO"; then :
21332 gcc_cv_math_func_llroundl=yes
21334 gcc_cv_math_func_llroundl=no
21336 rm -f core conftest.err conftest.$ac_objext \
21337 conftest$ac_exeext conftest.$ac_ext
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21340 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21341 if test $gcc_cv_math_func_llroundl = yes; then
21343 cat >>confdefs.h <<_ACEOF
21344 #define HAVE_LLROUNDL 1
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21353 $as_echo_n "checking for scalbnf... " >&6; }
21354 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21355 $as_echo_n "(cached) " >&6
21357 if test x$gcc_no_link = xyes; then
21358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21361 /* end confdefs.h. */
21363 #ifdef HAVE_COMPLEX_H
21364 #include <complex.h>
21370 int (*ptr)() = (int (*)())scalbnf;
21379 if ac_fn_c_try_link "$LINENO"; then :
21380 gcc_cv_math_func_scalbnf=yes
21382 gcc_cv_math_func_scalbnf=no
21384 rm -f core conftest.err conftest.$ac_objext \
21385 conftest$ac_exeext conftest.$ac_ext
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21388 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21389 if test $gcc_cv_math_func_scalbnf = yes; then
21391 cat >>confdefs.h <<_ACEOF
21392 #define HAVE_SCALBNF 1
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21401 $as_echo_n "checking for scalbn... " >&6; }
21402 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21403 $as_echo_n "(cached) " >&6
21405 if test x$gcc_no_link = xyes; then
21406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21409 /* end confdefs.h. */
21411 #ifdef HAVE_COMPLEX_H
21412 #include <complex.h>
21418 int (*ptr)() = (int (*)())scalbn;
21427 if ac_fn_c_try_link "$LINENO"; then :
21428 gcc_cv_math_func_scalbn=yes
21430 gcc_cv_math_func_scalbn=no
21432 rm -f core conftest.err conftest.$ac_objext \
21433 conftest$ac_exeext conftest.$ac_ext
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21436 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21437 if test $gcc_cv_math_func_scalbn = yes; then
21439 cat >>confdefs.h <<_ACEOF
21440 #define HAVE_SCALBN 1
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21449 $as_echo_n "checking for scalbnl... " >&6; }
21450 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21451 $as_echo_n "(cached) " >&6
21453 if test x$gcc_no_link = xyes; then
21454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21457 /* end confdefs.h. */
21459 #ifdef HAVE_COMPLEX_H
21460 #include <complex.h>
21466 int (*ptr)() = (int (*)())scalbnl;
21475 if ac_fn_c_try_link "$LINENO"; then :
21476 gcc_cv_math_func_scalbnl=yes
21478 gcc_cv_math_func_scalbnl=no
21480 rm -f core conftest.err conftest.$ac_objext \
21481 conftest$ac_exeext conftest.$ac_ext
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21484 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21485 if test $gcc_cv_math_func_scalbnl = yes; then
21487 cat >>confdefs.h <<_ACEOF
21488 #define HAVE_SCALBNL 1
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21497 $as_echo_n "checking for sinf... " >&6; }
21498 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21499 $as_echo_n "(cached) " >&6
21501 if test x$gcc_no_link = xyes; then
21502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21505 /* end confdefs.h. */
21507 #ifdef HAVE_COMPLEX_H
21508 #include <complex.h>
21514 int (*ptr)() = (int (*)())sinf;
21523 if ac_fn_c_try_link "$LINENO"; then :
21524 gcc_cv_math_func_sinf=yes
21526 gcc_cv_math_func_sinf=no
21528 rm -f core conftest.err conftest.$ac_objext \
21529 conftest$ac_exeext conftest.$ac_ext
21531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21532 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21533 if test $gcc_cv_math_func_sinf = yes; then
21535 cat >>confdefs.h <<_ACEOF
21536 #define HAVE_SINF 1
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21545 $as_echo_n "checking for sin... " >&6; }
21546 if test "${gcc_cv_math_func_sin+set}" = set; then :
21547 $as_echo_n "(cached) " >&6
21549 if test x$gcc_no_link = xyes; then
21550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21553 /* end confdefs.h. */
21555 #ifdef HAVE_COMPLEX_H
21556 #include <complex.h>
21562 int (*ptr)() = (int (*)())sin;
21571 if ac_fn_c_try_link "$LINENO"; then :
21572 gcc_cv_math_func_sin=yes
21574 gcc_cv_math_func_sin=no
21576 rm -f core conftest.err conftest.$ac_objext \
21577 conftest$ac_exeext conftest.$ac_ext
21579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21580 $as_echo "$gcc_cv_math_func_sin" >&6; }
21581 if test $gcc_cv_math_func_sin = yes; then
21583 cat >>confdefs.h <<_ACEOF
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21593 $as_echo_n "checking for sinl... " >&6; }
21594 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21595 $as_echo_n "(cached) " >&6
21597 if test x$gcc_no_link = xyes; then
21598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21601 /* end confdefs.h. */
21603 #ifdef HAVE_COMPLEX_H
21604 #include <complex.h>
21610 int (*ptr)() = (int (*)())sinl;
21619 if ac_fn_c_try_link "$LINENO"; then :
21620 gcc_cv_math_func_sinl=yes
21622 gcc_cv_math_func_sinl=no
21624 rm -f core conftest.err conftest.$ac_objext \
21625 conftest$ac_exeext conftest.$ac_ext
21627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21628 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21629 if test $gcc_cv_math_func_sinl = yes; then
21631 cat >>confdefs.h <<_ACEOF
21632 #define HAVE_SINL 1
21640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21641 $as_echo_n "checking for csinf... " >&6; }
21642 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21643 $as_echo_n "(cached) " >&6
21645 if test x$gcc_no_link = xyes; then
21646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21649 /* end confdefs.h. */
21651 #ifdef HAVE_COMPLEX_H
21652 #include <complex.h>
21658 int (*ptr)() = (int (*)())csinf;
21667 if ac_fn_c_try_link "$LINENO"; then :
21668 gcc_cv_math_func_csinf=yes
21670 gcc_cv_math_func_csinf=no
21672 rm -f core conftest.err conftest.$ac_objext \
21673 conftest$ac_exeext conftest.$ac_ext
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21676 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21677 if test $gcc_cv_math_func_csinf = yes; then
21679 cat >>confdefs.h <<_ACEOF
21680 #define HAVE_CSINF 1
21688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21689 $as_echo_n "checking for csin... " >&6; }
21690 if test "${gcc_cv_math_func_csin+set}" = set; then :
21691 $as_echo_n "(cached) " >&6
21693 if test x$gcc_no_link = xyes; then
21694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21697 /* end confdefs.h. */
21699 #ifdef HAVE_COMPLEX_H
21700 #include <complex.h>
21706 int (*ptr)() = (int (*)())csin;
21715 if ac_fn_c_try_link "$LINENO"; then :
21716 gcc_cv_math_func_csin=yes
21718 gcc_cv_math_func_csin=no
21720 rm -f core conftest.err conftest.$ac_objext \
21721 conftest$ac_exeext conftest.$ac_ext
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21724 $as_echo "$gcc_cv_math_func_csin" >&6; }
21725 if test $gcc_cv_math_func_csin = yes; then
21727 cat >>confdefs.h <<_ACEOF
21728 #define HAVE_CSIN 1
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21737 $as_echo_n "checking for csinl... " >&6; }
21738 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21739 $as_echo_n "(cached) " >&6
21741 if test x$gcc_no_link = xyes; then
21742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21745 /* end confdefs.h. */
21747 #ifdef HAVE_COMPLEX_H
21748 #include <complex.h>
21754 int (*ptr)() = (int (*)())csinl;
21763 if ac_fn_c_try_link "$LINENO"; then :
21764 gcc_cv_math_func_csinl=yes
21766 gcc_cv_math_func_csinl=no
21768 rm -f core conftest.err conftest.$ac_objext \
21769 conftest$ac_exeext conftest.$ac_ext
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21772 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21773 if test $gcc_cv_math_func_csinl = yes; then
21775 cat >>confdefs.h <<_ACEOF
21776 #define HAVE_CSINL 1
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21785 $as_echo_n "checking for sinhf... " >&6; }
21786 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21787 $as_echo_n "(cached) " >&6
21789 if test x$gcc_no_link = xyes; then
21790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21793 /* end confdefs.h. */
21795 #ifdef HAVE_COMPLEX_H
21796 #include <complex.h>
21802 int (*ptr)() = (int (*)())sinhf;
21811 if ac_fn_c_try_link "$LINENO"; then :
21812 gcc_cv_math_func_sinhf=yes
21814 gcc_cv_math_func_sinhf=no
21816 rm -f core conftest.err conftest.$ac_objext \
21817 conftest$ac_exeext conftest.$ac_ext
21819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21820 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21821 if test $gcc_cv_math_func_sinhf = yes; then
21823 cat >>confdefs.h <<_ACEOF
21824 #define HAVE_SINHF 1
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21833 $as_echo_n "checking for sinh... " >&6; }
21834 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21835 $as_echo_n "(cached) " >&6
21837 if test x$gcc_no_link = xyes; then
21838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21841 /* end confdefs.h. */
21843 #ifdef HAVE_COMPLEX_H
21844 #include <complex.h>
21850 int (*ptr)() = (int (*)())sinh;
21859 if ac_fn_c_try_link "$LINENO"; then :
21860 gcc_cv_math_func_sinh=yes
21862 gcc_cv_math_func_sinh=no
21864 rm -f core conftest.err conftest.$ac_objext \
21865 conftest$ac_exeext conftest.$ac_ext
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21868 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21869 if test $gcc_cv_math_func_sinh = yes; then
21871 cat >>confdefs.h <<_ACEOF
21872 #define HAVE_SINH 1
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21881 $as_echo_n "checking for sinhl... " >&6; }
21882 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21883 $as_echo_n "(cached) " >&6
21885 if test x$gcc_no_link = xyes; then
21886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21889 /* end confdefs.h. */
21891 #ifdef HAVE_COMPLEX_H
21892 #include <complex.h>
21898 int (*ptr)() = (int (*)())sinhl;
21907 if ac_fn_c_try_link "$LINENO"; then :
21908 gcc_cv_math_func_sinhl=yes
21910 gcc_cv_math_func_sinhl=no
21912 rm -f core conftest.err conftest.$ac_objext \
21913 conftest$ac_exeext conftest.$ac_ext
21915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
21916 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
21917 if test $gcc_cv_math_func_sinhl = yes; then
21919 cat >>confdefs.h <<_ACEOF
21920 #define HAVE_SINHL 1
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
21929 $as_echo_n "checking for csinhf... " >&6; }
21930 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
21931 $as_echo_n "(cached) " >&6
21933 if test x$gcc_no_link = xyes; then
21934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21937 /* end confdefs.h. */
21939 #ifdef HAVE_COMPLEX_H
21940 #include <complex.h>
21946 int (*ptr)() = (int (*)())csinhf;
21955 if ac_fn_c_try_link "$LINENO"; then :
21956 gcc_cv_math_func_csinhf=yes
21958 gcc_cv_math_func_csinhf=no
21960 rm -f core conftest.err conftest.$ac_objext \
21961 conftest$ac_exeext conftest.$ac_ext
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
21964 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
21965 if test $gcc_cv_math_func_csinhf = yes; then
21967 cat >>confdefs.h <<_ACEOF
21968 #define HAVE_CSINHF 1
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
21977 $as_echo_n "checking for csinh... " >&6; }
21978 if test "${gcc_cv_math_func_csinh+set}" = set; then :
21979 $as_echo_n "(cached) " >&6
21981 if test x$gcc_no_link = xyes; then
21982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21985 /* end confdefs.h. */
21987 #ifdef HAVE_COMPLEX_H
21988 #include <complex.h>
21994 int (*ptr)() = (int (*)())csinh;
22003 if ac_fn_c_try_link "$LINENO"; then :
22004 gcc_cv_math_func_csinh=yes
22006 gcc_cv_math_func_csinh=no
22008 rm -f core conftest.err conftest.$ac_objext \
22009 conftest$ac_exeext conftest.$ac_ext
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22012 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22013 if test $gcc_cv_math_func_csinh = yes; then
22015 cat >>confdefs.h <<_ACEOF
22016 #define HAVE_CSINH 1
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22025 $as_echo_n "checking for csinhl... " >&6; }
22026 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22027 $as_echo_n "(cached) " >&6
22029 if test x$gcc_no_link = xyes; then
22030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22033 /* end confdefs.h. */
22035 #ifdef HAVE_COMPLEX_H
22036 #include <complex.h>
22042 int (*ptr)() = (int (*)())csinhl;
22051 if ac_fn_c_try_link "$LINENO"; then :
22052 gcc_cv_math_func_csinhl=yes
22054 gcc_cv_math_func_csinhl=no
22056 rm -f core conftest.err conftest.$ac_objext \
22057 conftest$ac_exeext conftest.$ac_ext
22059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22060 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22061 if test $gcc_cv_math_func_csinhl = yes; then
22063 cat >>confdefs.h <<_ACEOF
22064 #define HAVE_CSINHL 1
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22073 $as_echo_n "checking for sqrtf... " >&6; }
22074 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22075 $as_echo_n "(cached) " >&6
22077 if test x$gcc_no_link = xyes; then
22078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22081 /* end confdefs.h. */
22083 #ifdef HAVE_COMPLEX_H
22084 #include <complex.h>
22090 int (*ptr)() = (int (*)())sqrtf;
22099 if ac_fn_c_try_link "$LINENO"; then :
22100 gcc_cv_math_func_sqrtf=yes
22102 gcc_cv_math_func_sqrtf=no
22104 rm -f core conftest.err conftest.$ac_objext \
22105 conftest$ac_exeext conftest.$ac_ext
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22108 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22109 if test $gcc_cv_math_func_sqrtf = yes; then
22111 cat >>confdefs.h <<_ACEOF
22112 #define HAVE_SQRTF 1
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22121 $as_echo_n "checking for sqrt... " >&6; }
22122 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22123 $as_echo_n "(cached) " >&6
22125 if test x$gcc_no_link = xyes; then
22126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22129 /* end confdefs.h. */
22131 #ifdef HAVE_COMPLEX_H
22132 #include <complex.h>
22138 int (*ptr)() = (int (*)())sqrt;
22147 if ac_fn_c_try_link "$LINENO"; then :
22148 gcc_cv_math_func_sqrt=yes
22150 gcc_cv_math_func_sqrt=no
22152 rm -f core conftest.err conftest.$ac_objext \
22153 conftest$ac_exeext conftest.$ac_ext
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22156 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22157 if test $gcc_cv_math_func_sqrt = yes; then
22159 cat >>confdefs.h <<_ACEOF
22160 #define HAVE_SQRT 1
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22169 $as_echo_n "checking for sqrtl... " >&6; }
22170 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22171 $as_echo_n "(cached) " >&6
22173 if test x$gcc_no_link = xyes; then
22174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22177 /* end confdefs.h. */
22179 #ifdef HAVE_COMPLEX_H
22180 #include <complex.h>
22186 int (*ptr)() = (int (*)())sqrtl;
22195 if ac_fn_c_try_link "$LINENO"; then :
22196 gcc_cv_math_func_sqrtl=yes
22198 gcc_cv_math_func_sqrtl=no
22200 rm -f core conftest.err conftest.$ac_objext \
22201 conftest$ac_exeext conftest.$ac_ext
22203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22204 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22205 if test $gcc_cv_math_func_sqrtl = yes; then
22207 cat >>confdefs.h <<_ACEOF
22208 #define HAVE_SQRTL 1
22216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22217 $as_echo_n "checking for csqrtf... " >&6; }
22218 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22219 $as_echo_n "(cached) " >&6
22221 if test x$gcc_no_link = xyes; then
22222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22225 /* end confdefs.h. */
22227 #ifdef HAVE_COMPLEX_H
22228 #include <complex.h>
22234 int (*ptr)() = (int (*)())csqrtf;
22243 if ac_fn_c_try_link "$LINENO"; then :
22244 gcc_cv_math_func_csqrtf=yes
22246 gcc_cv_math_func_csqrtf=no
22248 rm -f core conftest.err conftest.$ac_objext \
22249 conftest$ac_exeext conftest.$ac_ext
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22252 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22253 if test $gcc_cv_math_func_csqrtf = yes; then
22255 cat >>confdefs.h <<_ACEOF
22256 #define HAVE_CSQRTF 1
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22265 $as_echo_n "checking for csqrt... " >&6; }
22266 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22269 if test x$gcc_no_link = xyes; then
22270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22273 /* end confdefs.h. */
22275 #ifdef HAVE_COMPLEX_H
22276 #include <complex.h>
22282 int (*ptr)() = (int (*)())csqrt;
22291 if ac_fn_c_try_link "$LINENO"; then :
22292 gcc_cv_math_func_csqrt=yes
22294 gcc_cv_math_func_csqrt=no
22296 rm -f core conftest.err conftest.$ac_objext \
22297 conftest$ac_exeext conftest.$ac_ext
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22300 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22301 if test $gcc_cv_math_func_csqrt = yes; then
22303 cat >>confdefs.h <<_ACEOF
22304 #define HAVE_CSQRT 1
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22313 $as_echo_n "checking for csqrtl... " >&6; }
22314 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22315 $as_echo_n "(cached) " >&6
22317 if test x$gcc_no_link = xyes; then
22318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22321 /* end confdefs.h. */
22323 #ifdef HAVE_COMPLEX_H
22324 #include <complex.h>
22330 int (*ptr)() = (int (*)())csqrtl;
22339 if ac_fn_c_try_link "$LINENO"; then :
22340 gcc_cv_math_func_csqrtl=yes
22342 gcc_cv_math_func_csqrtl=no
22344 rm -f core conftest.err conftest.$ac_objext \
22345 conftest$ac_exeext conftest.$ac_ext
22347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22348 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22349 if test $gcc_cv_math_func_csqrtl = yes; then
22351 cat >>confdefs.h <<_ACEOF
22352 #define HAVE_CSQRTL 1
22360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22361 $as_echo_n "checking for tanf... " >&6; }
22362 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22363 $as_echo_n "(cached) " >&6
22365 if test x$gcc_no_link = xyes; then
22366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22369 /* end confdefs.h. */
22371 #ifdef HAVE_COMPLEX_H
22372 #include <complex.h>
22378 int (*ptr)() = (int (*)())tanf;
22387 if ac_fn_c_try_link "$LINENO"; then :
22388 gcc_cv_math_func_tanf=yes
22390 gcc_cv_math_func_tanf=no
22392 rm -f core conftest.err conftest.$ac_objext \
22393 conftest$ac_exeext conftest.$ac_ext
22395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22396 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22397 if test $gcc_cv_math_func_tanf = yes; then
22399 cat >>confdefs.h <<_ACEOF
22400 #define HAVE_TANF 1
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22409 $as_echo_n "checking for tan... " >&6; }
22410 if test "${gcc_cv_math_func_tan+set}" = set; then :
22411 $as_echo_n "(cached) " >&6
22413 if test x$gcc_no_link = xyes; then
22414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h. */
22419 #ifdef HAVE_COMPLEX_H
22420 #include <complex.h>
22426 int (*ptr)() = (int (*)())tan;
22435 if ac_fn_c_try_link "$LINENO"; then :
22436 gcc_cv_math_func_tan=yes
22438 gcc_cv_math_func_tan=no
22440 rm -f core conftest.err conftest.$ac_objext \
22441 conftest$ac_exeext conftest.$ac_ext
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22444 $as_echo "$gcc_cv_math_func_tan" >&6; }
22445 if test $gcc_cv_math_func_tan = yes; then
22447 cat >>confdefs.h <<_ACEOF
22456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22457 $as_echo_n "checking for tanl... " >&6; }
22458 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22459 $as_echo_n "(cached) " >&6
22461 if test x$gcc_no_link = xyes; then
22462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22465 /* end confdefs.h. */
22467 #ifdef HAVE_COMPLEX_H
22468 #include <complex.h>
22474 int (*ptr)() = (int (*)())tanl;
22483 if ac_fn_c_try_link "$LINENO"; then :
22484 gcc_cv_math_func_tanl=yes
22486 gcc_cv_math_func_tanl=no
22488 rm -f core conftest.err conftest.$ac_objext \
22489 conftest$ac_exeext conftest.$ac_ext
22491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22492 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22493 if test $gcc_cv_math_func_tanl = yes; then
22495 cat >>confdefs.h <<_ACEOF
22496 #define HAVE_TANL 1
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22505 $as_echo_n "checking for ctanf... " >&6; }
22506 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22507 $as_echo_n "(cached) " >&6
22509 if test x$gcc_no_link = xyes; then
22510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22513 /* end confdefs.h. */
22515 #ifdef HAVE_COMPLEX_H
22516 #include <complex.h>
22522 int (*ptr)() = (int (*)())ctanf;
22531 if ac_fn_c_try_link "$LINENO"; then :
22532 gcc_cv_math_func_ctanf=yes
22534 gcc_cv_math_func_ctanf=no
22536 rm -f core conftest.err conftest.$ac_objext \
22537 conftest$ac_exeext conftest.$ac_ext
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22540 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22541 if test $gcc_cv_math_func_ctanf = yes; then
22543 cat >>confdefs.h <<_ACEOF
22544 #define HAVE_CTANF 1
22552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22553 $as_echo_n "checking for ctan... " >&6; }
22554 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22555 $as_echo_n "(cached) " >&6
22557 if test x$gcc_no_link = xyes; then
22558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22561 /* end confdefs.h. */
22563 #ifdef HAVE_COMPLEX_H
22564 #include <complex.h>
22570 int (*ptr)() = (int (*)())ctan;
22579 if ac_fn_c_try_link "$LINENO"; then :
22580 gcc_cv_math_func_ctan=yes
22582 gcc_cv_math_func_ctan=no
22584 rm -f core conftest.err conftest.$ac_objext \
22585 conftest$ac_exeext conftest.$ac_ext
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22588 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22589 if test $gcc_cv_math_func_ctan = yes; then
22591 cat >>confdefs.h <<_ACEOF
22592 #define HAVE_CTAN 1
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22601 $as_echo_n "checking for ctanl... " >&6; }
22602 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22603 $as_echo_n "(cached) " >&6
22605 if test x$gcc_no_link = xyes; then
22606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22609 /* end confdefs.h. */
22611 #ifdef HAVE_COMPLEX_H
22612 #include <complex.h>
22618 int (*ptr)() = (int (*)())ctanl;
22627 if ac_fn_c_try_link "$LINENO"; then :
22628 gcc_cv_math_func_ctanl=yes
22630 gcc_cv_math_func_ctanl=no
22632 rm -f core conftest.err conftest.$ac_objext \
22633 conftest$ac_exeext conftest.$ac_ext
22635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22636 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22637 if test $gcc_cv_math_func_ctanl = yes; then
22639 cat >>confdefs.h <<_ACEOF
22640 #define HAVE_CTANL 1
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22649 $as_echo_n "checking for tanhf... " >&6; }
22650 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22651 $as_echo_n "(cached) " >&6
22653 if test x$gcc_no_link = xyes; then
22654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22657 /* end confdefs.h. */
22659 #ifdef HAVE_COMPLEX_H
22660 #include <complex.h>
22666 int (*ptr)() = (int (*)())tanhf;
22675 if ac_fn_c_try_link "$LINENO"; then :
22676 gcc_cv_math_func_tanhf=yes
22678 gcc_cv_math_func_tanhf=no
22680 rm -f core conftest.err conftest.$ac_objext \
22681 conftest$ac_exeext conftest.$ac_ext
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22684 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22685 if test $gcc_cv_math_func_tanhf = yes; then
22687 cat >>confdefs.h <<_ACEOF
22688 #define HAVE_TANHF 1
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22697 $as_echo_n "checking for tanh... " >&6; }
22698 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22699 $as_echo_n "(cached) " >&6
22701 if test x$gcc_no_link = xyes; then
22702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22705 /* end confdefs.h. */
22707 #ifdef HAVE_COMPLEX_H
22708 #include <complex.h>
22714 int (*ptr)() = (int (*)())tanh;
22723 if ac_fn_c_try_link "$LINENO"; then :
22724 gcc_cv_math_func_tanh=yes
22726 gcc_cv_math_func_tanh=no
22728 rm -f core conftest.err conftest.$ac_objext \
22729 conftest$ac_exeext conftest.$ac_ext
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22732 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22733 if test $gcc_cv_math_func_tanh = yes; then
22735 cat >>confdefs.h <<_ACEOF
22736 #define HAVE_TANH 1
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22745 $as_echo_n "checking for tanhl... " >&6; }
22746 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22747 $as_echo_n "(cached) " >&6
22749 if test x$gcc_no_link = xyes; then
22750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22753 /* end confdefs.h. */
22755 #ifdef HAVE_COMPLEX_H
22756 #include <complex.h>
22762 int (*ptr)() = (int (*)())tanhl;
22771 if ac_fn_c_try_link "$LINENO"; then :
22772 gcc_cv_math_func_tanhl=yes
22774 gcc_cv_math_func_tanhl=no
22776 rm -f core conftest.err conftest.$ac_objext \
22777 conftest$ac_exeext conftest.$ac_ext
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22780 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22781 if test $gcc_cv_math_func_tanhl = yes; then
22783 cat >>confdefs.h <<_ACEOF
22784 #define HAVE_TANHL 1
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22793 $as_echo_n "checking for ctanhf... " >&6; }
22794 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22795 $as_echo_n "(cached) " >&6
22797 if test x$gcc_no_link = xyes; then
22798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22801 /* end confdefs.h. */
22803 #ifdef HAVE_COMPLEX_H
22804 #include <complex.h>
22810 int (*ptr)() = (int (*)())ctanhf;
22819 if ac_fn_c_try_link "$LINENO"; then :
22820 gcc_cv_math_func_ctanhf=yes
22822 gcc_cv_math_func_ctanhf=no
22824 rm -f core conftest.err conftest.$ac_objext \
22825 conftest$ac_exeext conftest.$ac_ext
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22828 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22829 if test $gcc_cv_math_func_ctanhf = yes; then
22831 cat >>confdefs.h <<_ACEOF
22832 #define HAVE_CTANHF 1
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22841 $as_echo_n "checking for ctanh... " >&6; }
22842 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22843 $as_echo_n "(cached) " >&6
22845 if test x$gcc_no_link = xyes; then
22846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22849 /* end confdefs.h. */
22851 #ifdef HAVE_COMPLEX_H
22852 #include <complex.h>
22858 int (*ptr)() = (int (*)())ctanh;
22867 if ac_fn_c_try_link "$LINENO"; then :
22868 gcc_cv_math_func_ctanh=yes
22870 gcc_cv_math_func_ctanh=no
22872 rm -f core conftest.err conftest.$ac_objext \
22873 conftest$ac_exeext conftest.$ac_ext
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22876 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22877 if test $gcc_cv_math_func_ctanh = yes; then
22879 cat >>confdefs.h <<_ACEOF
22880 #define HAVE_CTANH 1
22888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
22889 $as_echo_n "checking for ctanhl... " >&6; }
22890 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
22891 $as_echo_n "(cached) " >&6
22893 if test x$gcc_no_link = xyes; then
22894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22897 /* end confdefs.h. */
22899 #ifdef HAVE_COMPLEX_H
22900 #include <complex.h>
22906 int (*ptr)() = (int (*)())ctanhl;
22915 if ac_fn_c_try_link "$LINENO"; then :
22916 gcc_cv_math_func_ctanhl=yes
22918 gcc_cv_math_func_ctanhl=no
22920 rm -f core conftest.err conftest.$ac_objext \
22921 conftest$ac_exeext conftest.$ac_ext
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
22924 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
22925 if test $gcc_cv_math_func_ctanhl = yes; then
22927 cat >>confdefs.h <<_ACEOF
22928 #define HAVE_CTANHL 1
22936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
22937 $as_echo_n "checking for truncf... " >&6; }
22938 if test "${gcc_cv_math_func_truncf+set}" = set; then :
22939 $as_echo_n "(cached) " >&6
22941 if test x$gcc_no_link = xyes; then
22942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22945 /* end confdefs.h. */
22947 #ifdef HAVE_COMPLEX_H
22948 #include <complex.h>
22954 int (*ptr)() = (int (*)())truncf;
22963 if ac_fn_c_try_link "$LINENO"; then :
22964 gcc_cv_math_func_truncf=yes
22966 gcc_cv_math_func_truncf=no
22968 rm -f core conftest.err conftest.$ac_objext \
22969 conftest$ac_exeext conftest.$ac_ext
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
22972 $as_echo "$gcc_cv_math_func_truncf" >&6; }
22973 if test $gcc_cv_math_func_truncf = yes; then
22975 cat >>confdefs.h <<_ACEOF
22976 #define HAVE_TRUNCF 1
22984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
22985 $as_echo_n "checking for trunc... " >&6; }
22986 if test "${gcc_cv_math_func_trunc+set}" = set; then :
22987 $as_echo_n "(cached) " >&6
22989 if test x$gcc_no_link = xyes; then
22990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22993 /* end confdefs.h. */
22995 #ifdef HAVE_COMPLEX_H
22996 #include <complex.h>
23002 int (*ptr)() = (int (*)())trunc;
23011 if ac_fn_c_try_link "$LINENO"; then :
23012 gcc_cv_math_func_trunc=yes
23014 gcc_cv_math_func_trunc=no
23016 rm -f core conftest.err conftest.$ac_objext \
23017 conftest$ac_exeext conftest.$ac_ext
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23020 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23021 if test $gcc_cv_math_func_trunc = yes; then
23023 cat >>confdefs.h <<_ACEOF
23024 #define HAVE_TRUNC 1
23032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23033 $as_echo_n "checking for truncl... " >&6; }
23034 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23035 $as_echo_n "(cached) " >&6
23037 if test x$gcc_no_link = xyes; then
23038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23041 /* end confdefs.h. */
23043 #ifdef HAVE_COMPLEX_H
23044 #include <complex.h>
23050 int (*ptr)() = (int (*)())truncl;
23059 if ac_fn_c_try_link "$LINENO"; then :
23060 gcc_cv_math_func_truncl=yes
23062 gcc_cv_math_func_truncl=no
23064 rm -f core conftest.err conftest.$ac_objext \
23065 conftest$ac_exeext conftest.$ac_ext
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23068 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23069 if test $gcc_cv_math_func_truncl = yes; then
23071 cat >>confdefs.h <<_ACEOF
23072 #define HAVE_TRUNCL 1
23080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23081 $as_echo_n "checking for erff... " >&6; }
23082 if test "${gcc_cv_math_func_erff+set}" = set; then :
23083 $as_echo_n "(cached) " >&6
23085 if test x$gcc_no_link = xyes; then
23086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23089 /* end confdefs.h. */
23091 #ifdef HAVE_COMPLEX_H
23092 #include <complex.h>
23098 int (*ptr)() = (int (*)())erff;
23107 if ac_fn_c_try_link "$LINENO"; then :
23108 gcc_cv_math_func_erff=yes
23110 gcc_cv_math_func_erff=no
23112 rm -f core conftest.err conftest.$ac_objext \
23113 conftest$ac_exeext conftest.$ac_ext
23115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23116 $as_echo "$gcc_cv_math_func_erff" >&6; }
23117 if test $gcc_cv_math_func_erff = yes; then
23119 cat >>confdefs.h <<_ACEOF
23120 #define HAVE_ERFF 1
23128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23129 $as_echo_n "checking for erf... " >&6; }
23130 if test "${gcc_cv_math_func_erf+set}" = set; then :
23131 $as_echo_n "(cached) " >&6
23133 if test x$gcc_no_link = xyes; then
23134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23137 /* end confdefs.h. */
23139 #ifdef HAVE_COMPLEX_H
23140 #include <complex.h>
23146 int (*ptr)() = (int (*)())erf;
23155 if ac_fn_c_try_link "$LINENO"; then :
23156 gcc_cv_math_func_erf=yes
23158 gcc_cv_math_func_erf=no
23160 rm -f core conftest.err conftest.$ac_objext \
23161 conftest$ac_exeext conftest.$ac_ext
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23164 $as_echo "$gcc_cv_math_func_erf" >&6; }
23165 if test $gcc_cv_math_func_erf = yes; then
23167 cat >>confdefs.h <<_ACEOF
23176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23177 $as_echo_n "checking for erfl... " >&6; }
23178 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23179 $as_echo_n "(cached) " >&6
23181 if test x$gcc_no_link = xyes; then
23182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23185 /* end confdefs.h. */
23187 #ifdef HAVE_COMPLEX_H
23188 #include <complex.h>
23194 int (*ptr)() = (int (*)())erfl;
23203 if ac_fn_c_try_link "$LINENO"; then :
23204 gcc_cv_math_func_erfl=yes
23206 gcc_cv_math_func_erfl=no
23208 rm -f core conftest.err conftest.$ac_objext \
23209 conftest$ac_exeext conftest.$ac_ext
23211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23212 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23213 if test $gcc_cv_math_func_erfl = yes; then
23215 cat >>confdefs.h <<_ACEOF
23216 #define HAVE_ERFL 1
23224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23225 $as_echo_n "checking for erfcf... " >&6; }
23226 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23227 $as_echo_n "(cached) " >&6
23229 if test x$gcc_no_link = xyes; then
23230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23233 /* end confdefs.h. */
23235 #ifdef HAVE_COMPLEX_H
23236 #include <complex.h>
23242 int (*ptr)() = (int (*)())erfcf;
23251 if ac_fn_c_try_link "$LINENO"; then :
23252 gcc_cv_math_func_erfcf=yes
23254 gcc_cv_math_func_erfcf=no
23256 rm -f core conftest.err conftest.$ac_objext \
23257 conftest$ac_exeext conftest.$ac_ext
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23260 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23261 if test $gcc_cv_math_func_erfcf = yes; then
23263 cat >>confdefs.h <<_ACEOF
23264 #define HAVE_ERFCF 1
23272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23273 $as_echo_n "checking for erfc... " >&6; }
23274 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23275 $as_echo_n "(cached) " >&6
23277 if test x$gcc_no_link = xyes; then
23278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23281 /* end confdefs.h. */
23283 #ifdef HAVE_COMPLEX_H
23284 #include <complex.h>
23290 int (*ptr)() = (int (*)())erfc;
23299 if ac_fn_c_try_link "$LINENO"; then :
23300 gcc_cv_math_func_erfc=yes
23302 gcc_cv_math_func_erfc=no
23304 rm -f core conftest.err conftest.$ac_objext \
23305 conftest$ac_exeext conftest.$ac_ext
23307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23308 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23309 if test $gcc_cv_math_func_erfc = yes; then
23311 cat >>confdefs.h <<_ACEOF
23312 #define HAVE_ERFC 1
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23321 $as_echo_n "checking for erfcl... " >&6; }
23322 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23323 $as_echo_n "(cached) " >&6
23325 if test x$gcc_no_link = xyes; then
23326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23329 /* end confdefs.h. */
23331 #ifdef HAVE_COMPLEX_H
23332 #include <complex.h>
23338 int (*ptr)() = (int (*)())erfcl;
23347 if ac_fn_c_try_link "$LINENO"; then :
23348 gcc_cv_math_func_erfcl=yes
23350 gcc_cv_math_func_erfcl=no
23352 rm -f core conftest.err conftest.$ac_objext \
23353 conftest$ac_exeext conftest.$ac_ext
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23356 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23357 if test $gcc_cv_math_func_erfcl = yes; then
23359 cat >>confdefs.h <<_ACEOF
23360 #define HAVE_ERFCL 1
23368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23369 $as_echo_n "checking for j0f... " >&6; }
23370 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23371 $as_echo_n "(cached) " >&6
23373 if test x$gcc_no_link = xyes; then
23374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23377 /* end confdefs.h. */
23379 #ifdef HAVE_COMPLEX_H
23380 #include <complex.h>
23386 int (*ptr)() = (int (*)())j0f;
23395 if ac_fn_c_try_link "$LINENO"; then :
23396 gcc_cv_math_func_j0f=yes
23398 gcc_cv_math_func_j0f=no
23400 rm -f core conftest.err conftest.$ac_objext \
23401 conftest$ac_exeext conftest.$ac_ext
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23404 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23405 if test $gcc_cv_math_func_j0f = yes; then
23407 cat >>confdefs.h <<_ACEOF
23416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23417 $as_echo_n "checking for j0... " >&6; }
23418 if test "${gcc_cv_math_func_j0+set}" = set; then :
23419 $as_echo_n "(cached) " >&6
23421 if test x$gcc_no_link = xyes; then
23422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23425 /* end confdefs.h. */
23427 #ifdef HAVE_COMPLEX_H
23428 #include <complex.h>
23434 int (*ptr)() = (int (*)())j0;
23443 if ac_fn_c_try_link "$LINENO"; then :
23444 gcc_cv_math_func_j0=yes
23446 gcc_cv_math_func_j0=no
23448 rm -f core conftest.err conftest.$ac_objext \
23449 conftest$ac_exeext conftest.$ac_ext
23451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23452 $as_echo "$gcc_cv_math_func_j0" >&6; }
23453 if test $gcc_cv_math_func_j0 = yes; then
23455 cat >>confdefs.h <<_ACEOF
23464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23465 $as_echo_n "checking for j0l... " >&6; }
23466 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23467 $as_echo_n "(cached) " >&6
23469 if test x$gcc_no_link = xyes; then
23470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23473 /* end confdefs.h. */
23475 #ifdef HAVE_COMPLEX_H
23476 #include <complex.h>
23482 int (*ptr)() = (int (*)())j0l;
23491 if ac_fn_c_try_link "$LINENO"; then :
23492 gcc_cv_math_func_j0l=yes
23494 gcc_cv_math_func_j0l=no
23496 rm -f core conftest.err conftest.$ac_objext \
23497 conftest$ac_exeext conftest.$ac_ext
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23500 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23501 if test $gcc_cv_math_func_j0l = yes; then
23503 cat >>confdefs.h <<_ACEOF
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23513 $as_echo_n "checking for j1f... " >&6; }
23514 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23515 $as_echo_n "(cached) " >&6
23517 if test x$gcc_no_link = xyes; then
23518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23521 /* end confdefs.h. */
23523 #ifdef HAVE_COMPLEX_H
23524 #include <complex.h>
23530 int (*ptr)() = (int (*)())j1f;
23539 if ac_fn_c_try_link "$LINENO"; then :
23540 gcc_cv_math_func_j1f=yes
23542 gcc_cv_math_func_j1f=no
23544 rm -f core conftest.err conftest.$ac_objext \
23545 conftest$ac_exeext conftest.$ac_ext
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23548 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23549 if test $gcc_cv_math_func_j1f = yes; then
23551 cat >>confdefs.h <<_ACEOF
23560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23561 $as_echo_n "checking for j1... " >&6; }
23562 if test "${gcc_cv_math_func_j1+set}" = set; then :
23563 $as_echo_n "(cached) " >&6
23565 if test x$gcc_no_link = xyes; then
23566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23569 /* end confdefs.h. */
23571 #ifdef HAVE_COMPLEX_H
23572 #include <complex.h>
23578 int (*ptr)() = (int (*)())j1;
23587 if ac_fn_c_try_link "$LINENO"; then :
23588 gcc_cv_math_func_j1=yes
23590 gcc_cv_math_func_j1=no
23592 rm -f core conftest.err conftest.$ac_objext \
23593 conftest$ac_exeext conftest.$ac_ext
23595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23596 $as_echo "$gcc_cv_math_func_j1" >&6; }
23597 if test $gcc_cv_math_func_j1 = yes; then
23599 cat >>confdefs.h <<_ACEOF
23608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23609 $as_echo_n "checking for j1l... " >&6; }
23610 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23611 $as_echo_n "(cached) " >&6
23613 if test x$gcc_no_link = xyes; then
23614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23617 /* end confdefs.h. */
23619 #ifdef HAVE_COMPLEX_H
23620 #include <complex.h>
23626 int (*ptr)() = (int (*)())j1l;
23635 if ac_fn_c_try_link "$LINENO"; then :
23636 gcc_cv_math_func_j1l=yes
23638 gcc_cv_math_func_j1l=no
23640 rm -f core conftest.err conftest.$ac_objext \
23641 conftest$ac_exeext conftest.$ac_ext
23643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23644 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23645 if test $gcc_cv_math_func_j1l = yes; then
23647 cat >>confdefs.h <<_ACEOF
23656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23657 $as_echo_n "checking for jnf... " >&6; }
23658 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23659 $as_echo_n "(cached) " >&6
23661 if test x$gcc_no_link = xyes; then
23662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h. */
23667 #ifdef HAVE_COMPLEX_H
23668 #include <complex.h>
23674 int (*ptr)() = (int (*)())jnf;
23683 if ac_fn_c_try_link "$LINENO"; then :
23684 gcc_cv_math_func_jnf=yes
23686 gcc_cv_math_func_jnf=no
23688 rm -f core conftest.err conftest.$ac_objext \
23689 conftest$ac_exeext conftest.$ac_ext
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23692 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23693 if test $gcc_cv_math_func_jnf = yes; then
23695 cat >>confdefs.h <<_ACEOF
23704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23705 $as_echo_n "checking for jn... " >&6; }
23706 if test "${gcc_cv_math_func_jn+set}" = set; then :
23707 $as_echo_n "(cached) " >&6
23709 if test x$gcc_no_link = xyes; then
23710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23713 /* end confdefs.h. */
23715 #ifdef HAVE_COMPLEX_H
23716 #include <complex.h>
23722 int (*ptr)() = (int (*)())jn;
23731 if ac_fn_c_try_link "$LINENO"; then :
23732 gcc_cv_math_func_jn=yes
23734 gcc_cv_math_func_jn=no
23736 rm -f core conftest.err conftest.$ac_objext \
23737 conftest$ac_exeext conftest.$ac_ext
23739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23740 $as_echo "$gcc_cv_math_func_jn" >&6; }
23741 if test $gcc_cv_math_func_jn = yes; then
23743 cat >>confdefs.h <<_ACEOF
23752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23753 $as_echo_n "checking for jnl... " >&6; }
23754 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23755 $as_echo_n "(cached) " >&6
23757 if test x$gcc_no_link = xyes; then
23758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23761 /* end confdefs.h. */
23763 #ifdef HAVE_COMPLEX_H
23764 #include <complex.h>
23770 int (*ptr)() = (int (*)())jnl;
23779 if ac_fn_c_try_link "$LINENO"; then :
23780 gcc_cv_math_func_jnl=yes
23782 gcc_cv_math_func_jnl=no
23784 rm -f core conftest.err conftest.$ac_objext \
23785 conftest$ac_exeext conftest.$ac_ext
23787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23788 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23789 if test $gcc_cv_math_func_jnl = yes; then
23791 cat >>confdefs.h <<_ACEOF
23800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23801 $as_echo_n "checking for y0f... " >&6; }
23802 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23803 $as_echo_n "(cached) " >&6
23805 if test x$gcc_no_link = xyes; then
23806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23809 /* end confdefs.h. */
23811 #ifdef HAVE_COMPLEX_H
23812 #include <complex.h>
23818 int (*ptr)() = (int (*)())y0f;
23827 if ac_fn_c_try_link "$LINENO"; then :
23828 gcc_cv_math_func_y0f=yes
23830 gcc_cv_math_func_y0f=no
23832 rm -f core conftest.err conftest.$ac_objext \
23833 conftest$ac_exeext conftest.$ac_ext
23835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23836 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23837 if test $gcc_cv_math_func_y0f = yes; then
23839 cat >>confdefs.h <<_ACEOF
23848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23849 $as_echo_n "checking for y0... " >&6; }
23850 if test "${gcc_cv_math_func_y0+set}" = set; then :
23851 $as_echo_n "(cached) " >&6
23853 if test x$gcc_no_link = xyes; then
23854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23857 /* end confdefs.h. */
23859 #ifdef HAVE_COMPLEX_H
23860 #include <complex.h>
23866 int (*ptr)() = (int (*)())y0;
23875 if ac_fn_c_try_link "$LINENO"; then :
23876 gcc_cv_math_func_y0=yes
23878 gcc_cv_math_func_y0=no
23880 rm -f core conftest.err conftest.$ac_objext \
23881 conftest$ac_exeext conftest.$ac_ext
23883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23884 $as_echo "$gcc_cv_math_func_y0" >&6; }
23885 if test $gcc_cv_math_func_y0 = yes; then
23887 cat >>confdefs.h <<_ACEOF
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
23897 $as_echo_n "checking for y0l... " >&6; }
23898 if test "${gcc_cv_math_func_y0l+set}" = set; then :
23899 $as_echo_n "(cached) " >&6
23901 if test x$gcc_no_link = xyes; then
23902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23905 /* end confdefs.h. */
23907 #ifdef HAVE_COMPLEX_H
23908 #include <complex.h>
23914 int (*ptr)() = (int (*)())y0l;
23923 if ac_fn_c_try_link "$LINENO"; then :
23924 gcc_cv_math_func_y0l=yes
23926 gcc_cv_math_func_y0l=no
23928 rm -f core conftest.err conftest.$ac_objext \
23929 conftest$ac_exeext conftest.$ac_ext
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
23932 $as_echo "$gcc_cv_math_func_y0l" >&6; }
23933 if test $gcc_cv_math_func_y0l = yes; then
23935 cat >>confdefs.h <<_ACEOF
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
23945 $as_echo_n "checking for y1f... " >&6; }
23946 if test "${gcc_cv_math_func_y1f+set}" = set; then :
23947 $as_echo_n "(cached) " >&6
23949 if test x$gcc_no_link = xyes; then
23950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23953 /* end confdefs.h. */
23955 #ifdef HAVE_COMPLEX_H
23956 #include <complex.h>
23962 int (*ptr)() = (int (*)())y1f;
23971 if ac_fn_c_try_link "$LINENO"; then :
23972 gcc_cv_math_func_y1f=yes
23974 gcc_cv_math_func_y1f=no
23976 rm -f core conftest.err conftest.$ac_objext \
23977 conftest$ac_exeext conftest.$ac_ext
23979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
23980 $as_echo "$gcc_cv_math_func_y1f" >&6; }
23981 if test $gcc_cv_math_func_y1f = yes; then
23983 cat >>confdefs.h <<_ACEOF
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
23993 $as_echo_n "checking for y1... " >&6; }
23994 if test "${gcc_cv_math_func_y1+set}" = set; then :
23995 $as_echo_n "(cached) " >&6
23997 if test x$gcc_no_link = xyes; then
23998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24001 /* end confdefs.h. */
24003 #ifdef HAVE_COMPLEX_H
24004 #include <complex.h>
24010 int (*ptr)() = (int (*)())y1;
24019 if ac_fn_c_try_link "$LINENO"; then :
24020 gcc_cv_math_func_y1=yes
24022 gcc_cv_math_func_y1=no
24024 rm -f core conftest.err conftest.$ac_objext \
24025 conftest$ac_exeext conftest.$ac_ext
24027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24028 $as_echo "$gcc_cv_math_func_y1" >&6; }
24029 if test $gcc_cv_math_func_y1 = yes; then
24031 cat >>confdefs.h <<_ACEOF
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24041 $as_echo_n "checking for y1l... " >&6; }
24042 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24043 $as_echo_n "(cached) " >&6
24045 if test x$gcc_no_link = xyes; then
24046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24049 /* end confdefs.h. */
24051 #ifdef HAVE_COMPLEX_H
24052 #include <complex.h>
24058 int (*ptr)() = (int (*)())y1l;
24067 if ac_fn_c_try_link "$LINENO"; then :
24068 gcc_cv_math_func_y1l=yes
24070 gcc_cv_math_func_y1l=no
24072 rm -f core conftest.err conftest.$ac_objext \
24073 conftest$ac_exeext conftest.$ac_ext
24075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24076 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24077 if test $gcc_cv_math_func_y1l = yes; then
24079 cat >>confdefs.h <<_ACEOF
24088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24089 $as_echo_n "checking for ynf... " >&6; }
24090 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24091 $as_echo_n "(cached) " >&6
24093 if test x$gcc_no_link = xyes; then
24094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24097 /* end confdefs.h. */
24099 #ifdef HAVE_COMPLEX_H
24100 #include <complex.h>
24106 int (*ptr)() = (int (*)())ynf;
24115 if ac_fn_c_try_link "$LINENO"; then :
24116 gcc_cv_math_func_ynf=yes
24118 gcc_cv_math_func_ynf=no
24120 rm -f core conftest.err conftest.$ac_objext \
24121 conftest$ac_exeext conftest.$ac_ext
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24124 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24125 if test $gcc_cv_math_func_ynf = yes; then
24127 cat >>confdefs.h <<_ACEOF
24136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24137 $as_echo_n "checking for yn... " >&6; }
24138 if test "${gcc_cv_math_func_yn+set}" = set; then :
24139 $as_echo_n "(cached) " >&6
24141 if test x$gcc_no_link = xyes; then
24142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24145 /* end confdefs.h. */
24147 #ifdef HAVE_COMPLEX_H
24148 #include <complex.h>
24154 int (*ptr)() = (int (*)())yn;
24163 if ac_fn_c_try_link "$LINENO"; then :
24164 gcc_cv_math_func_yn=yes
24166 gcc_cv_math_func_yn=no
24168 rm -f core conftest.err conftest.$ac_objext \
24169 conftest$ac_exeext conftest.$ac_ext
24171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24172 $as_echo "$gcc_cv_math_func_yn" >&6; }
24173 if test $gcc_cv_math_func_yn = yes; then
24175 cat >>confdefs.h <<_ACEOF
24184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24185 $as_echo_n "checking for ynl... " >&6; }
24186 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24187 $as_echo_n "(cached) " >&6
24189 if test x$gcc_no_link = xyes; then
24190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24193 /* end confdefs.h. */
24195 #ifdef HAVE_COMPLEX_H
24196 #include <complex.h>
24202 int (*ptr)() = (int (*)())ynl;
24211 if ac_fn_c_try_link "$LINENO"; then :
24212 gcc_cv_math_func_ynl=yes
24214 gcc_cv_math_func_ynl=no
24216 rm -f core conftest.err conftest.$ac_objext \
24217 conftest$ac_exeext conftest.$ac_ext
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24220 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24221 if test $gcc_cv_math_func_ynl = yes; then
24223 cat >>confdefs.h <<_ACEOF
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24233 $as_echo_n "checking for tgamma... " >&6; }
24234 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24235 $as_echo_n "(cached) " >&6
24237 if test x$gcc_no_link = xyes; then
24238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h. */
24243 #ifdef HAVE_COMPLEX_H
24244 #include <complex.h>
24250 int (*ptr)() = (int (*)())tgamma;
24259 if ac_fn_c_try_link "$LINENO"; then :
24260 gcc_cv_math_func_tgamma=yes
24262 gcc_cv_math_func_tgamma=no
24264 rm -f core conftest.err conftest.$ac_objext \
24265 conftest$ac_exeext conftest.$ac_ext
24267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24268 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24269 if test $gcc_cv_math_func_tgamma = yes; then
24271 cat >>confdefs.h <<_ACEOF
24272 #define HAVE_TGAMMA 1
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24281 $as_echo_n "checking for tgammaf... " >&6; }
24282 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24283 $as_echo_n "(cached) " >&6
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 #ifdef HAVE_COMPLEX_H
24292 #include <complex.h>
24298 int (*ptr)() = (int (*)())tgammaf;
24307 if ac_fn_c_try_link "$LINENO"; then :
24308 gcc_cv_math_func_tgammaf=yes
24310 gcc_cv_math_func_tgammaf=no
24312 rm -f core conftest.err conftest.$ac_objext \
24313 conftest$ac_exeext conftest.$ac_ext
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24316 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24317 if test $gcc_cv_math_func_tgammaf = yes; then
24319 cat >>confdefs.h <<_ACEOF
24320 #define HAVE_TGAMMAF 1
24328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24329 $as_echo_n "checking for tgammal... " >&6; }
24330 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24331 $as_echo_n "(cached) " >&6
24333 if test x$gcc_no_link = xyes; then
24334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h. */
24339 #ifdef HAVE_COMPLEX_H
24340 #include <complex.h>
24346 int (*ptr)() = (int (*)())tgammal;
24355 if ac_fn_c_try_link "$LINENO"; then :
24356 gcc_cv_math_func_tgammal=yes
24358 gcc_cv_math_func_tgammal=no
24360 rm -f core conftest.err conftest.$ac_objext \
24361 conftest$ac_exeext conftest.$ac_ext
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24364 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24365 if test $gcc_cv_math_func_tgammal = yes; then
24367 cat >>confdefs.h <<_ACEOF
24368 #define HAVE_TGAMMAL 1
24376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24377 $as_echo_n "checking for lgamma... " >&6; }
24378 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24379 $as_echo_n "(cached) " >&6
24381 if test x$gcc_no_link = xyes; then
24382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24385 /* end confdefs.h. */
24387 #ifdef HAVE_COMPLEX_H
24388 #include <complex.h>
24394 int (*ptr)() = (int (*)())lgamma;
24403 if ac_fn_c_try_link "$LINENO"; then :
24404 gcc_cv_math_func_lgamma=yes
24406 gcc_cv_math_func_lgamma=no
24408 rm -f core conftest.err conftest.$ac_objext \
24409 conftest$ac_exeext conftest.$ac_ext
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24412 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24413 if test $gcc_cv_math_func_lgamma = yes; then
24415 cat >>confdefs.h <<_ACEOF
24416 #define HAVE_LGAMMA 1
24424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24425 $as_echo_n "checking for lgammaf... " >&6; }
24426 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24427 $as_echo_n "(cached) " >&6
24429 if test x$gcc_no_link = xyes; then
24430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24433 /* end confdefs.h. */
24435 #ifdef HAVE_COMPLEX_H
24436 #include <complex.h>
24442 int (*ptr)() = (int (*)())lgammaf;
24451 if ac_fn_c_try_link "$LINENO"; then :
24452 gcc_cv_math_func_lgammaf=yes
24454 gcc_cv_math_func_lgammaf=no
24456 rm -f core conftest.err conftest.$ac_objext \
24457 conftest$ac_exeext conftest.$ac_ext
24459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24460 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24461 if test $gcc_cv_math_func_lgammaf = yes; then
24463 cat >>confdefs.h <<_ACEOF
24464 #define HAVE_LGAMMAF 1
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24473 $as_echo_n "checking for lgammal... " >&6; }
24474 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24475 $as_echo_n "(cached) " >&6
24477 if test x$gcc_no_link = xyes; then
24478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24481 /* end confdefs.h. */
24483 #ifdef HAVE_COMPLEX_H
24484 #include <complex.h>
24490 int (*ptr)() = (int (*)())lgammal;
24499 if ac_fn_c_try_link "$LINENO"; then :
24500 gcc_cv_math_func_lgammal=yes
24502 gcc_cv_math_func_lgammal=no
24504 rm -f core conftest.err conftest.$ac_objext \
24505 conftest$ac_exeext conftest.$ac_ext
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24508 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24509 if test $gcc_cv_math_func_lgammal = yes; then
24511 cat >>confdefs.h <<_ACEOF
24512 #define HAVE_LGAMMAL 1
24518 # Check for GFORTRAN_C99_1.1 funcs
24522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24523 $as_echo_n "checking for cacos... " >&6; }
24524 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24525 $as_echo_n "(cached) " >&6
24527 if test x$gcc_no_link = xyes; then
24528 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24531 /* end confdefs.h. */
24533 #ifdef HAVE_COMPLEX_H
24534 #include <complex.h>
24540 int (*ptr)() = (int (*)())cacos;
24549 if ac_fn_c_try_link "$LINENO"; then :
24550 gcc_cv_math_func_cacos=yes
24552 gcc_cv_math_func_cacos=no
24554 rm -f core conftest.err conftest.$ac_objext \
24555 conftest$ac_exeext conftest.$ac_ext
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24558 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24559 if test $gcc_cv_math_func_cacos = yes; then
24561 cat >>confdefs.h <<_ACEOF
24562 #define HAVE_CACOS 1
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24571 $as_echo_n "checking for cacosf... " >&6; }
24572 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24573 $as_echo_n "(cached) " >&6
24575 if test x$gcc_no_link = xyes; then
24576 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24579 /* end confdefs.h. */
24581 #ifdef HAVE_COMPLEX_H
24582 #include <complex.h>
24588 int (*ptr)() = (int (*)())cacosf;
24597 if ac_fn_c_try_link "$LINENO"; then :
24598 gcc_cv_math_func_cacosf=yes
24600 gcc_cv_math_func_cacosf=no
24602 rm -f core conftest.err conftest.$ac_objext \
24603 conftest$ac_exeext conftest.$ac_ext
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24606 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24607 if test $gcc_cv_math_func_cacosf = yes; then
24609 cat >>confdefs.h <<_ACEOF
24610 #define HAVE_CACOSF 1
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24619 $as_echo_n "checking for cacosh... " >&6; }
24620 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24621 $as_echo_n "(cached) " >&6
24623 if test x$gcc_no_link = xyes; then
24624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24627 /* end confdefs.h. */
24629 #ifdef HAVE_COMPLEX_H
24630 #include <complex.h>
24636 int (*ptr)() = (int (*)())cacosh;
24645 if ac_fn_c_try_link "$LINENO"; then :
24646 gcc_cv_math_func_cacosh=yes
24648 gcc_cv_math_func_cacosh=no
24650 rm -f core conftest.err conftest.$ac_objext \
24651 conftest$ac_exeext conftest.$ac_ext
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24654 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24655 if test $gcc_cv_math_func_cacosh = yes; then
24657 cat >>confdefs.h <<_ACEOF
24658 #define HAVE_CACOSH 1
24666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24667 $as_echo_n "checking for cacoshf... " >&6; }
24668 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24669 $as_echo_n "(cached) " >&6
24671 if test x$gcc_no_link = xyes; then
24672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24675 /* end confdefs.h. */
24677 #ifdef HAVE_COMPLEX_H
24678 #include <complex.h>
24684 int (*ptr)() = (int (*)())cacoshf;
24693 if ac_fn_c_try_link "$LINENO"; then :
24694 gcc_cv_math_func_cacoshf=yes
24696 gcc_cv_math_func_cacoshf=no
24698 rm -f core conftest.err conftest.$ac_objext \
24699 conftest$ac_exeext conftest.$ac_ext
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24702 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24703 if test $gcc_cv_math_func_cacoshf = yes; then
24705 cat >>confdefs.h <<_ACEOF
24706 #define HAVE_CACOSHF 1
24714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24715 $as_echo_n "checking for cacoshl... " >&6; }
24716 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24717 $as_echo_n "(cached) " >&6
24719 if test x$gcc_no_link = xyes; then
24720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24723 /* end confdefs.h. */
24725 #ifdef HAVE_COMPLEX_H
24726 #include <complex.h>
24732 int (*ptr)() = (int (*)())cacoshl;
24741 if ac_fn_c_try_link "$LINENO"; then :
24742 gcc_cv_math_func_cacoshl=yes
24744 gcc_cv_math_func_cacoshl=no
24746 rm -f core conftest.err conftest.$ac_objext \
24747 conftest$ac_exeext conftest.$ac_ext
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24750 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24751 if test $gcc_cv_math_func_cacoshl = yes; then
24753 cat >>confdefs.h <<_ACEOF
24754 #define HAVE_CACOSHL 1
24762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24763 $as_echo_n "checking for cacosl... " >&6; }
24764 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24765 $as_echo_n "(cached) " >&6
24767 if test x$gcc_no_link = xyes; then
24768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24771 /* end confdefs.h. */
24773 #ifdef HAVE_COMPLEX_H
24774 #include <complex.h>
24780 int (*ptr)() = (int (*)())cacosl;
24789 if ac_fn_c_try_link "$LINENO"; then :
24790 gcc_cv_math_func_cacosl=yes
24792 gcc_cv_math_func_cacosl=no
24794 rm -f core conftest.err conftest.$ac_objext \
24795 conftest$ac_exeext conftest.$ac_ext
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24798 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24799 if test $gcc_cv_math_func_cacosl = yes; then
24801 cat >>confdefs.h <<_ACEOF
24802 #define HAVE_CACOSL 1
24810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24811 $as_echo_n "checking for casin... " >&6; }
24812 if test "${gcc_cv_math_func_casin+set}" = set; then :
24813 $as_echo_n "(cached) " >&6
24815 if test x$gcc_no_link = xyes; then
24816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24819 /* end confdefs.h. */
24821 #ifdef HAVE_COMPLEX_H
24822 #include <complex.h>
24828 int (*ptr)() = (int (*)())casin;
24837 if ac_fn_c_try_link "$LINENO"; then :
24838 gcc_cv_math_func_casin=yes
24840 gcc_cv_math_func_casin=no
24842 rm -f core conftest.err conftest.$ac_objext \
24843 conftest$ac_exeext conftest.$ac_ext
24845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24846 $as_echo "$gcc_cv_math_func_casin" >&6; }
24847 if test $gcc_cv_math_func_casin = yes; then
24849 cat >>confdefs.h <<_ACEOF
24850 #define HAVE_CASIN 1
24858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24859 $as_echo_n "checking for casinf... " >&6; }
24860 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24861 $as_echo_n "(cached) " >&6
24863 if test x$gcc_no_link = xyes; then
24864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24867 /* end confdefs.h. */
24869 #ifdef HAVE_COMPLEX_H
24870 #include <complex.h>
24876 int (*ptr)() = (int (*)())casinf;
24885 if ac_fn_c_try_link "$LINENO"; then :
24886 gcc_cv_math_func_casinf=yes
24888 gcc_cv_math_func_casinf=no
24890 rm -f core conftest.err conftest.$ac_objext \
24891 conftest$ac_exeext conftest.$ac_ext
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24894 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24895 if test $gcc_cv_math_func_casinf = yes; then
24897 cat >>confdefs.h <<_ACEOF
24898 #define HAVE_CASINF 1
24906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24907 $as_echo_n "checking for casinh... " >&6; }
24908 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24909 $as_echo_n "(cached) " >&6
24911 if test x$gcc_no_link = xyes; then
24912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24915 /* end confdefs.h. */
24917 #ifdef HAVE_COMPLEX_H
24918 #include <complex.h>
24924 int (*ptr)() = (int (*)())casinh;
24933 if ac_fn_c_try_link "$LINENO"; then :
24934 gcc_cv_math_func_casinh=yes
24936 gcc_cv_math_func_casinh=no
24938 rm -f core conftest.err conftest.$ac_objext \
24939 conftest$ac_exeext conftest.$ac_ext
24941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
24942 $as_echo "$gcc_cv_math_func_casinh" >&6; }
24943 if test $gcc_cv_math_func_casinh = yes; then
24945 cat >>confdefs.h <<_ACEOF
24946 #define HAVE_CASINH 1
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
24955 $as_echo_n "checking for casinhf... " >&6; }
24956 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
24957 $as_echo_n "(cached) " >&6
24959 if test x$gcc_no_link = xyes; then
24960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24963 /* end confdefs.h. */
24965 #ifdef HAVE_COMPLEX_H
24966 #include <complex.h>
24972 int (*ptr)() = (int (*)())casinhf;
24981 if ac_fn_c_try_link "$LINENO"; then :
24982 gcc_cv_math_func_casinhf=yes
24984 gcc_cv_math_func_casinhf=no
24986 rm -f core conftest.err conftest.$ac_objext \
24987 conftest$ac_exeext conftest.$ac_ext
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
24990 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
24991 if test $gcc_cv_math_func_casinhf = yes; then
24993 cat >>confdefs.h <<_ACEOF
24994 #define HAVE_CASINHF 1
25002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25003 $as_echo_n "checking for casinhl... " >&6; }
25004 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25005 $as_echo_n "(cached) " >&6
25007 if test x$gcc_no_link = xyes; then
25008 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25011 /* end confdefs.h. */
25013 #ifdef HAVE_COMPLEX_H
25014 #include <complex.h>
25020 int (*ptr)() = (int (*)())casinhl;
25029 if ac_fn_c_try_link "$LINENO"; then :
25030 gcc_cv_math_func_casinhl=yes
25032 gcc_cv_math_func_casinhl=no
25034 rm -f core conftest.err conftest.$ac_objext \
25035 conftest$ac_exeext conftest.$ac_ext
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25038 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25039 if test $gcc_cv_math_func_casinhl = yes; then
25041 cat >>confdefs.h <<_ACEOF
25042 #define HAVE_CASINHL 1
25050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25051 $as_echo_n "checking for casinl... " >&6; }
25052 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25053 $as_echo_n "(cached) " >&6
25055 if test x$gcc_no_link = xyes; then
25056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25059 /* end confdefs.h. */
25061 #ifdef HAVE_COMPLEX_H
25062 #include <complex.h>
25068 int (*ptr)() = (int (*)())casinl;
25077 if ac_fn_c_try_link "$LINENO"; then :
25078 gcc_cv_math_func_casinl=yes
25080 gcc_cv_math_func_casinl=no
25082 rm -f core conftest.err conftest.$ac_objext \
25083 conftest$ac_exeext conftest.$ac_ext
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25086 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25087 if test $gcc_cv_math_func_casinl = yes; then
25089 cat >>confdefs.h <<_ACEOF
25090 #define HAVE_CASINL 1
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25099 $as_echo_n "checking for catan... " >&6; }
25100 if test "${gcc_cv_math_func_catan+set}" = set; then :
25101 $as_echo_n "(cached) " >&6
25103 if test x$gcc_no_link = xyes; then
25104 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25107 /* end confdefs.h. */
25109 #ifdef HAVE_COMPLEX_H
25110 #include <complex.h>
25116 int (*ptr)() = (int (*)())catan;
25125 if ac_fn_c_try_link "$LINENO"; then :
25126 gcc_cv_math_func_catan=yes
25128 gcc_cv_math_func_catan=no
25130 rm -f core conftest.err conftest.$ac_objext \
25131 conftest$ac_exeext conftest.$ac_ext
25133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25134 $as_echo "$gcc_cv_math_func_catan" >&6; }
25135 if test $gcc_cv_math_func_catan = yes; then
25137 cat >>confdefs.h <<_ACEOF
25138 #define HAVE_CATAN 1
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25147 $as_echo_n "checking for catanf... " >&6; }
25148 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25149 $as_echo_n "(cached) " >&6
25151 if test x$gcc_no_link = xyes; then
25152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25155 /* end confdefs.h. */
25157 #ifdef HAVE_COMPLEX_H
25158 #include <complex.h>
25164 int (*ptr)() = (int (*)())catanf;
25173 if ac_fn_c_try_link "$LINENO"; then :
25174 gcc_cv_math_func_catanf=yes
25176 gcc_cv_math_func_catanf=no
25178 rm -f core conftest.err conftest.$ac_objext \
25179 conftest$ac_exeext conftest.$ac_ext
25181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25182 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25183 if test $gcc_cv_math_func_catanf = yes; then
25185 cat >>confdefs.h <<_ACEOF
25186 #define HAVE_CATANF 1
25194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25195 $as_echo_n "checking for catanh... " >&6; }
25196 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25197 $as_echo_n "(cached) " >&6
25199 if test x$gcc_no_link = xyes; then
25200 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25203 /* end confdefs.h. */
25205 #ifdef HAVE_COMPLEX_H
25206 #include <complex.h>
25212 int (*ptr)() = (int (*)())catanh;
25221 if ac_fn_c_try_link "$LINENO"; then :
25222 gcc_cv_math_func_catanh=yes
25224 gcc_cv_math_func_catanh=no
25226 rm -f core conftest.err conftest.$ac_objext \
25227 conftest$ac_exeext conftest.$ac_ext
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25230 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25231 if test $gcc_cv_math_func_catanh = yes; then
25233 cat >>confdefs.h <<_ACEOF
25234 #define HAVE_CATANH 1
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25243 $as_echo_n "checking for catanhf... " >&6; }
25244 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25245 $as_echo_n "(cached) " >&6
25247 if test x$gcc_no_link = xyes; then
25248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25251 /* end confdefs.h. */
25253 #ifdef HAVE_COMPLEX_H
25254 #include <complex.h>
25260 int (*ptr)() = (int (*)())catanhf;
25269 if ac_fn_c_try_link "$LINENO"; then :
25270 gcc_cv_math_func_catanhf=yes
25272 gcc_cv_math_func_catanhf=no
25274 rm -f core conftest.err conftest.$ac_objext \
25275 conftest$ac_exeext conftest.$ac_ext
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25278 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25279 if test $gcc_cv_math_func_catanhf = yes; then
25281 cat >>confdefs.h <<_ACEOF
25282 #define HAVE_CATANHF 1
25290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25291 $as_echo_n "checking for catanhl... " >&6; }
25292 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25293 $as_echo_n "(cached) " >&6
25295 if test x$gcc_no_link = xyes; then
25296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25299 /* end confdefs.h. */
25301 #ifdef HAVE_COMPLEX_H
25302 #include <complex.h>
25308 int (*ptr)() = (int (*)())catanhl;
25317 if ac_fn_c_try_link "$LINENO"; then :
25318 gcc_cv_math_func_catanhl=yes
25320 gcc_cv_math_func_catanhl=no
25322 rm -f core conftest.err conftest.$ac_objext \
25323 conftest$ac_exeext conftest.$ac_ext
25325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25326 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25327 if test $gcc_cv_math_func_catanhl = yes; then
25329 cat >>confdefs.h <<_ACEOF
25330 #define HAVE_CATANHL 1
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25339 $as_echo_n "checking for catanl... " >&6; }
25340 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25341 $as_echo_n "(cached) " >&6
25343 if test x$gcc_no_link = xyes; then
25344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25347 /* end confdefs.h. */
25349 #ifdef HAVE_COMPLEX_H
25350 #include <complex.h>
25356 int (*ptr)() = (int (*)())catanl;
25365 if ac_fn_c_try_link "$LINENO"; then :
25366 gcc_cv_math_func_catanl=yes
25368 gcc_cv_math_func_catanl=no
25370 rm -f core conftest.err conftest.$ac_objext \
25371 conftest$ac_exeext conftest.$ac_ext
25373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25374 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25375 if test $gcc_cv_math_func_catanl = yes; then
25377 cat >>confdefs.h <<_ACEOF
25378 #define HAVE_CATANL 1
25384 # On AIX, clog is present in libm as __clog
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25386 $as_echo_n "checking for __clog in -lm... " >&6; }
25387 if test "${ac_cv_lib_m___clog+set}" = set; then :
25388 $as_echo_n "(cached) " >&6
25390 ac_check_lib_save_LIBS=$LIBS
25392 if test x$gcc_no_link = xyes; then
25393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25396 /* end confdefs.h. */
25398 /* Override any GCC internal prototype to avoid an error.
25399 Use char because int might match the return type of a GCC
25400 builtin and then its argument prototype would still apply. */
25413 if ac_fn_c_try_link "$LINENO"; then :
25414 ac_cv_lib_m___clog=yes
25416 ac_cv_lib_m___clog=no
25418 rm -f core conftest.err conftest.$ac_objext \
25419 conftest$ac_exeext conftest.$ac_ext
25420 LIBS=$ac_check_lib_save_LIBS
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25423 $as_echo "$ac_cv_lib_m___clog" >&6; }
25424 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25426 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25431 # Check whether the system has a working stat()
25433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25434 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25435 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25436 $as_echo_n "(cached) " >&6
25439 if test "$cross_compiling" = yes; then :
25441 case "${target}" in
25442 *mingw*) libgfor_cv_have_working_stat=no ;;
25443 *) libgfor_cv_have_working_stat=yes;;
25446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25447 /* end confdefs.h. */
25450 #include <sys/types.h>
25451 #include <sys/stat.h>
25452 #include <unistd.h>
25457 struct stat st1, st2;
25459 f = fopen ("foo", "w");
25460 g = fopen ("bar", "w");
25461 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25463 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25470 if ac_fn_c_try_run "$LINENO"; then :
25471 libgfor_cv_have_working_stat=yes
25473 libgfor_cv_have_working_stat=no
25475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25476 conftest.$ac_objext conftest.beam conftest.$ac_ext
25480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25481 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25482 if test x"$libgfor_cv_have_working_stat" = xyes; then
25484 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25488 # Check whether __mingw_snprintf() is present
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25491 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25492 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25493 $as_echo_n "(cached) " >&6
25496 if test x$gcc_no_link = xyes; then
25497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25500 /* end confdefs.h. */
25503 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25509 __mingw_snprintf (NULL, 0, "%d\n", 1);
25515 if ac_fn_c_try_link "$LINENO"; then :
25516 eval "libgfor_cv_have_mingw_snprintf=yes"
25518 eval "libgfor_cv_have_mingw_snprintf=no"
25520 rm -f core conftest.err conftest.$ac_objext \
25521 conftest$ac_exeext conftest.$ac_ext
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25525 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25526 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25528 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25533 # Check for a broken powf implementation
25535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
25536 $as_echo_n "checking whether powf is broken... " >&6; }
25537 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
25538 $as_echo_n "(cached) " >&6
25541 case "${target}" in
25542 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
25543 *) libgfor_cv_have_broken_powf=no;;
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
25547 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
25548 if test x"$libgfor_cv_have_broken_powf" = xyes; then
25550 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
25555 # Check whether libquadmath should be used
25556 # Check whether --enable-libquadmath-support was given.
25557 if test "${enable_libquadmath_support+set}" = set; then :
25558 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25560 ENABLE_LIBQUADMATH_SUPPORT=yes
25563 enable_libquadmath_support=
25564 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25565 enable_libquadmath_support=no
25568 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25572 if test "x$enable_libquadmath_support" != xno; then
25574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25575 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25576 if test "${libgfor_cv_have_float128+set}" = set; then :
25577 $as_echo_n "(cached) " >&6
25580 if test x$gcc_no_link = xyes; then
25581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25582 /* end confdefs.h. */
25584 typedef _Complex float __attribute__((mode(TC))) __complex128;
25586 __float128 foo (__float128 x)
25589 __complex128 z1, z2;
25595 return (__float128) z2;
25598 __float128 bar (__float128 x)
25600 return x * __builtin_huge_valq ();
25614 if ac_fn_c_try_compile "$LINENO"; then :
25616 libgfor_cv_have_float128=yes
25620 libgfor_cv_have_float128=no
25623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25625 if test x$gcc_no_link = xyes; then
25626 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25629 /* end confdefs.h. */
25631 typedef _Complex float __attribute__((mode(TC))) __complex128;
25633 __float128 foo (__float128 x)
25636 __complex128 z1, z2;
25642 return (__float128) z2;
25645 __float128 bar (__float128 x)
25647 return x * __builtin_huge_valq ();
25661 if ac_fn_c_try_link "$LINENO"; then :
25663 libgfor_cv_have_float128=yes
25667 libgfor_cv_have_float128=no
25670 rm -f core conftest.err conftest.$ac_objext \
25671 conftest$ac_exeext conftest.$ac_ext
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25675 $as_echo "$libgfor_cv_have_float128" >&6; }
25677 if test "x$libgfor_cv_have_float128" = xyes; then
25679 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25682 ac_xsave_c_werror_flag=$ac_c_werror_flag
25683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25684 $as_echo_n "checking whether --as-needed works... " >&6; }
25685 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25686 $as_echo_n "(cached) " >&6
25689 save_LDFLAGS="$LDFLAGS"
25690 LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25691 libgfor_cv_have_as_needed=no
25693 ac_c_werror_flag=yes
25694 if test x$gcc_no_link = xyes; then
25695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25698 /* end confdefs.h. */
25708 if ac_fn_c_try_link "$LINENO"; then :
25709 libgfor_cv_have_as_needed=yes
25711 libgfor_cv_have_as_needed=no
25713 rm -f core conftest.err conftest.$ac_objext \
25714 conftest$ac_exeext conftest.$ac_ext
25715 LDFLAGS="$save_LDFLAGS"
25716 ac_c_werror_flag=$ac_xsave_c_werror_flag
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25720 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25722 if test "x$libgfor_cv_have_as_needed" = xyes; then
25723 LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25725 LIBQUADSPEC="-lquadmath"
25727 if test -f ../libquadmath/libquadmath.la; then
25728 LIBQUADLIB=../libquadmath/libquadmath.la
25729 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25730 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25732 LIBQUADLIB="-lquadmath"
25738 # for --disable-quadmath
25749 if test "x$libgfor_cv_have_float128" = xyes; then
25750 LIBGFOR_BUILD_QUAD_TRUE=
25751 LIBGFOR_BUILD_QUAD_FALSE='#'
25753 LIBGFOR_BUILD_QUAD_TRUE='#'
25754 LIBGFOR_BUILD_QUAD_FALSE=
25759 # Check for GNU libc feenableexcept
25760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25761 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25762 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25763 $as_echo_n "(cached) " >&6
25765 ac_check_lib_save_LIBS=$LIBS
25767 if test x$gcc_no_link = xyes; then
25768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25771 /* end confdefs.h. */
25773 /* Override any GCC internal prototype to avoid an error.
25774 Use char because int might match the return type of a GCC
25775 builtin and then its argument prototype would still apply. */
25779 char feenableexcept ();
25783 return feenableexcept ();
25788 if ac_fn_c_try_link "$LINENO"; then :
25789 ac_cv_lib_m_feenableexcept=yes
25791 ac_cv_lib_m_feenableexcept=no
25793 rm -f core conftest.err conftest.$ac_objext \
25794 conftest$ac_exeext conftest.$ac_ext
25795 LIBS=$ac_check_lib_save_LIBS
25797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25798 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25799 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25800 have_feenableexcept=yes
25801 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25806 # At least for glibc, clock_gettime is in librt. But don't
25807 # pull that in if it still doesn't give us the function we want. This
25808 # test is copied from libgomp, and modified to not link in -lrt as
25809 # libgfortran calls clock_gettime via a weak reference if it's found
25811 if test $ac_cv_func_clock_gettime = no; then
25812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25813 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25814 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25815 $as_echo_n "(cached) " >&6
25817 ac_check_lib_save_LIBS=$LIBS
25819 if test x$gcc_no_link = xyes; then
25820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25823 /* end confdefs.h. */
25825 /* Override any GCC internal prototype to avoid an error.
25826 Use char because int might match the return type of a GCC
25827 builtin and then its argument prototype would still apply. */
25831 char clock_gettime ();
25835 return clock_gettime ();
25840 if ac_fn_c_try_link "$LINENO"; then :
25841 ac_cv_lib_rt_clock_gettime=yes
25843 ac_cv_lib_rt_clock_gettime=no
25845 rm -f core conftest.err conftest.$ac_objext \
25846 conftest$ac_exeext conftest.$ac_ext
25847 LIBS=$ac_check_lib_save_LIBS
25849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25850 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25851 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25853 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25859 # Check for SysV fpsetmask
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25862 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25863 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25864 $as_echo_n "(cached) " >&6
25867 if test x$gcc_no_link = xyes; then
25868 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25871 /* end confdefs.h. */
25873 #if HAVE_FLOATINGPOINT_H
25874 # include <floatingpoint.h>
25875 #endif /* HAVE_FLOATINGPOINT_H */
25877 # include <ieeefp.h>
25878 #endif /* HAVE_IEEEFP_H */
25887 if ac_fn_c_try_link "$LINENO"; then :
25888 eval "libgfor_cv_have_fpsetmask=yes"
25890 eval "libgfor_cv_have_fpsetmask=no"
25892 rm -f core conftest.err conftest.$ac_objext \
25893 conftest$ac_exeext conftest.$ac_ext
25896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25897 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25898 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25901 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25906 # Check for AIX fp_trap and fp_enable
25907 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25908 if test "x$ac_cv_func_fp_trap" = x""yes; then :
25910 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25914 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25915 if test "x$ac_cv_func_fp_enable" = x""yes; then :
25917 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25922 # Runs configure.host to set up necessary host-dependent shell variables.
25923 # We then display a message about it, and propagate them through the
25925 . ${srcdir}/configure.host
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25927 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25928 FPU_HOST_HEADER=config/${fpu_host}.h
25931 # Some targets require additional compiler options for IEEE compatibility.
25932 IEEE_FLAGS="${ieee_flags}"
25936 # Check for POSIX getpwuid_r
25938 # There are two versions of getpwuid_r, the POSIX one with 5
25939 # arguments, and another one with 4 arguments used by at least HP-UX
25941 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25943 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25944 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25945 $as_echo_n "(cached) " >&6
25948 if test x$gcc_no_link = xyes; then
25949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25952 /* end confdefs.h. */
25955 #include <sys/types.h>
25961 getpwuid_r(0, NULL, NULL, 0, NULL);
25967 if ac_fn_c_try_link "$LINENO"; then :
25968 libgfor_cv_posix_getpwuid_r="yes"
25970 libgfor_cv_posix_getpwuid_r="no"
25972 rm -f core conftest.err conftest.$ac_objext \
25973 conftest$ac_exeext conftest.$ac_ext
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
25976 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
25978 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
25980 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
25985 # Check out attribute support.
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
25988 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
25989 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
25990 $as_echo_n "(cached) " >&6
25993 save_CFLAGS="$CFLAGS"
25994 CFLAGS="$CFLAGS -Werror"
25995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25996 /* end confdefs.h. */
25997 void __attribute__((visibility("hidden"))) foo(void) { }
26006 if ac_fn_c_try_compile "$LINENO"; then :
26007 libgfor_cv_have_attribute_visibility=yes
26009 libgfor_cv_have_attribute_visibility=no
26011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26012 CFLAGS="$save_CFLAGS"
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26015 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26016 if test $libgfor_cv_have_attribute_visibility = yes; then
26018 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26023 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26024 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26025 $as_echo_n "(cached) " >&6
26028 save_CFLAGS="$CFLAGS"
26029 CFLAGS="$CFLAGS -Werror"
26030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26031 /* end confdefs.h. */
26032 void __attribute__((dllexport)) foo(void) { }
26041 if ac_fn_c_try_compile "$LINENO"; then :
26042 libgfor_cv_have_attribute_dllexport=yes
26044 libgfor_cv_have_attribute_dllexport=no
26046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26047 CFLAGS="$save_CFLAGS"
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26050 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26051 if test $libgfor_cv_have_attribute_dllexport = yes; then
26053 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26058 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26059 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26060 $as_echo_n "(cached) " >&6
26063 if test x$gcc_no_link = xyes; then
26064 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26067 /* end confdefs.h. */
26070 extern void bar(void) __attribute__((alias("foo")));
26079 if ac_fn_c_try_link "$LINENO"; then :
26080 libgfor_cv_have_attribute_alias=yes
26082 libgfor_cv_have_attribute_alias=no
26084 rm -f core conftest.err conftest.$ac_objext \
26085 conftest$ac_exeext conftest.$ac_ext
26087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26088 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26089 if test $libgfor_cv_have_attribute_alias = yes; then
26091 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26095 # Check out sync builtins support.
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26098 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26099 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26100 $as_echo_n "(cached) " >&6
26103 if test x$gcc_no_link = xyes; then
26104 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26107 /* end confdefs.h. */
26113 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26114 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26119 if ac_fn_c_try_link "$LINENO"; then :
26120 libgfor_cv_have_sync_fetch_and_add=yes
26122 libgfor_cv_have_sync_fetch_and_add=no
26124 rm -f core conftest.err conftest.$ac_objext \
26125 conftest$ac_exeext conftest.$ac_ext
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26128 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26129 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26131 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26135 # Check out #pragma weak.
26137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26138 $as_echo_n "checking whether pragma weak works... " >&6; }
26139 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26140 $as_echo_n "(cached) " >&6
26143 gfor_save_CFLAGS="$CFLAGS"
26144 CFLAGS="$CFLAGS -Wunknown-pragmas"
26145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26146 /* end confdefs.h. */
26159 if ac_fn_c_try_compile "$LINENO"; then :
26160 libgfor_cv_have_pragma_weak=yes
26162 libgfor_cv_have_pragma_weak=no
26164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26167 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26168 if test $libgfor_cv_have_pragma_weak = yes; then
26170 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26174 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
26176 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26181 # Various other checks on target
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26184 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26185 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26186 $as_echo_n "(cached) " >&6
26189 if test "$cross_compiling" = yes; then :
26191 case "${target}" in
26192 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26193 *) libgfor_cv_have_unlink_open_file=yes;;
26196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26197 /* end confdefs.h. */
26201 #include <unistd.h>
26202 #include <sys/stat.h>
26208 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26211 if (unlink ("testfile") == -1)
26213 write (fd, "This is a test\n", 15);
26216 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26222 if ac_fn_c_try_run "$LINENO"; then :
26223 libgfor_cv_have_unlink_open_file=yes
26225 libgfor_cv_have_unlink_open_file=no
26227 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26228 conftest.$ac_objext conftest.beam conftest.$ac_ext
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26233 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26234 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26236 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26240 # Check whether line terminator is LF or CRLF
26242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26243 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26244 if test "${libgfor_cv_have_crlf+set}" = set; then :
26245 $as_echo_n "(cached) " >&6
26248 if test "$cross_compiling" = yes; then :
26250 case "${target}" in
26251 *mingw*) libgfor_cv_have_crlf=yes ;;
26252 *) libgfor_cv_have_crlf=no;;
26255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26256 /* end confdefs.h. */
26258 /* This test program should exit with status 0 if system uses a CRLF as
26259 line terminator, and status 1 otherwise.
26260 Since it is used to check for mingw systems, and should return 0 in any
26261 other case, in case of a failure we will not use CRLF. */
26262 #include <sys/stat.h>
26263 #include <stdlib.h>
26275 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26278 if (write (fd, "\n", 1) < 0)
26283 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26285 bytes = read (fd, buff, 5);
26286 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26293 if ac_fn_c_try_run "$LINENO"; then :
26294 libgfor_cv_have_crlf=yes
26296 libgfor_cv_have_crlf=no
26298 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26299 conftest.$ac_objext conftest.beam conftest.$ac_ext
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26304 $as_echo "$libgfor_cv_have_crlf" >&6; }
26305 if test x"$libgfor_cv_have_crlf" = xyes; then
26307 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26311 # Check whether we have _Unwind_GetIPInfo for backtrace
26314 # Check whether --with-system-libunwind was given.
26315 if test "${with_system_libunwind+set}" = set; then :
26316 withval=$with_system_libunwind;
26319 # If system-libunwind was not specifically set, pick a default setting.
26320 if test x$with_system_libunwind = x; then
26322 ia64-*-hpux*) with_system_libunwind=yes ;;
26323 *) with_system_libunwind=no ;;
26326 # Based on system-libunwind and target, do we have ipinfo?
26327 if test x$with_system_libunwind = xyes; then
26329 ia64-*-*) have_unwind_getipinfo=no ;;
26330 *) have_unwind_getipinfo=yes ;;
26333 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26336 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
26337 *) have_unwind_getipinfo=yes ;;
26342 if test x$have_unwind_getipinfo = xyes; then
26344 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26349 cat >confcache <<\_ACEOF
26350 # This file is a shell script that caches the results of configure
26351 # tests run on this system so they can be shared between configure
26352 # scripts and configure runs, see configure's option --config-cache.
26353 # It is not useful on other systems. If it contains results you don't
26354 # want to keep, you may remove or edit it.
26356 # config.status only pays attention to the cache file if you give it
26357 # the --recheck option to rerun configure.
26359 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26360 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26361 # following values.
26365 # The following way of writing the cache mishandles newlines in values,
26366 # but we know of no workaround that is simple, portable, and efficient.
26367 # So, we kill variables containing newlines.
26368 # Ultrix sh set writes to stderr and can't be redirected directly,
26369 # and sets the high bit in the cache file unless we assign to the vars.
26371 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26372 eval ac_val=\$$ac_var
26376 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26377 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26380 _ | IFS | as_nl) ;; #(
26381 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26382 *) { eval $ac_var=; unset $ac_var;} ;;
26388 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26389 *${as_nl}ac_space=\ *)
26390 # `set' does not quote correctly, so add quotes: double-quote
26391 # substitution turns \\\\ into \\, and sed turns \\ into \.
26394 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26397 # `set' quotes correctly as required by POSIX, so do not add quotes.
26398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26407 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26409 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26411 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26412 if test -w "$cache_file"; then
26413 test "x$cache_file" != "x/dev/null" &&
26414 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26415 $as_echo "$as_me: updating cache $cache_file" >&6;}
26416 cat confcache >$cache_file
26418 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26419 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26424 if test ${multilib} = yes; then
26425 multilib_arg="--enable-multilib"
26430 # Write our Makefile and spec file.
26431 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26433 cat >confcache <<\_ACEOF
26434 # This file is a shell script that caches the results of configure
26435 # tests run on this system so they can be shared between configure
26436 # scripts and configure runs, see configure's option --config-cache.
26437 # It is not useful on other systems. If it contains results you don't
26438 # want to keep, you may remove or edit it.
26440 # config.status only pays attention to the cache file if you give it
26441 # the --recheck option to rerun configure.
26443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26445 # following values.
26449 # The following way of writing the cache mishandles newlines in values,
26450 # but we know of no workaround that is simple, portable, and efficient.
26451 # So, we kill variables containing newlines.
26452 # Ultrix sh set writes to stderr and can't be redirected directly,
26453 # and sets the high bit in the cache file unless we assign to the vars.
26455 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26456 eval ac_val=\$$ac_var
26460 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26461 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26464 _ | IFS | as_nl) ;; #(
26465 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26466 *) { eval $ac_var=; unset $ac_var;} ;;
26472 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26473 *${as_nl}ac_space=\ *)
26474 # `set' does not quote correctly, so add quotes: double-quote
26475 # substitution turns \\\\ into \\, and sed turns \\ into \.
26478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26481 # `set' quotes correctly as required by POSIX, so do not add quotes.
26482 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26493 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26495 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26496 if test -w "$cache_file"; then
26497 test "x$cache_file" != "x/dev/null" &&
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26499 $as_echo "$as_me: updating cache $cache_file" >&6;}
26500 cat confcache >$cache_file
26502 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26503 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26508 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26509 # Let make expand exec_prefix.
26510 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26512 DEFS=-DHAVE_CONFIG_H
26516 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26517 # 1. Remove the extension, and $U if already installed.
26518 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26519 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26520 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26521 # will be set to the directory where LIBOBJS objects are built.
26522 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26523 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26525 LIBOBJS=$ac_libobjs
26527 LTLIBOBJS=$ac_ltlibobjs
26530 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26531 as_fn_error "conditional \"onestep\" was never defined.
26532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26534 if test -n "$EXEEXT"; then
26536 am__EXEEXT_FALSE='#'
26538 am__EXEEXT_TRUE='#'
26542 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26543 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26546 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26547 as_fn_error "conditional \"AMDEP\" was never defined.
26548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26550 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26551 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26554 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26555 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26558 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26559 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26562 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26563 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26566 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26567 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26570 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26571 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26575 : ${CONFIG_STATUS=./config.status}
26577 ac_clean_files_save=$ac_clean_files
26578 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26579 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26580 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26582 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26584 # Generated by $as_me.
26585 # Run this file to recreate the current configuration.
26586 # Compiler output produced by configure, useful for debugging
26587 # configure, is in config.log if it exists.
26590 ac_cs_recheck=false
26593 SHELL=\${CONFIG_SHELL-$SHELL}
26596 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26597 ## -------------------- ##
26598 ## M4sh Initialization. ##
26599 ## -------------------- ##
26601 # Be more Bourne compatible
26602 DUALCASE=1; export DUALCASE # for MKS sh
26603 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26606 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26607 # is contrary to our usage. Disable this feature.
26608 alias -g '${1+"$@"}'='"$@"'
26609 setopt NO_GLOB_SUBST
26611 case `(set -o) 2>/dev/null` in #(
26623 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26624 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26625 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26626 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26627 # Prefer a ksh shell builtin over an external printf program on Solaris,
26628 # but without wasting forks for bash or zsh.
26629 if test -z "$BASH_VERSION$ZSH_VERSION" \
26630 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26631 as_echo='print -r --'
26632 as_echo_n='print -rn --'
26633 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26634 as_echo='printf %s\n'
26635 as_echo_n='printf %s'
26637 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26638 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26639 as_echo_n='/usr/ucb/echo -n'
26641 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26642 as_echo_n_body='eval
26646 expr "X$arg" : "X\\(.*\\)$as_nl";
26647 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26649 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26651 export as_echo_n_body
26652 as_echo_n='sh -c $as_echo_n_body as_echo'
26654 export as_echo_body
26655 as_echo='sh -c $as_echo_body as_echo'
26658 # The user is always right.
26659 if test "${PATH_SEPARATOR+set}" != set; then
26661 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26662 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26669 # We need space, tab and new line, in precisely that order. Quoting is
26670 # there to prevent editors from complaining about space-tab.
26671 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26672 # splitting by setting IFS to empty value.)
26675 # Find who we are. Look in the path if we contain no directory separator.
26677 *[\\/]* ) as_myself=$0 ;;
26678 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26679 for as_dir in $PATH
26682 test -z "$as_dir" && as_dir=.
26683 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26689 # We did not find ourselves, most probably we were run as `sh COMMAND'
26690 # in which case we are not to be found in the path.
26691 if test "x$as_myself" = x; then
26694 if test ! -f "$as_myself"; then
26695 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26699 # Unset variables that we do not need and which cause bugs (e.g. in
26700 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26701 # suppresses any "Segmentation fault" message there. '((' could
26702 # trigger a bug in pdksh 5.2.14.
26703 for as_var in BASH_ENV ENV MAIL MAILPATH
26704 do eval test x\${$as_var+set} = xset \
26705 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26718 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26721 # as_fn_error ERROR [LINENO LOG_FD]
26722 # ---------------------------------
26723 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26724 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26725 # script with status $?, using 1 if that was 0.
26728 as_status=$?; test $as_status -eq 0 && as_status=1
26730 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26731 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26733 $as_echo "$as_me: error: $1" >&2
26734 as_fn_exit $as_status
26738 # as_fn_set_status STATUS
26739 # -----------------------
26740 # Set $? to STATUS, without forking.
26741 as_fn_set_status ()
26744 } # as_fn_set_status
26746 # as_fn_exit STATUS
26747 # -----------------
26748 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26752 as_fn_set_status $1
26758 # Portably unset VAR.
26761 { eval $1=; unset $1;}
26763 as_unset=as_fn_unset
26764 # as_fn_append VAR VALUE
26765 # ----------------------
26766 # Append the text in VALUE to the end of the definition contained in VAR. Take
26767 # advantage of any shell optimizations that allow amortized linear growth over
26768 # repeated appends, instead of the typical quadratic growth present in naive
26770 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26771 eval 'as_fn_append ()
26782 # as_fn_arith ARG...
26783 # ------------------
26784 # Perform arithmetic evaluation on the ARGs, and store the result in the
26785 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26786 # must be portable across $(()) and expr.
26787 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26788 eval 'as_fn_arith ()
26795 as_val=`expr "$@" || test $? -eq 1`
26800 if expr a : '\(a\)' >/dev/null 2>&1 &&
26801 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26807 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26808 as_basename=basename
26813 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26819 as_me=`$as_basename -- "$0" ||
26820 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26821 X"$0" : 'X\(//\)$' \| \
26822 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26824 sed '/^.*\/\([^/][^/]*\)\/*$/{
26838 # Avoid depending upon Character Ranges.
26839 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26840 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26841 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26842 as_cr_digits='0123456789'
26843 as_cr_alnum=$as_cr_Letters$as_cr_digits
26845 ECHO_C= ECHO_N= ECHO_T=
26846 case `echo -n x` in #(((((
26848 case `echo 'xy\c'` in
26849 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26851 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26858 rm -f conf$$ conf$$.exe conf$$.file
26859 if test -d conf$$.dir; then
26860 rm -f conf$$.dir/conf$$.file
26863 mkdir conf$$.dir 2>/dev/null
26865 if (echo >conf$$.file) 2>/dev/null; then
26866 if ln -s conf$$.file conf$$ 2>/dev/null; then
26868 # ... but there are two gotchas:
26869 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26870 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26871 # In both cases, we have to default to `cp -p'.
26872 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26874 elif ln conf$$.file conf$$ 2>/dev/null; then
26882 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26883 rmdir conf$$.dir 2>/dev/null
26888 # Create "$as_dir" as a directory, including parents if necessary.
26893 -*) as_dir=./$as_dir;;
26895 test -d "$as_dir" || eval $as_mkdir_p || {
26899 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26900 *) as_qdir=$as_dir;;
26902 as_dirs="'$as_qdir' $as_dirs"
26903 as_dir=`$as_dirname -- "$as_dir" ||
26904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26905 X"$as_dir" : 'X\(//\)[^/]' \| \
26906 X"$as_dir" : 'X\(//\)$' \| \
26907 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26908 $as_echo X"$as_dir" |
26909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26913 /^X\(\/\/\)[^/].*/{
26926 test -d "$as_dir" && break
26928 test -z "$as_dirs" || eval "mkdir $as_dirs"
26929 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
26933 if mkdir -p . 2>/dev/null; then
26934 as_mkdir_p='mkdir -p "$as_dir"'
26936 test -d ./-p && rmdir ./-p
26940 if test -x / >/dev/null 2>&1; then
26941 as_test_x='test -x'
26943 if ls -dL / >/dev/null 2>&1; then
26950 if test -d "$1"; then
26956 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26957 ???[sx]*):;;*)false;;esac;fi
26961 as_executable_p=$as_test_x
26963 # Sed expression to map a string onto a valid CPP name.
26964 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26966 # Sed expression to map a string onto a valid variable name.
26967 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26971 ## ----------------------------------- ##
26972 ## Main body of $CONFIG_STATUS script. ##
26973 ## ----------------------------------- ##
26975 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26978 # Save the log message, to keep $0 and so on meaningful, and to
26979 # report actual input values of CONFIG_FILES etc. instead of their
26980 # values after options handling.
26982 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
26983 generated by GNU Autoconf 2.64. Invocation command line was
26985 CONFIG_FILES = $CONFIG_FILES
26986 CONFIG_HEADERS = $CONFIG_HEADERS
26987 CONFIG_LINKS = $CONFIG_LINKS
26988 CONFIG_COMMANDS = $CONFIG_COMMANDS
26991 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26996 case $ac_config_files in *"
26997 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27000 case $ac_config_headers in *"
27001 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27006 # Files that config.status was made for.
27007 config_files="$ac_config_files"
27008 config_headers="$ac_config_headers"
27009 config_commands="$ac_config_commands"
27013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27015 \`$as_me' instantiates files and other configuration actions
27016 from templates according to the current configuration. Unless the files
27017 and actions are specified as TAGs, all are instantiated by default.
27019 Usage: $0 [OPTION]... [TAG]...
27021 -h, --help print this help, then exit
27022 -V, --version print version number and configuration settings, then exit
27023 -q, --quiet, --silent
27024 do not print progress messages
27025 -d, --debug don't remove temporary files
27026 --recheck update $as_me by reconfiguring in the same conditions
27027 --file=FILE[:TEMPLATE]
27028 instantiate the configuration file FILE
27029 --header=FILE[:TEMPLATE]
27030 instantiate the configuration header FILE
27032 Configuration files:
27035 Configuration headers:
27038 Configuration commands:
27041 Report bugs to the package provider.
27042 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27043 General help using GNU software: <http://www.gnu.org/gethelp/>."
27046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27048 GNU Fortran Runtime Library config.status 0.3
27049 configured by $0, generated by GNU Autoconf 2.64,
27050 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27052 Copyright (C) 2009 Free Software Foundation, Inc.
27053 This config.status script is free software; the Free Software Foundation
27054 gives unlimited permission to copy, distribute and modify it."
27061 test -n "\$AWK" || AWK=awk
27064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27065 # The default lists apply if the user does not specify any file.
27071 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27072 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27083 # Handling of the options.
27084 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27086 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27087 $as_echo "$ac_cs_version"; exit ;;
27088 --debug | --debu | --deb | --de | --d | -d )
27090 --file | --fil | --fi | --f )
27093 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27095 as_fn_append CONFIG_FILES " '$ac_optarg'"
27096 ac_need_defaults=false;;
27097 --header | --heade | --head | --hea )
27100 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27102 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27103 ac_need_defaults=false;;
27105 # Conflict between --help and --header
27106 as_fn_error "ambiguous option: \`$1'
27107 Try \`$0 --help' for more information.";;
27108 --help | --hel | -h )
27109 $as_echo "$ac_cs_usage"; exit ;;
27110 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27111 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27114 # This is an error.
27115 -*) as_fn_error "unrecognized option: \`$1'
27116 Try \`$0 --help' for more information." ;;
27118 *) as_fn_append ac_config_targets " $1"
27119 ac_need_defaults=false ;;
27125 ac_configure_extra_args=
27127 if $ac_cs_silent; then
27129 ac_configure_extra_args="$ac_configure_extra_args --silent"
27133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27134 if \$ac_cs_recheck; then
27135 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27137 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27138 CONFIG_SHELL='$SHELL'
27139 export CONFIG_SHELL
27144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27148 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27149 ## Running $as_me. ##
27155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27163 with_multisubdir="$with_multisubdir"
27164 with_multisrctop="$with_multisrctop"
27165 with_target_subdir="$with_target_subdir"
27166 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27167 multi_basedir="$multi_basedir"
27168 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27171 GFORTRAN="$GFORTRAN"
27173 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27176 # The HP-UX ksh and POSIX shell print the target directory to stdout
27177 # if CDPATH is set.
27178 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27180 sed_quote_subst='$sed_quote_subst'
27181 double_quote_subst='$double_quote_subst'
27182 delay_variable_subst='$delay_variable_subst'
27183 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27184 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27185 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27186 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27187 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27188 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27189 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27190 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27191 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27192 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27193 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27194 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27195 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27196 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27197 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27198 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27199 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27200 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27201 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27202 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27203 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27204 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27205 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27206 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27207 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27208 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27209 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27210 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27211 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27212 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27213 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27214 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27215 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27216 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27217 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27218 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27219 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27220 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27221 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27222 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27223 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27224 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27225 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27226 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27227 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27228 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27229 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27230 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27231 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"`'
27232 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27233 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27234 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27235 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27236 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27237 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27238 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27239 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27240 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27241 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27242 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27243 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27244 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27245 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27246 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27247 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27248 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27249 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27250 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27251 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27252 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27253 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27254 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27255 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27256 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27257 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27258 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27259 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27260 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27261 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27262 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27263 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27264 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27265 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27266 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27267 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27268 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27269 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27270 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27271 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27272 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27273 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27274 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27275 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27276 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27277 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27278 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27279 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27280 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27281 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27282 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27283 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27284 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27285 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27286 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27287 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27288 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27289 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27290 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27291 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27292 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27293 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27294 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27295 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27296 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27297 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27298 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27299 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27300 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27301 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27302 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27303 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27304 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27305 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27306 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27307 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27308 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27309 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27310 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27311 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27312 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27313 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27314 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27315 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27316 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27317 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27318 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27319 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27320 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27321 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27322 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27323 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27324 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27325 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27326 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27327 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27328 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27329 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27330 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27331 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27332 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27333 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27334 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27335 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27336 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27337 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27338 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27339 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27340 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27341 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27342 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27343 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27344 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27345 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27346 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27347 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27348 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27349 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27350 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27351 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27352 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27353 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27354 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27355 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27356 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27357 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27360 LTCFLAGS='$LTCFLAGS'
27361 compiler='$compiler_DEFAULT'
27363 # A function that is used when there is no print builtin or printf.
27364 func_fallback_echo ()
27366 eval 'cat <<_LTECHO_EOF
27371 # Quote evaled strings.
27385 deplibs_check_method \
27394 lt_cv_sys_global_symbol_pipe \
27395 lt_cv_sys_global_symbol_to_cdecl \
27396 lt_cv_sys_global_symbol_to_c_name_address \
27397 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27398 lt_prog_compiler_no_builtin_flag \
27399 lt_prog_compiler_wl \
27400 lt_prog_compiler_pic \
27401 lt_prog_compiler_static \
27402 lt_cv_prog_compiler_c_o \
27410 export_dynamic_flag_spec \
27411 whole_archive_flag_spec \
27412 compiler_needs_object \
27414 allow_undefined_flag \
27415 no_undefined_flag \
27416 hardcode_libdir_flag_spec \
27417 hardcode_libdir_flag_spec_ld \
27418 hardcode_libdir_separator \
27423 variables_saved_for_relink \
27425 library_names_spec \
27427 install_override_mode \
27431 compiler_lib_search_dirs \
27436 compiler_lib_search_path \
27440 lt_prog_compiler_no_builtin_flag_FC \
27441 lt_prog_compiler_wl_FC \
27442 lt_prog_compiler_pic_FC \
27443 lt_prog_compiler_static_FC \
27444 lt_cv_prog_compiler_c_o_FC \
27445 export_dynamic_flag_spec_FC \
27446 whole_archive_flag_spec_FC \
27447 compiler_needs_object_FC \
27449 allow_undefined_flag_FC \
27450 no_undefined_flag_FC \
27451 hardcode_libdir_flag_spec_FC \
27452 hardcode_libdir_flag_spec_ld_FC \
27453 hardcode_libdir_separator_FC \
27454 fix_srcfile_path_FC \
27455 exclude_expsyms_FC \
27456 include_expsyms_FC \
27457 file_list_spec_FC \
27458 compiler_lib_search_dirs_FC \
27459 predep_objects_FC \
27460 postdep_objects_FC \
27463 compiler_lib_search_path_FC; do
27464 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27465 *[\\\\\\\`\\"\\\$]*)
27466 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27469 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27474 # Double-quote double-evaled strings.
27475 for var in reload_cmds \
27476 old_postinstall_cmds \
27477 old_postuninstall_cmds \
27479 extract_expsyms_cmds \
27480 old_archive_from_new_cmds \
27481 old_archive_from_expsyms_cmds \
27483 archive_expsym_cmds \
27485 module_expsym_cmds \
27486 export_symbols_cmds \
27489 postuninstall_cmds \
27491 sys_lib_search_path_spec \
27492 sys_lib_dlsearch_path_spec \
27494 old_archive_cmds_FC \
27495 old_archive_from_new_cmds_FC \
27496 old_archive_from_expsyms_cmds_FC \
27498 archive_expsym_cmds_FC \
27500 module_expsym_cmds_FC \
27501 export_symbols_cmds_FC \
27502 prelink_cmds_FC; do
27503 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27504 *[\\\\\\\`\\"\\\$]*)
27505 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27508 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27513 ac_aux_dir='$ac_aux_dir'
27514 xsi_shell='$xsi_shell'
27515 lt_shell_append='$lt_shell_append'
27517 # See if we are running on zsh, and set the options which allow our
27518 # commands through without removal of \ escapes INIT.
27519 if test -n "\${ZSH_VERSION+set}" ; then
27520 setopt NO_GLOB_SUBST
27526 TIMESTAMP='$TIMESTAMP'
27537 acx_cv_header_stdint="$acx_cv_header_stdint"
27538 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27539 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27540 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27541 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27542 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27543 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27544 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27545 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27546 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27547 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27548 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27549 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27550 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27557 # Handling of arguments.
27558 for ac_config_target in $ac_config_targets
27560 case $ac_config_target in
27561 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27562 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27563 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27564 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27565 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27566 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27567 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27569 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27574 # If the user did not use the arguments to specify the items to instantiate,
27575 # then the envvar interface is used. Set only those that are not.
27576 # We use the long form for the default assignment because of an extremely
27577 # bizarre bug on SunOS 4.1.3.
27578 if $ac_need_defaults; then
27579 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27580 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27581 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27584 # Have a temporary directory for convenience. Make it in the build tree
27585 # simply because there is no reason against having it here, and in addition,
27586 # creating and moving files from /tmp can sometimes cause problems.
27587 # Hook for its removal unless debugging.
27588 # Note that there is a small window in which the directory will not be cleaned:
27589 # after its creation but before its name has been assigned to `$tmp'.
27593 trap 'exit_status=$?
27594 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27596 trap 'as_fn_exit 1' 1 2 13 15
27598 # Create a (secure) tmp directory for tmp files.
27601 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27602 test -n "$tmp" && test -d "$tmp"
27605 tmp=./conf$$-$RANDOM
27606 (umask 077 && mkdir "$tmp")
27607 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27609 # Set up the scripts for CONFIG_FILES section.
27610 # No need to generate them if there are no CONFIG_FILES.
27611 # This happens for instance with `./config.status config.h'.
27612 if test -n "$CONFIG_FILES"; then
27615 ac_cr=`echo X | tr X '\015'`
27616 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27617 # But we know of no other shell where ac_cr would be empty at this
27618 # point, so we can use a bashism as a fallback.
27619 if test "x$ac_cr" = x; then
27620 eval ac_cr=\$\'\\r\'
27622 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27623 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27626 ac_cs_awk_cr=$ac_cr
27629 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27634 echo "cat >conf$$subs.awk <<_ACEOF" &&
27635 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27637 } >conf$$subs.sh ||
27638 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27639 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27641 for ac_last_try in false false false false false :; do
27642 . ./conf$$subs.sh ||
27643 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27645 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27646 if test $ac_delim_n = $ac_delim_num; then
27648 elif $ac_last_try; then
27649 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27651 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27654 rm -f conf$$subs.sh
27656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27657 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27661 s/^/S["/; s/!.*/"]=/
27671 s/\(.\{148\}\).*/\1/
27673 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27678 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27685 s/\(.\{148\}\).*/\1/
27687 s/["\\]/\\&/g; s/^/"/; s/$/"/
27691 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27696 ' <conf$$subs.awk | sed '
27701 ' >>$CONFIG_STATUS || ac_write_fail=1
27702 rm -f conf$$subs.awk
27703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27705 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27706 for (key in S) S_is_set[key] = 1
27712 nfields = split(line, field, "@")
27714 len = length(field[1])
27715 for (i = 2; i < nfields; i++) {
27717 keylen = length(key)
27718 if (S_is_set[key]) {
27720 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27721 len += length(value) + length(field[++i])
27732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27733 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27734 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27737 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27738 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27741 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27742 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27743 # trailing colons and then remove the whole line if VPATH becomes empty
27744 # (actually we leave an empty line to preserve line numbers).
27745 if test "x$srcdir" = x.; then
27746 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27747 s/:*\$(srcdir):*/:/
27748 s/:*\${srcdir}:*/:/
27750 s/^\([^=]*=[ ]*\):*/\1/
27756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27757 fi # test -n "$CONFIG_FILES"
27759 # Set up the scripts for CONFIG_HEADERS section.
27760 # No need to generate them if there are no CONFIG_HEADERS.
27761 # This happens for instance with `./config.status Makefile'.
27762 if test -n "$CONFIG_HEADERS"; then
27763 cat >"$tmp/defines.awk" <<\_ACAWK ||
27767 # Transform confdefs.h into an awk script `defines.awk', embedded as
27768 # here-document in config.status, that substitutes the proper values into
27769 # config.h.in to produce config.h.
27771 # Create a delimiter string that does not exist in confdefs.h, to ease
27772 # handling of long lines.
27774 for ac_last_try in false false :; do
27775 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27776 if test -z "$ac_t"; then
27778 elif $ac_last_try; then
27779 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27781 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27785 # For the awk script, D is an array of macro values keyed by name,
27786 # likewise P contains macro parameters if any. Preserve backslash
27787 # newline sequences.
27789 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27791 s/.\{148\}/&'"$ac_delim"'/g
27794 s/^[ ]*#[ ]*define[ ][ ]*/ /
27801 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27803 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27807 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27808 D["\1"]=" \3\\\\\\n"\\/p
27810 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27815 s/.\{148\}/&'"$ac_delim"'/g
27820 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27823 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27825 ' <confdefs.h | sed '
27826 s/'"$ac_delim"'/"\\\
27827 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27830 for (key in D) D_is_set[key] = 1
27833 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27835 split(line, arg, " ")
27836 if (arg[1] == "#") {
27840 defundef = substr(arg[1], 2)
27843 split(mac1, mac2, "(") #)
27845 prefix = substr(line, 1, index(line, defundef) - 1)
27846 if (D_is_set[macro]) {
27847 # Preserve the white space surrounding the "#".
27848 print prefix "define", macro P[macro] D[macro]
27851 # Replace #undef with comments. This is necessary, for example,
27852 # in the case of _POSIX_SOURCE, which is predefined and required
27853 # on some systems where configure will not decide to define it.
27854 if (defundef == "undef") {
27855 print "/*", prefix defundef, macro, "*/"
27863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27864 as_fn_error "could not setup config headers machinery" "$LINENO" 5
27865 fi # test -n "$CONFIG_HEADERS"
27868 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27873 :[FHLC]) ac_mode=$ac_tag; continue;;
27875 case $ac_mode$ac_tag in
27877 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27878 :[FH]-) ac_tag=-:-;;
27879 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27896 -) ac_f="$tmp/stdin";;
27897 *) # Look for the file first in the build tree, then in the source tree
27898 # (if the path is not absolute). The absolute path cannot be DOS-style,
27899 # because $ac_f cannot contain `:'.
27903 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27905 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27907 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27908 as_fn_append ac_file_inputs " '$ac_f'"
27911 # Let's still pretend it is `configure' which instantiates (i.e., don't
27912 # use $as_me), people would be surprised to read:
27913 # /* config.h. Generated by config.status. */
27914 configure_input='Generated from '`
27915 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27917 if test x"$ac_file" != x-; then
27918 configure_input="$ac_file. $configure_input"
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27920 $as_echo "$as_me: creating $ac_file" >&6;}
27922 # Neutralize special characters interpreted by sed in replacement strings.
27923 case $configure_input in #(
27924 *\&* | *\|* | *\\* )
27925 ac_sed_conf_input=`$as_echo "$configure_input" |
27926 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27927 *) ac_sed_conf_input=$configure_input;;
27931 *:-:* | *:-) cat >"$tmp/stdin" \
27932 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27937 ac_dir=`$as_dirname -- "$ac_file" ||
27938 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27939 X"$ac_file" : 'X\(//\)[^/]' \| \
27940 X"$ac_file" : 'X\(//\)$' \| \
27941 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27942 $as_echo X"$ac_file" |
27943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27947 /^X\(\/\/\)[^/].*/{
27960 as_dir="$ac_dir"; as_fn_mkdir_p
27964 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27966 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27967 # A ".." for each directory in $ac_dir_suffix.
27968 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27969 case $ac_top_builddir_sub in
27970 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27971 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27974 ac_abs_top_builddir=$ac_pwd
27975 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27976 # for backward compatibility:
27977 ac_top_builddir=$ac_top_build_prefix
27980 .) # We are building in place.
27982 ac_top_srcdir=$ac_top_builddir_sub
27983 ac_abs_top_srcdir=$ac_pwd ;;
27984 [\\/]* | ?:[\\/]* ) # Absolute name.
27985 ac_srcdir=$srcdir$ac_dir_suffix;
27986 ac_top_srcdir=$srcdir
27987 ac_abs_top_srcdir=$srcdir ;;
27988 *) # Relative name.
27989 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27990 ac_top_srcdir=$ac_top_build_prefix$srcdir
27991 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27993 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28003 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28004 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28006 ac_MKDIR_P=$MKDIR_P
28008 [\\/$]* | ?:[\\/]* ) ;;
28009 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28014 # If the template does not know about datarootdir, expand it.
28015 # FIXME: This hack should be removed a few years after 2.60.
28016 ac_datarootdir_hack=; ac_datarootdir_seen=
28027 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28028 *datarootdir*) ac_datarootdir_seen=yes;;
28029 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28031 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28034 ac_datarootdir_hack='
28035 s&@datadir@&$datadir&g
28036 s&@docdir@&$docdir&g
28037 s&@infodir@&$infodir&g
28038 s&@localedir@&$localedir&g
28039 s&@mandir@&$mandir&g
28040 s&\\\${datarootdir}&$datarootdir&g' ;;
28044 # Neutralize VPATH when `$srcdir' = `.'.
28045 # Shell code in configure.ac might set extrasub.
28046 # FIXME: do we really want to maintain this feature?
28047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28048 ac_sed_extra="$ac_vpsub
28051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28053 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28054 s|@configure_input@|$ac_sed_conf_input|;t t
28055 s&@top_builddir@&$ac_top_builddir_sub&;t t
28056 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28057 s&@srcdir@&$ac_srcdir&;t t
28058 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28059 s&@top_srcdir@&$ac_top_srcdir&;t t
28060 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28061 s&@builddir@&$ac_builddir&;t t
28062 s&@abs_builddir@&$ac_abs_builddir&;t t
28063 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28064 s&@INSTALL@&$ac_INSTALL&;t t
28065 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28066 $ac_datarootdir_hack
28068 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28069 || as_fn_error "could not create $ac_file" "$LINENO" 5
28071 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28072 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28073 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28075 which seems to be undefined. Please make sure it is defined." >&5
28076 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28077 which seems to be undefined. Please make sure it is defined." >&2;}
28081 -) cat "$tmp/out" && rm -f "$tmp/out";;
28082 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28084 || as_fn_error "could not create $ac_file" "$LINENO" 5
28090 if test x"$ac_file" != x-; then
28092 $as_echo "/* $configure_input */" \
28093 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28094 } >"$tmp/config.h" \
28095 || as_fn_error "could not create $ac_file" "$LINENO" 5
28096 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28097 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28098 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28101 mv "$tmp/config.h" "$ac_file" \
28102 || as_fn_error "could not create $ac_file" "$LINENO" 5
28105 $as_echo "/* $configure_input */" \
28106 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28107 || as_fn_error "could not create -" "$LINENO" 5
28109 # Compute "$ac_file"'s index in $config_headers.
28112 for _am_header in $config_headers :; do
28113 case $_am_header in
28114 $_am_arg | $_am_arg:* )
28117 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28120 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28121 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28122 X"$_am_arg" : 'X\(//\)[^/]' \| \
28123 X"$_am_arg" : 'X\(//\)$' \| \
28124 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28125 $as_echo X"$_am_arg" |
28126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28130 /^X\(\/\/\)[^/].*/{
28142 s/.*/./; q'`/stamp-h$_am_stamp_count
28145 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28146 $as_echo "$as_me: executing $ac_file commands" >&6;}
28151 case $ac_file$ac_mode in
28153 # Only add multilib support code if we just rebuilt the top-level
28155 case " $CONFIG_FILES " in
28157 ac_file=Makefile . ${multi_basedir}/config-ml.in
28160 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28161 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28162 # are listed without --file. Let's play safe and only enable the eval
28163 # if we detect the quoting.
28164 case $CONFIG_FILES in
28165 *\'*) eval set x "$CONFIG_FILES" ;;
28166 *) set x $CONFIG_FILES ;;
28171 # Strip MF so we end up with the name of the file.
28172 mf=`echo "$mf" | sed -e 's/:.*$//'`
28173 # Check whether this is an Automake generated Makefile or not.
28174 # We used to match only the files named `Makefile.in', but
28175 # some people rename them; so instead we look at the file content.
28176 # Grep'ing the first line is not enough: some people post-process
28177 # each Makefile.in and add a new line on top of each file to say so.
28178 # Grep'ing the whole file is not good either: AIX grep has a line
28179 # limit of 2048, but all sed's we know have understand at least 4000.
28180 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28181 dirpart=`$as_dirname -- "$mf" ||
28182 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28183 X"$mf" : 'X\(//\)[^/]' \| \
28184 X"$mf" : 'X\(//\)$' \| \
28185 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28191 /^X\(\/\/\)[^/].*/{
28207 # Extract the definition of DEPDIR, am__include, and am__quote
28208 # from the Makefile without running `make'.
28209 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28210 test -z "$DEPDIR" && continue
28211 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28212 test -z "am__include" && continue
28213 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28214 # When using ansi2knr, U may be empty or an underscore; expand it
28215 U=`sed -n 's/^U = //p' < "$mf"`
28216 # Find all dependency output files, they are included files with
28217 # $(DEPDIR) in their names. We invoke sed twice because it is the
28218 # simplest approach to changing $(DEPDIR) to its actual value in the
28220 for file in `sed -n "
28221 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28222 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28223 # Make sure the directory exists.
28224 test -f "$dirpart/$file" && continue
28225 fdir=`$as_dirname -- "$file" ||
28226 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28227 X"$file" : 'X\(//\)[^/]' \| \
28228 X"$file" : 'X\(//\)$' \| \
28229 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28230 $as_echo X"$file" |
28231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28235 /^X\(\/\/\)[^/].*/{
28248 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28249 # echo "creating $dirpart/$file"
28250 echo '# dummy' > "$dirpart/$file"
28257 # See if we are running on zsh, and set the options which allow our
28258 # commands through without removal of \ escapes.
28259 if test -n "${ZSH_VERSION+set}" ; then
28260 setopt NO_GLOB_SUBST
28263 cfgfile="${ofile}T"
28264 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28267 cat <<_LT_EOF >> "$cfgfile"
28270 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28271 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28272 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28273 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28275 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28276 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28277 # Written by Gordon Matzigkeit, 1996
28279 # This file is part of GNU Libtool.
28281 # GNU Libtool is free software; you can redistribute it and/or
28282 # modify it under the terms of the GNU General Public License as
28283 # published by the Free Software Foundation; either version 2 of
28284 # the License, or (at your option) any later version.
28286 # As a special exception to the GNU General Public License,
28287 # if you distribute this file as part of a program or library that
28288 # is built using GNU Libtool, you may include this file under the
28289 # same distribution terms that you use for the rest of that program.
28291 # GNU Libtool is distributed in the hope that it will be useful,
28292 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28293 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28294 # GNU General Public License for more details.
28296 # You should have received a copy of the GNU General Public License
28297 # along with GNU Libtool; see the file COPYING. If not, a copy
28298 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28299 # obtained by writing to the Free Software Foundation, Inc.,
28300 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28303 # The names of the tagged configurations supported by this script.
28304 available_tags="FC "
28306 # ### BEGIN LIBTOOL CONFIG
28308 # Which release of libtool.m4 was used?
28309 macro_version=$macro_version
28310 macro_revision=$macro_revision
28312 # Whether or not to build shared libraries.
28313 build_libtool_libs=$enable_shared
28315 # Whether or not to build static libraries.
28316 build_old_libs=$enable_static
28318 # What type of objects to build.
28321 # Whether or not to optimize for fast installation.
28322 fast_install=$enable_fast_install
28324 # Shell to use when invoking shell scripts.
28327 # An echo program that protects backslashes.
28331 host_alias=$host_alias
28335 # The build system.
28336 build_alias=$build_alias
28340 # A sed program that does not truncate output.
28343 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28344 Xsed="\$SED -e 1s/^X//"
28346 # A grep program that handles long lines.
28352 # A literal string matcher.
28355 # A BSD- or MS-compatible name lister.
28358 # Whether we need soft or hard links.
28361 # What is the maximum length of a command?
28362 max_cmd_len=$max_cmd_len
28364 # Object file suffix (normally "o").
28367 # Executable file suffix (normally "").
28370 # whether the shell understands "unset".
28373 # turn spaces into newlines.
28376 # turn newlines into spaces.
28379 # An object symbol dumper.
28380 OBJDUMP=$lt_OBJDUMP
28382 # Method to check whether dependent libraries are shared objects.
28383 deplibs_check_method=$lt_deplibs_check_method
28385 # Command to use when deplibs_check_method == "file_magic".
28386 file_magic_cmd=$lt_file_magic_cmd
28390 AR_FLAGS=$lt_AR_FLAGS
28392 # A symbol stripping program.
28395 # Commands used to install an old-style archive.
28397 old_postinstall_cmds=$lt_old_postinstall_cmds
28398 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28400 # Whether to use a lock for old archive extraction.
28401 lock_old_archive_extraction=$lock_old_archive_extraction
28406 # LTCC compiler flags.
28407 LTCFLAGS=$lt_CFLAGS
28409 # Take the output of nm and produce a listing of raw symbols and C names.
28410 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28412 # Transform the output of nm in a proper C declaration.
28413 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28415 # Transform the output of nm in a C name address pair.
28416 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28418 # Transform the output of nm in a C name address pair when lib prefix is needed.
28419 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28421 # The name of the directory that contains temporary libtool files.
28424 # Used to examine libraries when file_magic_cmd begins with "file".
28425 MAGIC_CMD=$MAGIC_CMD
28427 # Must we lock files when doing compilation?
28428 need_locks=$lt_need_locks
28430 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28431 DSYMUTIL=$lt_DSYMUTIL
28433 # Tool to change global to local symbols on Mac OS X.
28436 # Tool to manipulate fat objects and archives on Mac OS X.
28439 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28442 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28443 OTOOL64=$lt_OTOOL64
28445 # Old archive suffix (normally "a").
28448 # Shared library suffix (normally ".so").
28449 shrext_cmds=$lt_shrext_cmds
28451 # The commands to extract the exported symbol list from a shared archive.
28452 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28454 # Variables whose values should be saved in libtool wrapper scripts and
28455 # restored at link time.
28456 variables_saved_for_relink=$lt_variables_saved_for_relink
28458 # Do we need the "lib" prefix for modules?
28459 need_lib_prefix=$need_lib_prefix
28461 # Do we need a version for libraries?
28462 need_version=$need_version
28464 # Library versioning type.
28465 version_type=$version_type
28467 # Shared library runtime path variable.
28468 runpath_var=$runpath_var
28470 # Shared library path variable.
28471 shlibpath_var=$shlibpath_var
28473 # Is shlibpath searched before the hard-coded library search path?
28474 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28476 # Format of library name prefix.
28477 libname_spec=$lt_libname_spec
28479 # List of archive names. First name is the real one, the rest are links.
28480 # The last name is the one that the linker finds with -lNAME
28481 library_names_spec=$lt_library_names_spec
28483 # The coded name of the library, if different from the real name.
28484 soname_spec=$lt_soname_spec
28486 # Permission mode override for installation of shared libraries.
28487 install_override_mode=$lt_install_override_mode
28489 # Command to use after installation of a shared archive.
28490 postinstall_cmds=$lt_postinstall_cmds
28492 # Command to use after uninstallation of a shared archive.
28493 postuninstall_cmds=$lt_postuninstall_cmds
28495 # Commands used to finish a libtool library installation in a directory.
28496 finish_cmds=$lt_finish_cmds
28498 # As "finish_cmds", except a single script fragment to be evaled but
28500 finish_eval=$lt_finish_eval
28502 # Whether we should hardcode library paths into libraries.
28503 hardcode_into_libs=$hardcode_into_libs
28505 # Compile-time system search path for libraries.
28506 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28508 # Run-time system search path for libraries.
28509 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28511 # Whether dlopen is supported.
28512 dlopen_support=$enable_dlopen
28514 # Whether dlopen of programs is supported.
28515 dlopen_self=$enable_dlopen_self
28517 # Whether dlopen of statically linked programs is supported.
28518 dlopen_self_static=$enable_dlopen_self_static
28520 # Commands to strip libraries.
28521 old_striplib=$lt_old_striplib
28522 striplib=$lt_striplib
28525 # The linker used to build libraries.
28528 # How to create reloadable object files.
28529 reload_flag=$lt_reload_flag
28530 reload_cmds=$lt_reload_cmds
28532 # Commands used to build an old-style archive.
28533 old_archive_cmds=$lt_old_archive_cmds
28535 # A language specific compiler.
28538 # Is the compiler the GNU compiler?
28541 # Compiler flag to turn off builtin functions.
28542 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28544 # How to pass a linker flag through the compiler.
28545 wl=$lt_lt_prog_compiler_wl
28547 # Additional compiler flags for building library objects.
28548 pic_flag=$lt_lt_prog_compiler_pic
28550 # Compiler flag to prevent dynamic linking.
28551 link_static_flag=$lt_lt_prog_compiler_static
28553 # Does compiler simultaneously support -c and -o options?
28554 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28556 # Whether or not to add -lc for building shared libraries.
28557 build_libtool_need_lc=$archive_cmds_need_lc
28559 # Whether or not to disallow shared libs when runtime libs are static.
28560 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28562 # Compiler flag to allow reflexive dlopens.
28563 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28565 # Compiler flag to generate shared objects directly from archives.
28566 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28568 # Whether the compiler copes with passing no objects directly.
28569 compiler_needs_object=$lt_compiler_needs_object
28571 # Create an old-style archive from a shared archive.
28572 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28574 # Create a temporary old-style archive to link instead of a shared archive.
28575 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28577 # Commands used to build a shared archive.
28578 archive_cmds=$lt_archive_cmds
28579 archive_expsym_cmds=$lt_archive_expsym_cmds
28581 # Commands used to build a loadable module if different from building
28582 # a shared archive.
28583 module_cmds=$lt_module_cmds
28584 module_expsym_cmds=$lt_module_expsym_cmds
28586 # Whether we are building with GNU ld or not.
28587 with_gnu_ld=$lt_with_gnu_ld
28589 # Flag that allows shared libraries with undefined symbols to be built.
28590 allow_undefined_flag=$lt_allow_undefined_flag
28592 # Flag that enforces no undefined symbols.
28593 no_undefined_flag=$lt_no_undefined_flag
28595 # Flag to hardcode \$libdir into a binary during linking.
28596 # This must work even if \$libdir does not exist
28597 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28599 # If ld is used when linking, flag to hardcode \$libdir into a binary
28600 # during linking. This must work even if \$libdir does not exist.
28601 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28603 # Whether we need a single "-rpath" flag with a separated argument.
28604 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28606 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28607 # DIR into the resulting binary.
28608 hardcode_direct=$hardcode_direct
28610 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28611 # DIR into the resulting binary and the resulting library dependency is
28612 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28613 # library is relocated.
28614 hardcode_direct_absolute=$hardcode_direct_absolute
28616 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28617 # into the resulting binary.
28618 hardcode_minus_L=$hardcode_minus_L
28620 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28621 # into the resulting binary.
28622 hardcode_shlibpath_var=$hardcode_shlibpath_var
28624 # Set to "yes" if building a shared library automatically hardcodes DIR
28625 # into the library and all subsequent libraries and executables linked
28627 hardcode_automatic=$hardcode_automatic
28629 # Set to yes if linker adds runtime paths of dependent libraries
28630 # to runtime path list.
28631 inherit_rpath=$inherit_rpath
28633 # Whether libtool must link a program against all its dependency libraries.
28634 link_all_deplibs=$link_all_deplibs
28636 # Fix the shell variable \$srcfile for the compiler.
28637 fix_srcfile_path=$lt_fix_srcfile_path
28639 # Set to "yes" if exported symbols are required.
28640 always_export_symbols=$always_export_symbols
28642 # The commands to list exported symbols.
28643 export_symbols_cmds=$lt_export_symbols_cmds
28645 # Symbols that should not be listed in the preloaded symbols.
28646 exclude_expsyms=$lt_exclude_expsyms
28648 # Symbols that must always be exported.
28649 include_expsyms=$lt_include_expsyms
28651 # Commands necessary for linking programs (against libraries) with templates.
28652 prelink_cmds=$lt_prelink_cmds
28654 # Specify filename containing input files.
28655 file_list_spec=$lt_file_list_spec
28657 # How to hardcode a shared library path into an executable.
28658 hardcode_action=$hardcode_action
28660 # The directories searched by this compiler when creating a shared library.
28661 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28663 # Dependencies to place before and after the objects being linked to
28664 # create a shared library.
28665 predep_objects=$lt_predep_objects
28666 postdep_objects=$lt_postdep_objects
28667 predeps=$lt_predeps
28668 postdeps=$lt_postdeps
28670 # The library search path used internally by the compiler when linking
28671 # a shared library.
28672 compiler_lib_search_path=$lt_compiler_lib_search_path
28674 # ### END LIBTOOL CONFIG
28680 cat <<\_LT_EOF >> "$cfgfile"
28681 # AIX sometimes has problems with the GCC collect2 program. For some
28682 # reason, if we set the COLLECT_NAMES environment variable, the problems
28683 # vanish in a puff of smoke.
28684 if test "X${COLLECT_NAMES+set}" != Xset; then
28686 export COLLECT_NAMES
28693 ltmain="$ac_aux_dir/ltmain.sh"
28696 # We use sed instead of cat because bash on DJGPP gets confused if
28697 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28698 # text mode, it properly converts lines to CR/LF. This bash problem
28699 # is reportedly fixed, but why not run on old versions too?
28700 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28701 || (rm -f "$cfgfile"; exit 1)
28705 cat << \_LT_EOF >> "$cfgfile"
28707 # func_dirname file append nondir_replacement
28708 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28709 # otherwise set result to NONDIR_REPLACEMENT.
28713 */*) func_dirname_result="${1%/*}${2}" ;;
28714 * ) func_dirname_result="${3}" ;;
28718 # func_basename file
28721 func_basename_result="${1##*/}"
28724 # func_dirname_and_basename file append nondir_replacement
28725 # perform func_basename and func_dirname in a single function
28727 # dirname: Compute the dirname of FILE. If nonempty,
28728 # add APPEND to the result, otherwise set result
28729 # to NONDIR_REPLACEMENT.
28730 # value returned in "$func_dirname_result"
28731 # basename: Compute filename of FILE.
28732 # value retuned in "$func_basename_result"
28733 # Implementation must be kept synchronized with func_dirname
28734 # and func_basename. For efficiency, we do not delegate to
28735 # those functions but instead duplicate the functionality here.
28736 func_dirname_and_basename ()
28739 */*) func_dirname_result="${1%/*}${2}" ;;
28740 * ) func_dirname_result="${3}" ;;
28742 func_basename_result="${1##*/}"
28745 # func_stripname prefix suffix name
28746 # strip PREFIX and SUFFIX off of NAME.
28747 # PREFIX and SUFFIX must not contain globbing or regex special
28748 # characters, hashes, percent signs, but SUFFIX may contain a leading
28749 # dot (in which case that matches only a dot).
28752 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28753 # positional parameters, so assign one to ordinary parameter first.
28754 func_stripname_result=${3}
28755 func_stripname_result=${func_stripname_result#"${1}"}
28756 func_stripname_result=${func_stripname_result%"${2}"}
28762 func_opt_split_opt=${1%%=*}
28763 func_opt_split_arg=${1#*=}
28770 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28771 *) func_lo2o_result=${1} ;;
28775 # func_xform libobj-or-source
28778 func_xform_result=${1%.*}.lo
28781 # func_arith arithmetic-term...
28784 func_arith_result=$(( $* ))
28788 # STRING may not start with a hyphen.
28791 func_len_result=${#1}
28796 *) # Bourne compatible functions.
28797 cat << \_LT_EOF >> "$cfgfile"
28799 # func_dirname file append nondir_replacement
28800 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28801 # otherwise set result to NONDIR_REPLACEMENT.
28804 # Extract subdirectory from the argument.
28805 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28806 if test "X$func_dirname_result" = "X${1}"; then
28807 func_dirname_result="${3}"
28809 func_dirname_result="$func_dirname_result${2}"
28813 # func_basename file
28816 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28820 # func_stripname prefix suffix name
28821 # strip PREFIX and SUFFIX off of NAME.
28822 # PREFIX and SUFFIX must not contain globbing or regex special
28823 # characters, hashes, percent signs, but SUFFIX may contain a leading
28824 # dot (in which case that matches only a dot).
28825 # func_strip_suffix prefix name
28829 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28830 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28835 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28836 my_sed_long_arg='1s/^-[^=]*=//'
28841 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28842 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28848 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28851 # func_xform libobj-or-source
28854 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28857 # func_arith arithmetic-term...
28860 func_arith_result=`expr "$@"`
28864 # STRING may not start with a hyphen.
28867 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28873 case $lt_shell_append in
28875 cat << \_LT_EOF >> "$cfgfile"
28877 # func_append var value
28878 # Append VALUE to the end of shell variable VAR.
28886 cat << \_LT_EOF >> "$cfgfile"
28888 # func_append var value
28889 # Append VALUE to the end of shell variable VAR.
28900 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28901 || (rm -f "$cfgfile"; exit 1)
28903 mv -f "$cfgfile" "$ofile" ||
28904 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28908 cat <<_LT_EOF >> "$ofile"
28910 # ### BEGIN LIBTOOL TAG CONFIG: FC
28912 # The linker used to build libraries.
28915 # How to create reloadable object files.
28916 reload_flag=$lt_reload_flag_FC
28917 reload_cmds=$lt_reload_cmds_FC
28919 # Commands used to build an old-style archive.
28920 old_archive_cmds=$lt_old_archive_cmds_FC
28922 # A language specific compiler.
28925 # Is the compiler the GNU compiler?
28928 # Compiler flag to turn off builtin functions.
28929 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28931 # How to pass a linker flag through the compiler.
28932 wl=$lt_lt_prog_compiler_wl_FC
28934 # Additional compiler flags for building library objects.
28935 pic_flag=$lt_lt_prog_compiler_pic_FC
28937 # Compiler flag to prevent dynamic linking.
28938 link_static_flag=$lt_lt_prog_compiler_static_FC
28940 # Does compiler simultaneously support -c and -o options?
28941 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28943 # Whether or not to add -lc for building shared libraries.
28944 build_libtool_need_lc=$archive_cmds_need_lc_FC
28946 # Whether or not to disallow shared libs when runtime libs are static.
28947 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28949 # Compiler flag to allow reflexive dlopens.
28950 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
28952 # Compiler flag to generate shared objects directly from archives.
28953 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
28955 # Whether the compiler copes with passing no objects directly.
28956 compiler_needs_object=$lt_compiler_needs_object_FC
28958 # Create an old-style archive from a shared archive.
28959 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
28961 # Create a temporary old-style archive to link instead of a shared archive.
28962 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
28964 # Commands used to build a shared archive.
28965 archive_cmds=$lt_archive_cmds_FC
28966 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
28968 # Commands used to build a loadable module if different from building
28969 # a shared archive.
28970 module_cmds=$lt_module_cmds_FC
28971 module_expsym_cmds=$lt_module_expsym_cmds_FC
28973 # Whether we are building with GNU ld or not.
28974 with_gnu_ld=$lt_with_gnu_ld_FC
28976 # Flag that allows shared libraries with undefined symbols to be built.
28977 allow_undefined_flag=$lt_allow_undefined_flag_FC
28979 # Flag that enforces no undefined symbols.
28980 no_undefined_flag=$lt_no_undefined_flag_FC
28982 # Flag to hardcode \$libdir into a binary during linking.
28983 # This must work even if \$libdir does not exist
28984 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
28986 # If ld is used when linking, flag to hardcode \$libdir into a binary
28987 # during linking. This must work even if \$libdir does not exist.
28988 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
28990 # Whether we need a single "-rpath" flag with a separated argument.
28991 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
28993 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28994 # DIR into the resulting binary.
28995 hardcode_direct=$hardcode_direct_FC
28997 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28998 # DIR into the resulting binary and the resulting library dependency is
28999 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29000 # library is relocated.
29001 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29003 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29004 # into the resulting binary.
29005 hardcode_minus_L=$hardcode_minus_L_FC
29007 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29008 # into the resulting binary.
29009 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29011 # Set to "yes" if building a shared library automatically hardcodes DIR
29012 # into the library and all subsequent libraries and executables linked
29014 hardcode_automatic=$hardcode_automatic_FC
29016 # Set to yes if linker adds runtime paths of dependent libraries
29017 # to runtime path list.
29018 inherit_rpath=$inherit_rpath_FC
29020 # Whether libtool must link a program against all its dependency libraries.
29021 link_all_deplibs=$link_all_deplibs_FC
29023 # Fix the shell variable \$srcfile for the compiler.
29024 fix_srcfile_path=$lt_fix_srcfile_path_FC
29026 # Set to "yes" if exported symbols are required.
29027 always_export_symbols=$always_export_symbols_FC
29029 # The commands to list exported symbols.
29030 export_symbols_cmds=$lt_export_symbols_cmds_FC
29032 # Symbols that should not be listed in the preloaded symbols.
29033 exclude_expsyms=$lt_exclude_expsyms_FC
29035 # Symbols that must always be exported.
29036 include_expsyms=$lt_include_expsyms_FC
29038 # Commands necessary for linking programs (against libraries) with templates.
29039 prelink_cmds=$lt_prelink_cmds_FC
29041 # Specify filename containing input files.
29042 file_list_spec=$lt_file_list_spec_FC
29044 # How to hardcode a shared library path into an executable.
29045 hardcode_action=$hardcode_action_FC
29047 # The directories searched by this compiler when creating a shared library.
29048 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29050 # Dependencies to place before and after the objects being linked to
29051 # create a shared library.
29052 predep_objects=$lt_predep_objects_FC
29053 postdep_objects=$lt_postdep_objects_FC
29054 predeps=$lt_predeps_FC
29055 postdeps=$lt_postdeps_FC
29057 # The library search path used internally by the compiler when linking
29058 # a shared library.
29059 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29061 # ### END LIBTOOL TAG CONFIG: FC
29066 if test "$GCC" = yes; then
29067 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29069 echo "/* generated for $CC */" > tmp-stdint.h
29072 sed 's/^ *//' >> tmp-stdint.h <<EOF
29074 #ifndef GCC_GENERATED_STDINT_H
29075 #define GCC_GENERATED_STDINT_H 1
29077 #include <sys/types.h>
29080 if test "$acx_cv_header_stdint" != stdint.h; then
29081 echo "#include <stddef.h>" >> tmp-stdint.h
29083 if test "$acx_cv_header_stdint" != stddef.h; then
29084 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29087 sed 's/^ *//' >> tmp-stdint.h <<EOF
29088 /* glibc uses these symbols as guards to prevent redefinitions. */
29089 #ifdef __int8_t_defined
29094 #ifdef __uint32_t_defined
29100 # ----------------- done header, emit basic int types -------------
29101 if test "$acx_cv_header_stdint" = stddef.h; then
29102 sed 's/^ *//' >> tmp-stdint.h <<EOF
29106 #ifndef __uint8_t_defined
29107 #define __uint8_t_defined
29109 typedef unsigned $acx_cv_type_int8_t uint8_t;
29116 #ifndef __uint16_t_defined
29117 #define __uint16_t_defined
29119 typedef unsigned $acx_cv_type_int16_t uint16_t;
29126 #ifndef __uint32_t_defined
29127 #define __uint32_t_defined
29129 typedef unsigned $acx_cv_type_int32_t uint32_t;
29136 #ifndef __int8_t_defined
29137 #define __int8_t_defined
29139 typedef $acx_cv_type_int8_t int8_t;
29146 #ifndef __int16_t_defined
29147 #define __int16_t_defined
29149 typedef $acx_cv_type_int16_t int16_t;
29156 #ifndef __int32_t_defined
29157 #define __int32_t_defined
29159 typedef $acx_cv_type_int32_t int32_t;
29164 elif test "$ac_cv_type_u_int32_t" = yes; then
29165 sed 's/^ *//' >> tmp-stdint.h <<EOF
29167 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29180 #ifndef __uint8_t_defined
29181 #define __uint8_t_defined
29183 typedef u_int8_t uint8_t;
29190 #ifndef __uint16_t_defined
29191 #define __uint16_t_defined
29193 typedef u_int16_t uint16_t;
29200 #ifndef __uint32_t_defined
29201 #define __uint32_t_defined
29203 typedef u_int32_t uint32_t;
29209 sed 's/^ *//' >> tmp-stdint.h <<EOF
29211 /* Some systems have guard macros to prevent redefinitions, define them. */
29233 # ------------- done basic int types, emit int64_t types ------------
29234 if test "$ac_cv_type_uint64_t" = yes; then
29235 sed 's/^ *//' >> tmp-stdint.h <<EOF
29237 /* system headers have good uint64_t and int64_t */
29245 elif test "$ac_cv_type_u_int64_t" = yes; then
29246 sed 's/^ *//' >> tmp-stdint.h <<EOF
29248 /* system headers have an u_int64_t (and int64_t) */
29254 #ifndef __uint64_t_defined
29255 #define __uint64_t_defined
29257 typedef u_int64_t uint64_t;
29262 elif test -n "$acx_cv_type_int64_t"; then
29263 sed 's/^ *//' >> tmp-stdint.h <<EOF
29265 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29269 typedef $acx_cv_type_int64_t int64_t;
29274 #ifndef __uint64_t_defined
29275 #define __uint64_t_defined
29277 typedef unsigned $acx_cv_type_int64_t uint64_t;
29283 sed 's/^ *//' >> tmp-stdint.h <<EOF
29285 /* some common heuristics for int64_t, using compiler-specific tests */
29286 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29289 #ifndef __int64_t_defined
29291 typedef long long int64_t;
29298 typedef unsigned long long uint64_t;
29302 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29303 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29304 does not implement __extension__. But that compiler doesn't define
29306 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29307 # define __extension__
29313 __extension__ typedef long long int64_t;
29319 __extension__ typedef unsigned long long uint64_t;
29323 #elif !defined __STRICT_ANSI__
29324 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29329 typedef __int64 int64_t;
29335 typedef unsigned __int64 uint64_t;
29338 # endif /* compiler */
29340 #endif /* ANSI version */
29344 # ------------- done int64_t types, emit intptr types ------------
29345 if test "$ac_cv_type_uintptr_t" != yes; then
29346 sed 's/^ *//' >> tmp-stdint.h <<EOF
29348 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29349 #ifndef __uintptr_t_defined
29351 typedef u$acx_cv_type_intptr_t uintptr_t;
29354 #ifndef __intptr_t_defined
29356 typedef $acx_cv_type_intptr_t intptr_t;
29362 # ------------- done intptr types, emit int_least types ------------
29363 if test "$ac_cv_type_int_least32_t" != yes; then
29364 sed 's/^ *//' >> tmp-stdint.h <<EOF
29366 /* Define int_least types */
29367 typedef int8_t int_least8_t;
29368 typedef int16_t int_least16_t;
29369 typedef int32_t int_least32_t;
29371 typedef int64_t int_least64_t;
29374 typedef uint8_t uint_least8_t;
29375 typedef uint16_t uint_least16_t;
29376 typedef uint32_t uint_least32_t;
29378 typedef uint64_t uint_least64_t;
29383 # ------------- done intptr types, emit int_fast types ------------
29384 if test "$ac_cv_type_int_fast32_t" != yes; then
29385 sed 's/^ *//' >> tmp-stdint.h <<EOF
29387 /* Define int_fast types. short is often slow */
29388 typedef int8_t int_fast8_t;
29389 typedef int int_fast16_t;
29390 typedef int32_t int_fast32_t;
29392 typedef int64_t int_fast64_t;
29395 typedef uint8_t uint_fast8_t;
29396 typedef unsigned int uint_fast16_t;
29397 typedef uint32_t uint_fast32_t;
29399 typedef uint64_t uint_fast64_t;
29404 if test "$ac_cv_type_uintmax_t" != yes; then
29405 sed 's/^ *//' >> tmp-stdint.h <<EOF
29407 /* Define intmax based on what we found */
29410 typedef int64_t intmax_t;
29412 typedef long intmax_t;
29417 typedef uint64_t uintmax_t;
29419 typedef unsigned long uintmax_t;
29425 sed 's/^ *//' >> tmp-stdint.h <<EOF
29427 #endif /* GCC_GENERATED_STDINT_H */
29430 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29433 mv -f tmp-stdint.h gstdint.h
29444 ac_clean_files=$ac_clean_files_save
29446 test $ac_write_fail = 0 ||
29447 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29450 # configure is writing to config.log, and then calls config.status.
29451 # config.status does its own redirection, appending to config.log.
29452 # Unfortunately, on DOS this fails, as config.log is still kept open
29453 # by configure, so config.status won't be able to write to it; its
29454 # output is simply discarded. So we exec the FD to /dev/null,
29455 # effectively closing config.log, so it can be properly (re)opened and
29456 # appended to by config.status. When coming back to configure, we
29457 # need to make the FD available again.
29458 if test "$no_create" != yes; then
29460 ac_config_status_args=
29461 test "$silent" = yes &&
29462 ac_config_status_args="$ac_config_status_args --quiet"
29464 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29466 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29467 # would make configure fail if this is the last instruction.
29468 $ac_cs_success || as_fn_exit $?
29470 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29472 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}