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
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || 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>
601 ac_subst_vars='am__EXEEXT_FALSE
607 LIBGFOR_BUILD_QUAD_FALSE
608 LIBGFOR_BUILD_QUAD_TRUE
613 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
668 MAINTAINER_MODE_FALSE
678 INSTALL_STRIP_PROGRAM
739 program_transform_name
752 enable_option_checking
754 enable_version_specific_runtime_libs
756 enable_maintainer_mode
758 enable_dependency_tracking
767 ac_precious_vars='build_alias
778 # Initialize some variables set by options.
780 ac_init_version=false
781 ac_unrecognized_opts=
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
792 program_transform_name=s,x,x,
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir='${exec_prefix}/bin'
807 sbindir='${exec_prefix}/sbin'
808 libexecdir='${exec_prefix}/libexec'
809 datarootdir='${prefix}/share'
810 datadir='${datarootdir}'
811 sysconfdir='${prefix}/etc'
812 sharedstatedir='${prefix}/com'
813 localstatedir='${prefix}/var'
814 includedir='${prefix}/include'
815 oldincludedir='/usr/include'
816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir='${datarootdir}/info'
822 libdir='${exec_prefix}/lib'
823 localedir='${datarootdir}/locale'
824 mandir='${datarootdir}/man'
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\$ac_option
838 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853 -build | --build | --buil | --bui | --bu)
854 ac_prev=build_alias ;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev=cache_file ;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file=$ac_optarg ;;
866 cache_file=config.cache ;;
868 -datadir | --datadir | --datadi | --datad)
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev=datarootdir ;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884 as_fn_error "invalid feature name: $ac_useropt"
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
894 eval enable_$ac_useropt=no ;;
896 -docdir | --docdir | --docdi | --doc | --do)
898 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
901 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
903 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
906 -enable-* | --enable-*)
907 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910 as_fn_error "invalid feature name: $ac_useropt"
911 ac_useropt_orig=$ac_useropt
912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep=', ';;
920 eval enable_$ac_useropt=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
935 -help | --help | --hel | --he | -h)
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
995 # Obsolete; use --without-fp.
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1084 -site=* | --site=* | --sit=*)
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1111 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114 as_fn_error "invalid package name: $ac_useropt"
1115 ac_useropt_orig=$ac_useropt
1116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep=', ';;
1124 eval with_$ac_useropt=\$ac_optarg ;;
1126 -without-* | --without-*)
1127 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130 as_fn_error "invalid package name: $ac_useropt"
1131 ac_useropt_orig=$ac_useropt
1132 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep=', ';;
1140 eval with_$ac_useropt=no ;;
1143 # Obsolete; use --with-x.
1146 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1147 | --x-incl | --x-inc | --x-in | --x-i)
1148 ac_prev=x_includes ;;
1149 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1150 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1151 x_includes=$ac_optarg ;;
1153 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1154 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1155 ac_prev=x_libraries ;;
1156 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1157 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1158 x_libraries=$ac_optarg ;;
1160 -*) as_fn_error "unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information."
1165 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' | [0-9]* | *[!_$as_cr_alnum]* )
1169 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1185 if test -n "$ac_prev"; then
1186 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error "missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val=\$$ac_var
1205 # Remove trailing slashes.
1208 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$]* | ?:[\\/]* ) continue;;
1214 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1216 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x; then
1228 if test "x$build_alias" = x; then
1229 cross_compiling=maybe
1230 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1231 If a cross compiler is detected then cross compile mode will be used." >&2
1232 elif test "x$build_alias" != "x$host_alias"; then
1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1240 test "$silent" = yes && exec 6>/dev/null
1243 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di=`ls -di .` &&
1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1246 as_fn_error "working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248 as_fn_error "pwd does not report name of working directory"
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253 ac_srcdir_defaulted=yes
1254 # Try the directory containing this script, then the parent directory.
1255 ac_confdir=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257 X"$as_myself" : 'X\(//\)[^/]' \| \
1258 X"$as_myself" : 'X\(//\)$' \| \
1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1283 ac_srcdir_defaulted=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1287 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1289 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1301 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1303 for ac_var in $ac_precious_vars; do
1304 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1305 eval ac_env_${ac_var}_value=\$${ac_var}
1306 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314 # Omit some internal or obsolete options to make the list less imposing.
1315 # This message is too long to be a string in the A/UX 3.1 sh.
1317 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE. See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1327 -h, --help display this help and exit
1328 --help=short display options specific to this package
1329 --help=recursive display the short help of all the included packages
1330 -V, --version display version information and exit
1331 -q, --quiet, --silent do not print \`checking...' messages
1332 --cache-file=FILE cache test results in FILE [disabled]
1333 -C, --config-cache alias for \`--cache-file=config.cache'
1334 -n, --no-create do not create output files
1335 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338 --prefix=PREFIX install architecture-independent files in PREFIX
1339 [$ac_default_prefix]
1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351 --bindir=DIR user executables [EPREFIX/bin]
1352 --sbindir=DIR system admin executables [EPREFIX/sbin]
1353 --libexecdir=DIR program executables [EPREFIX/libexec]
1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1375 --program-prefix=PREFIX prepend PREFIX to installed program names
1376 --program-suffix=SUFFIX append SUFFIX to installed program names
1377 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1380 --build=BUILD configure for building on BUILD [guessed]
1381 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1382 --target=TARGET configure for building compilers for TARGET [HOST]
1386 if test -n "$ac_init_help"; then
1387 case $ac_init_help in
1388 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1393 --disable-option-checking ignore unrecognized --enable/--with options
1394 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1395 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1396 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1397 --enable-intermodule build the library in one step
1398 --enable-maintainer-mode enable make rules and dependencies not useful
1399 (and sometimes confusing) to the casual installer
1400 --enable-multilib build many library versions (default)
1401 --disable-dependency-tracking speeds up one-time build
1402 --enable-dependency-tracking do not reject slow dependency extractors
1403 --enable-shared[=PKGS] build shared libraries [default=yes]
1404 --enable-static[=PKGS] build static libraries [default=yes]
1405 --enable-fast-install[=PKGS]
1406 optimize for fast installation [default=yes]
1407 --disable-libtool-lock avoid locking (might break parallel builds)
1408 --disable-largefile omit support for large files
1411 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1412 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1413 --with-build-libsubdir=DIR Directory where to find libraries for build system
1414 --with-pic try to use only PIC/non-PIC objects [default=use
1416 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1418 Some influential environment variables:
1419 CC C compiler command
1420 CFLAGS C compiler flags
1421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1422 nonstandard directory <lib dir>
1423 LIBS libraries to pass to the linker, e.g. -l<library>
1424 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1425 you have headers in a nonstandard directory <include dir>
1427 FC Fortran compiler command
1428 FCFLAGS Fortran compiler flags
1430 Use these variables to override the choices made by `configure' or to help
1431 it to find libraries and programs with nonstandard names/locations.
1433 Report bugs to the package provider.
1434 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1435 General help using GNU software: <http://www.gnu.org/gethelp/>.
1440 if test "$ac_init_help" = "recursive"; then
1441 # If there are subdirs, report their specific --help.
1442 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1443 test -d "$ac_dir" ||
1444 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1452 # A ".." for each directory in $ac_dir_suffix.
1453 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1454 case $ac_top_builddir_sub in
1455 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1456 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1459 ac_abs_top_builddir=$ac_pwd
1460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1461 # for backward compatibility:
1462 ac_top_builddir=$ac_top_build_prefix
1465 .) # We are building in place.
1467 ac_top_srcdir=$ac_top_builddir_sub
1468 ac_abs_top_srcdir=$ac_pwd ;;
1469 [\\/]* | ?:[\\/]* ) # Absolute name.
1470 ac_srcdir=$srcdir$ac_dir_suffix;
1471 ac_top_srcdir=$srcdir
1472 ac_abs_top_srcdir=$srcdir ;;
1474 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1475 ac_top_srcdir=$ac_top_build_prefix$srcdir
1476 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1480 cd "$ac_dir" || { ac_status=$?; continue; }
1481 # Check for guested configure.
1482 if test -f "$ac_srcdir/configure.gnu"; then
1484 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1485 elif test -f "$ac_srcdir/configure"; then
1487 $SHELL "$ac_srcdir/configure" --help=recursive
1489 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1491 cd "$ac_pwd" || { ac_status=$?; break; }
1495 test -n "$ac_init_help" && exit $ac_status
1496 if $ac_init_version; then
1498 GNU Fortran Runtime Library configure 0.3
1499 generated by GNU Autoconf 2.64
1501 Copyright (C) 2009 Free Software Foundation, Inc.
1502 This configure script is free software; the Free Software Foundation
1503 gives unlimited permission to copy, distribute and modify it.
1508 ## ------------------------ ##
1509 ## Autoconf initialization. ##
1510 ## ------------------------ ##
1512 # ac_fn_c_try_compile LINENO
1513 # --------------------------
1514 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1515 ac_fn_c_try_compile ()
1517 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1518 rm -f conftest.$ac_objext
1519 if { { ac_try="$ac_compile"
1521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1522 *) ac_try_echo=$ac_try;;
1524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525 $as_echo "$ac_try_echo"; } >&5
1526 (eval "$ac_compile") 2>conftest.err
1528 if test -s conftest.err; then
1529 grep -v '^ *+' conftest.err >conftest.er1
1530 cat conftest.er1 >&5
1531 mv -f conftest.er1 conftest.err
1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534 test $ac_status = 0; } && {
1535 test -z "$ac_c_werror_flag" ||
1536 test ! -s conftest.err
1537 } && test -s conftest.$ac_objext; then :
1540 $as_echo "$as_me: failed program was:" >&5
1541 sed 's/^/| /' conftest.$ac_ext >&5
1545 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1548 } # ac_fn_c_try_compile
1550 # ac_fn_c_try_link LINENO
1551 # -----------------------
1552 # Try to link conftest.$ac_ext, and return whether this succeeded.
1555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1556 rm -f conftest.$ac_objext conftest$ac_exeext
1557 if { { ac_try="$ac_link"
1559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560 *) ac_try_echo=$ac_try;;
1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564 (eval "$ac_link") 2>conftest.err
1566 if test -s conftest.err; then
1567 grep -v '^ *+' conftest.err >conftest.er1
1568 cat conftest.er1 >&5
1569 mv -f conftest.er1 conftest.err
1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572 test $ac_status = 0; } && {
1573 test -z "$ac_c_werror_flag" ||
1574 test ! -s conftest.err
1575 } && test -s conftest$ac_exeext && {
1576 test "$cross_compiling" = yes ||
1577 $as_test_x conftest$ac_exeext
1581 $as_echo "$as_me: failed program was:" >&5
1582 sed 's/^/| /' conftest.$ac_ext >&5
1586 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1587 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1588 # interfere with the next link command; also delete a directory that is
1589 # left behind by Apple's compiler. We do this before executing the actions.
1590 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1591 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1594 } # ac_fn_c_try_link
1596 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1597 # -------------------------------------------------------
1598 # Tests whether HEADER exists and can be compiled using the include files in
1599 # INCLUDES, setting the cache variable VAR accordingly.
1600 ac_fn_c_check_header_compile ()
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604 $as_echo_n "checking for $2... " >&6; }
1605 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1606 $as_echo_n "(cached) " >&6
1608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609 /* end confdefs.h. */
1613 if ac_fn_c_try_compile "$LINENO"; then :
1618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622 $as_echo "$ac_res" >&6; }
1623 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1625 } # ac_fn_c_check_header_compile
1627 # ac_fn_c_try_cpp LINENO
1628 # ----------------------
1629 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633 if { { ac_try="$ac_cpp conftest.$ac_ext"
1635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1642 if test -s conftest.err; then
1643 grep -v '^ *+' conftest.err >conftest.er1
1644 cat conftest.er1 >&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } >/dev/null && {
1649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1659 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 # ac_fn_c_try_run LINENO
1665 # ----------------------
1666 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1667 # that executables *can* be run.
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 if { { ac_try="$ac_link"
1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_link") 2>&5
1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1682 { { case "(($ac_try" in
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_try") 2>&5
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; }; }; then :
1694 $as_echo "$as_me: program exited with status $ac_status" >&5
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1698 ac_retval=$ac_status
1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1706 # ac_fn_c_check_func LINENO FUNC VAR
1707 # ----------------------------------
1708 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1709 ac_fn_c_check_func ()
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1715 $as_echo_n "(cached) " >&6
1717 if test x$gcc_no_link = xyes; then
1718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h. */
1722 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1724 #define $2 innocuous_$2
1726 /* System header to define __stub macros and hopefully few prototypes,
1727 which can conflict with char $2 (); below.
1728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1729 <limits.h> exists even on freestanding compilers. */
1732 # include <limits.h>
1734 # include <assert.h>
1739 /* Override any GCC internal prototype to avoid an error.
1740 Use char because int might match the return type of a GCC
1741 builtin and then its argument prototype would still apply. */
1746 /* The GNU C library defines this for functions which it implements
1747 to always fail with ENOSYS. Some functions are actually named
1748 something starting with __ and the normal name is an alias. */
1749 #if defined __stub_$2 || defined __stub___$2
1761 if ac_fn_c_try_link "$LINENO"; then :
1766 rm -f core conftest.err conftest.$ac_objext \
1767 conftest$ac_exeext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774 } # ac_fn_c_check_func
1776 # ac_fn_fc_try_compile LINENO
1777 # ---------------------------
1778 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1779 ac_fn_fc_try_compile ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 rm -f conftest.$ac_objext
1783 if { { ac_try="$ac_compile"
1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786 *) ac_try_echo=$ac_try;;
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_compile") 2>conftest.err
1792 if test -s conftest.err; then
1793 grep -v '^ *+' conftest.err >conftest.er1
1794 cat conftest.er1 >&5
1795 mv -f conftest.er1 conftest.err
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; } && {
1799 test -z "$ac_fc_werror_flag" ||
1800 test ! -s conftest.err
1801 } && test -s conftest.$ac_objext; then :
1804 $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1809 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 } # ac_fn_fc_try_compile
1814 # ac_fn_fc_try_link LINENO
1815 # ------------------------
1816 # Try to link conftest.$ac_ext, and return whether this succeeded.
1817 ac_fn_fc_try_link ()
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 rm -f conftest.$ac_objext conftest$ac_exeext
1821 if { { ac_try="$ac_link"
1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_link") 2>conftest.err
1830 if test -s conftest.err; then
1831 grep -v '^ *+' conftest.err >conftest.er1
1832 cat conftest.er1 >&5
1833 mv -f conftest.er1 conftest.err
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } && {
1837 test -z "$ac_fc_werror_flag" ||
1838 test ! -s conftest.err
1839 } && test -s conftest$ac_exeext && {
1840 test "$cross_compiling" = yes ||
1841 $as_test_x conftest$ac_exeext
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.$ac_ext >&5
1850 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1851 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1852 # interfere with the next link command; also delete a directory that is
1853 # left behind by Apple's compiler. We do this before executing the actions.
1854 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1855 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1858 } # ac_fn_fc_try_link
1860 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1861 # -------------------------------------------
1862 # Tests whether TYPE exists after having included INCLUDES, setting cache
1863 # variable VAR accordingly.
1864 ac_fn_c_check_type ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868 $as_echo_n "checking for $2... " >&6; }
1869 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1870 $as_echo_n "(cached) " >&6
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1885 if ac_fn_c_try_compile "$LINENO"; then :
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1898 if ac_fn_c_try_compile "$LINENO"; then :
1903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 $as_echo "$ac_res" >&6; }
1910 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912 } # ac_fn_c_check_type
1914 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1915 # -------------------------------------------------------
1916 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1917 # the include files in INCLUDES and setting the cache variable VAR
1919 ac_fn_c_check_header_mongrel ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1924 $as_echo_n "checking for $2... " >&6; }
1925 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1926 $as_echo_n "(cached) " >&6
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930 $as_echo "$ac_res" >&6; }
1932 # Is the header compilable?
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1934 $as_echo_n "checking $2 usability... " >&6; }
1935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h. */
1940 if ac_fn_c_try_compile "$LINENO"; then :
1941 ac_header_compiler=yes
1943 ac_header_compiler=no
1945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1947 $as_echo "$ac_header_compiler" >&6; }
1949 # Is the header present?
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1951 $as_echo_n "checking $2 presence... " >&6; }
1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953 /* end confdefs.h. */
1956 if ac_fn_c_try_cpp "$LINENO"; then :
1957 ac_header_preproc=yes
1959 ac_header_preproc=no
1961 rm -f conftest.err conftest.$ac_ext
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1963 $as_echo "$ac_header_preproc" >&6; }
1965 # So? What about this header?
1966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1969 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1971 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1975 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1977 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1979 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1981 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1983 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1987 $as_echo_n "checking for $2... " >&6; }
1988 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1989 $as_echo_n "(cached) " >&6
1991 eval "$3=\$ac_header_compiler"
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1997 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1999 } # ac_fn_c_check_header_mongrel
2001 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2002 # --------------------------------------------
2003 # Tries to find the compile-time value of EXPR in a program that includes
2004 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2006 ac_fn_c_compute_int ()
2008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009 if test "$cross_compiling" = yes; then
2010 # Depending upon the size, compute the lo and hi bounds.
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2017 static int test_array [1 - 2 * !(($2) >= 0)];
2024 if ac_fn_c_try_compile "$LINENO"; then :
2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2033 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2040 if ac_fn_c_try_compile "$LINENO"; then :
2041 ac_hi=$ac_mid; break
2043 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2044 if test $ac_lo -le $ac_mid; then
2048 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2059 static int test_array [1 - 2 * !(($2) < 0)];
2066 if ac_fn_c_try_compile "$LINENO"; then :
2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2075 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2082 if ac_fn_c_try_compile "$LINENO"; then :
2083 ac_lo=$ac_mid; break
2085 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2086 if test $ac_mid -le $ac_hi; then
2090 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100 # Binary search between lo and hi bounds.
2101 while test "x$ac_lo" != "x$ac_hi"; do
2102 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2109 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2116 if ac_fn_c_try_compile "$LINENO"; then :
2119 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2124 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2131 static long int longval () { return $2; }
2132 static unsigned long int ulongval () { return $2; }
2139 FILE *f = fopen ("conftest.val", "w");
2144 long int i = longval ();
2147 fprintf (f, "%ld", i);
2151 unsigned long int i = ulongval ();
2154 fprintf (f, "%lu", i);
2156 /* Do not output a trailing newline, as this causes \r\n confusion
2157 on some platforms. */
2158 return ferror (f) || fclose (f) != 0;
2164 if ac_fn_c_try_run "$LINENO"; then :
2165 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2169 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2170 conftest.$ac_objext conftest.beam conftest.$ac_ext
2174 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2177 } # ac_fn_c_compute_int
2179 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2180 # ----------------------------------------------------
2181 # Tries to find if the field MEMBER exists in type AGGR, after including
2182 # INCLUDES, setting cache variable VAR accordingly.
2183 ac_fn_c_check_member ()
2185 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2187 $as_echo_n "checking for $2.$3... " >&6; }
2188 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2189 $as_echo_n "(cached) " >&6
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2204 if ac_fn_c_try_compile "$LINENO"; then :
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2214 if (sizeof ac_aggr.$3)
2220 if ac_fn_c_try_compile "$LINENO"; then :
2225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2231 $as_echo "$ac_res" >&6; }
2232 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2234 } # ac_fn_c_check_member
2235 cat >config.log <<_ACEOF
2236 This file contains any messages produced by compilers while
2237 running configure, to aid debugging if configure makes a mistake.
2239 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2240 generated by GNU Autoconf 2.64. Invocation command line was
2252 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2253 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2254 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2255 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2256 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2258 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2259 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2261 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2262 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2263 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2264 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2265 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2266 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2267 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir=.
2276 $as_echo "PATH: $as_dir"
2292 # Keep a trace of the command line.
2293 # Strip out --no-create and --no-recursion so they do not pile up.
2294 # Strip out --silent because we don't want to record it for future runs.
2295 # Also quote any args containing shell meta-characters.
2296 # Make two passes to allow for proper duplicate-argument suppression.
2300 ac_must_keep_next=false
2306 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2307 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2308 | -silent | --silent | --silen | --sile | --sil)
2311 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2314 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2316 as_fn_append ac_configure_args1 " '$ac_arg'"
2317 if test $ac_must_keep_next = true; then
2318 ac_must_keep_next=false # Got value, back to normal.
2321 *=* | --config-cache | -C | -disable-* | --disable-* \
2322 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2323 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2324 | -with-* | --with-* | -without-* | --without-* | --x)
2325 case "$ac_configure_args0 " in
2326 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2329 -* ) ac_must_keep_next=true ;;
2332 as_fn_append ac_configure_args " '$ac_arg'"
2337 { ac_configure_args0=; unset ac_configure_args0;}
2338 { ac_configure_args1=; unset ac_configure_args1;}
2340 # When interrupted or exit'd, cleanup temporary files, and complete
2341 # config.log. We remove comments because anyway the quotes in there
2342 # would cause problems or look ugly.
2343 # WARNING: Use '\'' to represent an apostrophe within the trap.
2344 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2345 trap 'exit_status=$?
2346 # Save into config.log some information that might help in debugging.
2351 ## ---------------- ##
2352 ## Cache variables. ##
2353 ## ---------------- ##
2356 # The following way of writing the cache mishandles newlines in values,
2358 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2359 eval ac_val=\$$ac_var
2363 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2364 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2367 _ | IFS | as_nl) ;; #(
2368 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2369 *) { eval $ac_var=; unset $ac_var;} ;;
2374 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2375 *${as_nl}ac_space=\ *)
2377 "s/'\''/'\''\\\\'\'''\''/g;
2378 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2381 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2389 ## ----------------- ##
2390 ## Output variables. ##
2391 ## ----------------- ##
2394 for ac_var in $ac_subst_vars
2396 eval ac_val=\$$ac_var
2398 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2400 $as_echo "$ac_var='\''$ac_val'\''"
2404 if test -n "$ac_subst_files"; then
2406 ## ------------------- ##
2407 ## File substitutions. ##
2408 ## ------------------- ##
2411 for ac_var in $ac_subst_files
2413 eval ac_val=\$$ac_var
2415 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2417 $as_echo "$ac_var='\''$ac_val'\''"
2422 if test -s confdefs.h; then
2432 test "$ac_signal" != 0 &&
2433 $as_echo "$as_me: caught signal $ac_signal"
2434 $as_echo "$as_me: exit $exit_status"
2436 rm -f core *.core core.conftest.* &&
2437 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2440 for ac_signal in 1 2 13 15; do
2441 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2445 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2446 rm -f -r conftest* confdefs.h
2448 $as_echo "/* confdefs.h */" > confdefs.h
2450 # Predefined preprocessor variables.
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_NAME "$PACKAGE_NAME"
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_STRING "$PACKAGE_STRING"
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_URL "$PACKAGE_URL"
2477 # Let the site file select an alternate cache file if it wants to.
2478 # Prefer an explicitly selected file to automatically selected ones.
2481 if test -n "$CONFIG_SITE"; then
2482 ac_site_file1=$CONFIG_SITE
2483 elif test "x$prefix" != xNONE; then
2484 ac_site_file1=$prefix/share/config.site
2485 ac_site_file2=$prefix/etc/config.site
2487 ac_site_file1=$ac_default_prefix/share/config.site
2488 ac_site_file2=$ac_default_prefix/etc/config.site
2490 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2492 test "x$ac_site_file" = xNONE && continue
2493 if test -r "$ac_site_file"; then
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2495 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2496 sed 's/^/| /' "$ac_site_file" >&5
2501 if test -r "$cache_file"; then
2502 # Some versions of bash will fail to source /dev/null (special
2503 # files actually), so we avoid doing that.
2504 if test -f "$cache_file"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2506 $as_echo "$as_me: loading cache $cache_file" >&6;}
2508 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2509 *) . "./$cache_file";;
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2514 $as_echo "$as_me: creating cache $cache_file" >&6;}
2518 # Check that the precious variables saved in the cache have kept the same
2520 ac_cache_corrupted=false
2521 for ac_var in $ac_precious_vars; do
2522 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2523 eval ac_new_set=\$ac_env_${ac_var}_set
2524 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2525 eval ac_new_val=\$ac_env_${ac_var}_value
2526 case $ac_old_set,$ac_new_set in
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2529 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2530 ac_cache_corrupted=: ;;
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2533 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2534 ac_cache_corrupted=: ;;
2537 if test "x$ac_old_val" != "x$ac_new_val"; then
2538 # differences in whitespace do not lead to failure.
2539 ac_old_val_w=`echo x $ac_old_val`
2540 ac_new_val_w=`echo x $ac_new_val`
2541 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2543 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2544 ac_cache_corrupted=:
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2547 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2548 eval $ac_var=\$ac_old_val
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2551 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2553 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2556 # Pass precious variables to config.status.
2557 if test "$ac_new_set" = set; then
2559 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2560 *) ac_arg=$ac_var=$ac_new_val ;;
2562 case " $ac_configure_args " in
2563 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2564 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2568 if $ac_cache_corrupted; then
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2572 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2573 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2575 ## -------------------- ##
2576 ## Main body of script. ##
2577 ## -------------------- ##
2580 ac_cpp='$CPP $CPPFLAGS'
2581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2589 ac_config_headers="$ac_config_headers config.h"
2592 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2593 for ac_t in install-sh install.sh shtool; do
2594 if test -f "$ac_dir/$ac_t"; then
2596 ac_install_sh="$ac_aux_dir/$ac_t -c"
2601 if test -z "$ac_aux_dir"; then
2602 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2605 # These three variables are undocumented and unsupported,
2606 # and are intended to be withdrawn in a future Autoconf release.
2607 # They can cause serious problems if a builder's source tree is in a directory
2608 # whose full name contains unusual characters.
2609 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2610 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2611 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2614 # Make sure we can run config.sub.
2615 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2616 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2619 $as_echo_n "checking build system type... " >&6; }
2620 if test "${ac_cv_build+set}" = set; then :
2621 $as_echo_n "(cached) " >&6
2623 ac_build_alias=$build_alias
2624 test "x$ac_build_alias" = x &&
2625 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2626 test "x$ac_build_alias" = x &&
2627 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2628 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2629 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2633 $as_echo "$ac_cv_build" >&6; }
2634 case $ac_cv_build in
2636 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2639 ac_save_IFS=$IFS; IFS='-'
2645 # Remember, the first character of IFS is used to create $*,
2646 # except with old shells:
2649 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2652 case ${build_alias} in
2653 "") build_noncanonical=${build} ;;
2654 *) build_noncanonical=${build_alias} ;;
2657 case ${host_alias} in
2658 "") host_noncanonical=${build_noncanonical} ;;
2659 *) host_noncanonical=${host_alias} ;;
2662 case ${target_alias} in
2663 "") target_noncanonical=${host_noncanonical} ;;
2664 *) target_noncanonical=${target_alias} ;;
2668 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2669 # have matching libraries, they should use host libraries: Makefile.tpl
2670 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2671 # However, they still use the build modules, because the corresponding
2672 # host modules (e.g. bison) are only built for the host when bootstrap
2674 # - build_subdir is where we find build modules, and never changes.
2675 # - build_libsubdir is where we find build libraries, and can be overridden.
2677 # Prefix 'build-' so this never conflicts with target_subdir.
2678 build_subdir="build-${build_noncanonical}"
2680 # Check whether --with-build-libsubdir was given.
2681 if test "${with_build_libsubdir+set}" = set; then :
2682 withval=$with_build_libsubdir; build_libsubdir="$withval"
2684 build_libsubdir="$build_subdir"
2687 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2688 if ( test $srcdir = . && test -d gcc ) \
2689 || test -d $srcdir/../host-${host_noncanonical}; then
2690 host_subdir="host-${host_noncanonical}"
2695 target_subdir=${target_noncanonical}
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2703 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2704 # Check whether --enable-version-specific-runtime-libs was given.
2705 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2706 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2707 yes) version_specific_libs=yes ;;
2708 no) version_specific_libs=no ;;
2709 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2712 version_specific_libs=no
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2716 $as_echo "$version_specific_libs" >&6; }
2718 # Build with intermodule optimisations
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2720 $as_echo_n "checking for --enable-intermodule... " >&6; }
2721 # Check whether --enable-intermodule was given.
2722 if test "${enable_intermodule+set}" = set; then :
2723 enableval=$enable_intermodule; case "$enable_intermodule" in
2724 yes) onestep="-onestep";;
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2732 $as_echo "$enable_intermodule" >&6; }
2733 if test x$onestep = x-onestep; then
2743 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2745 # You will slowly go insane if you do not grok the following fact: when
2746 # building this library, the top-level /target/ becomes the library's /host/.
2748 # configure then causes --target to default to --host, exactly like any
2749 # other package using autoconf. Therefore, 'target' and 'host' will
2750 # always be the same. This makes sense both for native and cross compilers
2751 # just think about it for a little while. :-)
2753 # Also, if this library is being configured as part of a cross compiler, the
2754 # top-level configure script will pass the "real" host as $with_cross_host.
2756 # Do not delete or change the following two lines. For why, see
2757 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2759 $as_echo_n "checking host system type... " >&6; }
2760 if test "${ac_cv_host+set}" = set; then :
2761 $as_echo_n "(cached) " >&6
2763 if test "x$host_alias" = x; then
2764 ac_cv_host=$ac_cv_build
2766 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2767 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2772 $as_echo "$ac_cv_host" >&6; }
2775 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2778 ac_save_IFS=$IFS; IFS='-'
2784 # Remember, the first character of IFS is used to create $*,
2785 # except with old shells:
2788 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2792 $as_echo_n "checking target system type... " >&6; }
2793 if test "${ac_cv_target+set}" = set; then :
2794 $as_echo_n "(cached) " >&6
2796 if test "x$target_alias" = x; then
2797 ac_cv_target=$ac_cv_host
2799 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2800 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2805 $as_echo "$ac_cv_target" >&6; }
2806 case $ac_cv_target in
2808 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2810 target=$ac_cv_target
2811 ac_save_IFS=$IFS; IFS='-'
2817 # Remember, the first character of IFS is used to create $*,
2818 # except with old shells:
2821 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2824 # The aliases save the names the user supplied, while $host etc.
2825 # will get canonicalized.
2826 test -n "$target_alias" &&
2827 test "$program_prefix$program_suffix$program_transform_name" = \
2829 program_prefix=${target_alias}-
2831 target_alias=${target_alias-$host_alias}
2833 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2834 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2835 # 1.9.6: minimum required version
2836 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2837 # of other PACKAGE_* variables will, however, and there's nothing
2838 # we can do about that; they come from AC_INIT).
2839 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2840 # file in the top srcdir, etc, etc), so stop complaining.
2841 # no-dist: we don't want 'dist' and related rules.
2842 # -Wall: turns on all automake warnings...
2843 # -Wno-portability: ...except this one, since GNU make is required.
2844 am__api_version='1.11'
2846 # Find a good install program. We prefer a C program (faster),
2847 # so one script is as good as another. But avoid the broken or
2848 # incompatible versions:
2849 # SysV /etc/install, /usr/sbin/install
2850 # SunOS /usr/etc/install
2851 # IRIX /sbin/install
2853 # AmigaOS /C/install, which installs bootblocks on floppy discs
2854 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2855 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2856 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2857 # OS/2's system install, which has a completely different semantic
2858 # ./install, which can be erroneously created by make from ./install.sh.
2859 # Reject install programs that cannot install multiple files.
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2861 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2862 if test -z "$INSTALL"; then
2863 if test "${ac_cv_path_install+set}" = set; then :
2864 $as_echo_n "(cached) " >&6
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir=.
2871 # Account for people who put trailing slashes in PATH elements.
2872 case $as_dir/ in #((
2873 ./ | .// | /[cC]/* | \
2874 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2875 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2878 # OSF1 and SCO ODT 3.0 have their own names for install.
2879 # Don't use installbsd from OSF since it installs stuff as root
2881 for ac_prog in ginstall scoinst install; do
2882 for ac_exec_ext in '' $ac_executable_extensions; do
2883 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2884 if test $ac_prog = install &&
2885 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2886 # AIX install. It has an incompatible calling convention.
2888 elif test $ac_prog = install &&
2889 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2890 # program-specific install script used by HP pwplus--don't use.
2893 rm -rf conftest.one conftest.two conftest.dir
2894 echo one > conftest.one
2895 echo two > conftest.two
2897 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2898 test -s conftest.one && test -s conftest.two &&
2899 test -s conftest.dir/conftest.one &&
2900 test -s conftest.dir/conftest.two
2902 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2915 rm -rf conftest.one conftest.two conftest.dir
2918 if test "${ac_cv_path_install+set}" = set; then
2919 INSTALL=$ac_cv_path_install
2921 # As a last resort, use the slow shell script. Don't cache a
2922 # value for INSTALL within a source directory, because that will
2923 # break other packages using the cache if that directory is
2924 # removed, or if the value is a relative name.
2925 INSTALL=$ac_install_sh
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2929 $as_echo "$INSTALL" >&6; }
2931 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2932 # It thinks the first close brace ends the variable substitution.
2933 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2935 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2937 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2940 $as_echo_n "checking whether build environment is sane... " >&6; }
2943 echo timestamp > conftest.file
2944 # Reject unsafe characters in $srcdir or the absolute working directory
2945 # name. Accept space and tab only in the latter.
2949 *[\\\"\#\$\&\'\`$am_lf]*)
2950 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2953 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2954 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2957 # Do `set' in a subshell so we don't clobber the current shell's
2958 # arguments. Must try -L first in case configure is actually a
2959 # symlink; some systems play weird games with the mod time of symlinks
2960 # (eg FreeBSD returns the mod time of the symlink's containing
2963 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2964 if test "$*" = "X"; then
2966 set X `ls -t "$srcdir/configure" conftest.file`
2969 if test "$*" != "X $srcdir/configure conftest.file" \
2970 && test "$*" != "X conftest.file $srcdir/configure"; then
2972 # If neither matched, then we have a broken ls. This can happen
2973 # if, for instance, CONFIG_SHELL is bash and it inherits a
2974 # broken ls alias from the environment. This has actually
2975 # happened. Such a system could not be considered "sane".
2976 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2977 alias in your environment" "$LINENO" 5
2980 test "$2" = conftest.file
2986 as_fn_error "newly created file is older than distributed files!
2987 Check your system clock" "$LINENO" 5
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2990 $as_echo "yes" >&6; }
2991 test "$program_prefix" != NONE &&
2992 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2993 # Use a double $ so make ignores it.
2994 test "$program_suffix" != NONE &&
2995 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2996 # Double any \ or $.
2997 # By default was `s,x,x', remove it if useless.
2998 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2999 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3001 # expand $ac_aux_dir to an absolute path
3002 am_aux_dir=`cd $ac_aux_dir && pwd`
3004 if test x"${MISSING+set}" != xset; then
3007 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3009 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3012 # Use eval to expand $SHELL
3013 if eval "$MISSING --run true"; then
3014 am_missing_run="$MISSING --run "
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3018 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3021 if test x"${install_sh}" != xset; then
3024 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3026 install_sh="\${SHELL} $am_aux_dir/install-sh"
3030 # Installed binaries are usually stripped using `strip' when the user
3031 # run `make install-strip'. However `strip' might not be the right
3032 # tool to use in cross-compilation environments, therefore Automake
3033 # will honor the `STRIP' environment variable to overrule this program.
3034 if test "$cross_compiling" != no; then
3035 if test -n "$ac_tool_prefix"; then
3036 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3037 set dummy ${ac_tool_prefix}strip; ac_word=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if test "${ac_cv_prog_STRIP+set}" = set; then :
3041 $as_echo_n "(cached) " >&6
3043 if test -n "$STRIP"; then
3044 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3053 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 STRIP=$ac_cv_prog_STRIP
3064 if test -n "$STRIP"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3066 $as_echo "$STRIP" >&6; }
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3069 $as_echo "no" >&6; }
3074 if test -z "$ac_cv_prog_STRIP"; then
3076 # Extract the first word of "strip", so it can be a program name with args.
3077 set dummy strip; ac_word=$2
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3079 $as_echo_n "checking for $ac_word... " >&6; }
3080 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3081 $as_echo_n "(cached) " >&6
3083 if test -n "$ac_ct_STRIP"; then
3084 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 test -z "$as_dir" && as_dir=.
3091 for ac_exec_ext in '' $ac_executable_extensions; do
3092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3093 ac_cv_prog_ac_ct_STRIP="strip"
3094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3103 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3104 if test -n "$ac_ct_STRIP"; then
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3106 $as_echo "$ac_ct_STRIP" >&6; }
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3109 $as_echo "no" >&6; }
3112 if test "x$ac_ct_STRIP" = x; then
3115 case $cross_compiling:$ac_tool_warned in
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3119 ac_tool_warned=yes ;;
3124 STRIP="$ac_cv_prog_STRIP"
3128 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3131 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3132 if test -z "$MKDIR_P"; then
3133 if test "${ac_cv_path_mkdir+set}" = set; then :
3134 $as_echo_n "(cached) " >&6
3136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3137 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3140 test -z "$as_dir" && as_dir=.
3141 for ac_prog in mkdir gmkdir; do
3142 for ac_exec_ext in '' $ac_executable_extensions; do
3143 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3144 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3145 'mkdir (GNU coreutils) '* | \
3146 'mkdir (coreutils) '* | \
3147 'mkdir (fileutils) '4.1*)
3148 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3158 if test "${ac_cv_path_mkdir+set}" = set; then
3159 MKDIR_P="$ac_cv_path_mkdir -p"
3161 # As a last resort, use the slow shell script. Don't cache a
3162 # value for MKDIR_P within a source directory, because that will
3163 # break other packages using the cache if that directory is
3164 # removed, or if the value is a relative name.
3165 test -d ./--version && rmdir ./--version
3166 MKDIR_P="$ac_install_sh -d"
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3170 $as_echo "$MKDIR_P" >&6; }
3174 [\\/$]* | ?:[\\/]*) ;;
3175 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3178 for ac_prog in gawk mawk nawk awk
3180 # Extract the first word of "$ac_prog", so it can be a program name with args.
3181 set dummy $ac_prog; ac_word=$2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if test "${ac_cv_prog_AWK+set}" = set; then :
3185 $as_echo_n "(cached) " >&6
3187 if test -n "$AWK"; then
3188 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194 test -z "$as_dir" && as_dir=.
3195 for ac_exec_ext in '' $ac_executable_extensions; do
3196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197 ac_cv_prog_AWK="$ac_prog"
3198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 if test -n "$AWK"; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3210 $as_echo "$AWK" >&6; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 $as_echo "no" >&6; }
3217 test -n "$AWK" && break
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3221 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3223 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3224 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3225 $as_echo_n "(cached) " >&6
3227 cat >conftest.make <<\_ACEOF
3230 @echo '@@@%%%=$(MAKE)=@@@%%%'
3232 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3233 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3235 eval ac_cv_prog_make_${ac_make}_set=yes;;
3237 eval ac_cv_prog_make_${ac_make}_set=no;;
3241 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3243 $as_echo "yes" >&6; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3248 SET_MAKE="MAKE=${MAKE-make}"
3251 rm -rf .tst 2>/dev/null
3252 mkdir .tst 2>/dev/null
3253 if test -d .tst; then
3258 rmdir .tst 2>/dev/null
3260 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3261 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3262 # is not polluted with repeated "-I."
3263 am__isrc=' -I$(srcdir)'
3264 # test to see if srcdir already configured
3265 if test -f $srcdir/config.status; then
3266 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3270 # test whether we have cygpath
3271 if test -z "$CYGPATH_W"; then
3272 if (cygpath --version) >/dev/null 2>/dev/null; then
3273 CYGPATH_W='cygpath -w'
3280 # Define the identity of the package.
3281 PACKAGE='libgfortran'
3285 # Some tools Automake needs.
3287 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3290 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3293 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3296 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3299 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3301 # We need awk for the "check" target. The system "awk" is bad on
3303 # Always define AMTAR for backward compatibility.
3305 AMTAR=${AMTAR-"${am_missing_run}tar"}
3307 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3316 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3317 # Check whether --enable-maintainer-mode was given.
3318 if test "${enable_maintainer_mode+set}" = set; then :
3319 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3321 USE_MAINTAINER_MODE=no
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3325 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3326 if test $USE_MAINTAINER_MODE = yes; then
3327 MAINTAINER_MODE_TRUE=
3328 MAINTAINER_MODE_FALSE='#'
3330 MAINTAINER_MODE_TRUE='#'
3331 MAINTAINER_MODE_FALSE=
3334 MAINT=$MAINTAINER_MODE_TRUE
3337 # Default to --enable-multilib
3338 # Check whether --enable-multilib was given.
3339 if test "${enable_multilib+set}" = set; then :
3340 enableval=$enable_multilib; case "$enableval" in
3341 yes) multilib=yes ;;
3343 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3350 # We may get other options which we leave undocumented:
3351 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3352 # See config-ml.in if you want the gory details.
3354 if test "$srcdir" = "."; then
3355 if test "$with_target_subdir" != "."; then
3356 multi_basedir="$srcdir/$with_multisrctop../.."
3358 multi_basedir="$srcdir/$with_multisrctop.."
3361 multi_basedir="$srcdir/.."
3365 # Even if the default multilib is not a cross compilation,
3366 # it may be that some of the other multilibs are.
3367 if test $cross_compiling = no && test $multilib = yes \
3368 && test "x${with_multisubdir}" != x ; then
3369 cross_compiling=maybe
3372 ac_config_commands="$ac_config_commands default-1"
3375 # Handy for debugging:
3376 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3378 # Are we being configured with some form of cross compiler?
3379 # NB: We don't actually need to know this just now, but when, say, a test
3380 # suite is included, we'll have to know.
3381 if test "$build" != "$host"; then
3382 LIBGFOR_IS_NATIVE=false
3385 LIBGFOR_IS_NATIVE=true
3388 # Calculate toolexeclibdir
3389 # Also toolexecdir, though it's only used in toolexeclibdir
3390 case ${version_specific_libs} in
3392 # Need the gcc compiler version to know where to install libraries
3393 # and header files if --enable-version-specific-runtime-libs option
3395 toolexecdir='$(libdir)/gcc/$(target_alias)'
3396 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3399 if test -n "$with_cross_host" &&
3400 test x"$with_cross_host" != x"no"; then
3401 # Install a library built with a cross compiler in tooldir, not libdir.
3402 toolexecdir='$(exec_prefix)/$(target_alias)'
3403 toolexeclibdir='$(toolexecdir)/lib'
3405 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3406 toolexeclibdir='$(libdir)'
3408 multi_os_directory=`$CC -print-multi-os-directory`
3409 case $multi_os_directory in
3410 .) ;; # Avoid trailing /.
3411 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3418 # Create a spec file, so that compile/link tests don't fail
3419 test -f libgfortran.spec || touch libgfortran.spec
3421 # Check the compiler.
3422 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3423 # We must force CC to /not/ be precious variables; otherwise
3424 # the wrong, non-multilib-adjusted value will be used in multilibs.
3425 # As a side effect, we have to subst CFLAGS ourselves.
3430 ac_cpp='$CPP $CPPFLAGS'
3431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434 if test -n "$ac_tool_prefix"; then
3435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3436 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 $as_echo_n "checking for $ac_word... " >&6; }
3439 if test "${ac_cv_prog_CC+set}" = set; then :
3440 $as_echo_n "(cached) " >&6
3442 if test -n "$CC"; then
3443 ac_cv_prog_CC="$CC" # Let the user override the test.
3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3449 test -z "$as_dir" && as_dir=.
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3452 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 if test -n "$CC"; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465 $as_echo "$CC" >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3473 if test -z "$ac_cv_prog_CC"; then
3475 # Extract the first word of "gcc", so it can be a program name with args.
3476 set dummy gcc; ac_word=$2
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478 $as_echo_n "checking for $ac_word... " >&6; }
3479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3480 $as_echo_n "(cached) " >&6
3482 if test -n "$ac_ct_CC"; then
3483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489 test -z "$as_dir" && as_dir=.
3490 for ac_exec_ext in '' $ac_executable_extensions; do
3491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3492 ac_cv_prog_ac_ct_CC="gcc"
3493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3503 if test -n "$ac_ct_CC"; then
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3505 $as_echo "$ac_ct_CC" >&6; }
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508 $as_echo "no" >&6; }
3511 if test "x$ac_ct_CC" = x; then
3514 case $cross_compiling:$ac_tool_warned in
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3518 ac_tool_warned=yes ;;
3526 if test -z "$CC"; then
3527 if test -n "$ac_tool_prefix"; then
3528 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3529 set dummy ${ac_tool_prefix}cc; ac_word=$2
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3531 $as_echo_n "checking for $ac_word... " >&6; }
3532 if test "${ac_cv_prog_CC+set}" = set; then :
3533 $as_echo_n "(cached) " >&6
3535 if test -n "$CC"; then
3536 ac_cv_prog_CC="$CC" # Let the user override the test.
3538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3542 test -z "$as_dir" && as_dir=.
3543 for ac_exec_ext in '' $ac_executable_extensions; do
3544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3545 ac_cv_prog_CC="${ac_tool_prefix}cc"
3546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 if test -n "$CC"; then
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3558 $as_echo "$CC" >&6; }
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3561 $as_echo "no" >&6; }
3567 if test -z "$CC"; then
3568 # Extract the first word of "cc", so it can be a program name with args.
3569 set dummy cc; ac_word=$2
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3571 $as_echo_n "checking for $ac_word... " >&6; }
3572 if test "${ac_cv_prog_CC+set}" = set; then :
3573 $as_echo_n "(cached) " >&6
3575 if test -n "$CC"; then
3576 ac_cv_prog_CC="$CC" # Let the user override the test.
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3587 ac_prog_rejected=yes
3591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 if test $ac_prog_rejected = yes; then
3599 # We found a bogon in the path, so make sure we never use it.
3600 set dummy $ac_cv_prog_CC
3602 if test $# != 0; then
3603 # We chose a different compiler from the bogus one.
3604 # However, it has the same basename, so the bogon will be chosen
3605 # first if we set CC to just the basename; use the full file name.
3607 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3613 if test -n "$CC"; then
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3615 $as_echo "$CC" >&6; }
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3623 if test -z "$CC"; then
3624 if test -n "$ac_tool_prefix"; then
3625 for ac_prog in cl.exe
3627 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3630 $as_echo_n "checking for $ac_word... " >&6; }
3631 if test "${ac_cv_prog_CC+set}" = set; then :
3632 $as_echo_n "(cached) " >&6
3634 if test -n "$CC"; then
3635 ac_cv_prog_CC="$CC" # Let the user override the test.
3637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 test -z "$as_dir" && as_dir=.
3642 for ac_exec_ext in '' $ac_executable_extensions; do
3643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3644 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 if test -n "$CC"; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3657 $as_echo "$CC" >&6; }
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3660 $as_echo "no" >&6; }
3664 test -n "$CC" && break
3667 if test -z "$CC"; then
3669 for ac_prog in cl.exe
3671 # Extract the first word of "$ac_prog", so it can be a program name with args.
3672 set dummy $ac_prog; ac_word=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3676 $as_echo_n "(cached) " >&6
3678 if test -n "$ac_ct_CC"; then
3679 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 test -z "$as_dir" && as_dir=.
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688 ac_cv_prog_ac_ct_CC="$ac_prog"
3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3699 if test -n "$ac_ct_CC"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3701 $as_echo "$ac_ct_CC" >&6; }
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3708 test -n "$ac_ct_CC" && break
3711 if test "x$ac_ct_CC" = x; then
3714 case $cross_compiling:$ac_tool_warned in
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3718 ac_tool_warned=yes ;;
3727 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729 as_fn_error "no acceptable C compiler found in \$PATH
3730 See \`config.log' for more details." "$LINENO" 5; }
3732 # Provide some information about the compiler.
3733 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3736 for ac_option in --version -v -V -qversion; do
3737 { { ac_try="$ac_compiler $ac_option >&5"
3739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740 *) ac_try_echo=$ac_try;;
3742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3743 $as_echo "$ac_try_echo"; } >&5
3744 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3746 if test -s conftest.err; then
3748 ... rest of stderr output deleted ...
3749 10q' conftest.err >conftest.er1
3750 cat conftest.er1 >&5
3751 rm -f conftest.er1 conftest.err
3753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3754 test $ac_status = 0; }
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3770 (eval $ac_link) 2>&5
3772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3773 test $ac_status = 0; }; then :
3778 if test x$gcc_no_link = xyes; then
3779 # Setting cross_compile will disable run tests; it will
3780 # also disable AC_CHECK_FILE but that's generally
3781 # correct if we can't link.
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3796 ac_clean_files_save=$ac_clean_files
3797 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3798 # Try to create an executable without -o first, disregard a.out.
3799 # It will help us diagnose broken compilers, and finding out an intuition
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3802 $as_echo_n "checking for C compiler default output file name... " >&6; }
3803 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3805 # The possible output files:
3806 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3809 for ac_file in $ac_files
3812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3813 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3818 if { { ac_try="$ac_link_default"
3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825 (eval "$ac_link_default") 2>&5
3827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828 test $ac_status = 0; }; then :
3829 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3830 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3831 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3832 # so that the user can short-circuit this test for compilers unknown to
3834 for ac_file in $ac_files ''
3836 test -f "$ac_file" || continue
3838 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3841 # We found the default executable, but exeext='' is most
3845 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3847 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3849 # We set ac_cv_exeext here because the later test for it is not
3850 # safe: cross compilers may not add the suffix if given an `-o'
3851 # argument, so we may need to know it at that point already.
3852 # Even if this section looks crufty: it has the advantage of
3859 test "$ac_cv_exeext" = no && ac_cv_exeext=
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3865 $as_echo "$ac_file" >&6; }
3866 if test -z "$ac_file"; then :
3867 $as_echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3872 { as_fn_set_status 77
3873 as_fn_error "C compiler cannot create executables
3874 See \`config.log' for more details." "$LINENO" 5; }; }
3876 ac_exeext=$ac_cv_exeext
3878 # Check that the compiler produces executables we can run. If not, either
3879 # the compiler is broken, or we cross compile.
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3881 $as_echo_n "checking whether the C compiler works... " >&6; }
3882 # If not cross compiling, check that we can run a simple program.
3883 if test "$cross_compiling" != yes; then
3884 if { ac_try='./$ac_file'
3885 { { case "(($ac_try" in
3886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3887 *) ac_try_echo=$ac_try;;
3889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3890 $as_echo "$ac_try_echo"; } >&5
3891 (eval "$ac_try") 2>&5
3893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3894 test $ac_status = 0; }; }; then
3897 if test "$cross_compiling" = maybe; then
3900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3902 as_fn_error "cannot run C compiled programs.
3903 If you meant to cross compile, use \`--host'.
3904 See \`config.log' for more details." "$LINENO" 5; }
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3909 $as_echo "yes" >&6; }
3911 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3912 ac_clean_files=$ac_clean_files_save
3913 # Check that the compiler produces executables we can run. If not, either
3914 # the compiler is broken, or we cross compile.
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3916 $as_echo_n "checking whether we are cross compiling... " >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3918 $as_echo "$cross_compiling" >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3921 $as_echo_n "checking for suffix of executables... " >&6; }
3922 if { { ac_try="$ac_link"
3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925 *) ac_try_echo=$ac_try;;
3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3928 $as_echo "$ac_try_echo"; } >&5
3929 (eval "$ac_link") 2>&5
3931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3932 test $ac_status = 0; }; then :
3933 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3934 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3935 # work properly (i.e., refer to `conftest.exe'), while it won't with
3937 for ac_file in conftest.exe conftest conftest.*; do
3938 test -f "$ac_file" || continue
3940 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3941 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3949 as_fn_error "cannot compute suffix of executables: cannot compile and link
3950 See \`config.log' for more details." "$LINENO" 5; }
3952 rm -f conftest$ac_cv_exeext
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3954 $as_echo "$ac_cv_exeext" >&6; }
3956 rm -f conftest.$ac_ext
3957 EXEEXT=$ac_cv_exeext
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3961 $as_echo_n "checking for suffix of object files... " >&6; }
3962 if test "${ac_cv_objext+set}" = set; then :
3963 $as_echo_n "(cached) " >&6
3965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3976 rm -f conftest.o conftest.obj
3977 if { { ac_try="$ac_compile"
3979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3980 *) ac_try_echo=$ac_try;;
3982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3983 $as_echo "$ac_try_echo"; } >&5
3984 (eval "$ac_compile") 2>&5
3986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3987 test $ac_status = 0; }; then :
3988 for ac_file in conftest.o conftest.obj conftest.*; do
3989 test -f "$ac_file" || continue;
3991 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3992 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3997 $as_echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.$ac_ext >&5
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002 as_fn_error "cannot compute suffix of object files: cannot compile
4003 See \`config.log' for more details." "$LINENO" 5; }
4005 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4008 $as_echo "$ac_cv_objext" >&6; }
4009 OBJEXT=$ac_cv_objext
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4012 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4013 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4014 $as_echo_n "(cached) " >&6
4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4030 if ac_fn_c_try_compile "$LINENO"; then :
4035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4036 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4040 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4041 if test $ac_compiler_gnu = yes; then
4046 ac_test_CFLAGS=${CFLAGS+set}
4047 ac_save_CFLAGS=$CFLAGS
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4049 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4050 if test "${ac_cv_prog_cc_g+set}" = set; then :
4051 $as_echo_n "(cached) " >&6
4053 ac_save_c_werror_flag=$ac_c_werror_flag
4054 ac_c_werror_flag=yes
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4068 if ac_fn_c_try_compile "$LINENO"; then :
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4083 if ac_fn_c_try_compile "$LINENO"; then :
4086 ac_c_werror_flag=$ac_save_c_werror_flag
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4099 if ac_fn_c_try_compile "$LINENO"; then :
4102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 ac_c_werror_flag=$ac_save_c_werror_flag
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4110 $as_echo "$ac_cv_prog_cc_g" >&6; }
4111 if test "$ac_test_CFLAGS" = set; then
4112 CFLAGS=$ac_save_CFLAGS
4113 elif test $ac_cv_prog_cc_g = yes; then
4114 if test "$GCC" = yes; then
4120 if test "$GCC" = yes; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4127 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4128 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4131 ac_cv_prog_cc_c89=no
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4137 #include <sys/types.h>
4138 #include <sys/stat.h>
4139 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4140 struct buf { int x; };
4141 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4142 static char *e (p, i)
4148 static char *f (char * (*g) (char **, int), char **p, ...)
4153 s = g (p, va_arg (v,int));
4158 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4159 function prototypes and stuff, but not '\xHH' hex character constants.
4160 These don't provoke an error unfortunately, instead are silently treated
4161 as 'x'. The following induces an error, until -std is added to get
4162 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4163 array size at least. It's necessary to write '\x00'==0 to get something
4164 that's true only with -std. */
4165 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4167 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4168 inside strings and character constants. */
4170 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4172 int test (int i, double x);
4173 struct s1 {int (*f) (int a);};
4174 struct s2 {int (*f) (double a);};
4175 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4181 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4186 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4187 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4189 CC="$ac_save_CC $ac_arg"
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_c89=$ac_arg
4193 rm -f core conftest.err conftest.$ac_objext
4194 test "x$ac_cv_prog_cc_c89" != "xno" && break
4196 rm -f conftest.$ac_ext
4201 case "x$ac_cv_prog_cc_c89" in
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4204 $as_echo "none needed" >&6; } ;;
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4207 $as_echo "unsupported" >&6; } ;;
4209 CC="$CC $ac_cv_prog_cc_c89"
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4211 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4213 if test "x$ac_cv_prog_cc_c89" != xno; then :
4218 ac_cpp='$CPP $CPPFLAGS'
4219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4222 DEPDIR="${am__leading_dot}deps"
4224 ac_config_commands="$ac_config_commands depfiles"
4227 am_make=${MAKE-make}
4228 cat > confinc << 'END'
4230 @echo this is the am__doit target
4233 # If we don't find an include directive, just comment out the code.
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4235 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4239 # First try GNU make style include.
4240 echo "include confinc" > confmf
4241 # Ignore all kinds of additional output from `make'.
4242 case `$am_make -s -f confmf 2> /dev/null` in #(
4243 *the\ am__doit\ target*)
4249 # Now try BSD make style include.
4250 if test "$am__include" = "#"; then
4251 echo '.include "confinc"' > confmf
4252 case `$am_make -s -f confmf 2> /dev/null` in #(
4253 *the\ am__doit\ target*)
4254 am__include=.include
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4263 $as_echo "$_am_result" >&6; }
4264 rm -f confinc confmf
4266 # Check whether --enable-dependency-tracking was given.
4267 if test "${enable_dependency_tracking+set}" = set; then :
4268 enableval=$enable_dependency_tracking;
4271 if test "x$enable_dependency_tracking" != xno; then
4272 am_depcomp="$ac_aux_dir/depcomp"
4275 if test "x$enable_dependency_tracking" != xno; then
4285 depcc="$CC" am_compiler_list=
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4288 $as_echo_n "checking dependency style of $depcc... " >&6; }
4289 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4290 $as_echo_n "(cached) " >&6
4292 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4293 # We make a subdir and do the tests there. Otherwise we can end up
4294 # making bogus files that we don't know about and never remove. For
4295 # instance it was reported that on HP-UX the gcc test will end up
4296 # making a dummy file named `D' -- because `-MD' means `put the output
4299 # Copy depcomp to subdir because otherwise we won't find it if we're
4300 # using a relative directory.
4301 cp "$am_depcomp" conftest.dir
4303 # We will build objects and dependencies in a subdirectory because
4304 # it helps to detect inapplicable dependency modes. For instance
4305 # both Tru64's cc and ICC support -MD to output dependencies as a
4306 # side effect of compilation, but ICC will put the dependencies in
4307 # the current directory while Tru64 will put them in the object
4311 am_cv_CC_dependencies_compiler_type=none
4312 if test "$am_compiler_list" = ""; then
4313 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4316 case " $depcc " in #(
4317 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4320 for depmode in $am_compiler_list; do
4321 # Setup a source with many dependencies, because some compilers
4322 # like to wrap large dependency lists on column 80 (with \), and
4323 # we should not choose a depcomp mode which is confused by this.
4325 # We need to recreate these files for each test, as the compiler may
4326 # overwrite some of them when testing with obscure command lines.
4327 # This happens at least with the AIX C compiler.
4329 for i in 1 2 3 4 5 6; do
4330 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4331 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4332 # Solaris 8's {/usr,}/bin/sh.
4333 touch sub/conftst$i.h
4335 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4337 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4338 # mode. It turns out that the SunPro C++ compiler does not properly
4339 # handle `-M -o', and we need to detect this. Also, some Intel
4340 # versions had trouble with output in subdirs
4341 am__obj=sub/conftest.${OBJEXT-o}
4342 am__minus_obj="-o $am__obj"
4345 # This depmode causes a compiler race in universal mode.
4346 test "$am__universal" = false || continue
4349 # after this tag, mechanisms are not by side-effect, so they'll
4350 # only be used when explicitly requested
4351 if test "x$enable_dependency_tracking" = xyes; then
4357 msvisualcpp | msvcmsys)
4358 # This compiler won't grok `-c -o', but also, the minuso test has
4359 # not run yet. These depmodes are late enough in the game, and
4360 # so weak that their functioning should not be impacted.
4361 am__obj=conftest.${OBJEXT-o}
4366 if depmode=$depmode \
4367 source=sub/conftest.c object=$am__obj \
4368 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4369 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4370 >/dev/null 2>conftest.err &&
4371 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4372 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4373 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4374 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4375 # icc doesn't choke on unknown options, it will just issue warnings
4376 # or remarks (even with -Werror). So we grep stderr for any message
4377 # that says an option was ignored or not supported.
4378 # When given -MP, icc 7.0 and 7.1 complain thusly:
4379 # icc: Command line warning: ignoring option '-M'; no argument required
4380 # The diagnosis changed in icc 8.0:
4381 # icc: Command line remark: option '-MP' not supported
4382 if (grep 'ignoring option' conftest.err ||
4383 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4384 am_cv_CC_dependencies_compiler_type=$depmode
4393 am_cv_CC_dependencies_compiler_type=none
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4398 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4399 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4402 test "x$enable_dependency_tracking" != xno \
4403 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4405 am__fastdepCC_FALSE='#'
4407 am__fastdepCC_TRUE='#'
4408 am__fastdepCC_FALSE=
4414 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4415 if test "x$GCC" = "xyes"; then
4416 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4417 ## We like to use C99 routines when available. This makes sure that
4418 ## __STDC_VERSION__ is set such that libc includes make them available.
4419 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4420 ## Compile the following tests with the same system header contents
4421 ## that we'll encounter when compiling our own source files.
4422 CFLAGS="-std=gnu99 $CFLAGS"
4428 # Check for symbol versioning (copied from libssp).
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4430 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4431 save_LDFLAGS="$LDFLAGS"
4432 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4433 cat > conftest.map <<EOF
4435 global: *foo*; bar; local: *;
4439 if test x$gcc_no_link = xyes; then
4440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4453 if ac_fn_c_try_link "$LINENO"; then :
4454 gfortran_use_symver=gnu
4456 gfortran_use_symver=no
4458 rm -f core conftest.err conftest.$ac_objext \
4459 conftest$ac_exeext conftest.$ac_ext
4460 if test x$gfortran_use_symver = xno; then
4461 case "$target_os" in
4463 LDFLAGS="$save_LDFLAGS"
4464 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
4465 # Sun ld cannot handle wildcards and treats all entries as undefined.
4466 cat > conftest.map <<EOF
4468 global: foo; local: *;
4471 if test x$gcc_no_link = xyes; then
4472 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4485 if ac_fn_c_try_link "$LINENO"; then :
4486 gfortran_use_symver=sun
4488 gfortran_use_symver=no
4490 rm -f core conftest.err conftest.$ac_objext \
4491 conftest$ac_exeext conftest.$ac_ext
4495 LDFLAGS="$save_LDFLAGS"
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4497 $as_echo "$gfortran_use_symver" >&6; }
4498 if test "x$gfortran_use_symver" != xno; then
4499 LIBGFOR_USE_SYMVER_TRUE=
4500 LIBGFOR_USE_SYMVER_FALSE='#'
4502 LIBGFOR_USE_SYMVER_TRUE='#'
4503 LIBGFOR_USE_SYMVER_FALSE=
4506 if test "x$gfortran_use_symver" = xgnu; then
4507 LIBGFOR_USE_SYMVER_GNU_TRUE=
4508 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
4510 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
4511 LIBGFOR_USE_SYMVER_GNU_FALSE=
4514 if test "x$gfortran_use_symver" = xsun; then
4515 LIBGFOR_USE_SYMVER_SUN_TRUE=
4516 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
4518 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
4519 LIBGFOR_USE_SYMVER_SUN_FALSE=
4523 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4524 # similarly to how libstdc++ does it
4525 ac_test_CFLAGS="${CFLAGS+set}"
4526 ac_save_CFLAGS="$CFLAGS"
4528 # Check for -ffunction-sections -fdata-sections
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4530 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4531 CFLAGS='-Werror -ffunction-sections -fdata-sections'
4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4543 if ac_fn_c_try_compile "$LINENO"; then :
4548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4549 if test "$ac_test_CFLAGS" = set; then
4550 CFLAGS="$ac_save_CFLAGS"
4552 # this is the suspicious part
4555 if test x"$ac_fdsections" = x"yes"; then
4556 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4559 $as_echo "$ac_fdsections" >&6; }
4562 # Find other programs we need.
4563 if test -n "$ac_tool_prefix"; then
4564 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4565 set dummy ${ac_tool_prefix}as; ac_word=$2
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567 $as_echo_n "checking for $ac_word... " >&6; }
4568 if test "${ac_cv_prog_AS+set}" = set; then :
4569 $as_echo_n "(cached) " >&6
4571 if test -n "$AS"; then
4572 ac_cv_prog_AS="$AS" # Let the user override the test.
4574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir=.
4579 for ac_exec_ext in '' $ac_executable_extensions; do
4580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4581 ac_cv_prog_AS="${ac_tool_prefix}as"
4582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 if test -n "$AS"; then
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4594 $as_echo "$AS" >&6; }
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4597 $as_echo "no" >&6; }
4602 if test -z "$ac_cv_prog_AS"; then
4604 # Extract the first word of "as", so it can be a program name with args.
4605 set dummy as; ac_word=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -n "$ac_ct_AS"; then
4612 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir=.
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4621 ac_cv_prog_ac_ct_AS="as"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4632 if test -n "$ac_ct_AS"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4634 $as_echo "$ac_ct_AS" >&6; }
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4640 if test "x$ac_ct_AS" = x; then
4643 case $cross_compiling:$ac_tool_warned in
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4647 ac_tool_warned=yes ;;
4655 if test -n "$ac_tool_prefix"; then
4656 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4657 set dummy ${ac_tool_prefix}ar; ac_word=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if test "${ac_cv_prog_AR+set}" = set; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$AR"; then
4664 ac_cv_prog_AR="$AR" # Let the user override the test.
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir=.
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4673 ac_cv_prog_AR="${ac_tool_prefix}ar"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 if test -n "$AR"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4686 $as_echo "$AR" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4694 if test -z "$ac_cv_prog_AR"; then
4696 # Extract the first word of "ar", so it can be a program name with args.
4697 set dummy ar; ac_word=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4701 $as_echo_n "(cached) " >&6
4703 if test -n "$ac_ct_AR"; then
4704 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713 ac_cv_prog_ac_ct_AR="ar"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4724 if test -n "$ac_ct_AR"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4726 $as_echo "$ac_ct_AR" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4732 if test "x$ac_ct_AR" = x; then
4735 case $cross_compiling:$ac_tool_warned in
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned=yes ;;
4747 if test -n "$ac_tool_prefix"; then
4748 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4749 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 $as_echo_n "checking for $ac_word... " >&6; }
4752 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4753 $as_echo_n "(cached) " >&6
4755 if test -n "$RANLIB"; then
4756 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4762 test -z "$as_dir" && as_dir=.
4763 for ac_exec_ext in '' $ac_executable_extensions; do
4764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4765 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 RANLIB=$ac_cv_prog_RANLIB
4776 if test -n "$RANLIB"; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4778 $as_echo "$RANLIB" >&6; }
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4786 if test -z "$ac_cv_prog_RANLIB"; then
4787 ac_ct_RANLIB=$RANLIB
4788 # Extract the first word of "ranlib", so it can be a program name with args.
4789 set dummy ranlib; ac_word=$2
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4791 $as_echo_n "checking for $ac_word... " >&6; }
4792 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4793 $as_echo_n "(cached) " >&6
4795 if test -n "$ac_ct_RANLIB"; then
4796 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802 test -z "$as_dir" && as_dir=.
4803 for ac_exec_ext in '' $ac_executable_extensions; do
4804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4805 ac_cv_prog_ac_ct_RANLIB="ranlib"
4806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4815 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4816 if test -n "$ac_ct_RANLIB"; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4818 $as_echo "$ac_ct_RANLIB" >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4821 $as_echo "no" >&6; }
4824 if test "x$ac_ct_RANLIB" = x; then
4825 RANLIB="ranlib-not-found-in-path-error"
4827 case $cross_compiling:$ac_tool_warned in
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4831 ac_tool_warned=yes ;;
4833 RANLIB=$ac_ct_RANLIB
4836 RANLIB="$ac_cv_prog_RANLIB"
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4840 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4842 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4843 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4844 $as_echo_n "(cached) " >&6
4846 cat >conftest.make <<\_ACEOF
4849 @echo '@@@%%%=$(MAKE)=@@@%%%'
4851 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4852 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4854 eval ac_cv_prog_make_${ac_make}_set=yes;;
4856 eval ac_cv_prog_make_${ac_make}_set=no;;
4860 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4862 $as_echo "yes" >&6; }
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4866 $as_echo "no" >&6; }
4867 SET_MAKE="MAKE=${MAKE-make}"
4873 #AC_MSG_NOTICE([====== Starting libtool configuration])
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4881 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4886 macro_version='2.2.7a'
4887 macro_revision='1.3134'
4901 ltmain="$ac_aux_dir/ltmain.sh"
4903 # Backslashify metacharacters that are still active within
4904 # double-quoted strings.
4905 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4907 # Same as above, but do not quote variable references.
4908 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4910 # Sed substitution to delay expansion of an escaped shell variable in a
4911 # double_quote_subst'ed string.
4912 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4914 # Sed substitution to delay expansion of an escaped single quote.
4915 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4917 # Sed substitution to avoid accidental globbing in evaled expressions
4918 no_glob_subst='s/\*/\\\*/g'
4920 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4921 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4922 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4925 $as_echo_n "checking how to print strings... " >&6; }
4926 # Test print first, because it will be a builtin if present.
4927 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4928 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4930 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4933 # Use this function as a fallback that always works.
4934 func_fallback_echo ()
4936 eval 'cat <<_LTECHO_EOF
4940 ECHO='func_fallback_echo'
4943 # func_echo_all arg...
4944 # Invoke $ECHO with all args, space-separated.
4951 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4952 $as_echo "printf" >&6; } ;;
4953 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4954 $as_echo "print -r" >&6; } ;;
4955 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4956 $as_echo "cat" >&6; } ;;
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4973 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4974 if test "${ac_cv_path_SED+set}" = set; then :
4975 $as_echo_n "(cached) " >&6
4977 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4978 for ac_i in 1 2 3 4 5 6 7; do
4979 ac_script="$ac_script$as_nl$ac_script"
4981 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4982 { ac_script=; unset ac_script;}
4983 if test -z "$SED"; then
4984 ac_path_SED_found=false
4985 # Loop through the user's path and test for each of PROGNAME-LIST
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir=.
4991 for ac_prog in sed gsed; do
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4994 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4995 # Check for GNU ac_path_SED and select it if it is found.
4996 # Check for GNU $ac_path_SED
4997 case `"$ac_path_SED" --version 2>&1` in
4999 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5002 $as_echo_n 0123456789 >"conftest.in"
5005 cat "conftest.in" "conftest.in" >"conftest.tmp"
5006 mv "conftest.tmp" "conftest.in"
5007 cp "conftest.in" "conftest.nl"
5008 $as_echo '' >> "conftest.nl"
5009 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5011 as_fn_arith $ac_count + 1 && ac_count=$as_val
5012 if test $ac_count -gt ${ac_path_SED_max-0}; then
5013 # Best one so far, save it but keep looking for a better one
5014 ac_cv_path_SED="$ac_path_SED"
5015 ac_path_SED_max=$ac_count
5017 # 10*(2^10) chars as input seems more than enough
5018 test $ac_count -gt 10 && break
5020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5023 $ac_path_SED_found && break 3
5028 if test -z "$ac_cv_path_SED"; then
5029 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5037 $as_echo "$ac_cv_path_SED" >&6; }
5038 SED="$ac_cv_path_SED"
5041 test -z "$SED" && SED=sed
5042 Xsed="$SED -e 1s/^X//"
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5055 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5056 if test "${ac_cv_path_GREP+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5059 if test -z "$GREP"; then
5060 ac_path_GREP_found=false
5061 # Loop through the user's path and test for each of PROGNAME-LIST
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5066 test -z "$as_dir" && as_dir=.
5067 for ac_prog in grep ggrep; do
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5070 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5071 # Check for GNU ac_path_GREP and select it if it is found.
5072 # Check for GNU $ac_path_GREP
5073 case `"$ac_path_GREP" --version 2>&1` in
5075 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5078 $as_echo_n 0123456789 >"conftest.in"
5081 cat "conftest.in" "conftest.in" >"conftest.tmp"
5082 mv "conftest.tmp" "conftest.in"
5083 cp "conftest.in" "conftest.nl"
5084 $as_echo 'GREP' >> "conftest.nl"
5085 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5086 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5087 as_fn_arith $ac_count + 1 && ac_count=$as_val
5088 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5089 # Best one so far, save it but keep looking for a better one
5090 ac_cv_path_GREP="$ac_path_GREP"
5091 ac_path_GREP_max=$ac_count
5093 # 10*(2^10) chars as input seems more than enough
5094 test $ac_count -gt 10 && break
5096 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5099 $ac_path_GREP_found && break 3
5104 if test -z "$ac_cv_path_GREP"; then
5105 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5108 ac_cv_path_GREP=$GREP
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5113 $as_echo "$ac_cv_path_GREP" >&6; }
5114 GREP="$ac_cv_path_GREP"
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5118 $as_echo_n "checking for egrep... " >&6; }
5119 if test "${ac_cv_path_EGREP+set}" = set; then :
5120 $as_echo_n "(cached) " >&6
5122 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5123 then ac_cv_path_EGREP="$GREP -E"
5125 if test -z "$EGREP"; then
5126 ac_path_EGREP_found=false
5127 # Loop through the user's path and test for each of PROGNAME-LIST
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5132 test -z "$as_dir" && as_dir=.
5133 for ac_prog in egrep; do
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5136 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5137 # Check for GNU ac_path_EGREP and select it if it is found.
5138 # Check for GNU $ac_path_EGREP
5139 case `"$ac_path_EGREP" --version 2>&1` in
5141 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5144 $as_echo_n 0123456789 >"conftest.in"
5147 cat "conftest.in" "conftest.in" >"conftest.tmp"
5148 mv "conftest.tmp" "conftest.in"
5149 cp "conftest.in" "conftest.nl"
5150 $as_echo 'EGREP' >> "conftest.nl"
5151 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5152 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5153 as_fn_arith $ac_count + 1 && ac_count=$as_val
5154 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5155 # Best one so far, save it but keep looking for a better one
5156 ac_cv_path_EGREP="$ac_path_EGREP"
5157 ac_path_EGREP_max=$ac_count
5159 # 10*(2^10) chars as input seems more than enough
5160 test $ac_count -gt 10 && break
5162 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5165 $ac_path_EGREP_found && break 3
5170 if test -z "$ac_cv_path_EGREP"; then
5171 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5174 ac_cv_path_EGREP=$EGREP
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5180 $as_echo "$ac_cv_path_EGREP" >&6; }
5181 EGREP="$ac_cv_path_EGREP"
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5185 $as_echo_n "checking for fgrep... " >&6; }
5186 if test "${ac_cv_path_FGREP+set}" = set; then :
5187 $as_echo_n "(cached) " >&6
5189 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5190 then ac_cv_path_FGREP="$GREP -F"
5192 if test -z "$FGREP"; then
5193 ac_path_FGREP_found=false
5194 # Loop through the user's path and test for each of PROGNAME-LIST
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5199 test -z "$as_dir" && as_dir=.
5200 for ac_prog in fgrep; do
5201 for ac_exec_ext in '' $ac_executable_extensions; do
5202 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5203 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5204 # Check for GNU ac_path_FGREP and select it if it is found.
5205 # Check for GNU $ac_path_FGREP
5206 case `"$ac_path_FGREP" --version 2>&1` in
5208 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5211 $as_echo_n 0123456789 >"conftest.in"
5214 cat "conftest.in" "conftest.in" >"conftest.tmp"
5215 mv "conftest.tmp" "conftest.in"
5216 cp "conftest.in" "conftest.nl"
5217 $as_echo 'FGREP' >> "conftest.nl"
5218 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5219 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5220 as_fn_arith $ac_count + 1 && ac_count=$as_val
5221 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5222 # Best one so far, save it but keep looking for a better one
5223 ac_cv_path_FGREP="$ac_path_FGREP"
5224 ac_path_FGREP_max=$ac_count
5226 # 10*(2^10) chars as input seems more than enough
5227 test $ac_count -gt 10 && break
5229 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5232 $ac_path_FGREP_found && break 3
5237 if test -z "$ac_cv_path_FGREP"; then
5238 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5241 ac_cv_path_FGREP=$FGREP
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5247 $as_echo "$ac_cv_path_FGREP" >&6; }
5248 FGREP="$ac_cv_path_FGREP"
5251 test -z "$GREP" && GREP=grep
5271 # Check whether --with-gnu-ld was given.
5272 if test "${with_gnu_ld+set}" = set; then :
5273 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5279 if test "$GCC" = yes; then
5280 # Check if gcc -print-prog-name=ld gives a path.
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5282 $as_echo_n "checking for ld used by $CC... " >&6; }
5285 # gcc leaves a trailing carriage return which upsets mingw
5286 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5288 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5291 # Accept absolute paths.
5293 re_direlt='/[^/][^/]*/\.\./'
5294 # Canonicalize the pathname of ld
5295 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5296 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5297 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5299 test -z "$LD" && LD="$ac_prog"
5302 # If it fails, then pretend we aren't using GCC.
5306 # If it is relative, then search for the first ld in PATH.
5310 elif test "$with_gnu_ld" = yes; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5312 $as_echo_n "checking for GNU ld... " >&6; }
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5315 $as_echo_n "checking for non-GNU ld... " >&6; }
5317 if test "${lt_cv_path_LD+set}" = set; then :
5318 $as_echo_n "(cached) " >&6
5320 if test -z "$LD"; then
5321 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5322 for ac_dir in $PATH; do
5324 test -z "$ac_dir" && ac_dir=.
5325 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5326 lt_cv_path_LD="$ac_dir/$ac_prog"
5327 # Check to see if the program is GNU ld. I'd rather use --version,
5328 # but apparently some variants of GNU ld only accept -v.
5329 # Break only if it was the GNU/non-GNU ld that we prefer.
5330 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5331 *GNU* | *'with BFD'*)
5332 test "$with_gnu_ld" != no && break
5335 test "$with_gnu_ld" != yes && break
5342 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5347 if test -n "$LD"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5349 $as_echo "$LD" >&6; }
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352 $as_echo "no" >&6; }
5354 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5356 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5357 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5358 $as_echo_n "(cached) " >&6
5360 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5361 case `$LD -v 2>&1 </dev/null` in
5362 *GNU* | *'with BFD'*)
5363 lt_cv_prog_gnu_ld=yes
5366 lt_cv_prog_gnu_ld=no
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5371 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5372 with_gnu_ld=$lt_cv_prog_gnu_ld
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5383 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5384 if test "${lt_cv_path_NM+set}" = set; then :
5385 $as_echo_n "(cached) " >&6
5387 if test -n "$NM"; then
5388 # Let the user override the test.
5391 lt_nm_to_check="${ac_tool_prefix}nm"
5392 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5393 lt_nm_to_check="$lt_nm_to_check nm"
5395 for lt_tmp_nm in $lt_nm_to_check; do
5396 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5397 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5399 test -z "$ac_dir" && ac_dir=.
5400 tmp_nm="$ac_dir/$lt_tmp_nm"
5401 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5402 # Check to see if the nm accepts a BSD-compat flag.
5403 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5404 # nm: unknown option "B" ignored
5405 # Tru64's nm complains that /dev/null is an invalid object file
5406 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5407 */dev/null* | *'Invalid file or object type'*)
5408 lt_cv_path_NM="$tmp_nm -B"
5412 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5414 lt_cv_path_NM="$tmp_nm -p"
5418 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5419 continue # so that we can try to find one that supports BSD flags
5428 : ${lt_cv_path_NM=no}
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5432 $as_echo "$lt_cv_path_NM" >&6; }
5433 if test "$lt_cv_path_NM" != "no"; then
5436 # Didn't find any BSD compatible name lister, look for dumpbin.
5437 if test -n "$DUMPBIN"; then :
5438 # Let the user override the test.
5440 if test -n "$ac_tool_prefix"; then
5441 for ac_prog in dumpbin "link -dump"
5443 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5444 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 $as_echo_n "checking for $ac_word... " >&6; }
5447 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5448 $as_echo_n "(cached) " >&6
5450 if test -n "$DUMPBIN"; then
5451 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 test -z "$as_dir" && as_dir=.
5458 for ac_exec_ext in '' $ac_executable_extensions; do
5459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5460 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 DUMPBIN=$ac_cv_prog_DUMPBIN
5471 if test -n "$DUMPBIN"; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5473 $as_echo "$DUMPBIN" >&6; }
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5480 test -n "$DUMPBIN" && break
5483 if test -z "$DUMPBIN"; then
5484 ac_ct_DUMPBIN=$DUMPBIN
5485 for ac_prog in dumpbin "link -dump"
5487 # Extract the first word of "$ac_prog", so it can be a program name with args.
5488 set dummy $ac_prog; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5492 $as_echo_n "(cached) " >&6
5494 if test -n "$ac_ct_DUMPBIN"; then
5495 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5515 if test -n "$ac_ct_DUMPBIN"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5517 $as_echo "$ac_ct_DUMPBIN" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5524 test -n "$ac_ct_DUMPBIN" && break
5527 if test "x$ac_ct_DUMPBIN" = x; then
5530 case $cross_compiling:$ac_tool_warned in
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5534 ac_tool_warned=yes ;;
5536 DUMPBIN=$ac_ct_DUMPBIN
5540 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5542 DUMPBIN="$DUMPBIN -symbols"
5550 if test "$DUMPBIN" != ":"; then
5554 test -z "$NM" && NM=nm
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5562 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5563 if test "${lt_cv_nm_interface+set}" = set; then :
5564 $as_echo_n "(cached) " >&6
5566 lt_cv_nm_interface="BSD nm"
5567 echo "int some_variable = 0;" > conftest.$ac_ext
5568 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5569 (eval "$ac_compile" 2>conftest.err)
5570 cat conftest.err >&5
5571 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5572 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5573 cat conftest.err >&5
5574 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5575 cat conftest.out >&5
5576 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5577 lt_cv_nm_interface="MS dumpbin"
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5582 $as_echo "$lt_cv_nm_interface" >&6; }
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5585 $as_echo_n "checking whether ln -s works... " >&6; }
5587 if test "$LN_S" = "ln -s"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5589 $as_echo "yes" >&6; }
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5592 $as_echo "no, using $LN_S" >&6; }
5595 # find the maximum length of command line arguments
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5597 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5598 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5599 $as_echo_n "(cached) " >&6
5606 # On DJGPP, this test can blow up pretty badly due to problems in libc
5607 # (any single argument exceeding 2000 bytes causes a buffer overrun
5608 # during glob expansion). Even if it were fixed, the result of this
5609 # check would be larger than it should be.
5610 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5614 # Under GNU Hurd, this test is not required because there is
5615 # no limit to the length of command line arguments.
5616 # Libtool will interpret -1 as no limit whatsoever
5617 lt_cv_sys_max_cmd_len=-1;
5620 cygwin* | mingw* | cegcc*)
5621 # On Win9x/ME, this test blows up -- it succeeds, but takes
5622 # about 5 minutes as the teststring grows exponentially.
5623 # Worse, since 9x/ME are not pre-emptively multitasking,
5624 # you end up with a "frozen" computer, even though with patience
5625 # the test eventually succeeds (with a max line length of 256k).
5626 # Instead, let's just punt: use the minimum linelength reported by
5627 # all of the supported platforms: 8192 (on NT/2K/XP).
5628 lt_cv_sys_max_cmd_len=8192;
5632 # On MiNT this can take a long time and run out of memory.
5633 lt_cv_sys_max_cmd_len=8192;
5637 # On AmigaOS with pdksh, this test takes hours, literally.
5638 # So we just punt and use a minimum line length of 8192.
5639 lt_cv_sys_max_cmd_len=8192;
5642 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5643 # This has been around since 386BSD, at least. Likely further.
5644 if test -x /sbin/sysctl; then
5645 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5646 elif test -x /usr/sbin/sysctl; then
5647 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5649 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5651 # And add a safety zone
5652 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5653 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5657 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5658 lt_cv_sys_max_cmd_len=196608
5662 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5663 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5664 # nice to cause kernel panics so lets avoid the loop below.
5665 # First set a reasonable default.
5666 lt_cv_sys_max_cmd_len=16384
5668 if test -x /sbin/sysconfig; then
5669 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5670 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5675 lt_cv_sys_max_cmd_len=102400
5677 sysv5* | sco5v6* | sysv4.2uw2*)
5678 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5679 if test -n "$kargmax"; then
5680 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5682 lt_cv_sys_max_cmd_len=32768
5686 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5687 if test -n "$lt_cv_sys_max_cmd_len"; then
5688 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5689 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5691 # Make teststring a little bigger before we do anything with it.
5692 # a 1K string should be a reasonable start.
5693 for i in 1 2 3 4 5 6 7 8 ; do
5694 teststring=$teststring$teststring
5696 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5697 # If test is not a shell built-in, we'll probably end up computing a
5698 # maximum length that is only half of the actual maximum length, but
5700 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5701 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5702 test $i != 17 # 1/2 MB should be enough
5705 teststring=$teststring$teststring
5707 # Only check the string length outside the loop.
5708 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5710 # Add a significant safety factor because C++ compilers can tack on
5711 # massive amounts of additional arguments before passing them to the
5712 # linker. It appears as though 1/2 is a usable value.
5713 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5720 if test -n $lt_cv_sys_max_cmd_len ; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5722 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5725 $as_echo "none" >&6; }
5727 max_cmd_len=$lt_cv_sys_max_cmd_len
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5739 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5740 # Try some XSI features
5743 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5745 && eval 'test $(( 1 + 1 )) -eq 2 \
5746 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5749 $as_echo "$xsi_shell" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5753 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5755 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5757 && lt_shell_append=yes
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5759 $as_echo "$lt_shell_append" >&6; }
5762 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5772 # test EBCDIC or ASCII
5773 case `echo X|tr X '\101'` in
5774 A) # ASCII based system
5775 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5776 lt_SP2NL='tr \040 \012'
5777 lt_NL2SP='tr \015\012 \040\040'
5779 *) # EBCDIC based system
5780 lt_SP2NL='tr \100 \n'
5781 lt_NL2SP='tr \r\n \100\100'
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5794 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5795 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5796 $as_echo_n "(cached) " >&6
5798 lt_cv_ld_reload_flag='-r'
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5801 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5802 reload_flag=$lt_cv_ld_reload_flag
5803 case $reload_flag in
5805 *) reload_flag=" $reload_flag" ;;
5807 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5810 if test "$GCC" = yes; then
5811 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5813 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5826 if test -n "$ac_tool_prefix"; then
5827 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5828 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 $as_echo_n "checking for $ac_word... " >&6; }
5831 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5832 $as_echo_n "(cached) " >&6
5834 if test -n "$OBJDUMP"; then
5835 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841 test -z "$as_dir" && as_dir=.
5842 for ac_exec_ext in '' $ac_executable_extensions; do
5843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5844 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 OBJDUMP=$ac_cv_prog_OBJDUMP
5855 if test -n "$OBJDUMP"; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5857 $as_echo "$OBJDUMP" >&6; }
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5865 if test -z "$ac_cv_prog_OBJDUMP"; then
5866 ac_ct_OBJDUMP=$OBJDUMP
5867 # Extract the first word of "objdump", so it can be a program name with args.
5868 set dummy objdump; ac_word=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 $as_echo_n "checking for $ac_word... " >&6; }
5871 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5872 $as_echo_n "(cached) " >&6
5874 if test -n "$ac_ct_OBJDUMP"; then
5875 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5884 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5894 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5895 if test -n "$ac_ct_OBJDUMP"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5897 $as_echo "$ac_ct_OBJDUMP" >&6; }
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 $as_echo "no" >&6; }
5903 if test "x$ac_ct_OBJDUMP" = x; then
5906 case $cross_compiling:$ac_tool_warned in
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5910 ac_tool_warned=yes ;;
5912 OBJDUMP=$ac_ct_OBJDUMP
5915 OBJDUMP="$ac_cv_prog_OBJDUMP"
5918 test -z "$OBJDUMP" && OBJDUMP=objdump
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5929 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5930 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5931 $as_echo_n "(cached) " >&6
5933 lt_cv_file_magic_cmd='$MAGIC_CMD'
5934 lt_cv_file_magic_test_file=
5935 lt_cv_deplibs_check_method='unknown'
5936 # Need to set the preceding variable on all platforms that support
5937 # interlibrary dependencies.
5938 # 'none' -- dependencies not supported.
5939 # `unknown' -- same as none, but documents that we really don't know.
5940 # 'pass_all' -- all dependencies passed with no checks.
5941 # 'test_compile' -- check by making test program.
5942 # 'file_magic [[regex]]' -- check by looking for files in library path
5943 # which responds to the $file_magic_cmd with a given extended regex.
5944 # If you have `file' or equivalent on your system and you're not sure
5945 # whether `pass_all' will *always* work, you probably want this one.
5949 lt_cv_deplibs_check_method=pass_all
5953 lt_cv_deplibs_check_method=pass_all
5957 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5958 lt_cv_file_magic_cmd='/usr/bin/file -L'
5959 lt_cv_file_magic_test_file=/shlib/libc.so
5963 # func_win32_libid is a shell function defined in ltmain.sh
5964 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5965 lt_cv_file_magic_cmd='func_win32_libid'
5969 # Base MSYS/MinGW do not provide the 'file' command needed by
5970 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5971 # unless we find 'file', for example because we are cross-compiling.
5972 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5973 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5974 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5975 lt_cv_file_magic_cmd='func_win32_libid'
5977 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5978 lt_cv_file_magic_cmd='$OBJDUMP -f'
5983 # use the weaker test based on 'objdump'. See mingw*.
5984 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5985 lt_cv_file_magic_cmd='$OBJDUMP -f'
5988 darwin* | rhapsody*)
5989 lt_cv_deplibs_check_method=pass_all
5992 freebsd* | dragonfly*)
5993 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5996 # Not sure whether the presence of OpenBSD here was a mistake.
5997 # Let's accept both of them until this is cleared up.
5998 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5999 lt_cv_file_magic_cmd=/usr/bin/file
6000 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6004 lt_cv_deplibs_check_method=pass_all
6009 lt_cv_deplibs_check_method=pass_all
6013 lt_cv_deplibs_check_method=pass_all
6016 hpux10.20* | hpux11*)
6017 lt_cv_file_magic_cmd=/usr/bin/file
6020 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6021 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6024 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]'
6025 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6028 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6029 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6035 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6039 irix5* | irix6* | nonstopux*)
6041 *-32|*"-32 ") libmagic=32-bit;;
6042 *-n32|*"-n32 ") libmagic=N32;;
6043 *-64|*"-64 ") libmagic=64-bit;;
6044 *) libmagic=never-match;;
6046 lt_cv_deplibs_check_method=pass_all
6049 # This must be Linux ELF.
6050 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6051 lt_cv_deplibs_check_method=pass_all
6055 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6058 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6063 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6064 lt_cv_file_magic_cmd=/usr/bin/file
6065 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6069 lt_cv_deplibs_check_method=pass_all
6073 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6074 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6076 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6080 osf3* | osf4* | osf5*)
6081 lt_cv_deplibs_check_method=pass_all
6085 lt_cv_deplibs_check_method=pass_all
6089 lt_cv_deplibs_check_method=pass_all
6092 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6093 lt_cv_deplibs_check_method=pass_all
6097 case $host_vendor in
6099 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]'
6100 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6103 lt_cv_deplibs_check_method=pass_all
6106 lt_cv_file_magic_cmd='/bin/file'
6107 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6110 lt_cv_file_magic_cmd='/bin/file'
6111 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6112 lt_cv_file_magic_test_file=/lib/libc.so
6115 lt_cv_deplibs_check_method=pass_all
6118 lt_cv_deplibs_check_method=pass_all
6124 lt_cv_deplibs_check_method=pass_all
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6130 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6131 file_magic_cmd=$lt_cv_file_magic_cmd
6132 deplibs_check_method=$lt_cv_deplibs_check_method
6133 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6146 if test -n "$ac_tool_prefix"; then
6147 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6148 set dummy ${ac_tool_prefix}ar; ac_word=$2
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6150 $as_echo_n "checking for $ac_word... " >&6; }
6151 if test "${ac_cv_prog_AR+set}" = set; then :
6152 $as_echo_n "(cached) " >&6
6154 if test -n "$AR"; then
6155 ac_cv_prog_AR="$AR" # Let the user override the test.
6157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 test -z "$as_dir" && as_dir=.
6162 for ac_exec_ext in '' $ac_executable_extensions; do
6163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6164 ac_cv_prog_AR="${ac_tool_prefix}ar"
6165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6175 if test -n "$AR"; then
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6177 $as_echo "$AR" >&6; }
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6180 $as_echo "no" >&6; }
6185 if test -z "$ac_cv_prog_AR"; then
6187 # Extract the first word of "ar", so it can be a program name with args.
6188 set dummy ar; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6194 if test -n "$ac_ct_AR"; then
6195 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6204 ac_cv_prog_ac_ct_AR="ar"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6214 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6215 if test -n "$ac_ct_AR"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6217 $as_echo "$ac_ct_AR" >&6; }
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6223 if test "x$ac_ct_AR" = x; then
6226 case $cross_compiling:$ac_tool_warned in
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6230 ac_tool_warned=yes ;;
6238 test -z "$AR" && AR=ar
6239 test -z "$AR_FLAGS" && AR_FLAGS=cru
6251 if test -n "$ac_tool_prefix"; then
6252 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6253 set dummy ${ac_tool_prefix}strip; ac_word=$2
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6255 $as_echo_n "checking for $ac_word... " >&6; }
6256 if test "${ac_cv_prog_STRIP+set}" = set; then :
6257 $as_echo_n "(cached) " >&6
6259 if test -n "$STRIP"; then
6260 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6269 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6279 STRIP=$ac_cv_prog_STRIP
6280 if test -n "$STRIP"; then
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6282 $as_echo "$STRIP" >&6; }
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6285 $as_echo "no" >&6; }
6290 if test -z "$ac_cv_prog_STRIP"; then
6292 # Extract the first word of "strip", so it can be a program name with args.
6293 set dummy strip; ac_word=$2
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6295 $as_echo_n "checking for $ac_word... " >&6; }
6296 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6297 $as_echo_n "(cached) " >&6
6299 if test -n "$ac_ct_STRIP"; then
6300 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6306 test -z "$as_dir" && as_dir=.
6307 for ac_exec_ext in '' $ac_executable_extensions; do
6308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6309 ac_cv_prog_ac_ct_STRIP="strip"
6310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6320 if test -n "$ac_ct_STRIP"; then
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6322 $as_echo "$ac_ct_STRIP" >&6; }
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6325 $as_echo "no" >&6; }
6328 if test "x$ac_ct_STRIP" = x; then
6331 case $cross_compiling:$ac_tool_warned in
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6335 ac_tool_warned=yes ;;
6340 STRIP="$ac_cv_prog_STRIP"
6343 test -z "$STRIP" && STRIP=:
6350 if test -n "$ac_tool_prefix"; then
6351 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6352 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354 $as_echo_n "checking for $ac_word... " >&6; }
6355 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6356 $as_echo_n "(cached) " >&6
6358 if test -n "$RANLIB"; then
6359 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365 test -z "$as_dir" && as_dir=.
6366 for ac_exec_ext in '' $ac_executable_extensions; do
6367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6368 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6378 RANLIB=$ac_cv_prog_RANLIB
6379 if test -n "$RANLIB"; then
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6381 $as_echo "$RANLIB" >&6; }
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384 $as_echo "no" >&6; }
6389 if test -z "$ac_cv_prog_RANLIB"; then
6390 ac_ct_RANLIB=$RANLIB
6391 # Extract the first word of "ranlib", so it can be a program name with args.
6392 set dummy ranlib; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6396 $as_echo_n "(cached) " >&6
6398 if test -n "$ac_ct_RANLIB"; then
6399 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405 test -z "$as_dir" && as_dir=.
6406 for ac_exec_ext in '' $ac_executable_extensions; do
6407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6408 ac_cv_prog_ac_ct_RANLIB="ranlib"
6409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6418 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6419 if test -n "$ac_ct_RANLIB"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6421 $as_echo "$ac_ct_RANLIB" >&6; }
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6427 if test "x$ac_ct_RANLIB" = x; then
6430 case $cross_compiling:$ac_tool_warned in
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6434 ac_tool_warned=yes ;;
6436 RANLIB=$ac_ct_RANLIB
6439 RANLIB="$ac_cv_prog_RANLIB"
6442 test -z "$RANLIB" && RANLIB=:
6449 # Determine commands to create old-style static archives.
6450 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6451 old_postinstall_cmds='chmod 644 $oldlib'
6452 old_postuninstall_cmds=
6454 if test -n "$RANLIB"; then
6457 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6460 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6463 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6468 lock_old_archive_extraction=yes ;;
6470 lock_old_archive_extraction=no ;;
6511 # If no C compiler was specified, use CC.
6514 # If no C compiler flags were specified, use CFLAGS.
6515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6517 # Allow CC to be a program name with arguments.
6521 # Check for command to grab the raw symbol name followed by C symbol from nm.
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6523 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6524 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6525 $as_echo_n "(cached) " >&6
6528 # These are sane defaults that work on at least a few old systems.
6529 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6531 # Character class describing NM global symbol codes.
6532 symcode='[BCDEGRST]'
6534 # Regexp to match symbols that can be accessed directly from C.
6535 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6537 # Define system-specific variables.
6542 cygwin* | mingw* | pw32* | cegcc*)
6543 symcode='[ABCDGISTW]'
6546 if test "$host_cpu" = ia64; then
6547 symcode='[ABCDEGRST]'
6551 symcode='[BCDEGRST]'
6554 symcode='[BCDEGQRST]'
6565 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6573 # If we're using GNU nm, then use its standard symbol codes.
6574 case `$NM -V 2>&1` in
6575 *GNU* | *'with BFD'*)
6576 symcode='[ABCDGIRSTW]' ;;
6579 # Transform an extracted symbol line into a proper C declaration.
6580 # Some systems (esp. on ia64) link data and code symbols differently,
6581 # so use this general approach.
6582 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6584 # Transform an extracted symbol line into symbol name and symbol address
6585 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6586 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'"
6588 # Handle CRLF in mingw tool chain
6592 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6596 # Try without a prefix underscore, then with it.
6597 for ac_symprfx in "" "_"; do
6599 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6600 symxfrm="\\1 $ac_symprfx\\2 \\2"
6602 # Write the raw and C identifiers.
6603 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6604 # Fake it for dumpbin and say T for any non-static function
6605 # and D for any global variable.
6606 # Also find C++ and __fastcall symbols from MSVC++,
6607 # which start with @ or ?.
6608 lt_cv_sys_global_symbol_pipe="$AWK '"\
6609 " {last_section=section; section=\$ 3};"\
6610 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6611 " \$ 0!~/External *\|/{next};"\
6612 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6613 " {if(hide[section]) next};"\
6614 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6615 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6616 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6617 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6618 " ' prfx=^$ac_symprfx"
6620 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6623 # Check to see that the pipe works correctly.
6627 cat > conftest.$ac_ext <<_LT_EOF
6632 void nm_test_func(void);
6633 void nm_test_func(void){}
6637 int main(){nm_test_var='a';nm_test_func();return(0);}
6640 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6641 (eval $ac_compile) 2>&5
6643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6644 test $ac_status = 0; }; then
6645 # Now try to grab the symbols.
6647 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6648 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6651 test $ac_status = 0; } && test -s "$nlist"; then
6652 # Try sorting and uniquifying the output.
6653 if sort "$nlist" | uniq > "$nlist"T; then
6654 mv -f "$nlist"T "$nlist"
6659 # Make sure that we snagged all the symbols we need.
6660 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6661 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6662 cat <<_LT_EOF > conftest.$ac_ext
6668 # Now generate the symbol file.
6669 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6671 cat <<_LT_EOF >> conftest.$ac_ext
6673 /* The mapping between symbol names and symbols. */
6678 lt__PROGRAM__LTX_preloaded_symbols[] =
6680 { "@PROGRAM@", (void *) 0 },
6682 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6683 cat <<\_LT_EOF >> conftest.$ac_ext
6687 /* This works around a problem in FreeBSD linker */
6688 #ifdef FREEBSD_WORKAROUND
6689 static const void *lt_preloaded_setup() {
6690 return lt__PROGRAM__LTX_preloaded_symbols;
6698 # Now try linking the two files.
6699 mv conftest.$ac_objext conftstm.$ac_objext
6700 lt_save_LIBS="$LIBS"
6701 lt_save_CFLAGS="$CFLAGS"
6702 LIBS="conftstm.$ac_objext"
6703 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6705 (eval $ac_link) 2>&5
6707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6708 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6711 LIBS="$lt_save_LIBS"
6712 CFLAGS="$lt_save_CFLAGS"
6714 echo "cannot find nm_test_func in $nlist" >&5
6717 echo "cannot find nm_test_var in $nlist" >&5
6720 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6723 echo "$progname: failed program was:" >&5
6724 cat conftest.$ac_ext >&5
6726 rm -rf conftest* conftst*
6728 # Do not use the global_symbol_pipe unless it works.
6729 if test "$pipe_works" = yes; then
6732 lt_cv_sys_global_symbol_pipe=
6738 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6739 lt_cv_sys_global_symbol_to_cdecl=
6741 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6743 $as_echo "failed" >&6; }
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6746 $as_echo "ok" >&6; }
6770 # Check whether --enable-libtool-lock was given.
6771 if test "${enable_libtool_lock+set}" = set; then :
6772 enableval=$enable_libtool_lock;
6775 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6777 # Some flags need to be propagated to the compiler or linker for good
6781 # Find out which ABI we are using.
6782 echo 'int i;' > conftest.$ac_ext
6783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6784 (eval $ac_compile) 2>&5
6786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6787 test $ac_status = 0; }; then
6788 case `/usr/bin/file conftest.$ac_objext` in
6800 # Find out which ABI we are using.
6801 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6802 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6803 (eval $ac_compile) 2>&5
6805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6806 test $ac_status = 0; }; then
6807 if test "$lt_cv_prog_gnu_ld" = yes; then
6808 case `/usr/bin/file conftest.$ac_objext` in
6810 LD="${LD-ld} -melf32bsmip"
6813 LD="${LD-ld} -melf32bmipn32"
6816 LD="${LD-ld} -melf64bmip"
6820 case `/usr/bin/file conftest.$ac_objext` in
6836 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6837 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6838 # Find out which ABI we are using.
6839 echo 'int i;' > conftest.$ac_ext
6840 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6841 (eval $ac_compile) 2>&5
6843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6844 test $ac_status = 0; }; then
6845 case `/usr/bin/file conftest.o` in
6848 x86_64-*kfreebsd*-gnu)
6849 LD="${LD-ld} -m elf_i386_fbsd"
6852 LD="${LD-ld} -m elf_i386"
6854 ppc64-*linux*|powerpc64-*linux*)
6855 LD="${LD-ld} -m elf32ppclinux"
6858 LD="${LD-ld} -m elf_s390"
6861 LD="${LD-ld} -m elf32_sparc"
6867 x86_64-*kfreebsd*-gnu)
6868 LD="${LD-ld} -m elf_x86_64_fbsd"
6871 LD="${LD-ld} -m elf_x86_64"
6873 ppc*-*linux*|powerpc*-*linux*)
6874 LD="${LD-ld} -m elf64ppc"
6876 s390*-*linux*|s390*-*tpf*)
6877 LD="${LD-ld} -m elf64_s390"
6880 LD="${LD-ld} -m elf64_sparc"
6890 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6891 SAVE_CFLAGS="$CFLAGS"
6892 CFLAGS="$CFLAGS -belf"
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6894 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6895 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6896 $as_echo_n "(cached) " >&6
6899 ac_cpp='$CPP $CPPFLAGS'
6900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6904 if test x$gcc_no_link = xyes; then
6905 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6908 /* end confdefs.h. */
6918 if ac_fn_c_try_link "$LINENO"; then :
6919 lt_cv_cc_needs_belf=yes
6921 lt_cv_cc_needs_belf=no
6923 rm -f core conftest.err conftest.$ac_objext \
6924 conftest$ac_exeext conftest.$ac_ext
6926 ac_cpp='$CPP $CPPFLAGS'
6927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6933 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6934 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6935 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6936 CFLAGS="$SAVE_CFLAGS"
6940 # Find out which ABI we are using.
6941 echo 'int i;' > conftest.$ac_ext
6942 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6943 (eval $ac_compile) 2>&5
6945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6946 test $ac_status = 0; }; then
6947 case `/usr/bin/file conftest.o` in
6949 case $lt_cv_prog_gnu_ld in
6950 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6952 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6964 need_locks="$enable_libtool_lock"
6968 rhapsody* | darwin*)
6969 if test -n "$ac_tool_prefix"; then
6970 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6971 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973 $as_echo_n "checking for $ac_word... " >&6; }
6974 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6975 $as_echo_n "(cached) " >&6
6977 if test -n "$DSYMUTIL"; then
6978 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6984 test -z "$as_dir" && as_dir=.
6985 for ac_exec_ext in '' $ac_executable_extensions; do
6986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6987 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6997 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6998 if test -n "$DSYMUTIL"; then
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7000 $as_echo "$DSYMUTIL" >&6; }
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003 $as_echo "no" >&6; }
7008 if test -z "$ac_cv_prog_DSYMUTIL"; then
7009 ac_ct_DSYMUTIL=$DSYMUTIL
7010 # Extract the first word of "dsymutil", so it can be a program name with args.
7011 set dummy dsymutil; ac_word=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 $as_echo_n "checking for $ac_word... " >&6; }
7014 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7015 $as_echo_n "(cached) " >&6
7017 if test -n "$ac_ct_DSYMUTIL"; then
7018 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024 test -z "$as_dir" && as_dir=.
7025 for ac_exec_ext in '' $ac_executable_extensions; do
7026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7027 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7037 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7038 if test -n "$ac_ct_DSYMUTIL"; then
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7040 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7043 $as_echo "no" >&6; }
7046 if test "x$ac_ct_DSYMUTIL" = x; then
7049 case $cross_compiling:$ac_tool_warned in
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7053 ac_tool_warned=yes ;;
7055 DSYMUTIL=$ac_ct_DSYMUTIL
7058 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7061 if test -n "$ac_tool_prefix"; then
7062 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7063 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 $as_echo_n "checking for $ac_word... " >&6; }
7066 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7067 $as_echo_n "(cached) " >&6
7069 if test -n "$NMEDIT"; then
7070 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076 test -z "$as_dir" && as_dir=.
7077 for ac_exec_ext in '' $ac_executable_extensions; do
7078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7079 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7089 NMEDIT=$ac_cv_prog_NMEDIT
7090 if test -n "$NMEDIT"; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7092 $as_echo "$NMEDIT" >&6; }
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 $as_echo "no" >&6; }
7100 if test -z "$ac_cv_prog_NMEDIT"; then
7101 ac_ct_NMEDIT=$NMEDIT
7102 # Extract the first word of "nmedit", so it can be a program name with args.
7103 set dummy nmedit; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; }
7106 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7107 $as_echo_n "(cached) " >&6
7109 if test -n "$ac_ct_NMEDIT"; then
7110 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116 test -z "$as_dir" && as_dir=.
7117 for ac_exec_ext in '' $ac_executable_extensions; do
7118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7119 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7129 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7130 if test -n "$ac_ct_NMEDIT"; then
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7132 $as_echo "$ac_ct_NMEDIT" >&6; }
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7138 if test "x$ac_ct_NMEDIT" = x; then
7141 case $cross_compiling:$ac_tool_warned in
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7145 ac_tool_warned=yes ;;
7147 NMEDIT=$ac_ct_NMEDIT
7150 NMEDIT="$ac_cv_prog_NMEDIT"
7153 if test -n "$ac_tool_prefix"; then
7154 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7155 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157 $as_echo_n "checking for $ac_word... " >&6; }
7158 if test "${ac_cv_prog_LIPO+set}" = set; then :
7159 $as_echo_n "(cached) " >&6
7161 if test -n "$LIPO"; then
7162 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 test -z "$as_dir" && as_dir=.
7169 for ac_exec_ext in '' $ac_executable_extensions; do
7170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7171 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7181 LIPO=$ac_cv_prog_LIPO
7182 if test -n "$LIPO"; then
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7184 $as_echo "$LIPO" >&6; }
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187 $as_echo "no" >&6; }
7192 if test -z "$ac_cv_prog_LIPO"; then
7194 # Extract the first word of "lipo", so it can be a program name with args.
7195 set dummy lipo; ac_word=$2
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7197 $as_echo_n "checking for $ac_word... " >&6; }
7198 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7199 $as_echo_n "(cached) " >&6
7201 if test -n "$ac_ct_LIPO"; then
7202 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir=.
7209 for ac_exec_ext in '' $ac_executable_extensions; do
7210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 ac_cv_prog_ac_ct_LIPO="lipo"
7212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7221 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7222 if test -n "$ac_ct_LIPO"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7224 $as_echo "$ac_ct_LIPO" >&6; }
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7230 if test "x$ac_ct_LIPO" = x; then
7233 case $cross_compiling:$ac_tool_warned in
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7237 ac_tool_warned=yes ;;
7242 LIPO="$ac_cv_prog_LIPO"
7245 if test -n "$ac_tool_prefix"; then
7246 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7247 set dummy ${ac_tool_prefix}otool; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7251 $as_echo_n "(cached) " >&6
7253 if test -n "$OTOOL"; then
7254 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7263 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7273 OTOOL=$ac_cv_prog_OTOOL
7274 if test -n "$OTOOL"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7276 $as_echo "$OTOOL" >&6; }
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7284 if test -z "$ac_cv_prog_OTOOL"; then
7286 # Extract the first word of "otool", so it can be a program name with args.
7287 set dummy otool; ac_word=$2
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7289 $as_echo_n "checking for $ac_word... " >&6; }
7290 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7291 $as_echo_n "(cached) " >&6
7293 if test -n "$ac_ct_OTOOL"; then
7294 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300 test -z "$as_dir" && as_dir=.
7301 for ac_exec_ext in '' $ac_executable_extensions; do
7302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7303 ac_cv_prog_ac_ct_OTOOL="otool"
7304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7313 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7314 if test -n "$ac_ct_OTOOL"; then
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7316 $as_echo "$ac_ct_OTOOL" >&6; }
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7319 $as_echo "no" >&6; }
7322 if test "x$ac_ct_OTOOL" = x; then
7325 case $cross_compiling:$ac_tool_warned in
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7329 ac_tool_warned=yes ;;
7334 OTOOL="$ac_cv_prog_OTOOL"
7337 if test -n "$ac_tool_prefix"; then
7338 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7339 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7343 $as_echo_n "(cached) " >&6
7345 if test -n "$OTOOL64"; then
7346 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7355 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7365 OTOOL64=$ac_cv_prog_OTOOL64
7366 if test -n "$OTOOL64"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7368 $as_echo "$OTOOL64" >&6; }
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7376 if test -z "$ac_cv_prog_OTOOL64"; then
7377 ac_ct_OTOOL64=$OTOOL64
7378 # Extract the first word of "otool64", so it can be a program name with args.
7379 set dummy otool64; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7383 $as_echo_n "(cached) " >&6
7385 if test -n "$ac_ct_OTOOL64"; then
7386 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 ac_cv_prog_ac_ct_OTOOL64="otool64"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7405 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7406 if test -n "$ac_ct_OTOOL64"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7408 $as_echo "$ac_ct_OTOOL64" >&6; }
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7414 if test "x$ac_ct_OTOOL64" = x; then
7417 case $cross_compiling:$ac_tool_warned in
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7421 ac_tool_warned=yes ;;
7423 OTOOL64=$ac_ct_OTOOL64
7426 OTOOL64="$ac_cv_prog_OTOOL64"
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7456 $as_echo_n "checking for -single_module linker flag... " >&6; }
7457 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7458 $as_echo_n "(cached) " >&6
7460 lt_cv_apple_cc_single_mod=no
7461 if test -z "${LT_MULTI_MODULE}"; then
7462 # By default we will add the -single_module flag. You can override
7463 # by either setting the environment variable LT_MULTI_MODULE
7464 # non-empty at configure time, or by adding -multi_module to the
7466 rm -rf libconftest.dylib*
7467 echo "int foo(void){return 1;}" > conftest.c
7468 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7469 -dynamiclib -Wl,-single_module conftest.c" >&5
7470 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7471 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7473 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7474 lt_cv_apple_cc_single_mod=yes
7476 cat conftest.err >&5
7478 rm -rf libconftest.dylib*
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7483 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7485 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7486 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7487 $as_echo_n "(cached) " >&6
7489 lt_cv_ld_exported_symbols_list=no
7490 save_LDFLAGS=$LDFLAGS
7491 echo "_main" > conftest.sym
7492 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7493 if test x$gcc_no_link = xyes; then
7494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7497 /* end confdefs.h. */
7507 if ac_fn_c_try_link "$LINENO"; then :
7508 lt_cv_ld_exported_symbols_list=yes
7510 lt_cv_ld_exported_symbols_list=no
7512 rm -f core conftest.err conftest.$ac_objext \
7513 conftest$ac_exeext conftest.$ac_ext
7514 LDFLAGS="$save_LDFLAGS"
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7518 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7520 $as_echo_n "checking for -force_load linker flag... " >&6; }
7521 if test "${lt_cv_ld_force_load+set}" = set; then :
7522 $as_echo_n "(cached) " >&6
7524 lt_cv_ld_force_load=no
7525 cat > conftest.c << _LT_EOF
7526 int forced_loaded() { return 2;}
7528 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7529 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7530 echo "$AR cru libconftest.a conftest.o" >&5
7531 $AR cru libconftest.a conftest.o 2>&5
7532 cat > conftest.c << _LT_EOF
7533 int main() { return 0;}
7535 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7536 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7538 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7539 lt_cv_ld_force_load=yes
7541 cat conftest.err >&5
7543 rm -f conftest.err libconftest.a conftest conftest.c
7544 rm -rf conftest.dSYM
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7548 $as_echo "$lt_cv_ld_force_load" >&6; }
7550 rhapsody* | darwin1.[012])
7551 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7553 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7554 darwin*) # darwin 5.x on
7555 # if running on 10.5 or later, the deployment target defaults
7556 # to the OS version, if on x86, and 10.4, the deployment
7557 # target defaults to 10.4. Don't you love it?
7558 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7559 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7560 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7562 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7564 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7568 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7569 _lt_dar_single_mod='$single_module'
7571 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7572 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7574 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7576 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7577 _lt_dsymutil='~$DSYMUTIL $lib || :'
7585 ac_cpp='$CPP $CPPFLAGS'
7586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7590 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7591 # On Suns, sometimes $CPP names a directory.
7592 if test -n "$CPP" && test -d "$CPP"; then
7595 if test -z "$CPP"; then
7596 if test "${ac_cv_prog_CPP+set}" = set; then :
7597 $as_echo_n "(cached) " >&6
7599 # Double quotes because CPP needs to be expanded
7600 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7603 for ac_c_preproc_warn_flag in '' yes
7605 # Use a header file that comes with gcc, so configuring glibc
7606 # with a fresh cross-compiler works.
7607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7608 # <limits.h> exists even on freestanding compilers.
7609 # On the NeXT, cc -E runs the code through the compiler's parser,
7610 # not just through cpp. "Syntax error" is here to catch this case.
7611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7612 /* end confdefs.h. */
7614 # include <limits.h>
7616 # include <assert.h>
7620 if ac_fn_c_try_cpp "$LINENO"; then :
7623 # Broken: fails on valid input.
7626 rm -f conftest.err conftest.$ac_ext
7628 # OK, works on sane cases. Now check whether nonexistent headers
7629 # can be detected and how.
7630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7631 /* end confdefs.h. */
7632 #include <ac_nonexistent.h>
7634 if ac_fn_c_try_cpp "$LINENO"; then :
7635 # Broken: success on invalid input.
7638 # Passes both tests.
7642 rm -f conftest.err conftest.$ac_ext
7645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7646 rm -f conftest.err conftest.$ac_ext
7647 if $ac_preproc_ok; then :
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7660 $as_echo "$CPP" >&6; }
7662 for ac_c_preproc_warn_flag in '' yes
7664 # Use a header file that comes with gcc, so configuring glibc
7665 # with a fresh cross-compiler works.
7666 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7667 # <limits.h> exists even on freestanding compilers.
7668 # On the NeXT, cc -E runs the code through the compiler's parser,
7669 # not just through cpp. "Syntax error" is here to catch this case.
7670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7671 /* end confdefs.h. */
7673 # include <limits.h>
7675 # include <assert.h>
7679 if ac_fn_c_try_cpp "$LINENO"; then :
7682 # Broken: fails on valid input.
7685 rm -f conftest.err conftest.$ac_ext
7687 # OK, works on sane cases. Now check whether nonexistent headers
7688 # can be detected and how.
7689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7690 /* end confdefs.h. */
7691 #include <ac_nonexistent.h>
7693 if ac_fn_c_try_cpp "$LINENO"; then :
7694 # Broken: success on invalid input.
7697 # Passes both tests.
7701 rm -f conftest.err conftest.$ac_ext
7704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7705 rm -f conftest.err conftest.$ac_ext
7706 if $ac_preproc_ok; then :
7709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7711 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7712 See \`config.log' for more details." "$LINENO" 5; }
7716 ac_cpp='$CPP $CPPFLAGS'
7717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7723 $as_echo_n "checking for ANSI C header files... " >&6; }
7724 if test "${ac_cv_header_stdc+set}" = set; then :
7725 $as_echo_n "(cached) " >&6
7727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7728 /* end confdefs.h. */
7742 if ac_fn_c_try_compile "$LINENO"; then :
7743 ac_cv_header_stdc=yes
7745 ac_cv_header_stdc=no
7747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7749 if test $ac_cv_header_stdc = yes; then
7750 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7757 $EGREP "memchr" >/dev/null 2>&1; then :
7760 ac_cv_header_stdc=no
7766 if test $ac_cv_header_stdc = yes; then
7767 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7774 $EGREP "free" >/dev/null 2>&1; then :
7777 ac_cv_header_stdc=no
7783 if test $ac_cv_header_stdc = yes; then
7784 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7785 if test "$cross_compiling" = yes; then :
7788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7789 /* end confdefs.h. */
7792 #if ((' ' & 0x0FF) == 0x020)
7793 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7794 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7796 # define ISLOWER(c) \
7797 (('a' <= (c) && (c) <= 'i') \
7798 || ('j' <= (c) && (c) <= 'r') \
7799 || ('s' <= (c) && (c) <= 'z'))
7800 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7803 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7808 for (i = 0; i < 256; i++)
7809 if (XOR (islower (i), ISLOWER (i))
7810 || toupper (i) != TOUPPER (i))
7815 if ac_fn_c_try_run "$LINENO"; then :
7818 ac_cv_header_stdc=no
7820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7821 conftest.$ac_objext conftest.beam conftest.$ac_ext
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7827 $as_echo "$ac_cv_header_stdc" >&6; }
7828 if test $ac_cv_header_stdc = yes; then
7830 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7834 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7835 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7836 inttypes.h stdint.h unistd.h
7838 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7839 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7841 eval as_val=\$$as_ac_Header
7842 if test "x$as_val" = x""yes; then :
7843 cat >>confdefs.h <<_ACEOF
7844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7852 for ac_header in dlfcn.h
7854 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7856 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7857 cat >>confdefs.h <<_ACEOF
7858 #define HAVE_DLFCN_H 1
7877 # Check whether --enable-shared was given.
7878 if test "${enable_shared+set}" = set; then :
7879 enableval=$enable_shared; p=${PACKAGE-default}
7881 yes) enable_shared=yes ;;
7882 no) enable_shared=no ;;
7885 # Look at the argument we got. We use all the common list separators.
7886 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7887 for pkg in $enableval; do
7889 if test "X$pkg" = "X$p"; then
7908 # Check whether --enable-static was given.
7909 if test "${enable_static+set}" = set; then :
7910 enableval=$enable_static; p=${PACKAGE-default}
7912 yes) enable_static=yes ;;
7913 no) enable_static=no ;;
7916 # Look at the argument we got. We use all the common list separators.
7917 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7918 for pkg in $enableval; do
7920 if test "X$pkg" = "X$p"; then
7940 # Check whether --with-pic was given.
7941 if test "${with_pic+set}" = set; then :
7942 withval=$with_pic; pic_mode="$withval"
7948 test -z "$pic_mode" && pic_mode=default
7956 # Check whether --enable-fast-install was given.
7957 if test "${enable_fast_install+set}" = set; then :
7958 enableval=$enable_fast_install; p=${PACKAGE-default}
7960 yes) enable_fast_install=yes ;;
7961 no) enable_fast_install=no ;;
7963 enable_fast_install=no
7964 # Look at the argument we got. We use all the common list separators.
7965 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7966 for pkg in $enableval; do
7968 if test "X$pkg" = "X$p"; then
7969 enable_fast_install=yes
7976 enable_fast_install=yes
7989 # This can be used to rebuild libtool when needed
7990 LIBTOOL_DEPS="$ltmain"
7992 # Always use our own libtool.
7993 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8020 test -z "$LN_S" && LN_S="ln -s"
8035 if test -n "${ZSH_VERSION+set}" ; then
8036 setopt NO_GLOB_SUBST
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8040 $as_echo_n "checking for objdir... " >&6; }
8041 if test "${lt_cv_objdir+set}" = set; then :
8042 $as_echo_n "(cached) " >&6
8044 rm -f .libs 2>/dev/null
8045 mkdir .libs 2>/dev/null
8046 if test -d .libs; then
8049 # MS-DOS does not allow filenames that begin with a dot.
8052 rmdir .libs 2>/dev/null
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8055 $as_echo "$lt_cv_objdir" >&6; }
8056 objdir=$lt_cv_objdir
8062 cat >>confdefs.h <<_ACEOF
8063 #define LT_OBJDIR "$lt_cv_objdir/"
8071 # AIX sometimes has problems with the GCC collect2 program. For some
8072 # reason, if we set the COLLECT_NAMES environment variable, the problems
8073 # vanish in a puff of smoke.
8074 if test "X${COLLECT_NAMES+set}" != Xset; then
8076 export COLLECT_NAMES
8083 can_build_shared=yes
8085 # All known linkers require a `.a' archive for static linking (except MSVC,
8086 # which needs '.lib').
8089 with_gnu_ld="$lt_cv_prog_gnu_ld"
8092 old_CFLAGS="$CFLAGS"
8094 # Set sane defaults for various variables
8095 test -z "$CC" && CC=cc
8096 test -z "$LTCC" && LTCC=$CC
8097 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8098 test -z "$LD" && LD=ld
8099 test -z "$ac_objext" && ac_objext=o
8101 for cc_temp in $compiler""; do
8103 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8104 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8109 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8112 # Only perform the check for file, if the check method requires it
8113 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8114 case $deplibs_check_method in
8116 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8118 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8119 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8120 $as_echo_n "(cached) " >&6
8124 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8127 lt_save_MAGIC_CMD="$MAGIC_CMD"
8128 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8129 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8130 for ac_dir in $ac_dummy; do
8132 test -z "$ac_dir" && ac_dir=.
8133 if test -f $ac_dir/${ac_tool_prefix}file; then
8134 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8135 if test -n "$file_magic_test_file"; then
8136 case $deplibs_check_method in
8138 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8139 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8140 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8141 $EGREP "$file_magic_regex" > /dev/null; then
8146 *** Warning: the command libtool uses to detect shared libraries,
8147 *** $file_magic_cmd, produces output that libtool cannot recognize.
8148 *** The result is that libtool may fail to recognize shared libraries
8149 *** as such. This will affect the creation of libtool libraries that
8150 *** depend on shared libraries, but programs linked with such libtool
8151 *** libraries will work regardless of this problem. Nevertheless, you
8152 *** may want to report the problem to your system manager and/or to
8153 *** bug-libtool@gnu.org
8163 MAGIC_CMD="$lt_save_MAGIC_CMD"
8168 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8169 if test -n "$MAGIC_CMD"; then
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8171 $as_echo "$MAGIC_CMD" >&6; }
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8174 $as_echo "no" >&6; }
8181 if test -z "$lt_cv_path_MAGIC_CMD"; then
8182 if test -n "$ac_tool_prefix"; then
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8184 $as_echo_n "checking for file... " >&6; }
8185 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8186 $as_echo_n "(cached) " >&6
8190 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8193 lt_save_MAGIC_CMD="$MAGIC_CMD"
8194 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8195 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8196 for ac_dir in $ac_dummy; do
8198 test -z "$ac_dir" && ac_dir=.
8199 if test -f $ac_dir/file; then
8200 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8201 if test -n "$file_magic_test_file"; then
8202 case $deplibs_check_method in
8204 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8205 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8206 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8207 $EGREP "$file_magic_regex" > /dev/null; then
8212 *** Warning: the command libtool uses to detect shared libraries,
8213 *** $file_magic_cmd, produces output that libtool cannot recognize.
8214 *** The result is that libtool may fail to recognize shared libraries
8215 *** as such. This will affect the creation of libtool libraries that
8216 *** depend on shared libraries, but programs linked with such libtool
8217 *** libraries will work regardless of this problem. Nevertheless, you
8218 *** may want to report the problem to your system manager and/or to
8219 *** bug-libtool@gnu.org
8229 MAGIC_CMD="$lt_save_MAGIC_CMD"
8234 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8235 if test -n "$MAGIC_CMD"; then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8237 $as_echo "$MAGIC_CMD" >&6; }
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8240 $as_echo "no" >&6; }
8253 # Use C for the default configuration in the libtool script
8257 ac_cpp='$CPP $CPPFLAGS'
8258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8263 # Source file extension for C test sources.
8266 # Object file extension for compiled C test sources.
8270 # Code to be used in simple compile tests
8271 lt_simple_compile_test_code="int some_variable = 0;"
8273 # Code to be used in simple link tests
8274 lt_simple_link_test_code='int main(){return(0);}'
8282 # If no C compiler was specified, use CC.
8285 # If no C compiler flags were specified, use CFLAGS.
8286 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8288 # Allow CC to be a program name with arguments.
8291 # Save the default compiler, since it gets overwritten when the other
8292 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8293 compiler_DEFAULT=$CC
8295 # save warnings/boilerplate of simple test code
8296 ac_outfile=conftest.$ac_objext
8297 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8298 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8299 _lt_compiler_boilerplate=`cat conftest.err`
8302 ac_outfile=conftest.$ac_objext
8303 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8304 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8305 _lt_linker_boilerplate=`cat conftest.err`
8310 ## There is no encapsulation within the following macros, do not change
8311 ## the running order or otherwise move them around unless you know exactly
8312 ## what you are doing...
8313 if test -n "$compiler"; then
8315 lt_prog_compiler_no_builtin_flag=
8317 if test "$GCC" = yes; then
8318 case $cc_basename in
8320 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8322 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8326 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8327 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8328 $as_echo_n "(cached) " >&6
8330 lt_cv_prog_compiler_rtti_exceptions=no
8331 ac_outfile=conftest.$ac_objext
8332 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8333 lt_compiler_flag="-fno-rtti -fno-exceptions"
8334 # Insert the option either (1) after the last *FLAGS variable, or
8335 # (2) before a word containing "conftest.", or (3) at the end.
8336 # Note that $ac_compile itself does not contain backslashes and begins
8337 # with a dollar sign (not a hyphen), so the echo should work correctly.
8338 # The option is referenced via a variable to avoid confusing sed.
8339 lt_compile=`echo "$ac_compile" | $SED \
8340 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8341 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8342 -e 's:$: $lt_compiler_flag:'`
8343 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8344 (eval "$lt_compile" 2>conftest.err)
8346 cat conftest.err >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 if (exit $ac_status) && test -s "$ac_outfile"; then
8349 # The compiler can only warn and ignore the option if not recognized
8350 # So say no if there are warnings other than the usual output.
8351 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8352 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8353 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8354 lt_cv_prog_compiler_rtti_exceptions=yes
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8361 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8363 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8364 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8376 lt_prog_compiler_wl=
8377 lt_prog_compiler_pic=
8378 lt_prog_compiler_static=
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8381 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8383 if test "$GCC" = yes; then
8384 lt_prog_compiler_wl='-Wl,'
8385 lt_prog_compiler_static='-static'
8389 # All AIX code is PIC.
8390 if test "$host_cpu" = ia64; then
8391 # AIX 5 now supports IA64 processor
8392 lt_prog_compiler_static='-Bstatic'
8399 # see comment about AmigaOS4 .so support
8400 lt_prog_compiler_pic='-fPIC'
8403 # FIXME: we need at least 68020 code to build shared libraries, but
8404 # adding the `-m68020' flag to GCC prevents building anything better,
8406 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8411 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8412 # PIC is the default for these OSes.
8415 mingw* | cygwin* | pw32* | os2* | cegcc*)
8416 # This hack is so that the source file can tell whether it is being
8417 # built for inclusion in a dll (and should export symbols for example).
8418 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8419 # (--disable-auto-import) libraries
8420 lt_prog_compiler_pic='-DDLL_EXPORT'
8423 darwin* | rhapsody*)
8424 # PIC is the default on this platform
8425 # Common symbols not allowed in MH_DYLIB files
8426 lt_prog_compiler_pic='-fno-common'
8430 # PIC is the default for Haiku.
8431 # The "-static" flag exists, but is broken.
8432 lt_prog_compiler_static=
8436 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8437 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8438 # sets the default TLS model and affects inlining.
8444 lt_prog_compiler_pic='-fPIC'
8450 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8451 # Instead, we relocate shared libraries at runtime.
8455 # Just because we use GCC doesn't mean we suddenly get shared libraries
8456 # on systems that don't support them.
8457 lt_prog_compiler_can_build_shared=no
8462 # QNX uses GNU C++, but need to define -shared option too, otherwise
8464 lt_prog_compiler_pic='-fPIC -shared'
8468 if test -d /usr/nec; then
8469 lt_prog_compiler_pic=-Kconform_pic
8474 lt_prog_compiler_pic='-fPIC'
8478 case $cc_basename in
8479 nvcc*) # Cuda Compiler Driver 2.2
8480 lt_prog_compiler_wl='-Xlinker '
8481 lt_prog_compiler_pic='-Xcompiler -fPIC'
8485 # PORTME Check for flag to pass linker flags through the system compiler.
8488 lt_prog_compiler_wl='-Wl,'
8489 if test "$host_cpu" = ia64; then
8490 # AIX 5 now supports IA64 processor
8491 lt_prog_compiler_static='-Bstatic'
8493 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8497 mingw* | cygwin* | pw32* | os2* | cegcc*)
8498 # This hack is so that the source file can tell whether it is being
8499 # built for inclusion in a dll (and should export symbols for example).
8500 lt_prog_compiler_pic='-DDLL_EXPORT'
8503 hpux9* | hpux10* | hpux11*)
8504 lt_prog_compiler_wl='-Wl,'
8505 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8512 lt_prog_compiler_pic='+Z'
8515 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8516 lt_prog_compiler_static='${wl}-a ${wl}archive'
8519 irix5* | irix6* | nonstopux*)
8520 lt_prog_compiler_wl='-Wl,'
8521 # PIC (with -KPIC) is the default.
8522 lt_prog_compiler_static='-non_shared'
8525 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8526 case $cc_basename in
8527 # old Intel for x86_64 which still supported -KPIC.
8529 lt_prog_compiler_wl='-Wl,'
8530 lt_prog_compiler_pic='-KPIC'
8531 lt_prog_compiler_static='-static'
8533 # icc used to be incompatible with GCC.
8534 # ICC 10 doesn't accept -KPIC any more.
8536 lt_prog_compiler_wl='-Wl,'
8537 lt_prog_compiler_pic='-fPIC'
8538 lt_prog_compiler_static='-static'
8540 # Lahey Fortran 8.1.
8542 lt_prog_compiler_wl='-Wl,'
8543 lt_prog_compiler_pic='--shared'
8544 lt_prog_compiler_static='--static'
8546 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8547 # Portland Group compilers (*not* the Pentium gcc compiler,
8548 # which looks to be a dead project)
8549 lt_prog_compiler_wl='-Wl,'
8550 lt_prog_compiler_pic='-fpic'
8551 lt_prog_compiler_static='-Bstatic'
8554 lt_prog_compiler_wl='-Wl,'
8555 # All Alpha code is PIC.
8556 lt_prog_compiler_static='-non_shared'
8558 xl* | bgxl* | bgf* | mpixl*)
8559 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8560 lt_prog_compiler_wl='-Wl,'
8561 lt_prog_compiler_pic='-qpic'
8562 lt_prog_compiler_static='-qstaticlink'
8565 case `$CC -V 2>&1 | sed 5q` in
8566 *Sun\ F* | *Sun*Fortran*)
8567 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8568 lt_prog_compiler_pic='-KPIC'
8569 lt_prog_compiler_static='-Bstatic'
8570 lt_prog_compiler_wl=''
8574 lt_prog_compiler_pic='-KPIC'
8575 lt_prog_compiler_static='-Bstatic'
8576 lt_prog_compiler_wl='-Wl,'
8584 lt_prog_compiler_pic='-KPIC'
8585 lt_prog_compiler_static='-Bstatic'
8589 # QNX uses GNU C++, but need to define -shared option too, otherwise
8591 lt_prog_compiler_pic='-fPIC -shared'
8594 osf3* | osf4* | osf5*)
8595 lt_prog_compiler_wl='-Wl,'
8596 # All OSF/1 code is PIC.
8597 lt_prog_compiler_static='-non_shared'
8601 lt_prog_compiler_static='-non_shared'
8605 lt_prog_compiler_pic='-KPIC'
8606 lt_prog_compiler_static='-Bstatic'
8607 case $cc_basename in
8609 lt_prog_compiler_wl='-Qoption ld ';;
8611 lt_prog_compiler_wl='-Wl,';;
8616 lt_prog_compiler_wl='-Qoption ld '
8617 lt_prog_compiler_pic='-PIC'
8618 lt_prog_compiler_static='-Bstatic'
8621 sysv4 | sysv4.2uw2* | sysv4.3*)
8622 lt_prog_compiler_wl='-Wl,'
8623 lt_prog_compiler_pic='-KPIC'
8624 lt_prog_compiler_static='-Bstatic'
8628 if test -d /usr/nec ;then
8629 lt_prog_compiler_pic='-Kconform_pic'
8630 lt_prog_compiler_static='-Bstatic'
8634 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8635 lt_prog_compiler_wl='-Wl,'
8636 lt_prog_compiler_pic='-KPIC'
8637 lt_prog_compiler_static='-Bstatic'
8641 lt_prog_compiler_wl='-Wl,'
8642 lt_prog_compiler_can_build_shared=no
8646 lt_prog_compiler_pic='-pic'
8647 lt_prog_compiler_static='-Bstatic'
8651 lt_prog_compiler_can_build_shared=no
8657 # For platforms which do not support PIC, -DPIC is meaningless:
8659 lt_prog_compiler_pic=
8662 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8666 $as_echo "$lt_prog_compiler_pic" >&6; }
8674 # Check to make sure the PIC flag actually works.
8676 if test -n "$lt_prog_compiler_pic"; then
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8678 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8679 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8680 $as_echo_n "(cached) " >&6
8682 lt_cv_prog_compiler_pic_works=no
8683 ac_outfile=conftest.$ac_objext
8684 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8685 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8686 # Insert the option either (1) after the last *FLAGS variable, or
8687 # (2) before a word containing "conftest.", or (3) at the end.
8688 # Note that $ac_compile itself does not contain backslashes and begins
8689 # with a dollar sign (not a hyphen), so the echo should work correctly.
8690 # The option is referenced via a variable to avoid confusing sed.
8691 lt_compile=`echo "$ac_compile" | $SED \
8692 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8693 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8694 -e 's:$: $lt_compiler_flag:'`
8695 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8696 (eval "$lt_compile" 2>conftest.err)
8698 cat conftest.err >&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 if (exit $ac_status) && test -s "$ac_outfile"; then
8701 # The compiler can only warn and ignore the option if not recognized
8702 # So say no if there are warnings other than the usual output.
8703 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8704 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8705 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8706 lt_cv_prog_compiler_pic_works=yes
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8713 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8715 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8716 case $lt_prog_compiler_pic in
8718 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8721 lt_prog_compiler_pic=
8722 lt_prog_compiler_can_build_shared=no
8733 # Check to make sure the static flag actually works.
8735 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8737 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8738 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8739 $as_echo_n "(cached) " >&6
8741 lt_cv_prog_compiler_static_works=no
8742 save_LDFLAGS="$LDFLAGS"
8743 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8744 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8745 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8746 # The linker can only warn and ignore the option if not recognized
8747 # So say no if there are warnings
8748 if test -s conftest.err; then
8749 # Append any errors to the config.log.
8750 cat conftest.err 1>&5
8751 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8752 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8753 if diff conftest.exp conftest.er2 >/dev/null; then
8754 lt_cv_prog_compiler_static_works=yes
8757 lt_cv_prog_compiler_static_works=yes
8761 LDFLAGS="$save_LDFLAGS"
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8765 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8767 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8770 lt_prog_compiler_static=
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8780 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8781 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8782 $as_echo_n "(cached) " >&6
8784 lt_cv_prog_compiler_c_o=no
8785 $RM -r conftest 2>/dev/null
8789 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8791 lt_compiler_flag="-o out/conftest2.$ac_objext"
8792 # Insert the option either (1) after the last *FLAGS variable, or
8793 # (2) before a word containing "conftest.", or (3) at the end.
8794 # Note that $ac_compile itself does not contain backslashes and begins
8795 # with a dollar sign (not a hyphen), so the echo should work correctly.
8796 lt_compile=`echo "$ac_compile" | $SED \
8797 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8798 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8799 -e 's:$: $lt_compiler_flag:'`
8800 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8801 (eval "$lt_compile" 2>out/conftest.err)
8803 cat out/conftest.err >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8807 # The compiler can only warn and ignore the option if not recognized
8808 # So say no if there are warnings
8809 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8810 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8811 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8812 lt_cv_prog_compiler_c_o=yes
8817 # SGI C++ compiler will create directory out/ii_files/ for
8818 # template instantiation
8819 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8820 $RM out/* && rmdir out
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8827 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8835 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8836 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8837 $as_echo_n "(cached) " >&6
8839 lt_cv_prog_compiler_c_o=no
8840 $RM -r conftest 2>/dev/null
8844 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8846 lt_compiler_flag="-o out/conftest2.$ac_objext"
8847 # Insert the option either (1) after the last *FLAGS variable, or
8848 # (2) before a word containing "conftest.", or (3) at the end.
8849 # Note that $ac_compile itself does not contain backslashes and begins
8850 # with a dollar sign (not a hyphen), so the echo should work correctly.
8851 lt_compile=`echo "$ac_compile" | $SED \
8852 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8853 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8854 -e 's:$: $lt_compiler_flag:'`
8855 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8856 (eval "$lt_compile" 2>out/conftest.err)
8858 cat out/conftest.err >&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8862 # The compiler can only warn and ignore the option if not recognized
8863 # So say no if there are warnings
8864 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8865 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8866 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8867 lt_cv_prog_compiler_c_o=yes
8872 # SGI C++ compiler will create directory out/ii_files/ for
8873 # template instantiation
8874 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8875 $RM out/* && rmdir out
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8882 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8887 hard_links="nottested"
8888 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8889 # do not overwrite the value of need_locks provided by the user
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8891 $as_echo_n "checking if we can lock with hard links... " >&6; }
8894 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8896 ln conftest.a conftest.b 2>&5 || hard_links=no
8897 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8899 $as_echo "$hard_links" >&6; }
8900 if test "$hard_links" = no; then
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8902 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8915 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8918 allow_undefined_flag=
8919 always_export_symbols=no
8921 archive_expsym_cmds=
8922 compiler_needs_object=no
8923 enable_shared_with_static_runtimes=no
8924 export_dynamic_flag_spec=
8925 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8926 hardcode_automatic=no
8928 hardcode_direct_absolute=no
8929 hardcode_libdir_flag_spec=
8930 hardcode_libdir_flag_spec_ld=
8931 hardcode_libdir_separator=
8933 hardcode_shlibpath_var=unsupported
8935 link_all_deplibs=unknown
8938 old_archive_from_new_cmds=
8939 old_archive_from_expsyms_cmds=
8940 thread_safe_flag_spec=
8941 whole_archive_flag_spec=
8942 # include_expsyms should be a list of space-separated symbols to be *always*
8943 # included in the symbol list
8945 # exclude_expsyms can be an extended regexp of symbols to exclude
8946 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8947 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8948 # as well as any symbol that contains `d'.
8949 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8950 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8951 # platforms (ab)use it in PIC code, but their linkers get confused if
8952 # the symbol is explicitly referenced. Since portable code cannot
8953 # rely on this symbol name, it's probably fine to never include it in
8954 # preloaded symbol tables.
8955 # Exclude shared library initialization/finalization symbols.
8956 extract_expsyms_cmds=
8959 cygwin* | mingw* | pw32* | cegcc*)
8960 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8961 # When not using gcc, we currently assume that we are using
8962 # Microsoft Visual C++.
8963 if test "$GCC" != yes; then
8968 # we just hope/assume this is gcc and not c89 (= MSVC++)
8978 # On some targets, GNU ld is compatible enough with the native linker
8979 # that we're better off using the native interface for both.
8980 lt_use_gnu_ld_interface=no
8981 if test "$with_gnu_ld" = yes; then
8984 # The AIX port of GNU ld has always aspired to compatibility
8985 # with the native linker. However, as the warning in the GNU ld
8986 # block says, versions before 2.19.5* couldn't really create working
8987 # shared libraries, regardless of the interface used.
8988 case `$LD -v 2>&1` in
8989 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8990 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8991 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8993 lt_use_gnu_ld_interface=yes
8998 lt_use_gnu_ld_interface=yes
9003 if test "$lt_use_gnu_ld_interface" = yes; then
9004 # If archive_cmds runs LD, not CC, wlarc should be empty
9007 # Set some defaults for GNU ld with shared library support. These
9008 # are reset later if shared libraries are not supported. Putting them
9009 # here allows them to be overridden if necessary.
9010 runpath_var=LD_RUN_PATH
9011 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9012 export_dynamic_flag_spec='${wl}--export-dynamic'
9013 # ancient GNU ld didn't support --whole-archive et. al.
9014 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9015 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9017 whole_archive_flag_spec=
9019 supports_anon_versioning=no
9020 case `$LD -v 2>&1` in
9021 *GNU\ gold*) supports_anon_versioning=yes ;;
9022 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9023 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9024 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9025 *\ 2.11.*) ;; # other 2.11 versions
9026 *) supports_anon_versioning=yes ;;
9029 # See if GNU ld supports shared libraries.
9032 # On AIX/PPC, the GNU linker is very broken
9033 if test "$host_cpu" != ia64; then
9037 *** Warning: the GNU linker, at least up to release 2.19, is reported
9038 *** to be unable to reliably create shared libraries on AIX.
9039 *** Therefore, libtool is disabling shared libraries support. If you
9040 *** really care for shared libraries, you may want to install binutils
9041 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9042 *** You will then need to restart the configuration process.
9051 # see comment about AmigaOS4 .so support
9052 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9053 archive_expsym_cmds=''
9056 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)'
9057 hardcode_libdir_flag_spec='-L$libdir'
9058 hardcode_minus_L=yes
9064 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9065 allow_undefined_flag=unsupported
9066 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9067 # support --undefined. This deserves some investigation. FIXME
9068 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9074 cygwin* | mingw* | pw32* | cegcc*)
9075 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9076 # as there is no search path for DLLs.
9077 hardcode_libdir_flag_spec='-L$libdir'
9078 export_dynamic_flag_spec='${wl}--export-all-symbols'
9079 allow_undefined_flag=unsupported
9080 always_export_symbols=no
9081 enable_shared_with_static_runtimes=yes
9082 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9084 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9085 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9086 # If the export-symbols file already is a .def file (1st line
9087 # is EXPORTS), use it as is; otherwise, prepend...
9088 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9089 cp $export_symbols $output_objdir/$soname.def;
9091 echo EXPORTS > $output_objdir/$soname.def;
9092 cat $export_symbols >> $output_objdir/$soname.def;
9094 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9101 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9102 link_all_deplibs=yes
9107 hardcode_shlibpath_var=no
9108 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9109 export_dynamic_flag_spec='${wl}-E'
9110 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9111 # Instead, shared libraries are loaded at an image base (0x10000000 by
9112 # default) and relocated if they conflict, which is a slow very memory
9113 # consuming and fragmenting process. To avoid this, we pick a random,
9114 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9115 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9116 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9117 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'
9120 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9122 if test "$host_os" = linux-dietlibc; then
9123 case $cc_basename in
9124 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9127 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9128 && test "$tmp_diet" = no
9131 tmp_sharedflag='-shared'
9132 case $cc_basename,$host_cpu in
9133 pgcc*) # Portland Group C compiler
9134 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'
9135 tmp_addflag=' $pic_flag'
9137 pgf77* | pgf90* | pgf95* | pgfortran*)
9138 # Portland Group f77 and f90 compilers
9139 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'
9140 tmp_addflag=' $pic_flag -Mnomain' ;;
9141 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9142 tmp_addflag=' -i_dynamic' ;;
9143 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9144 tmp_addflag=' -i_dynamic -nofor_main' ;;
9145 ifc* | ifort*) # Intel Fortran compiler
9146 tmp_addflag=' -nofor_main' ;;
9147 lf95*) # Lahey Fortran 8.1
9148 whole_archive_flag_spec=
9149 tmp_sharedflag='--shared' ;;
9150 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9151 tmp_sharedflag='-qmkshrobj'
9153 nvcc*) # Cuda Compiler Driver 2.2
9154 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'
9155 compiler_needs_object=yes
9158 case `$CC -V 2>&1 | sed 5q` in
9159 *Sun\ C*) # Sun C 5.9
9160 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'
9161 compiler_needs_object=yes
9162 tmp_sharedflag='-G' ;;
9163 *Sun\ F*) # Sun Fortran 8.3
9164 tmp_sharedflag='-G' ;;
9166 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9168 if test "x$supports_anon_versioning" = xyes; then
9169 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9170 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9171 echo "local: *; };" >> $output_objdir/$libname.ver~
9172 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9175 case $cc_basename in
9176 xlf* | bgf* | bgxlf* | mpixlf*)
9177 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9178 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9179 hardcode_libdir_flag_spec=
9180 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9181 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9182 if test "x$supports_anon_versioning" = xyes; then
9183 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9184 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9185 echo "local: *; };" >> $output_objdir/$libname.ver~
9186 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9196 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9197 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9200 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9201 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9206 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9210 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9211 *** create shared libraries on Solaris systems. Therefore, libtool
9212 *** is disabling shared libraries support. We urge you to upgrade GNU
9213 *** binutils to release 2.9.1 or newer. Another option is to modify
9214 *** your PATH or compiler configuration so that the native linker is
9215 *** used, and then restart.
9218 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9226 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9227 case `$LD -v 2>&1` in
9228 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9232 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9233 *** reliably create shared libraries on SCO systems. Therefore, libtool
9234 *** is disabling shared libraries support. We urge you to upgrade GNU
9235 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9236 *** your PATH or compiler configuration so that the native linker is
9237 *** used, and then restart.
9242 # For security reasons, it is highly recommended that you always
9243 # use absolute paths for naming shared libraries, and exclude the
9244 # DT_RUNPATH tag from executables and libraries. But doing so
9245 # requires that you compile everything twice, which is a pain.
9246 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9247 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9248 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9258 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9261 hardcode_shlibpath_var=no
9265 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9266 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9267 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9274 if test "$ld_shlibs" = no; then
9276 hardcode_libdir_flag_spec=
9277 export_dynamic_flag_spec=
9278 whole_archive_flag_spec=
9281 # PORTME fill in a description of your system's linker (not GNU ld)
9284 allow_undefined_flag=unsupported
9285 always_export_symbols=yes
9286 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'
9287 # Note: this linker hardcodes the directories in LIBPATH if there
9288 # are no directories specified by -L.
9289 hardcode_minus_L=yes
9290 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9291 # Neither direct hardcoding nor static linking is supported with a
9293 hardcode_direct=unsupported
9298 if test "$host_cpu" = ia64; then
9299 # On IA64, the linker does run time linking by default, so we don't
9300 # have to do anything special.
9301 aix_use_runtimelinking=no
9302 exp_sym_flag='-Bexport'
9305 # If we're using GNU nm, then we don't want the "-C" option.
9306 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9307 # Also, AIX nm treats weak defined symbols like other global
9308 # defined symbols, whereas GNU nm marks them as "W".
9309 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9310 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'
9312 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'
9314 aix_use_runtimelinking=no
9316 # Test if we are trying to use run time linking or normal
9317 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9318 # need to do runtime linking.
9319 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9320 for ld_flag in $LDFLAGS; do
9321 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9322 aix_use_runtimelinking=yes
9329 exp_sym_flag='-bexport'
9330 no_entry_flag='-bnoentry'
9333 # When large executables or shared objects are built, AIX ld can
9334 # have problems creating the table of contents. If linking a library
9335 # or program results in "error TOC overflow" add -mminimal-toc to
9336 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9337 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9341 hardcode_direct_absolute=yes
9342 hardcode_libdir_separator=':'
9343 link_all_deplibs=yes
9344 file_list_spec='${wl}-f,'
9346 if test "$GCC" = yes; then
9347 case $host_os in aix4.[012]|aix4.[012].*)
9348 # We only want to do this on AIX 4.2 and lower, the check
9349 # below for broken collect2 doesn't work under 4.3+
9350 collect2name=`${CC} -print-prog-name=collect2`
9351 if test -f "$collect2name" &&
9352 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9354 # We have reworked collect2
9357 # We have old collect2
9358 hardcode_direct=unsupported
9359 # It fails to find uninstalled libraries when the uninstalled
9360 # path is not listed in the libpath. Setting hardcode_minus_L
9361 # to unsupported forces relinking
9362 hardcode_minus_L=yes
9363 hardcode_libdir_flag_spec='-L$libdir'
9364 hardcode_libdir_separator=
9368 shared_flag='-shared'
9369 if test "$aix_use_runtimelinking" = yes; then
9370 shared_flag="$shared_flag "'${wl}-G'
9374 if test "$host_cpu" = ia64; then
9375 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9376 # chokes on -Wl,-G. The following line is correct:
9379 if test "$aix_use_runtimelinking" = yes; then
9380 shared_flag='${wl}-G'
9382 shared_flag='${wl}-bM:SRE'
9387 export_dynamic_flag_spec='${wl}-bexpall'
9388 # It seems that -bexpall does not export symbols beginning with
9389 # underscore (_), so it is better to generate a list of symbols to export.
9390 always_export_symbols=yes
9391 if test "$aix_use_runtimelinking" = yes; then
9392 # Warning - without using the other runtime loading flags (-brtl),
9393 # -berok will link without error, but may produce a broken library.
9394 allow_undefined_flag='-berok'
9395 # Determine the default libpath from the value encoded in an
9397 if test x$gcc_no_link = xyes; then
9398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9411 if ac_fn_c_try_link "$LINENO"; then :
9413 lt_aix_libpath_sed='
9414 /Import File Strings/,/^$/ {
9420 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9421 # Check for a 64-bit object if we didn't find anything.
9422 if test -z "$aix_libpath"; then
9423 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9426 rm -f core conftest.err conftest.$ac_objext \
9427 conftest$ac_exeext conftest.$ac_ext
9428 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9430 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9431 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"
9433 if test "$host_cpu" = ia64; then
9434 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9435 allow_undefined_flag="-z nodefs"
9436 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"
9438 # Determine the default libpath from the value encoded in an
9440 if test x$gcc_no_link = xyes; then
9441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9454 if ac_fn_c_try_link "$LINENO"; then :
9456 lt_aix_libpath_sed='
9457 /Import File Strings/,/^$/ {
9463 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9464 # Check for a 64-bit object if we didn't find anything.
9465 if test -z "$aix_libpath"; then
9466 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9469 rm -f core conftest.err conftest.$ac_objext \
9470 conftest$ac_exeext conftest.$ac_ext
9471 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9473 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9474 # Warning - without using the other run time loading flags,
9475 # -berok will link without error, but may produce a broken library.
9476 no_undefined_flag=' ${wl}-bernotok'
9477 allow_undefined_flag=' ${wl}-berok'
9478 if test "$with_gnu_ld" = yes; then
9479 # We only use this code for GNU lds that support --whole-archive.
9480 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9482 # Exported symbols can be pulled into shared objects from archives
9483 whole_archive_flag_spec='$convenience'
9485 archive_cmds_need_lc=yes
9486 # This is similar to how AIX traditionally builds its shared libraries.
9487 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'
9495 # see comment about AmigaOS4 .so support
9496 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9497 archive_expsym_cmds=''
9500 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)'
9501 hardcode_libdir_flag_spec='-L$libdir'
9502 hardcode_minus_L=yes
9508 export_dynamic_flag_spec=-rdynamic
9511 cygwin* | mingw* | pw32* | cegcc*)
9512 # When not using gcc, we currently assume that we are using
9513 # Microsoft Visual C++.
9514 # hardcode_libdir_flag_spec is actually meaningless, as there is
9515 # no search path for DLLs.
9516 hardcode_libdir_flag_spec=' '
9517 allow_undefined_flag=unsupported
9518 # Tell ltmain to make .lib files, not .a files.
9520 # Tell ltmain to make .dll files, not .so files.
9522 # FIXME: Setting linknames here is a bad hack.
9523 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9524 # The linker will automatically build a .lib file if we build a DLL.
9525 old_archive_from_new_cmds='true'
9526 # FIXME: Should let the user specify the lib program.
9527 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9528 fix_srcfile_path='`cygpath -w "$srcfile"`'
9529 enable_shared_with_static_runtimes=yes
9532 darwin* | rhapsody*)
9535 archive_cmds_need_lc=no
9537 hardcode_automatic=yes
9538 hardcode_shlibpath_var=unsupported
9539 if test "$lt_cv_ld_force_load" = "yes"; then
9540 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\"`'
9542 whole_archive_flag_spec=''
9544 link_all_deplibs=yes
9545 allow_undefined_flag="$_lt_dar_allow_undefined"
9546 case $cc_basename in
9547 ifort*) _lt_dar_can_shared=yes ;;
9548 *) _lt_dar_can_shared=$GCC ;;
9550 if test "$_lt_dar_can_shared" = "yes"; then
9551 output_verbose_link_cmd=func_echo_all
9552 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9553 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9554 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}"
9555 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}"
9564 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9565 hardcode_libdir_flag_spec='-L$libdir'
9566 hardcode_shlibpath_var=no
9573 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9574 # support. Future versions do this automatically, but an explicit c++rt0.o
9575 # does not break anything, and helps significantly (at the cost of a little
9578 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9579 hardcode_libdir_flag_spec='-R$libdir'
9581 hardcode_shlibpath_var=no
9584 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9586 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9588 hardcode_minus_L=yes
9589 hardcode_shlibpath_var=no
9592 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9593 freebsd* | dragonfly*)
9594 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9595 hardcode_libdir_flag_spec='-R$libdir'
9597 hardcode_shlibpath_var=no
9601 if test "$GCC" = yes; then
9602 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'
9604 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'
9606 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9607 hardcode_libdir_separator=:
9610 # hardcode_minus_L: Not really in the search PATH,
9611 # but as the default location of the library.
9612 hardcode_minus_L=yes
9613 export_dynamic_flag_spec='${wl}-E'
9617 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9618 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9620 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9622 if test "$with_gnu_ld" = no; then
9623 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9624 hardcode_libdir_flag_spec_ld='+b $libdir'
9625 hardcode_libdir_separator=:
9627 hardcode_direct_absolute=yes
9628 export_dynamic_flag_spec='${wl}-E'
9629 # hardcode_minus_L: Not really in the search PATH,
9630 # but as the default location of the library.
9631 hardcode_minus_L=yes
9636 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9639 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9642 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9651 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9654 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9658 # Older versions of the 11.00 compiler do not understand -b yet
9659 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9661 $as_echo_n "checking if $CC understands -b... " >&6; }
9662 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9663 $as_echo_n "(cached) " >&6
9665 lt_cv_prog_compiler__b=no
9666 save_LDFLAGS="$LDFLAGS"
9667 LDFLAGS="$LDFLAGS -b"
9668 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9669 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9670 # The linker can only warn and ignore the option if not recognized
9671 # So say no if there are warnings
9672 if test -s conftest.err; then
9673 # Append any errors to the config.log.
9674 cat conftest.err 1>&5
9675 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9676 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9677 if diff conftest.exp conftest.er2 >/dev/null; then
9678 lt_cv_prog_compiler__b=yes
9681 lt_cv_prog_compiler__b=yes
9685 LDFLAGS="$save_LDFLAGS"
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9689 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9691 if test x"$lt_cv_prog_compiler__b" = xyes; then
9692 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9694 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9700 if test "$with_gnu_ld" = no; then
9701 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9702 hardcode_libdir_separator=:
9707 hardcode_shlibpath_var=no
9711 hardcode_direct_absolute=yes
9712 export_dynamic_flag_spec='${wl}-E'
9714 # hardcode_minus_L: Not really in the search PATH,
9715 # but as the default location of the library.
9716 hardcode_minus_L=yes
9722 irix5* | irix6* | nonstopux*)
9723 if test "$GCC" = yes; then
9724 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'
9725 # Try to use the -exported_symbol ld option, if it does not
9726 # work, assume that -exports_file does not work either and
9727 # implicitly export all symbols.
9728 save_LDFLAGS="$LDFLAGS"
9729 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9730 if test x$gcc_no_link = xyes; then
9731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9737 if ac_fn_c_try_link "$LINENO"; then :
9738 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'
9741 rm -f core conftest.err conftest.$ac_objext \
9742 conftest$ac_exeext conftest.$ac_ext
9743 LDFLAGS="$save_LDFLAGS"
9745 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'
9746 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'
9748 archive_cmds_need_lc='no'
9749 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9750 hardcode_libdir_separator=:
9752 link_all_deplibs=yes
9756 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9757 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9759 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9761 hardcode_libdir_flag_spec='-R$libdir'
9763 hardcode_shlibpath_var=no
9767 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_shlibpath_var=no
9778 if test -f /usr/libexec/ld.so; then
9780 hardcode_shlibpath_var=no
9781 hardcode_direct_absolute=yes
9782 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9783 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9784 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9785 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9786 export_dynamic_flag_spec='${wl}-E'
9789 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9790 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9791 hardcode_libdir_flag_spec='-R$libdir'
9794 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9795 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9805 hardcode_libdir_flag_spec='-L$libdir'
9806 hardcode_minus_L=yes
9807 allow_undefined_flag=unsupported
9808 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'
9809 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9813 if test "$GCC" = yes; then
9814 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9815 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'
9817 allow_undefined_flag=' -expect_unresolved \*'
9818 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'
9820 archive_cmds_need_lc='no'
9821 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9822 hardcode_libdir_separator=:
9825 osf4* | osf5*) # as osf3* with the addition of -msym flag
9826 if test "$GCC" = yes; then
9827 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9828 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'
9829 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9831 allow_undefined_flag=' -expect_unresolved \*'
9832 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'
9833 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~
9834 $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'
9836 # Both c and cxx compiler support -rpath directly
9837 hardcode_libdir_flag_spec='-rpath $libdir'
9839 archive_cmds_need_lc='no'
9840 hardcode_libdir_separator=:
9844 no_undefined_flag=' -z defs'
9845 if test "$GCC" = yes; then
9847 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9848 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9849 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9851 case `$CC -V 2>&1` in
9854 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9855 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9856 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9860 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9862 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9866 hardcode_libdir_flag_spec='-R$libdir'
9867 hardcode_shlibpath_var=no
9869 solaris2.[0-5] | solaris2.[0-5].*) ;;
9871 # The compiler driver will combine and reorder linker options,
9872 # but understands `-z linker_flag'. GCC discards it without `$wl',
9873 # but is careful enough not to reorder.
9874 # Supported since Solaris 2.6 (maybe 2.5.1?)
9875 if test "$GCC" = yes; then
9876 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9878 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9882 link_all_deplibs=yes
9886 if test "x$host_vendor" = xsequent; then
9887 # Use $CC to link under sequent, because it throws in some extra .o
9888 # files that make .init and .fini sections work.
9889 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9891 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9893 hardcode_libdir_flag_spec='-L$libdir'
9895 hardcode_minus_L=yes
9896 hardcode_shlibpath_var=no
9900 case $host_vendor in
9902 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9903 hardcode_direct=yes # is this really true???
9906 ## LD is ld it makes a PLAMLIB
9907 ## CC just makes a GrossModule.
9908 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9909 reload_cmds='$CC -r -o $output$reload_objs'
9913 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9914 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9917 runpath_var='LD_RUN_PATH'
9918 hardcode_shlibpath_var=no
9922 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9923 hardcode_shlibpath_var=no
9924 export_dynamic_flag_spec='-Bexport'
9928 if test -d /usr/nec; then
9929 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9930 hardcode_shlibpath_var=no
9931 runpath_var=LD_RUN_PATH
9932 hardcode_runpath_var=yes
9937 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9938 no_undefined_flag='${wl}-z,text'
9939 archive_cmds_need_lc=no
9940 hardcode_shlibpath_var=no
9941 runpath_var='LD_RUN_PATH'
9943 if test "$GCC" = yes; then
9944 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9945 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9947 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9948 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9952 sysv5* | sco3.2v5* | sco5v6*)
9953 # Note: We can NOT use -z defs as we might desire, because we do not
9954 # link with -lc, and that would cause any symbols used from libc to
9955 # always be unresolved, which means just about no library would
9956 # ever link correctly. If we're not using GNU ld we use -z text
9957 # though, which does catch some bad symbols but isn't as heavy-handed
9959 no_undefined_flag='${wl}-z,text'
9960 allow_undefined_flag='${wl}-z,nodefs'
9961 archive_cmds_need_lc=no
9962 hardcode_shlibpath_var=no
9963 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9964 hardcode_libdir_separator=':'
9965 link_all_deplibs=yes
9966 export_dynamic_flag_spec='${wl}-Bexport'
9967 runpath_var='LD_RUN_PATH'
9969 if test "$GCC" = yes; then
9970 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9971 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9973 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9974 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9979 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9980 hardcode_libdir_flag_spec='-L$libdir'
9981 hardcode_shlibpath_var=no
9989 if test x$host_vendor = xsni; then
9991 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9992 export_dynamic_flag_spec='${wl}-Blargedynsym'
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9999 $as_echo "$ld_shlibs" >&6; }
10000 test "$ld_shlibs" = no && can_build_shared=no
10002 with_gnu_ld=$with_gnu_ld
10019 # Do we need to explicitly link libc?
10021 case "x$archive_cmds_need_lc" in
10023 # Assume -lc should be added
10024 archive_cmds_need_lc=yes
10026 if test "$enable_shared" = yes && test "$GCC" = yes; then
10027 case $archive_cmds in
10029 # FIXME: we may have to deal with multi-command sequences.
10032 # Test whether the compiler implicitly links with -lc since on some
10033 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10034 # to ld, don't add -lc before -lgcc.
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10036 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10037 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10038 $as_echo_n "(cached) " >&6
10041 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10044 (eval $ac_compile) 2>&5
10046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10047 test $ac_status = 0; } 2>conftest.err; then
10050 libobjs=conftest.$ac_objext
10052 wl=$lt_prog_compiler_wl
10053 pic_flag=$lt_prog_compiler_pic
10059 lt_save_allow_undefined_flag=$allow_undefined_flag
10060 allow_undefined_flag=
10061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10062 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10065 test $ac_status = 0; }
10067 lt_cv_archive_cmds_need_lc=no
10069 lt_cv_archive_cmds_need_lc=yes
10071 allow_undefined_flag=$lt_save_allow_undefined_flag
10073 cat conftest.err 1>&5
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10079 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10080 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10244 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10246 if test "$GCC" = yes; then
10248 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10249 *) lt_awk_arg="/^libraries:/" ;;
10252 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10253 *) lt_sed_strip_eq="s,=/,/,g" ;;
10255 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10256 case $lt_search_path_spec in
10258 # if the path contains ";" then we assume it to be the separator
10259 # otherwise default to the standard path separator (i.e. ":") - it is
10260 # assumed that no part of a normal pathname contains ";" but that should
10261 # okay in the real world where ";" in dirpaths is itself problematic.
10262 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10265 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10268 # Ok, now we have the path, separated by spaces, we can step through it
10269 # and add multilib dir if necessary.
10270 lt_tmp_lt_search_path_spec=
10271 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10272 for lt_sys_path in $lt_search_path_spec; do
10273 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10274 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10276 test -d "$lt_sys_path" && \
10277 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10280 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10281 BEGIN {RS=" "; FS="/|\n";} {
10284 for (lt_i = NF; lt_i > 0; lt_i--) {
10285 if ($lt_i != "" && $lt_i != ".") {
10286 if ($lt_i == "..") {
10289 if (lt_count == 0) {
10290 lt_foo="/" $lt_i lt_foo;
10297 if (lt_foo != "") { lt_freq[lt_foo]++; }
10298 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10300 # AWK program above erroneously prepends '/' to C:/dos/paths
10303 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10304 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10306 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10308 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10310 library_names_spec=
10311 libname_spec='lib$name'
10315 postuninstall_cmds=
10319 shlibpath_overrides_runpath=unknown
10321 dynamic_linker="$host_os ld.so"
10322 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10323 need_lib_prefix=unknown
10324 hardcode_into_libs=no
10326 # when you set need_version to no, make sure it does not cause -set_version
10327 # flags to be left without arguments
10328 need_version=unknown
10333 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10334 shlibpath_var=LIBPATH
10336 # AIX 3 has no versioning support, so we append a major version to the name.
10337 soname_spec='${libname}${release}${shared_ext}$major'
10344 hardcode_into_libs=yes
10345 if test "$host_cpu" = ia64; then
10346 # AIX 5 supports IA64
10347 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10348 shlibpath_var=LD_LIBRARY_PATH
10350 # With GCC up to 2.95.x, collect2 would create an import file
10351 # for dependence libraries. The import file would start with
10352 # the line `#! .'. This would cause the generated library to
10353 # depend on `.', always an invalid library. This was fixed in
10354 # development snapshots of GCC prior to 3.0.
10356 aix4 | aix4.[01] | aix4.[01].*)
10357 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10359 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10362 can_build_shared=no
10366 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10367 # soname into executable. Probably we can add versioning support to
10368 # collect2, so additional links can be useful in future.
10369 if test "$aix_use_runtimelinking" = yes; then
10370 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10371 # instead of lib<name>.a to let people know that these are not
10372 # typical AIX shared libraries.
10373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10375 # We preserve .a as extension for shared libraries through AIX4.2
10376 # and later when we are not doing run time linking.
10377 library_names_spec='${libname}${release}.a $libname.a'
10378 soname_spec='${libname}${release}${shared_ext}$major'
10380 shlibpath_var=LIBPATH
10387 # Since July 2007 AmigaOS4 officially supports .so libraries.
10388 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10392 library_names_spec='$libname.ixlibrary $libname.a'
10393 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10394 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'
10400 library_names_spec='${libname}${shared_ext}'
10401 dynamic_linker="$host_os ld.so"
10402 shlibpath_var=LIBRARY_PATH
10408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10409 soname_spec='${libname}${release}${shared_ext}$major'
10410 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10411 shlibpath_var=LD_LIBRARY_PATH
10412 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10413 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10414 # the default ld.so.conf also contains /usr/contrib/lib and
10415 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10416 # libtool to hard-code these into programs
10419 cygwin* | mingw* | pw32* | cegcc*)
10420 version_type=windows
10425 case $GCC,$host_os in
10426 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10427 library_names_spec='$libname.dll.a'
10428 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10429 postinstall_cmds='base_file=`basename \${file}`~
10430 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10431 dldir=$destdir/`dirname \$dlpath`~
10432 test -d \$dldir || mkdir -p \$dldir~
10433 $install_prog $dir/$dlname \$dldir/$dlname~
10434 chmod a+x \$dldir/$dlname~
10435 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10436 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10438 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10439 dlpath=$dir/\$dldll~
10441 shlibpath_overrides_runpath=yes
10445 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10446 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10448 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10451 # MinGW DLLs use traditional 'lib' prefix
10452 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10455 # pw32 DLLs use 'pw' prefix rather than 'lib'
10456 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10462 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10465 dynamic_linker='Win32 ld.exe'
10466 # FIXME: first we should search . and the directory the executable is in
10470 darwin* | rhapsody*)
10471 dynamic_linker="$host_os dyld"
10472 version_type=darwin
10475 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10476 soname_spec='${libname}${release}${major}$shared_ext'
10477 shlibpath_overrides_runpath=yes
10478 shlibpath_var=DYLD_LIBRARY_PATH
10479 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10481 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10482 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10490 soname_spec='${libname}${release}${shared_ext}$major'
10491 shlibpath_var=LD_LIBRARY_PATH
10498 freebsd* | dragonfly*)
10499 # DragonFly does not have aout. When/if they implement a new
10500 # versioning mechanism, adjust this.
10501 if test -x /usr/bin/objformat; then
10502 objformat=`/usr/bin/objformat`
10505 freebsd[123]*) objformat=aout ;;
10506 *) objformat=elf ;;
10509 version_type=freebsd-$objformat
10510 case $version_type in
10512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10517 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10521 shlibpath_var=LD_LIBRARY_PATH
10524 shlibpath_overrides_runpath=yes
10526 freebsd3.[01]* | freebsdelf3.[01]*)
10527 shlibpath_overrides_runpath=yes
10528 hardcode_into_libs=yes
10530 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10531 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10532 shlibpath_overrides_runpath=no
10533 hardcode_into_libs=yes
10535 *) # from 4.6 on, and DragonFly
10536 shlibpath_overrides_runpath=yes
10537 hardcode_into_libs=yes
10546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10547 soname_spec='${libname}${release}${shared_ext}$major'
10548 shlibpath_var=LD_LIBRARY_PATH
10549 hardcode_into_libs=yes
10556 dynamic_linker="$host_os runtime_loader"
10557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10558 soname_spec='${libname}${release}${shared_ext}$major'
10559 shlibpath_var=LIBRARY_PATH
10560 shlibpath_overrides_runpath=yes
10561 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10562 hardcode_into_libs=yes
10565 hpux9* | hpux10* | hpux11*)
10566 # Give a soname corresponding to the major version so that dld.sl refuses to
10567 # link against other versions.
10574 hardcode_into_libs=yes
10575 dynamic_linker="$host_os dld.so"
10576 shlibpath_var=LD_LIBRARY_PATH
10577 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10579 soname_spec='${libname}${release}${shared_ext}$major'
10580 if test "X$HPUX_IA64_MODE" = X32; then
10581 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10583 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10585 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10589 hardcode_into_libs=yes
10590 dynamic_linker="$host_os dld.sl"
10591 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10592 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10594 soname_spec='${libname}${release}${shared_ext}$major'
10595 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10596 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10600 dynamic_linker="$host_os dld.sl"
10601 shlibpath_var=SHLIB_PATH
10602 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10607 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10608 postinstall_cmds='chmod 555 $lib'
10609 # or fails outright, so override atomically:
10610 install_override_mode=555
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10618 soname_spec='${libname}${release}${shared_ext}$major'
10619 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10620 shlibpath_var=LD_LIBRARY_PATH
10621 shlibpath_overrides_runpath=no
10622 hardcode_into_libs=yes
10625 irix5* | irix6* | nonstopux*)
10627 nonstopux*) version_type=nonstopux ;;
10629 if test "$lt_cv_prog_gnu_ld" = yes; then
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10640 irix5* | nonstopux*)
10641 libsuff= shlibsuff=
10644 case $LD in # libtool.m4 will add one of these switches to LD
10645 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10646 libsuff= shlibsuff= libmagic=32-bit;;
10647 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10648 libsuff=32 shlibsuff=N32 libmagic=N32;;
10649 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10650 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10651 *) libsuff= shlibsuff= libmagic=never-match;;
10655 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10656 shlibpath_overrides_runpath=no
10657 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10658 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10659 hardcode_into_libs=yes
10662 # No shared lib support for Linux oldld, aout, or coff.
10663 linux*oldld* | linux*aout* | linux*coff*)
10667 # This must be Linux ELF.
10668 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673 soname_spec='${libname}${release}${shared_ext}$major'
10674 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10675 shlibpath_var=LD_LIBRARY_PATH
10676 shlibpath_overrides_runpath=no
10678 # Some binutils ld are patched to set DT_RUNPATH
10679 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10680 $as_echo_n "(cached) " >&6
10682 lt_cv_shlibpath_overrides_runpath=no
10683 save_LDFLAGS=$LDFLAGS
10684 save_libdir=$libdir
10685 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10686 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10687 if test x$gcc_no_link = xyes; then
10688 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10701 if ac_fn_c_try_link "$LINENO"; then :
10702 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10703 lt_cv_shlibpath_overrides_runpath=yes
10706 rm -f core conftest.err conftest.$ac_objext \
10707 conftest$ac_exeext conftest.$ac_ext
10708 LDFLAGS=$save_LDFLAGS
10709 libdir=$save_libdir
10713 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10715 # This implies no fast_install, which is unacceptable.
10716 # Some rework will be needed to allow for fast_install
10717 # before this can be enabled.
10718 hardcode_into_libs=yes
10720 # Append ld.so.conf contents to the search path
10721 if test -f /etc/ld.so.conf; then
10722 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' ' '`
10723 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10726 # We used to test for /lib/ld.so.1 and disable shared libraries on
10727 # powerpc, because MkLinux only supported shared libraries with the
10728 # GNU dynamic linker. Since this was broken with cross compilers,
10729 # most powerpc-linux boxes support dynamic linking these days and
10730 # people can always --disable-shared, the test was removed, and we
10731 # assume the GNU/Linux dynamic linker is in use.
10732 dynamic_linker='GNU/Linux ld.so'
10739 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10741 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10742 dynamic_linker='NetBSD (a.out) ld.so'
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10746 dynamic_linker='NetBSD ld.elf_so'
10748 shlibpath_var=LD_LIBRARY_PATH
10749 shlibpath_overrides_runpath=yes
10750 hardcode_into_libs=yes
10755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10756 shlibpath_var=LD_LIBRARY_PATH
10757 shlibpath_overrides_runpath=yes
10764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10765 soname_spec='${libname}${release}${shared_ext}$major'
10766 shlibpath_var=LD_LIBRARY_PATH
10767 shlibpath_overrides_runpath=no
10768 hardcode_into_libs=yes
10769 dynamic_linker='ldqnx.so'
10774 sys_lib_dlsearch_path_spec="/usr/lib"
10776 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10778 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10779 *) need_version=no ;;
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10782 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10783 shlibpath_var=LD_LIBRARY_PATH
10784 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10786 openbsd2.[89] | openbsd2.[89].*)
10787 shlibpath_overrides_runpath=no
10790 shlibpath_overrides_runpath=yes
10794 shlibpath_overrides_runpath=yes
10799 libname_spec='$name'
10802 library_names_spec='$libname${shared_ext} $libname.a'
10803 dynamic_linker='OS/2 ld.exe'
10804 shlibpath_var=LIBPATH
10807 osf3* | osf4* | osf5*)
10811 soname_spec='${libname}${release}${shared_ext}$major'
10812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813 shlibpath_var=LD_LIBRARY_PATH
10814 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10815 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 shlibpath_var=LD_LIBRARY_PATH
10829 shlibpath_overrides_runpath=yes
10830 hardcode_into_libs=yes
10831 # ldd complains unless libraries are executable
10832 postinstall_cmds='chmod +x $lib'
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10838 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10839 shlibpath_var=LD_LIBRARY_PATH
10840 shlibpath_overrides_runpath=yes
10841 if test "$with_gnu_ld" = yes; then
10849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850 soname_spec='${libname}${release}${shared_ext}$major'
10851 shlibpath_var=LD_LIBRARY_PATH
10852 case $host_vendor in
10854 shlibpath_overrides_runpath=no
10856 runpath_var=LD_RUN_PATH
10864 shlibpath_overrides_runpath=no
10865 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10871 if test -d /usr/nec ;then
10873 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10874 soname_spec='$libname${shared_ext}.$major'
10875 shlibpath_var=LD_LIBRARY_PATH
10879 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10880 version_type=freebsd-elf
10883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10884 soname_spec='${libname}${release}${shared_ext}$major'
10885 shlibpath_var=LD_LIBRARY_PATH
10886 shlibpath_overrides_runpath=yes
10887 hardcode_into_libs=yes
10888 if test "$with_gnu_ld" = yes; then
10889 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10891 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10894 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10898 sys_lib_dlsearch_path_spec='/usr/lib'
10902 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=no
10909 hardcode_into_libs=yes
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 soname_spec='${libname}${release}${shared_ext}$major'
10916 shlibpath_var=LD_LIBRARY_PATH
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10924 $as_echo "$dynamic_linker" >&6; }
10925 test "$dynamic_linker" = no && can_build_shared=no
10927 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10928 if test "$GCC" = yes; then
10929 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10932 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10933 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10935 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10936 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11031 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11033 if test -n "$hardcode_libdir_flag_spec" ||
11034 test -n "$runpath_var" ||
11035 test "X$hardcode_automatic" = "Xyes" ; then
11037 # We can hardcode non-existent directories.
11038 if test "$hardcode_direct" != no &&
11039 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11040 # have to relink, otherwise we might link with an installed library
11041 # when we should be linking with a yet-to-be-installed one
11042 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11043 test "$hardcode_minus_L" != no; then
11044 # Linking always hardcodes the temporary library directory.
11045 hardcode_action=relink
11047 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11048 hardcode_action=immediate
11051 # We cannot hardcode anything, or else we can only hardcode existing
11053 hardcode_action=unsupported
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11056 $as_echo "$hardcode_action" >&6; }
11058 if test "$hardcode_action" = relink ||
11059 test "$inherit_rpath" = yes; then
11060 # Fast installation is not supported
11061 enable_fast_install=no
11062 elif test "$shlibpath_overrides_runpath" = yes ||
11063 test "$enable_shared" = no; then
11064 # Fast installation is not necessary
11065 enable_fast_install=needless
11073 if test "x$enable_dlopen" != xyes; then
11074 enable_dlopen=unknown
11075 enable_dlopen_self=unknown
11076 enable_dlopen_self_static=unknown
11083 lt_cv_dlopen="load_add_on"
11085 lt_cv_dlopen_self=yes
11088 mingw* | pw32* | cegcc*)
11089 lt_cv_dlopen="LoadLibrary"
11094 lt_cv_dlopen="dlopen"
11099 # if libdl is installed we need to link against it
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11101 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11102 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11103 $as_echo_n "(cached) " >&6
11105 ac_check_lib_save_LIBS=$LIBS
11107 if test x$gcc_no_link = xyes; then
11108 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11128 if ac_fn_c_try_link "$LINENO"; then :
11129 ac_cv_lib_dl_dlopen=yes
11131 ac_cv_lib_dl_dlopen=no
11133 rm -f core conftest.err conftest.$ac_objext \
11134 conftest$ac_exeext conftest.$ac_ext
11135 LIBS=$ac_check_lib_save_LIBS
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11138 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11139 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11140 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11143 lt_cv_dlopen="dyld"
11145 lt_cv_dlopen_self=yes
11152 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11153 if test "x$ac_cv_func_shl_load" = x""yes; then :
11154 lt_cv_dlopen="shl_load"
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11157 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11158 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11159 $as_echo_n "(cached) " >&6
11161 ac_check_lib_save_LIBS=$LIBS
11163 if test x$gcc_no_link = xyes; then
11164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11179 return shl_load ();
11184 if ac_fn_c_try_link "$LINENO"; then :
11185 ac_cv_lib_dld_shl_load=yes
11187 ac_cv_lib_dld_shl_load=no
11189 rm -f core conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11194 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11195 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11196 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11198 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11199 if test "x$ac_cv_func_dlopen" = x""yes; then :
11200 lt_cv_dlopen="dlopen"
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11203 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11204 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11205 $as_echo_n "(cached) " >&6
11207 ac_check_lib_save_LIBS=$LIBS
11209 if test x$gcc_no_link = xyes; then
11210 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11215 /* Override any GCC internal prototype to avoid an error.
11216 Use char because int might match the return type of a GCC
11217 builtin and then its argument prototype would still apply. */
11230 if ac_fn_c_try_link "$LINENO"; then :
11231 ac_cv_lib_dl_dlopen=yes
11233 ac_cv_lib_dl_dlopen=no
11235 rm -f core conftest.err conftest.$ac_objext \
11236 conftest$ac_exeext conftest.$ac_ext
11237 LIBS=$ac_check_lib_save_LIBS
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11240 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11241 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11242 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11245 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11246 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11247 $as_echo_n "(cached) " >&6
11249 ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-lsvld $LIBS"
11251 if test x$gcc_no_link = xyes; then
11252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11272 if ac_fn_c_try_link "$LINENO"; then :
11273 ac_cv_lib_svld_dlopen=yes
11275 ac_cv_lib_svld_dlopen=no
11277 rm -f core conftest.err conftest.$ac_objext \
11278 conftest$ac_exeext conftest.$ac_ext
11279 LIBS=$ac_check_lib_save_LIBS
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11282 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11283 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11284 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11287 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11288 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11289 $as_echo_n "(cached) " >&6
11291 ac_check_lib_save_LIBS=$LIBS
11293 if test x$gcc_no_link = xyes; then
11294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11299 /* Override any GCC internal prototype to avoid an error.
11300 Use char because int might match the return type of a GCC
11301 builtin and then its argument prototype would still apply. */
11309 return dld_link ();
11314 if ac_fn_c_try_link "$LINENO"; then :
11315 ac_cv_lib_dld_dld_link=yes
11317 ac_cv_lib_dld_dld_link=no
11319 rm -f core conftest.err conftest.$ac_objext \
11320 conftest$ac_exeext conftest.$ac_ext
11321 LIBS=$ac_check_lib_save_LIBS
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11324 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11325 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11326 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11347 if test "x$lt_cv_dlopen" != xno; then
11353 case $lt_cv_dlopen in
11355 save_CPPFLAGS="$CPPFLAGS"
11356 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11358 save_LDFLAGS="$LDFLAGS"
11359 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11362 LIBS="$lt_cv_dlopen_libs $LIBS"
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11365 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11366 if test "${lt_cv_dlopen_self+set}" = set; then :
11367 $as_echo_n "(cached) " >&6
11369 if test "$cross_compiling" = yes; then :
11370 lt_cv_dlopen_self=cross
11372 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11373 lt_status=$lt_dlunknown
11374 cat > conftest.$ac_ext <<_LT_EOF
11375 #line 11375 "configure"
11376 #include "confdefs.h"
11385 # define LT_DLGLOBAL RTLD_GLOBAL
11388 # define LT_DLGLOBAL DL_GLOBAL
11390 # define LT_DLGLOBAL 0
11394 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11395 find out it does not work in some platform. */
11396 #ifndef LT_DLLAZY_OR_NOW
11398 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11401 # define LT_DLLAZY_OR_NOW DL_LAZY
11404 # define LT_DLLAZY_OR_NOW RTLD_NOW
11407 # define LT_DLLAZY_OR_NOW DL_NOW
11409 # define LT_DLLAZY_OR_NOW 0
11416 /* When -fvisbility=hidden is used, assume the code has been annotated
11417 correspondingly for the symbols needed. */
11418 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11419 void fnord () __attribute__((visibility("default")));
11422 void fnord () { int i=42; }
11425 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11426 int status = $lt_dlunknown;
11430 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11433 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11434 else puts (dlerror ());
11436 /* dlclose (self); */
11444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11445 (eval $ac_link) 2>&5
11447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11448 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11449 (./conftest; exit; ) >&5 2>/dev/null
11451 case x$lt_status in
11452 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11453 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11454 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11457 # compilation failed
11458 lt_cv_dlopen_self=no
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11466 $as_echo "$lt_cv_dlopen_self" >&6; }
11468 if test "x$lt_cv_dlopen_self" = xyes; then
11469 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11471 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11472 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11473 $as_echo_n "(cached) " >&6
11475 if test "$cross_compiling" = yes; then :
11476 lt_cv_dlopen_self_static=cross
11478 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11479 lt_status=$lt_dlunknown
11480 cat > conftest.$ac_ext <<_LT_EOF
11481 #line 11481 "configure"
11482 #include "confdefs.h"
11491 # define LT_DLGLOBAL RTLD_GLOBAL
11494 # define LT_DLGLOBAL DL_GLOBAL
11496 # define LT_DLGLOBAL 0
11500 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11501 find out it does not work in some platform. */
11502 #ifndef LT_DLLAZY_OR_NOW
11504 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11507 # define LT_DLLAZY_OR_NOW DL_LAZY
11510 # define LT_DLLAZY_OR_NOW RTLD_NOW
11513 # define LT_DLLAZY_OR_NOW DL_NOW
11515 # define LT_DLLAZY_OR_NOW 0
11522 /* When -fvisbility=hidden is used, assume the code has been annotated
11523 correspondingly for the symbols needed. */
11524 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11525 void fnord () __attribute__((visibility("default")));
11528 void fnord () { int i=42; }
11531 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11532 int status = $lt_dlunknown;
11536 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11539 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11540 else puts (dlerror ());
11542 /* dlclose (self); */
11550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11551 (eval $ac_link) 2>&5
11553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11554 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11555 (./conftest; exit; ) >&5 2>/dev/null
11557 case x$lt_status in
11558 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11559 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11560 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11563 # compilation failed
11564 lt_cv_dlopen_self_static=no
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11572 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11575 CPPFLAGS="$save_CPPFLAGS"
11576 LDFLAGS="$save_LDFLAGS"
11581 case $lt_cv_dlopen_self in
11582 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11583 *) enable_dlopen_self=unknown ;;
11586 case $lt_cv_dlopen_self_static in
11587 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11588 *) enable_dlopen_self_static=unknown ;;
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11611 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11612 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11613 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11614 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11616 $as_echo "yes" >&6; }
11618 # FIXME - insert some real tests, host_os isn't really good enough
11621 if test -n "$STRIP" ; then
11622 striplib="$STRIP -x"
11623 old_striplib="$STRIP -S"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11625 $as_echo "yes" >&6; }
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11628 $as_echo "no" >&6; }
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11633 $as_echo "no" >&6; }
11649 # Report which library types will actually be built
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11651 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11653 $as_echo "$can_build_shared" >&6; }
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11656 $as_echo_n "checking whether to build shared libraries... " >&6; }
11657 test "$can_build_shared" = "no" && enable_shared=no
11659 # On AIX, shared libraries and static libraries use the same namespace, and
11660 # are all built from PIC.
11663 test "$enable_shared" = yes && enable_static=no
11664 if test -n "$RANLIB"; then
11665 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11666 postinstall_cmds='$RANLIB $lib'
11671 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11672 test "$enable_shared" = yes && enable_static=no
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11677 $as_echo "$enable_shared" >&6; }
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11680 $as_echo_n "checking whether to build static libraries... " >&6; }
11681 # Make sure either enable_shared or enable_static is yes.
11682 test "$enable_shared" = yes || enable_static=yes
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11684 $as_echo "$enable_static" >&6; }
11691 ac_cpp='$CPP $CPPFLAGS'
11692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11710 ac_config_commands="$ac_config_commands libtool"
11715 # Only expand once:
11720 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11722 # We need gfortran to compile parts of the library
11723 #AC_PROG_FC(gfortran)
11725 ac_ext=${ac_fc_srcext-f}
11726 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11727 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11728 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11729 if test -n "$ac_tool_prefix"; then
11730 for ac_prog in gfortran
11732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11735 $as_echo_n "checking for $ac_word... " >&6; }
11736 if test "${ac_cv_prog_FC+set}" = set; then :
11737 $as_echo_n "(cached) " >&6
11739 if test -n "$FC"; then
11740 ac_cv_prog_FC="$FC" # Let the user override the test.
11742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11743 for as_dir in $PATH
11746 test -z "$as_dir" && as_dir=.
11747 for ac_exec_ext in '' $ac_executable_extensions; do
11748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11749 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11760 if test -n "$FC"; then
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11762 $as_echo "$FC" >&6; }
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11765 $as_echo "no" >&6; }
11769 test -n "$FC" && break
11772 if test -z "$FC"; then
11774 for ac_prog in gfortran
11776 # Extract the first word of "$ac_prog", so it can be a program name with args.
11777 set dummy $ac_prog; ac_word=$2
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11779 $as_echo_n "checking for $ac_word... " >&6; }
11780 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11781 $as_echo_n "(cached) " >&6
11783 if test -n "$ac_ct_FC"; then
11784 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11787 for as_dir in $PATH
11790 test -z "$as_dir" && as_dir=.
11791 for ac_exec_ext in '' $ac_executable_extensions; do
11792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11793 ac_cv_prog_ac_ct_FC="$ac_prog"
11794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11803 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11804 if test -n "$ac_ct_FC"; then
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11806 $as_echo "$ac_ct_FC" >&6; }
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11809 $as_echo "no" >&6; }
11813 test -n "$ac_ct_FC" && break
11816 if test "x$ac_ct_FC" = x; then
11819 case $cross_compiling:$ac_tool_warned in
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11823 ac_tool_warned=yes ;;
11830 # Provide some information about the compiler.
11831 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11834 for ac_option in --version -v -V -qversion; do
11835 { { ac_try="$ac_compiler $ac_option >&5"
11836 case "(($ac_try" in
11837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11838 *) ac_try_echo=$ac_try;;
11840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11841 $as_echo "$ac_try_echo"; } >&5
11842 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11844 if test -s conftest.err; then
11846 ... rest of stderr output deleted ...
11847 10q' conftest.err >conftest.er1
11848 cat conftest.er1 >&5
11849 rm -f conftest.er1 conftest.err
11851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11852 test $ac_status = 0; }
11856 # If we don't use `.F' as extension, the preprocessor is not run on the
11857 # input file. (Note that this only needs to work for GNU compilers.)
11858 ac_save_ext=$ac_ext
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11861 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11862 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11863 $as_echo_n "(cached) " >&6
11865 cat > conftest.$ac_ext <<_ACEOF
11873 if ac_fn_fc_try_compile "$LINENO"; then :
11874 ac_compiler_gnu=yes
11878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11879 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11883 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11884 ac_ext=$ac_save_ext
11885 ac_test_FCFLAGS=${FCFLAGS+set}
11886 ac_save_FCFLAGS=$FCFLAGS
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11889 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11890 if test "${ac_cv_prog_fc_g+set}" = set; then :
11891 $as_echo_n "(cached) " >&6
11894 cat > conftest.$ac_ext <<_ACEOF
11899 if ac_fn_fc_try_compile "$LINENO"; then :
11900 ac_cv_prog_fc_g=yes
11904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11908 $as_echo "$ac_cv_prog_fc_g" >&6; }
11909 if test "$ac_test_FCFLAGS" = set; then
11910 FCFLAGS=$ac_save_FCFLAGS
11911 elif test $ac_cv_prog_fc_g = yes; then
11912 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11918 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11926 ac_cpp='$CPP $CPPFLAGS'
11927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11931 ac_ext=${ac_fc_srcext-f}
11932 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11933 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11934 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11937 if test -z "$FC" || test "X$FC" = "Xno"; then
11941 archive_cmds_need_lc_FC=no
11942 allow_undefined_flag_FC=
11943 always_export_symbols_FC=no
11944 archive_expsym_cmds_FC=
11945 export_dynamic_flag_spec_FC=
11946 hardcode_direct_FC=no
11947 hardcode_direct_absolute_FC=no
11948 hardcode_libdir_flag_spec_FC=
11949 hardcode_libdir_flag_spec_ld_FC=
11950 hardcode_libdir_separator_FC=
11951 hardcode_minus_L_FC=no
11952 hardcode_automatic_FC=no
11953 inherit_rpath_FC=no
11955 module_expsym_cmds_FC=
11956 link_all_deplibs_FC=unknown
11957 old_archive_cmds_FC=$old_archive_cmds
11958 reload_flag_FC=$reload_flag
11959 reload_cmds_FC=$reload_cmds
11960 no_undefined_flag_FC=
11961 whole_archive_flag_spec_FC=
11962 enable_shared_with_static_runtimes_FC=no
11964 # Source file extension for fc test sources.
11965 ac_ext=${ac_fc_srcext-f}
11967 # Object file extension for compiled fc test sources.
11971 # No sense in running all these tests if we already determined that
11972 # the FC compiler isn't working. Some variables (like enable_shared)
11973 # are currently assumed to apply to all compilers on this platform,
11974 # and will be corrupted by setting them based on a non-working compiler.
11975 if test "$_lt_disable_FC" != yes; then
11976 # Code to be used in simple compile tests
11977 lt_simple_compile_test_code="\
11983 # Code to be used in simple link tests
11984 lt_simple_link_test_code="\
11989 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11996 # If no C compiler was specified, use CC.
11999 # If no C compiler flags were specified, use CFLAGS.
12000 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12002 # Allow CC to be a program name with arguments.
12006 # save warnings/boilerplate of simple test code
12007 ac_outfile=conftest.$ac_objext
12008 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12009 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12010 _lt_compiler_boilerplate=`cat conftest.err`
12013 ac_outfile=conftest.$ac_objext
12014 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12015 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12016 _lt_linker_boilerplate=`cat conftest.err`
12020 # Allow CC to be a program name with arguments.
12025 GCC=$ac_cv_fc_compiler_gnu
12028 for cc_temp in $compiler""; do
12030 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12031 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12036 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12039 if test -n "$compiler"; then
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12041 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12043 $as_echo "$can_build_shared" >&6; }
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12046 $as_echo_n "checking whether to build shared libraries... " >&6; }
12047 test "$can_build_shared" = "no" && enable_shared=no
12049 # On AIX, shared libraries and static libraries use the same namespace, and
12050 # are all built from PIC.
12053 test "$enable_shared" = yes && enable_static=no
12054 if test -n "$RANLIB"; then
12055 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12056 postinstall_cmds='$RANLIB $lib'
12060 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12061 test "$enable_shared" = yes && enable_static=no
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12066 $as_echo "$enable_shared" >&6; }
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12069 $as_echo_n "checking whether to build static libraries... " >&6; }
12070 # Make sure either enable_shared or enable_static is yes.
12071 test "$enable_shared" = yes || enable_static=yes
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12073 $as_echo "$enable_static" >&6; }
12075 GCC_FC="$ac_cv_fc_compiler_gnu"
12079 ## There is no encapsulation within the following macros, do not change
12080 ## the running order or otherwise move them around unless you know exactly
12081 ## what you are doing...
12082 # Dependencies to place before and after the object being linked:
12084 postdep_objects_FC=
12087 compiler_lib_search_path_FC=
12089 cat > conftest.$ac_ext <<_LT_EOF
12098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12099 (eval $ac_compile) 2>&5
12101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12102 test $ac_status = 0; }; then
12103 # Parse the compiler output and extract the necessary
12104 # objects, libraries and library flags.
12106 # Sentinel used to keep track of whether or not we are before
12107 # the conftest object file.
12108 pre_test_object_deps_done=no
12110 for p in `eval "$output_verbose_link_cmd"`; do
12114 # Some compilers place space between "-{L,R}" and the path.
12115 # Remove the space.
12116 if test $p = "-L" ||
12117 test $p = "-R"; then
12124 if test "$pre_test_object_deps_done" = no; then
12127 # Internal compiler library paths should come after those
12128 # provided the user. The postdeps already come after the
12129 # user supplied libs so there is no need to process them.
12130 if test -z "$compiler_lib_search_path_FC"; then
12131 compiler_lib_search_path_FC="${prev}${p}"
12133 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12136 # The "-l" case would never come before the object being
12137 # linked, so don't bother handling this case.
12140 if test -z "$postdeps_FC"; then
12141 postdeps_FC="${prev}${p}"
12143 postdeps_FC="${postdeps_FC} ${prev}${p}"
12149 # This assumes that the test object file only shows up
12150 # once in the compiler output.
12151 if test "$p" = "conftest.$objext"; then
12152 pre_test_object_deps_done=yes
12156 if test "$pre_test_object_deps_done" = no; then
12157 if test -z "$predep_objects_FC"; then
12158 predep_objects_FC="$p"
12160 predep_objects_FC="$predep_objects_FC $p"
12163 if test -z "$postdep_objects_FC"; then
12164 postdep_objects_FC="$p"
12166 postdep_objects_FC="$postdep_objects_FC $p"
12171 *) ;; # Ignore the rest.
12179 echo "libtool.m4: error: problem compiling FC test program"
12182 $RM -f confest.$objext
12184 # PORTME: override above test on systems where it is broken
12187 case " $postdeps_FC " in
12188 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12190 compiler_lib_search_dirs_FC=
12191 if test -n "${compiler_lib_search_path_FC}"; then
12192 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12225 lt_prog_compiler_wl_FC=
12226 lt_prog_compiler_pic_FC=
12227 lt_prog_compiler_static_FC=
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12230 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12232 if test "$GCC" = yes; then
12233 lt_prog_compiler_wl_FC='-Wl,'
12234 lt_prog_compiler_static_FC='-static'
12238 # All AIX code is PIC.
12239 if test "$host_cpu" = ia64; then
12240 # AIX 5 now supports IA64 processor
12241 lt_prog_compiler_static_FC='-Bstatic'
12248 # see comment about AmigaOS4 .so support
12249 lt_prog_compiler_pic_FC='-fPIC'
12252 # FIXME: we need at least 68020 code to build shared libraries, but
12253 # adding the `-m68020' flag to GCC prevents building anything better,
12255 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
12260 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12261 # PIC is the default for these OSes.
12264 mingw* | cygwin* | pw32* | os2* | cegcc*)
12265 # This hack is so that the source file can tell whether it is being
12266 # built for inclusion in a dll (and should export symbols for example).
12267 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12268 # (--disable-auto-import) libraries
12269 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12272 darwin* | rhapsody*)
12273 # PIC is the default on this platform
12274 # Common symbols not allowed in MH_DYLIB files
12275 lt_prog_compiler_pic_FC='-fno-common'
12279 # PIC is the default for Haiku.
12280 # The "-static" flag exists, but is broken.
12281 lt_prog_compiler_static_FC=
12285 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12286 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12287 # sets the default TLS model and affects inlining.
12293 lt_prog_compiler_pic_FC='-fPIC'
12299 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12300 # Instead, we relocate shared libraries at runtime.
12304 # Just because we use GCC doesn't mean we suddenly get shared libraries
12305 # on systems that don't support them.
12306 lt_prog_compiler_can_build_shared_FC=no
12311 # QNX uses GNU C++, but need to define -shared option too, otherwise
12312 # it will coredump.
12313 lt_prog_compiler_pic_FC='-fPIC -shared'
12317 if test -d /usr/nec; then
12318 lt_prog_compiler_pic_FC=-Kconform_pic
12323 lt_prog_compiler_pic_FC='-fPIC'
12327 case $cc_basename in
12328 nvcc*) # Cuda Compiler Driver 2.2
12329 lt_prog_compiler_wl_FC='-Xlinker '
12330 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
12334 # PORTME Check for flag to pass linker flags through the system compiler.
12337 lt_prog_compiler_wl_FC='-Wl,'
12338 if test "$host_cpu" = ia64; then
12339 # AIX 5 now supports IA64 processor
12340 lt_prog_compiler_static_FC='-Bstatic'
12342 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
12346 mingw* | cygwin* | pw32* | os2* | cegcc*)
12347 # This hack is so that the source file can tell whether it is being
12348 # built for inclusion in a dll (and should export symbols for example).
12349 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12352 hpux9* | hpux10* | hpux11*)
12353 lt_prog_compiler_wl_FC='-Wl,'
12354 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12355 # not for PA HP-UX.
12361 lt_prog_compiler_pic_FC='+Z'
12364 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12365 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
12368 irix5* | irix6* | nonstopux*)
12369 lt_prog_compiler_wl_FC='-Wl,'
12370 # PIC (with -KPIC) is the default.
12371 lt_prog_compiler_static_FC='-non_shared'
12374 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12375 case $cc_basename in
12376 # old Intel for x86_64 which still supported -KPIC.
12378 lt_prog_compiler_wl_FC='-Wl,'
12379 lt_prog_compiler_pic_FC='-KPIC'
12380 lt_prog_compiler_static_FC='-static'
12382 # icc used to be incompatible with GCC.
12383 # ICC 10 doesn't accept -KPIC any more.
12385 lt_prog_compiler_wl_FC='-Wl,'
12386 lt_prog_compiler_pic_FC='-fPIC'
12387 lt_prog_compiler_static_FC='-static'
12389 # Lahey Fortran 8.1.
12391 lt_prog_compiler_wl_FC='-Wl,'
12392 lt_prog_compiler_pic_FC='--shared'
12393 lt_prog_compiler_static_FC='--static'
12395 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12396 # Portland Group compilers (*not* the Pentium gcc compiler,
12397 # which looks to be a dead project)
12398 lt_prog_compiler_wl_FC='-Wl,'
12399 lt_prog_compiler_pic_FC='-fpic'
12400 lt_prog_compiler_static_FC='-Bstatic'
12403 lt_prog_compiler_wl_FC='-Wl,'
12404 # All Alpha code is PIC.
12405 lt_prog_compiler_static_FC='-non_shared'
12407 xl* | bgxl* | bgf* | mpixl*)
12408 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12409 lt_prog_compiler_wl_FC='-Wl,'
12410 lt_prog_compiler_pic_FC='-qpic'
12411 lt_prog_compiler_static_FC='-qstaticlink'
12414 case `$CC -V 2>&1 | sed 5q` in
12415 *Sun\ F* | *Sun*Fortran*)
12416 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12417 lt_prog_compiler_pic_FC='-KPIC'
12418 lt_prog_compiler_static_FC='-Bstatic'
12419 lt_prog_compiler_wl_FC=''
12423 lt_prog_compiler_pic_FC='-KPIC'
12424 lt_prog_compiler_static_FC='-Bstatic'
12425 lt_prog_compiler_wl_FC='-Wl,'
12433 lt_prog_compiler_pic_FC='-KPIC'
12434 lt_prog_compiler_static_FC='-Bstatic'
12438 # QNX uses GNU C++, but need to define -shared option too, otherwise
12439 # it will coredump.
12440 lt_prog_compiler_pic_FC='-fPIC -shared'
12443 osf3* | osf4* | osf5*)
12444 lt_prog_compiler_wl_FC='-Wl,'
12445 # All OSF/1 code is PIC.
12446 lt_prog_compiler_static_FC='-non_shared'
12450 lt_prog_compiler_static_FC='-non_shared'
12454 lt_prog_compiler_pic_FC='-KPIC'
12455 lt_prog_compiler_static_FC='-Bstatic'
12456 case $cc_basename in
12457 f77* | f90* | f95*)
12458 lt_prog_compiler_wl_FC='-Qoption ld ';;
12460 lt_prog_compiler_wl_FC='-Wl,';;
12465 lt_prog_compiler_wl_FC='-Qoption ld '
12466 lt_prog_compiler_pic_FC='-PIC'
12467 lt_prog_compiler_static_FC='-Bstatic'
12470 sysv4 | sysv4.2uw2* | sysv4.3*)
12471 lt_prog_compiler_wl_FC='-Wl,'
12472 lt_prog_compiler_pic_FC='-KPIC'
12473 lt_prog_compiler_static_FC='-Bstatic'
12477 if test -d /usr/nec ;then
12478 lt_prog_compiler_pic_FC='-Kconform_pic'
12479 lt_prog_compiler_static_FC='-Bstatic'
12483 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12484 lt_prog_compiler_wl_FC='-Wl,'
12485 lt_prog_compiler_pic_FC='-KPIC'
12486 lt_prog_compiler_static_FC='-Bstatic'
12490 lt_prog_compiler_wl_FC='-Wl,'
12491 lt_prog_compiler_can_build_shared_FC=no
12495 lt_prog_compiler_pic_FC='-pic'
12496 lt_prog_compiler_static_FC='-Bstatic'
12500 lt_prog_compiler_can_build_shared_FC=no
12506 # For platforms which do not support PIC, -DPIC is meaningless:
12508 lt_prog_compiler_pic_FC=
12511 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12515 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12520 # Check to make sure the PIC flag actually works.
12522 if test -n "$lt_prog_compiler_pic_FC"; then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12524 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12525 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12526 $as_echo_n "(cached) " >&6
12528 lt_cv_prog_compiler_pic_works_FC=no
12529 ac_outfile=conftest.$ac_objext
12530 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12531 lt_compiler_flag="$lt_prog_compiler_pic_FC"
12532 # Insert the option either (1) after the last *FLAGS variable, or
12533 # (2) before a word containing "conftest.", or (3) at the end.
12534 # Note that $ac_compile itself does not contain backslashes and begins
12535 # with a dollar sign (not a hyphen), so the echo should work correctly.
12536 # The option is referenced via a variable to avoid confusing sed.
12537 lt_compile=`echo "$ac_compile" | $SED \
12538 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12539 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12540 -e 's:$: $lt_compiler_flag:'`
12541 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12542 (eval "$lt_compile" 2>conftest.err)
12544 cat conftest.err >&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 if (exit $ac_status) && test -s "$ac_outfile"; then
12547 # The compiler can only warn and ignore the option if not recognized
12548 # So say no if there are warnings other than the usual output.
12549 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12550 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12551 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12552 lt_cv_prog_compiler_pic_works_FC=yes
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12559 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12561 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12562 case $lt_prog_compiler_pic_FC in
12564 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12567 lt_prog_compiler_pic_FC=
12568 lt_prog_compiler_can_build_shared_FC=no
12576 # Check to make sure the static flag actually works.
12578 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12580 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12581 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12582 $as_echo_n "(cached) " >&6
12584 lt_cv_prog_compiler_static_works_FC=no
12585 save_LDFLAGS="$LDFLAGS"
12586 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12587 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12588 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12589 # The linker can only warn and ignore the option if not recognized
12590 # So say no if there are warnings
12591 if test -s conftest.err; then
12592 # Append any errors to the config.log.
12593 cat conftest.err 1>&5
12594 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12595 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12596 if diff conftest.exp conftest.er2 >/dev/null; then
12597 lt_cv_prog_compiler_static_works_FC=yes
12600 lt_cv_prog_compiler_static_works_FC=yes
12604 LDFLAGS="$save_LDFLAGS"
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12608 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12610 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12613 lt_prog_compiler_static_FC=
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12620 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12621 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12622 $as_echo_n "(cached) " >&6
12624 lt_cv_prog_compiler_c_o_FC=no
12625 $RM -r conftest 2>/dev/null
12629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12631 lt_compiler_flag="-o out/conftest2.$ac_objext"
12632 # Insert the option either (1) after the last *FLAGS variable, or
12633 # (2) before a word containing "conftest.", or (3) at the end.
12634 # Note that $ac_compile itself does not contain backslashes and begins
12635 # with a dollar sign (not a hyphen), so the echo should work correctly.
12636 lt_compile=`echo "$ac_compile" | $SED \
12637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12639 -e 's:$: $lt_compiler_flag:'`
12640 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12641 (eval "$lt_compile" 2>out/conftest.err)
12643 cat out/conftest.err >&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12647 # The compiler can only warn and ignore the option if not recognized
12648 # So say no if there are warnings
12649 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12650 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12651 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12652 lt_cv_prog_compiler_c_o_FC=yes
12657 # SGI C++ compiler will create directory out/ii_files/ for
12658 # template instantiation
12659 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12660 $RM out/* && rmdir out
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12667 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12672 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12673 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12674 $as_echo_n "(cached) " >&6
12676 lt_cv_prog_compiler_c_o_FC=no
12677 $RM -r conftest 2>/dev/null
12681 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12683 lt_compiler_flag="-o out/conftest2.$ac_objext"
12684 # Insert the option either (1) after the last *FLAGS variable, or
12685 # (2) before a word containing "conftest.", or (3) at the end.
12686 # Note that $ac_compile itself does not contain backslashes and begins
12687 # with a dollar sign (not a hyphen), so the echo should work correctly.
12688 lt_compile=`echo "$ac_compile" | $SED \
12689 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12690 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12691 -e 's:$: $lt_compiler_flag:'`
12692 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12693 (eval "$lt_compile" 2>out/conftest.err)
12695 cat out/conftest.err >&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12699 # The compiler can only warn and ignore the option if not recognized
12700 # So say no if there are warnings
12701 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12702 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12703 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12704 lt_cv_prog_compiler_c_o_FC=yes
12709 # SGI C++ compiler will create directory out/ii_files/ for
12710 # template instantiation
12711 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12712 $RM out/* && rmdir out
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12719 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12724 hard_links="nottested"
12725 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12726 # do not overwrite the value of need_locks provided by the user
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12728 $as_echo_n "checking if we can lock with hard links... " >&6; }
12731 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12733 ln conftest.a conftest.b 2>&5 || hard_links=no
12734 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12736 $as_echo "$hard_links" >&6; }
12737 if test "$hard_links" = no; then
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12739 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12749 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12752 allow_undefined_flag_FC=
12753 always_export_symbols_FC=no
12755 archive_expsym_cmds_FC=
12756 compiler_needs_object_FC=no
12757 enable_shared_with_static_runtimes_FC=no
12758 export_dynamic_flag_spec_FC=
12759 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12760 hardcode_automatic_FC=no
12761 hardcode_direct_FC=no
12762 hardcode_direct_absolute_FC=no
12763 hardcode_libdir_flag_spec_FC=
12764 hardcode_libdir_flag_spec_ld_FC=
12765 hardcode_libdir_separator_FC=
12766 hardcode_minus_L_FC=no
12767 hardcode_shlibpath_var_FC=unsupported
12768 inherit_rpath_FC=no
12769 link_all_deplibs_FC=unknown
12771 module_expsym_cmds_FC=
12772 old_archive_from_new_cmds_FC=
12773 old_archive_from_expsyms_cmds_FC=
12774 thread_safe_flag_spec_FC=
12775 whole_archive_flag_spec_FC=
12776 # include_expsyms should be a list of space-separated symbols to be *always*
12777 # included in the symbol list
12778 include_expsyms_FC=
12779 # exclude_expsyms can be an extended regexp of symbols to exclude
12780 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12781 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12782 # as well as any symbol that contains `d'.
12783 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12784 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12785 # platforms (ab)use it in PIC code, but their linkers get confused if
12786 # the symbol is explicitly referenced. Since portable code cannot
12787 # rely on this symbol name, it's probably fine to never include it in
12788 # preloaded symbol tables.
12789 # Exclude shared library initialization/finalization symbols.
12790 extract_expsyms_cmds=
12793 cygwin* | mingw* | pw32* | cegcc*)
12794 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12795 # When not using gcc, we currently assume that we are using
12796 # Microsoft Visual C++.
12797 if test "$GCC" != yes; then
12802 # we just hope/assume this is gcc and not c89 (= MSVC++)
12812 # On some targets, GNU ld is compatible enough with the native linker
12813 # that we're better off using the native interface for both.
12814 lt_use_gnu_ld_interface=no
12815 if test "$with_gnu_ld" = yes; then
12818 # The AIX port of GNU ld has always aspired to compatibility
12819 # with the native linker. However, as the warning in the GNU ld
12820 # block says, versions before 2.19.5* couldn't really create working
12821 # shared libraries, regardless of the interface used.
12822 case `$LD -v 2>&1` in
12823 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12824 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12825 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12827 lt_use_gnu_ld_interface=yes
12832 lt_use_gnu_ld_interface=yes
12837 if test "$lt_use_gnu_ld_interface" = yes; then
12838 # If archive_cmds runs LD, not CC, wlarc should be empty
12841 # Set some defaults for GNU ld with shared library support. These
12842 # are reset later if shared libraries are not supported. Putting them
12843 # here allows them to be overridden if necessary.
12844 runpath_var=LD_RUN_PATH
12845 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12846 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12847 # ancient GNU ld didn't support --whole-archive et. al.
12848 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12849 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12851 whole_archive_flag_spec_FC=
12853 supports_anon_versioning=no
12854 case `$LD -v 2>&1` in
12855 *GNU\ gold*) supports_anon_versioning=yes ;;
12856 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12857 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12858 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12859 *\ 2.11.*) ;; # other 2.11 versions
12860 *) supports_anon_versioning=yes ;;
12863 # See if GNU ld supports shared libraries.
12866 # On AIX/PPC, the GNU linker is very broken
12867 if test "$host_cpu" != ia64; then
12871 *** Warning: the GNU linker, at least up to release 2.19, is reported
12872 *** to be unable to reliably create shared libraries on AIX.
12873 *** Therefore, libtool is disabling shared libraries support. If you
12874 *** really care for shared libraries, you may want to install binutils
12875 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12876 *** You will then need to restart the configuration process.
12885 # see comment about AmigaOS4 .so support
12886 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12887 archive_expsym_cmds_FC=''
12890 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)'
12891 hardcode_libdir_flag_spec_FC='-L$libdir'
12892 hardcode_minus_L_FC=yes
12898 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12899 allow_undefined_flag_FC=unsupported
12900 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12901 # support --undefined. This deserves some investigation. FIXME
12902 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12908 cygwin* | mingw* | pw32* | cegcc*)
12909 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12910 # as there is no search path for DLLs.
12911 hardcode_libdir_flag_spec_FC='-L$libdir'
12912 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
12913 allow_undefined_flag_FC=unsupported
12914 always_export_symbols_FC=no
12915 enable_shared_with_static_runtimes_FC=yes
12916 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12918 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12919 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12920 # If the export-symbols file already is a .def file (1st line
12921 # is EXPORTS), use it as is; otherwise, prepend...
12922 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12923 cp $export_symbols $output_objdir/$soname.def;
12925 echo EXPORTS > $output_objdir/$soname.def;
12926 cat $export_symbols >> $output_objdir/$soname.def;
12928 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12935 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936 link_all_deplibs_FC=yes
12940 hardcode_direct_FC=no
12941 hardcode_shlibpath_var_FC=no
12942 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12943 export_dynamic_flag_spec_FC='${wl}-E'
12944 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12945 # Instead, shared libraries are loaded at an image base (0x10000000 by
12946 # default) and relocated if they conflict, which is a slow very memory
12947 # consuming and fragmenting process. To avoid this, we pick a random,
12948 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12949 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12950 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'
12951 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'
12954 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12956 if test "$host_os" = linux-dietlibc; then
12957 case $cc_basename in
12958 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12961 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12962 && test "$tmp_diet" = no
12965 tmp_sharedflag='-shared'
12966 case $cc_basename,$host_cpu in
12967 pgcc*) # Portland Group C compiler
12968 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'
12969 tmp_addflag=' $pic_flag'
12971 pgf77* | pgf90* | pgf95* | pgfortran*)
12972 # Portland Group f77 and f90 compilers
12973 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'
12974 tmp_addflag=' $pic_flag -Mnomain' ;;
12975 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12976 tmp_addflag=' -i_dynamic' ;;
12977 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12978 tmp_addflag=' -i_dynamic -nofor_main' ;;
12979 ifc* | ifort*) # Intel Fortran compiler
12980 tmp_addflag=' -nofor_main' ;;
12981 lf95*) # Lahey Fortran 8.1
12982 whole_archive_flag_spec_FC=
12983 tmp_sharedflag='--shared' ;;
12984 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12985 tmp_sharedflag='-qmkshrobj'
12987 nvcc*) # Cuda Compiler Driver 2.2
12988 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'
12989 compiler_needs_object_FC=yes
12992 case `$CC -V 2>&1 | sed 5q` in
12993 *Sun\ C*) # Sun C 5.9
12994 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'
12995 compiler_needs_object_FC=yes
12996 tmp_sharedflag='-G' ;;
12997 *Sun\ F*) # Sun Fortran 8.3
12998 tmp_sharedflag='-G' ;;
13000 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13002 if test "x$supports_anon_versioning" = xyes; then
13003 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13004 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13005 echo "local: *; };" >> $output_objdir/$libname.ver~
13006 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13009 case $cc_basename in
13010 xlf* | bgf* | bgxlf* | mpixlf*)
13011 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13012 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13013 hardcode_libdir_flag_spec_FC=
13014 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13015 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13016 if test "x$supports_anon_versioning" = xyes; then
13017 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13018 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13019 echo "local: *; };" >> $output_objdir/$libname.ver~
13020 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13030 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13031 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13034 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13035 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13040 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13044 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13045 *** create shared libraries on Solaris systems. Therefore, libtool
13046 *** is disabling shared libraries support. We urge you to upgrade GNU
13047 *** binutils to release 2.9.1 or newer. Another option is to modify
13048 *** your PATH or compiler configuration so that the native linker is
13049 *** used, and then restart.
13052 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13053 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13054 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13060 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13061 case `$LD -v 2>&1` in
13062 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13066 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13067 *** reliably create shared libraries on SCO systems. Therefore, libtool
13068 *** is disabling shared libraries support. We urge you to upgrade GNU
13069 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13070 *** your PATH or compiler configuration so that the native linker is
13071 *** used, and then restart.
13076 # For security reasons, it is highly recommended that you always
13077 # use absolute paths for naming shared libraries, and exclude the
13078 # DT_RUNPATH tag from executables and libraries. But doing so
13079 # requires that you compile everything twice, which is a pain.
13080 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13081 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13082 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13083 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13092 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13094 hardcode_direct_FC=yes
13095 hardcode_shlibpath_var_FC=no
13099 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13100 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13101 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13108 if test "$ld_shlibs_FC" = no; then
13110 hardcode_libdir_flag_spec_FC=
13111 export_dynamic_flag_spec_FC=
13112 whole_archive_flag_spec_FC=
13115 # PORTME fill in a description of your system's linker (not GNU ld)
13118 allow_undefined_flag_FC=unsupported
13119 always_export_symbols_FC=yes
13120 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'
13121 # Note: this linker hardcodes the directories in LIBPATH if there
13122 # are no directories specified by -L.
13123 hardcode_minus_L_FC=yes
13124 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13125 # Neither direct hardcoding nor static linking is supported with a
13127 hardcode_direct_FC=unsupported
13132 if test "$host_cpu" = ia64; then
13133 # On IA64, the linker does run time linking by default, so we don't
13134 # have to do anything special.
13135 aix_use_runtimelinking=no
13136 exp_sym_flag='-Bexport'
13139 # If we're using GNU nm, then we don't want the "-C" option.
13140 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13141 # Also, AIX nm treats weak defined symbols like other global
13142 # defined symbols, whereas GNU nm marks them as "W".
13143 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13144 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'
13146 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'
13148 aix_use_runtimelinking=no
13150 # Test if we are trying to use run time linking or normal
13151 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13152 # need to do runtime linking.
13153 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13154 for ld_flag in $LDFLAGS; do
13155 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13156 aix_use_runtimelinking=yes
13163 exp_sym_flag='-bexport'
13164 no_entry_flag='-bnoentry'
13167 # When large executables or shared objects are built, AIX ld can
13168 # have problems creating the table of contents. If linking a library
13169 # or program results in "error TOC overflow" add -mminimal-toc to
13170 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13171 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13174 hardcode_direct_FC=yes
13175 hardcode_direct_absolute_FC=yes
13176 hardcode_libdir_separator_FC=':'
13177 link_all_deplibs_FC=yes
13178 file_list_spec_FC='${wl}-f,'
13180 if test "$GCC" = yes; then
13181 case $host_os in aix4.[012]|aix4.[012].*)
13182 # We only want to do this on AIX 4.2 and lower, the check
13183 # below for broken collect2 doesn't work under 4.3+
13184 collect2name=`${CC} -print-prog-name=collect2`
13185 if test -f "$collect2name" &&
13186 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13188 # We have reworked collect2
13191 # We have old collect2
13192 hardcode_direct_FC=unsupported
13193 # It fails to find uninstalled libraries when the uninstalled
13194 # path is not listed in the libpath. Setting hardcode_minus_L
13195 # to unsupported forces relinking
13196 hardcode_minus_L_FC=yes
13197 hardcode_libdir_flag_spec_FC='-L$libdir'
13198 hardcode_libdir_separator_FC=
13202 shared_flag='-shared'
13203 if test "$aix_use_runtimelinking" = yes; then
13204 shared_flag="$shared_flag "'${wl}-G'
13208 if test "$host_cpu" = ia64; then
13209 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13210 # chokes on -Wl,-G. The following line is correct:
13213 if test "$aix_use_runtimelinking" = yes; then
13214 shared_flag='${wl}-G'
13216 shared_flag='${wl}-bM:SRE'
13221 export_dynamic_flag_spec_FC='${wl}-bexpall'
13222 # It seems that -bexpall does not export symbols beginning with
13223 # underscore (_), so it is better to generate a list of symbols to export.
13224 always_export_symbols_FC=yes
13225 if test "$aix_use_runtimelinking" = yes; then
13226 # Warning - without using the other runtime loading flags (-brtl),
13227 # -berok will link without error, but may produce a broken library.
13228 allow_undefined_flag_FC='-berok'
13229 # Determine the default libpath from the value encoded in an
13230 # empty executable.
13231 if test x$gcc_no_link = xyes; then
13232 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13234 cat > conftest.$ac_ext <<_ACEOF
13239 if ac_fn_fc_try_link "$LINENO"; then :
13241 lt_aix_libpath_sed='
13242 /Import File Strings/,/^$/ {
13248 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13249 # Check for a 64-bit object if we didn't find anything.
13250 if test -z "$aix_libpath"; then
13251 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13254 rm -f core conftest.err conftest.$ac_objext \
13255 conftest$ac_exeext conftest.$ac_ext
13256 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13258 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13259 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"
13261 if test "$host_cpu" = ia64; then
13262 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
13263 allow_undefined_flag_FC="-z nodefs"
13264 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"
13266 # Determine the default libpath from the value encoded in an
13267 # empty executable.
13268 if test x$gcc_no_link = xyes; then
13269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13271 cat > conftest.$ac_ext <<_ACEOF
13276 if ac_fn_fc_try_link "$LINENO"; then :
13278 lt_aix_libpath_sed='
13279 /Import File Strings/,/^$/ {
13285 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13286 # Check for a 64-bit object if we didn't find anything.
13287 if test -z "$aix_libpath"; then
13288 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13291 rm -f core conftest.err conftest.$ac_objext \
13292 conftest$ac_exeext conftest.$ac_ext
13293 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13295 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13296 # Warning - without using the other run time loading flags,
13297 # -berok will link without error, but may produce a broken library.
13298 no_undefined_flag_FC=' ${wl}-bernotok'
13299 allow_undefined_flag_FC=' ${wl}-berok'
13300 if test "$with_gnu_ld" = yes; then
13301 # We only use this code for GNU lds that support --whole-archive.
13302 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13304 # Exported symbols can be pulled into shared objects from archives
13305 whole_archive_flag_spec_FC='$convenience'
13307 archive_cmds_need_lc_FC=yes
13308 # This is similar to how AIX traditionally builds its shared libraries.
13309 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'
13317 # see comment about AmigaOS4 .so support
13318 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13319 archive_expsym_cmds_FC=''
13322 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)'
13323 hardcode_libdir_flag_spec_FC='-L$libdir'
13324 hardcode_minus_L_FC=yes
13330 export_dynamic_flag_spec_FC=-rdynamic
13333 cygwin* | mingw* | pw32* | cegcc*)
13334 # When not using gcc, we currently assume that we are using
13335 # Microsoft Visual C++.
13336 # hardcode_libdir_flag_spec is actually meaningless, as there is
13337 # no search path for DLLs.
13338 hardcode_libdir_flag_spec_FC=' '
13339 allow_undefined_flag_FC=unsupported
13340 # Tell ltmain to make .lib files, not .a files.
13342 # Tell ltmain to make .dll files, not .so files.
13344 # FIXME: Setting linknames here is a bad hack.
13345 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13346 # The linker will automatically build a .lib file if we build a DLL.
13347 old_archive_from_new_cmds_FC='true'
13348 # FIXME: Should let the user specify the lib program.
13349 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
13350 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
13351 enable_shared_with_static_runtimes_FC=yes
13354 darwin* | rhapsody*)
13357 archive_cmds_need_lc_FC=no
13358 hardcode_direct_FC=no
13359 hardcode_automatic_FC=yes
13360 hardcode_shlibpath_var_FC=unsupported
13361 if test "$lt_cv_ld_force_load" = "yes"; then
13362 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\"`'
13364 whole_archive_flag_spec_FC=''
13366 link_all_deplibs_FC=yes
13367 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
13368 case $cc_basename in
13369 ifort*) _lt_dar_can_shared=yes ;;
13370 *) _lt_dar_can_shared=$GCC ;;
13372 if test "$_lt_dar_can_shared" = "yes"; then
13373 output_verbose_link_cmd=func_echo_all
13374 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}"
13375 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13376 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}"
13377 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}"
13386 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13387 hardcode_libdir_flag_spec_FC='-L$libdir'
13388 hardcode_shlibpath_var_FC=no
13395 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13396 # support. Future versions do this automatically, but an explicit c++rt0.o
13397 # does not break anything, and helps significantly (at the cost of a little
13400 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13401 hardcode_libdir_flag_spec_FC='-R$libdir'
13402 hardcode_direct_FC=yes
13403 hardcode_shlibpath_var_FC=no
13406 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13408 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13409 hardcode_direct_FC=yes
13410 hardcode_minus_L_FC=yes
13411 hardcode_shlibpath_var_FC=no
13414 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13415 freebsd* | dragonfly*)
13416 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13417 hardcode_libdir_flag_spec_FC='-R$libdir'
13418 hardcode_direct_FC=yes
13419 hardcode_shlibpath_var_FC=no
13423 if test "$GCC" = yes; then
13424 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'
13426 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'
13428 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13429 hardcode_libdir_separator_FC=:
13430 hardcode_direct_FC=yes
13432 # hardcode_minus_L: Not really in the search PATH,
13433 # but as the default location of the library.
13434 hardcode_minus_L_FC=yes
13435 export_dynamic_flag_spec_FC='${wl}-E'
13439 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13440 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13442 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13444 if test "$with_gnu_ld" = no; then
13445 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13446 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13447 hardcode_libdir_separator_FC=:
13448 hardcode_direct_FC=yes
13449 hardcode_direct_absolute_FC=yes
13450 export_dynamic_flag_spec_FC='${wl}-E'
13451 # hardcode_minus_L: Not really in the search PATH,
13452 # but as the default location of the library.
13453 hardcode_minus_L_FC=yes
13458 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13461 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13464 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13467 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13473 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13476 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13479 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13483 if test "$with_gnu_ld" = no; then
13484 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13485 hardcode_libdir_separator_FC=:
13489 hardcode_direct_FC=no
13490 hardcode_shlibpath_var_FC=no
13493 hardcode_direct_FC=yes
13494 hardcode_direct_absolute_FC=yes
13495 export_dynamic_flag_spec_FC='${wl}-E'
13497 # hardcode_minus_L: Not really in the search PATH,
13498 # but as the default location of the library.
13499 hardcode_minus_L_FC=yes
13505 irix5* | irix6* | nonstopux*)
13506 if test "$GCC" = yes; then
13507 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'
13508 # Try to use the -exported_symbol ld option, if it does not
13509 # work, assume that -exports_file does not work either and
13510 # implicitly export all symbols.
13511 save_LDFLAGS="$LDFLAGS"
13512 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13513 if test x$gcc_no_link = xyes; then
13514 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13516 cat > conftest.$ac_ext <<_ACEOF
13519 if ac_fn_fc_try_link "$LINENO"; then :
13520 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'
13523 rm -f core conftest.err conftest.$ac_objext \
13524 conftest$ac_exeext conftest.$ac_ext
13525 LDFLAGS="$save_LDFLAGS"
13527 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'
13528 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'
13530 archive_cmds_need_lc_FC='no'
13531 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13532 hardcode_libdir_separator_FC=:
13533 inherit_rpath_FC=yes
13534 link_all_deplibs_FC=yes
13538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13539 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13541 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13543 hardcode_libdir_flag_spec_FC='-R$libdir'
13544 hardcode_direct_FC=yes
13545 hardcode_shlibpath_var_FC=no
13549 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13550 hardcode_direct_FC=yes
13551 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13552 hardcode_libdir_separator_FC=:
13553 hardcode_shlibpath_var_FC=no
13560 if test -f /usr/libexec/ld.so; then
13561 hardcode_direct_FC=yes
13562 hardcode_shlibpath_var_FC=no
13563 hardcode_direct_absolute_FC=yes
13564 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13565 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13566 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13567 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13568 export_dynamic_flag_spec_FC='${wl}-E'
13571 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13572 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13573 hardcode_libdir_flag_spec_FC='-R$libdir'
13576 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13577 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13587 hardcode_libdir_flag_spec_FC='-L$libdir'
13588 hardcode_minus_L_FC=yes
13589 allow_undefined_flag_FC=unsupported
13590 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'
13591 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13595 if test "$GCC" = yes; then
13596 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13597 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'
13599 allow_undefined_flag_FC=' -expect_unresolved \*'
13600 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'
13602 archive_cmds_need_lc_FC='no'
13603 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13604 hardcode_libdir_separator_FC=:
13607 osf4* | osf5*) # as osf3* with the addition of -msym flag
13608 if test "$GCC" = yes; then
13609 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13610 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'
13611 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13613 allow_undefined_flag_FC=' -expect_unresolved \*'
13614 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'
13615 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~
13616 $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'
13618 # Both c and cxx compiler support -rpath directly
13619 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13621 archive_cmds_need_lc_FC='no'
13622 hardcode_libdir_separator_FC=:
13626 no_undefined_flag_FC=' -z defs'
13627 if test "$GCC" = yes; then
13629 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13630 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13631 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13633 case `$CC -V 2>&1` in
13636 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13637 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13638 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13642 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13643 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13644 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13648 hardcode_libdir_flag_spec_FC='-R$libdir'
13649 hardcode_shlibpath_var_FC=no
13651 solaris2.[0-5] | solaris2.[0-5].*) ;;
13653 # The compiler driver will combine and reorder linker options,
13654 # but understands `-z linker_flag'. GCC discards it without `$wl',
13655 # but is careful enough not to reorder.
13656 # Supported since Solaris 2.6 (maybe 2.5.1?)
13657 if test "$GCC" = yes; then
13658 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13660 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13664 link_all_deplibs_FC=yes
13668 if test "x$host_vendor" = xsequent; then
13669 # Use $CC to link under sequent, because it throws in some extra .o
13670 # files that make .init and .fini sections work.
13671 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13673 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13675 hardcode_libdir_flag_spec_FC='-L$libdir'
13676 hardcode_direct_FC=yes
13677 hardcode_minus_L_FC=yes
13678 hardcode_shlibpath_var_FC=no
13682 case $host_vendor in
13684 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13685 hardcode_direct_FC=yes # is this really true???
13688 ## LD is ld it makes a PLAMLIB
13689 ## CC just makes a GrossModule.
13690 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13691 reload_cmds_FC='$CC -r -o $output$reload_objs'
13692 hardcode_direct_FC=no
13695 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13696 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13699 runpath_var='LD_RUN_PATH'
13700 hardcode_shlibpath_var_FC=no
13704 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13705 hardcode_shlibpath_var_FC=no
13706 export_dynamic_flag_spec_FC='-Bexport'
13710 if test -d /usr/nec; then
13711 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13712 hardcode_shlibpath_var_FC=no
13713 runpath_var=LD_RUN_PATH
13714 hardcode_runpath_var=yes
13719 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13720 no_undefined_flag_FC='${wl}-z,text'
13721 archive_cmds_need_lc_FC=no
13722 hardcode_shlibpath_var_FC=no
13723 runpath_var='LD_RUN_PATH'
13725 if test "$GCC" = yes; then
13726 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13727 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13729 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13730 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13734 sysv5* | sco3.2v5* | sco5v6*)
13735 # Note: We can NOT use -z defs as we might desire, because we do not
13736 # link with -lc, and that would cause any symbols used from libc to
13737 # always be unresolved, which means just about no library would
13738 # ever link correctly. If we're not using GNU ld we use -z text
13739 # though, which does catch some bad symbols but isn't as heavy-handed
13741 no_undefined_flag_FC='${wl}-z,text'
13742 allow_undefined_flag_FC='${wl}-z,nodefs'
13743 archive_cmds_need_lc_FC=no
13744 hardcode_shlibpath_var_FC=no
13745 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13746 hardcode_libdir_separator_FC=':'
13747 link_all_deplibs_FC=yes
13748 export_dynamic_flag_spec_FC='${wl}-Bexport'
13749 runpath_var='LD_RUN_PATH'
13751 if test "$GCC" = yes; then
13752 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13753 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13755 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13756 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13761 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13762 hardcode_libdir_flag_spec_FC='-L$libdir'
13763 hardcode_shlibpath_var_FC=no
13771 if test x$host_vendor = xsni; then
13773 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13774 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13781 $as_echo "$ld_shlibs_FC" >&6; }
13782 test "$ld_shlibs_FC" = no && can_build_shared=no
13784 with_gnu_ld_FC=$with_gnu_ld
13792 # Do we need to explicitly link libc?
13794 case "x$archive_cmds_need_lc_FC" in
13796 # Assume -lc should be added
13797 archive_cmds_need_lc_FC=yes
13799 if test "$enable_shared" = yes && test "$GCC" = yes; then
13800 case $archive_cmds_FC in
13802 # FIXME: we may have to deal with multi-command sequences.
13805 # Test whether the compiler implicitly links with -lc since on some
13806 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13807 # to ld, don't add -lc before -lgcc.
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13809 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13810 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13811 $as_echo_n "(cached) " >&6
13814 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13817 (eval $ac_compile) 2>&5
13819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13820 test $ac_status = 0; } 2>conftest.err; then
13823 libobjs=conftest.$ac_objext
13825 wl=$lt_prog_compiler_wl_FC
13826 pic_flag=$lt_prog_compiler_pic_FC
13832 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13833 allow_undefined_flag_FC=
13834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13835 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13838 test $ac_status = 0; }
13840 lt_cv_archive_cmds_need_lc_FC=no
13842 lt_cv_archive_cmds_need_lc_FC=yes
13844 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13846 cat conftest.err 1>&5
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13852 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13853 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13924 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13926 library_names_spec=
13927 libname_spec='lib$name'
13931 postuninstall_cmds=
13935 shlibpath_overrides_runpath=unknown
13937 dynamic_linker="$host_os ld.so"
13938 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13939 need_lib_prefix=unknown
13940 hardcode_into_libs=no
13942 # when you set need_version to no, make sure it does not cause -set_version
13943 # flags to be left without arguments
13944 need_version=unknown
13949 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13950 shlibpath_var=LIBPATH
13952 # AIX 3 has no versioning support, so we append a major version to the name.
13953 soname_spec='${libname}${release}${shared_ext}$major'
13960 hardcode_into_libs=yes
13961 if test "$host_cpu" = ia64; then
13962 # AIX 5 supports IA64
13963 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13964 shlibpath_var=LD_LIBRARY_PATH
13966 # With GCC up to 2.95.x, collect2 would create an import file
13967 # for dependence libraries. The import file would start with
13968 # the line `#! .'. This would cause the generated library to
13969 # depend on `.', always an invalid library. This was fixed in
13970 # development snapshots of GCC prior to 3.0.
13972 aix4 | aix4.[01] | aix4.[01].*)
13973 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13975 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13978 can_build_shared=no
13982 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13983 # soname into executable. Probably we can add versioning support to
13984 # collect2, so additional links can be useful in future.
13985 if test "$aix_use_runtimelinking" = yes; then
13986 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13987 # instead of lib<name>.a to let people know that these are not
13988 # typical AIX shared libraries.
13989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13991 # We preserve .a as extension for shared libraries through AIX4.2
13992 # and later when we are not doing run time linking.
13993 library_names_spec='${libname}${release}.a $libname.a'
13994 soname_spec='${libname}${release}${shared_ext}$major'
13996 shlibpath_var=LIBPATH
14003 # Since July 2007 AmigaOS4 officially supports .so libraries.
14004 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14008 library_names_spec='$libname.ixlibrary $libname.a'
14009 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14010 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'
14016 library_names_spec='${libname}${shared_ext}'
14017 dynamic_linker="$host_os ld.so"
14018 shlibpath_var=LIBRARY_PATH
14024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14025 soname_spec='${libname}${release}${shared_ext}$major'
14026 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14027 shlibpath_var=LD_LIBRARY_PATH
14028 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14029 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14030 # the default ld.so.conf also contains /usr/contrib/lib and
14031 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14032 # libtool to hard-code these into programs
14035 cygwin* | mingw* | pw32* | cegcc*)
14036 version_type=windows
14041 case $GCC,$host_os in
14042 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14043 library_names_spec='$libname.dll.a'
14044 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14045 postinstall_cmds='base_file=`basename \${file}`~
14046 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14047 dldir=$destdir/`dirname \$dlpath`~
14048 test -d \$dldir || mkdir -p \$dldir~
14049 $install_prog $dir/$dlname \$dldir/$dlname~
14050 chmod a+x \$dldir/$dlname~
14051 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14052 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14054 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14055 dlpath=$dir/\$dldll~
14057 shlibpath_overrides_runpath=yes
14061 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14062 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14066 # MinGW DLLs use traditional 'lib' prefix
14067 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14070 # pw32 DLLs use 'pw' prefix rather than 'lib'
14071 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14077 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14080 dynamic_linker='Win32 ld.exe'
14081 # FIXME: first we should search . and the directory the executable is in
14085 darwin* | rhapsody*)
14086 dynamic_linker="$host_os dyld"
14087 version_type=darwin
14090 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14091 soname_spec='${libname}${release}${major}$shared_ext'
14092 shlibpath_overrides_runpath=yes
14093 shlibpath_var=DYLD_LIBRARY_PATH
14094 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14096 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14104 soname_spec='${libname}${release}${shared_ext}$major'
14105 shlibpath_var=LD_LIBRARY_PATH
14112 freebsd* | dragonfly*)
14113 # DragonFly does not have aout. When/if they implement a new
14114 # versioning mechanism, adjust this.
14115 if test -x /usr/bin/objformat; then
14116 objformat=`/usr/bin/objformat`
14119 freebsd[123]*) objformat=aout ;;
14120 *) objformat=elf ;;
14123 version_type=freebsd-$objformat
14124 case $version_type in
14126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14131 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14135 shlibpath_var=LD_LIBRARY_PATH
14138 shlibpath_overrides_runpath=yes
14140 freebsd3.[01]* | freebsdelf3.[01]*)
14141 shlibpath_overrides_runpath=yes
14142 hardcode_into_libs=yes
14144 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14145 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14146 shlibpath_overrides_runpath=no
14147 hardcode_into_libs=yes
14149 *) # from 4.6 on, and DragonFly
14150 shlibpath_overrides_runpath=yes
14151 hardcode_into_libs=yes
14160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14161 soname_spec='${libname}${release}${shared_ext}$major'
14162 shlibpath_var=LD_LIBRARY_PATH
14163 hardcode_into_libs=yes
14170 dynamic_linker="$host_os runtime_loader"
14171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14172 soname_spec='${libname}${release}${shared_ext}$major'
14173 shlibpath_var=LIBRARY_PATH
14174 shlibpath_overrides_runpath=yes
14175 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14176 hardcode_into_libs=yes
14179 hpux9* | hpux10* | hpux11*)
14180 # Give a soname corresponding to the major version so that dld.sl refuses to
14181 # link against other versions.
14188 hardcode_into_libs=yes
14189 dynamic_linker="$host_os dld.so"
14190 shlibpath_var=LD_LIBRARY_PATH
14191 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14193 soname_spec='${libname}${release}${shared_ext}$major'
14194 if test "X$HPUX_IA64_MODE" = X32; then
14195 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14197 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14199 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14203 hardcode_into_libs=yes
14204 dynamic_linker="$host_os dld.sl"
14205 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14206 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14208 soname_spec='${libname}${release}${shared_ext}$major'
14209 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14210 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14214 dynamic_linker="$host_os dld.sl"
14215 shlibpath_var=SHLIB_PATH
14216 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218 soname_spec='${libname}${release}${shared_ext}$major'
14221 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14222 postinstall_cmds='chmod 555 $lib'
14223 # or fails outright, so override atomically:
14224 install_override_mode=555
14231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14232 soname_spec='${libname}${release}${shared_ext}$major'
14233 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14234 shlibpath_var=LD_LIBRARY_PATH
14235 shlibpath_overrides_runpath=no
14236 hardcode_into_libs=yes
14239 irix5* | irix6* | nonstopux*)
14241 nonstopux*) version_type=nonstopux ;;
14243 if test "$lt_cv_prog_gnu_ld" = yes; then
14251 soname_spec='${libname}${release}${shared_ext}$major'
14252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14254 irix5* | nonstopux*)
14255 libsuff= shlibsuff=
14258 case $LD in # libtool.m4 will add one of these switches to LD
14259 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14260 libsuff= shlibsuff= libmagic=32-bit;;
14261 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14262 libsuff=32 shlibsuff=N32 libmagic=N32;;
14263 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14264 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14265 *) libsuff= shlibsuff= libmagic=never-match;;
14269 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14270 shlibpath_overrides_runpath=no
14271 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14272 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14273 hardcode_into_libs=yes
14276 # No shared lib support for Linux oldld, aout, or coff.
14277 linux*oldld* | linux*aout* | linux*coff*)
14281 # This must be Linux ELF.
14282 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14287 soname_spec='${libname}${release}${shared_ext}$major'
14288 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14289 shlibpath_var=LD_LIBRARY_PATH
14290 shlibpath_overrides_runpath=no
14292 # Some binutils ld are patched to set DT_RUNPATH
14293 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14294 $as_echo_n "(cached) " >&6
14296 lt_cv_shlibpath_overrides_runpath=no
14297 save_LDFLAGS=$LDFLAGS
14298 save_libdir=$libdir
14299 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14300 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14301 if test x$gcc_no_link = xyes; then
14302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14304 cat > conftest.$ac_ext <<_ACEOF
14309 if ac_fn_fc_try_link "$LINENO"; then :
14310 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14311 lt_cv_shlibpath_overrides_runpath=yes
14314 rm -f core conftest.err conftest.$ac_objext \
14315 conftest$ac_exeext conftest.$ac_ext
14316 LDFLAGS=$save_LDFLAGS
14317 libdir=$save_libdir
14321 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14323 # This implies no fast_install, which is unacceptable.
14324 # Some rework will be needed to allow for fast_install
14325 # before this can be enabled.
14326 hardcode_into_libs=yes
14328 # Append ld.so.conf contents to the search path
14329 if test -f /etc/ld.so.conf; then
14330 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' ' '`
14331 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14334 # We used to test for /lib/ld.so.1 and disable shared libraries on
14335 # powerpc, because MkLinux only supported shared libraries with the
14336 # GNU dynamic linker. Since this was broken with cross compilers,
14337 # most powerpc-linux boxes support dynamic linking these days and
14338 # people can always --disable-shared, the test was removed, and we
14339 # assume the GNU/Linux dynamic linker is in use.
14340 dynamic_linker='GNU/Linux ld.so'
14347 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14349 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14350 dynamic_linker='NetBSD (a.out) ld.so'
14352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14353 soname_spec='${libname}${release}${shared_ext}$major'
14354 dynamic_linker='NetBSD ld.elf_so'
14356 shlibpath_var=LD_LIBRARY_PATH
14357 shlibpath_overrides_runpath=yes
14358 hardcode_into_libs=yes
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14364 shlibpath_var=LD_LIBRARY_PATH
14365 shlibpath_overrides_runpath=yes
14372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14373 soname_spec='${libname}${release}${shared_ext}$major'
14374 shlibpath_var=LD_LIBRARY_PATH
14375 shlibpath_overrides_runpath=no
14376 hardcode_into_libs=yes
14377 dynamic_linker='ldqnx.so'
14382 sys_lib_dlsearch_path_spec="/usr/lib"
14384 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14386 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14387 *) need_version=no ;;
14389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14390 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14391 shlibpath_var=LD_LIBRARY_PATH
14392 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14394 openbsd2.[89] | openbsd2.[89].*)
14395 shlibpath_overrides_runpath=no
14398 shlibpath_overrides_runpath=yes
14402 shlibpath_overrides_runpath=yes
14407 libname_spec='$name'
14410 library_names_spec='$libname${shared_ext} $libname.a'
14411 dynamic_linker='OS/2 ld.exe'
14412 shlibpath_var=LIBPATH
14415 osf3* | osf4* | osf5*)
14419 soname_spec='${libname}${release}${shared_ext}$major'
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14421 shlibpath_var=LD_LIBRARY_PATH
14422 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14423 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14435 soname_spec='${libname}${release}${shared_ext}$major'
14436 shlibpath_var=LD_LIBRARY_PATH
14437 shlibpath_overrides_runpath=yes
14438 hardcode_into_libs=yes
14439 # ldd complains unless libraries are executable
14440 postinstall_cmds='chmod +x $lib'
14445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14446 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14447 shlibpath_var=LD_LIBRARY_PATH
14448 shlibpath_overrides_runpath=yes
14449 if test "$with_gnu_ld" = yes; then
14457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14458 soname_spec='${libname}${release}${shared_ext}$major'
14459 shlibpath_var=LD_LIBRARY_PATH
14460 case $host_vendor in
14462 shlibpath_overrides_runpath=no
14464 runpath_var=LD_RUN_PATH
14472 shlibpath_overrides_runpath=no
14473 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14479 if test -d /usr/nec ;then
14481 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14482 soname_spec='$libname${shared_ext}.$major'
14483 shlibpath_var=LD_LIBRARY_PATH
14487 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14488 version_type=freebsd-elf
14491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14492 soname_spec='${libname}${release}${shared_ext}$major'
14493 shlibpath_var=LD_LIBRARY_PATH
14494 shlibpath_overrides_runpath=yes
14495 hardcode_into_libs=yes
14496 if test "$with_gnu_ld" = yes; then
14497 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14499 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14502 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14506 sys_lib_dlsearch_path_spec='/usr/lib'
14510 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14515 shlibpath_var=LD_LIBRARY_PATH
14516 shlibpath_overrides_runpath=no
14517 hardcode_into_libs=yes
14522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14523 soname_spec='${libname}${release}${shared_ext}$major'
14524 shlibpath_var=LD_LIBRARY_PATH
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14532 $as_echo "$dynamic_linker" >&6; }
14533 test "$dynamic_linker" = no && can_build_shared=no
14535 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14536 if test "$GCC" = yes; then
14537 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14540 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14541 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14543 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14544 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14585 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14586 hardcode_action_FC=
14587 if test -n "$hardcode_libdir_flag_spec_FC" ||
14588 test -n "$runpath_var_FC" ||
14589 test "X$hardcode_automatic_FC" = "Xyes" ; then
14591 # We can hardcode non-existent directories.
14592 if test "$hardcode_direct_FC" != no &&
14593 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14594 # have to relink, otherwise we might link with an installed library
14595 # when we should be linking with a yet-to-be-installed one
14596 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14597 test "$hardcode_minus_L_FC" != no; then
14598 # Linking always hardcodes the temporary library directory.
14599 hardcode_action_FC=relink
14601 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14602 hardcode_action_FC=immediate
14605 # We cannot hardcode anything, or else we can only hardcode existing
14607 hardcode_action_FC=unsupported
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14610 $as_echo "$hardcode_action_FC" >&6; }
14612 if test "$hardcode_action_FC" = relink ||
14613 test "$inherit_rpath_FC" = yes; then
14614 # Fast installation is not supported
14615 enable_fast_install=no
14616 elif test "$shlibpath_overrides_runpath" = yes ||
14617 test "$enable_shared" = no; then
14618 # Fast installation is not necessary
14619 enable_fast_install=needless
14628 fi # test -n "$compiler"
14632 fi # test "$_lt_disable_FC" != yes
14635 ac_cpp='$CPP $CPPFLAGS'
14636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14642 # extra LD Flags which are required for targets
14645 # Darwin needs -single_module when linking libgfortran
14646 extra_ldflags_libgfortran=-Wl,-single_module
14651 # We need a working compiler at that point, otherwise give a clear
14652 # error message and bail out.
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14655 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14656 ac_ext=${ac_fc_srcext-f}
14657 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14658 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14659 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14661 cat > conftest.$ac_ext <<_ACEOF
14664 real, parameter :: bar = sin (12.34 / 2.5)
14667 if ac_fn_fc_try_compile "$LINENO"; then :
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14669 $as_echo "yes" >&6; }
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14672 $as_echo "no" >&6; }
14673 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14678 ac_cpp='$CPP $CPPFLAGS'
14679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14685 # Check whether --enable-largefile was given.
14686 if test "${enable_largefile+set}" = set; then :
14687 enableval=$enable_largefile;
14690 if test "$enable_largefile" != no; then
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14693 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14694 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14695 $as_echo_n "(cached) " >&6
14697 ac_cv_sys_largefile_CC=no
14698 if test "$GCC" != yes; then
14701 # IRIX 6.2 and later do not support large files by default,
14702 # so use the C compiler's -n32 option if that helps.
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14705 #include <sys/types.h>
14706 /* Check that off_t can represent 2**63 - 1 correctly.
14707 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14708 since some C++ compilers masquerading as C compilers
14709 incorrectly reject 9223372036854775807. */
14710 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14711 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14712 && LARGE_OFF_T % 2147483647 == 1)
14722 if ac_fn_c_try_compile "$LINENO"; then :
14725 rm -f core conftest.err conftest.$ac_objext
14727 if ac_fn_c_try_compile "$LINENO"; then :
14728 ac_cv_sys_largefile_CC=' -n32'; break
14730 rm -f core conftest.err conftest.$ac_objext
14734 rm -f conftest.$ac_ext
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14738 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14739 if test "$ac_cv_sys_largefile_CC" != no; then
14740 CC=$CC$ac_cv_sys_largefile_CC
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14744 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14745 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14746 $as_echo_n "(cached) " >&6
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14751 #include <sys/types.h>
14752 /* Check that off_t can represent 2**63 - 1 correctly.
14753 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14754 since some C++ compilers masquerading as C compilers
14755 incorrectly reject 9223372036854775807. */
14756 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14757 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14758 && LARGE_OFF_T % 2147483647 == 1)
14768 if ac_fn_c_try_compile "$LINENO"; then :
14769 ac_cv_sys_file_offset_bits=no; break
14771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14774 #define _FILE_OFFSET_BITS 64
14775 #include <sys/types.h>
14776 /* Check that off_t can represent 2**63 - 1 correctly.
14777 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14778 since some C++ compilers masquerading as C compilers
14779 incorrectly reject 9223372036854775807. */
14780 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14781 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14782 && LARGE_OFF_T % 2147483647 == 1)
14792 if ac_fn_c_try_compile "$LINENO"; then :
14793 ac_cv_sys_file_offset_bits=64; break
14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796 ac_cv_sys_file_offset_bits=unknown
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14801 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14802 case $ac_cv_sys_file_offset_bits in #(
14805 cat >>confdefs.h <<_ACEOF
14806 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14811 if test $ac_cv_sys_file_offset_bits = unknown; then
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14813 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14814 if test "${ac_cv_sys_large_files+set}" = set; then :
14815 $as_echo_n "(cached) " >&6
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14820 #include <sys/types.h>
14821 /* Check that off_t can represent 2**63 - 1 correctly.
14822 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14823 since some C++ compilers masquerading as C compilers
14824 incorrectly reject 9223372036854775807. */
14825 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14826 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14827 && LARGE_OFF_T % 2147483647 == 1)
14837 if ac_fn_c_try_compile "$LINENO"; then :
14838 ac_cv_sys_large_files=no; break
14840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14843 #define _LARGE_FILES 1
14844 #include <sys/types.h>
14845 /* Check that off_t can represent 2**63 - 1 correctly.
14846 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14847 since some C++ compilers masquerading as C compilers
14848 incorrectly reject 9223372036854775807. */
14849 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14850 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14851 && LARGE_OFF_T % 2147483647 == 1)
14861 if ac_fn_c_try_compile "$LINENO"; then :
14862 ac_cv_sys_large_files=1; break
14864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14865 ac_cv_sys_large_files=unknown
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14870 $as_echo "$ac_cv_sys_large_files" >&6; }
14871 case $ac_cv_sys_large_files in #(
14874 cat >>confdefs.h <<_ACEOF
14875 #define _LARGE_FILES $ac_cv_sys_large_files
14883 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14884 if test "x$ac_cv_type_off_t" = x""yes; then :
14888 cat >>confdefs.h <<_ACEOF
14889 #define off_t long int
14895 # check header files
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14897 $as_echo_n "checking for ANSI C header files... " >&6; }
14898 if test "${ac_cv_header_stdc+set}" = set; then :
14899 $as_echo_n "(cached) " >&6
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14903 #include <stdlib.h>
14904 #include <stdarg.h>
14905 #include <string.h>
14916 if ac_fn_c_try_compile "$LINENO"; then :
14917 ac_cv_header_stdc=yes
14919 ac_cv_header_stdc=no
14921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14923 if test $ac_cv_header_stdc = yes; then
14924 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14927 #include <string.h>
14930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14931 $EGREP "memchr" >/dev/null 2>&1; then :
14934 ac_cv_header_stdc=no
14940 if test $ac_cv_header_stdc = yes; then
14941 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h. */
14944 #include <stdlib.h>
14947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14948 $EGREP "free" >/dev/null 2>&1; then :
14951 ac_cv_header_stdc=no
14957 if test $ac_cv_header_stdc = yes; then
14958 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14959 if test "$cross_compiling" = yes; then :
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14965 #include <stdlib.h>
14966 #if ((' ' & 0x0FF) == 0x020)
14967 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14968 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14970 # define ISLOWER(c) \
14971 (('a' <= (c) && (c) <= 'i') \
14972 || ('j' <= (c) && (c) <= 'r') \
14973 || ('s' <= (c) && (c) <= 'z'))
14974 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14977 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14982 for (i = 0; i < 256; i++)
14983 if (XOR (islower (i), ISLOWER (i))
14984 || toupper (i) != TOUPPER (i))
14989 if ac_fn_c_try_run "$LINENO"; then :
14992 ac_cv_header_stdc=no
14994 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14995 conftest.$ac_objext conftest.beam conftest.$ac_ext
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15001 $as_echo "$ac_cv_header_stdc" >&6; }
15002 if test $ac_cv_header_stdc = yes; then
15004 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15009 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15010 if test "${ac_cv_header_time+set}" = set; then :
15011 $as_echo_n "(cached) " >&6
15013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h. */
15015 #include <sys/types.h>
15016 #include <sys/time.h>
15022 if ((struct tm *) 0)
15028 if ac_fn_c_try_compile "$LINENO"; then :
15029 ac_cv_header_time=yes
15031 ac_cv_header_time=no
15033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15036 $as_echo "$ac_cv_header_time" >&6; }
15037 if test $ac_cv_header_time = yes; then
15039 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15043 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15045 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15046 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15047 eval as_val=\$$as_ac_Header
15048 if test "x$as_val" = x""yes; then :
15049 cat >>confdefs.h <<_ACEOF
15050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15057 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15059 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15060 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15061 eval as_val=\$$as_ac_Header
15062 if test "x$as_val" = x""yes; then :
15063 cat >>confdefs.h <<_ACEOF
15064 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15071 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15073 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15074 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15075 eval as_val=\$$as_ac_Header
15076 if test "x$as_val" = x""yes; then :
15077 cat >>confdefs.h <<_ACEOF
15078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15085 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15087 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15088 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15089 eval as_val=\$$as_ac_Header
15090 if test "x$as_val" = x""yes; then :
15091 cat >>confdefs.h <<_ACEOF
15092 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15099 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15100 if test "x$ac_cv_header_complex_h" = x""yes; then :
15102 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15109 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15111 acx_cv_header_stdint=stddef.h
15112 acx_cv_header_stdint_kind="(already complete)"
15113 for i in stdint.h $inttype_headers; do
15114 unset ac_cv_type_uintptr_t
15115 unset ac_cv_type_uintmax_t
15116 unset ac_cv_type_int_least32_t
15117 unset ac_cv_type_int_fast32_t
15118 unset ac_cv_type_uint64_t
15119 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15120 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15123 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15124 acx_cv_header_stdint=$i
15129 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15132 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15135 acx_cv_header_stdint_kind="(mostly complete)"
15138 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15141 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15144 acx_cv_header_stdint_kind="(mostly complete)"
15147 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15150 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15153 acx_cv_header_stdint_kind="(mostly complete)"
15156 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15159 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15162 acx_cv_header_stdint_kind="(lacks uint64_t)"
15167 if test "$acx_cv_header_stdint" = stddef.h; then
15168 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15169 for i in stdint.h $inttype_headers; do
15170 unset ac_cv_type_uintptr_t
15171 unset ac_cv_type_uint32_t
15172 unset ac_cv_type_uint64_t
15173 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15174 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15177 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15178 acx_cv_header_stdint=$i
15183 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15186 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15190 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15193 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15200 if test "$acx_cv_header_stdint" = stddef.h; then
15201 acx_cv_header_stdint_kind="(u_intXX_t style)"
15202 for i in sys/types.h $inttype_headers; do
15203 unset ac_cv_type_u_int32_t
15204 unset ac_cv_type_u_int64_t
15205 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15206 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15209 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15210 acx_cv_header_stdint=$i
15215 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15218 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15225 if test "$acx_cv_header_stdint" = stddef.h; then
15226 acx_cv_header_stdint_kind="(using manual detection)"
15229 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15230 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15231 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15232 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15233 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15235 # ----------------- Summarize what we found so far
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15238 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15240 case `$as_basename -- gstdint.h ||
15241 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15242 Xgstdint.h : 'X\(//\)$' \| \
15243 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15244 $as_echo X/gstdint.h |
15245 sed '/^.*\/\([^/][^/]*\)\/*$/{
15258 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15259 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15260 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15261 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15266 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15268 # ----------------- done included file, check C basic types --------
15270 # Lacking an uintptr_t? Test size of void *
15271 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15272 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
15273 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15274 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15275 # This bug is HP SR number 8606223364.
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15277 $as_echo_n "checking size of void *... " >&6; }
15278 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15279 $as_echo_n "(cached) " >&6
15281 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15284 if test "$ac_cv_type_void_p" = yes; then
15285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15287 { as_fn_set_status 77
15288 as_fn_error "cannot compute sizeof (void *)
15289 See \`config.log' for more details." "$LINENO" 5; }; }
15291 ac_cv_sizeof_void_p=0
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15297 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15301 cat >>confdefs.h <<_ACEOF
15302 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15308 # Lacking an uint64_t? Test size of long
15309 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15310 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
15311 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15312 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15313 # This bug is HP SR number 8606223364.
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15315 $as_echo_n "checking size of long... " >&6; }
15316 if test "${ac_cv_sizeof_long+set}" = set; then :
15317 $as_echo_n "(cached) " >&6
15319 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15322 if test "$ac_cv_type_long" = yes; then
15323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15325 { as_fn_set_status 77
15326 as_fn_error "cannot compute sizeof (long)
15327 See \`config.log' for more details." "$LINENO" 5; }; }
15329 ac_cv_sizeof_long=0
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15335 $as_echo "$ac_cv_sizeof_long" >&6; }
15339 cat >>confdefs.h <<_ACEOF
15340 #define SIZEOF_LONG $ac_cv_sizeof_long
15346 if test $acx_cv_header_stdint = stddef.h; then
15347 # Lacking a good header? Test size of everything and deduce all types.
15348 # The cast to long int works around a bug in the HP C Compiler
15349 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15350 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15351 # This bug is HP SR number 8606223364.
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15353 $as_echo_n "checking size of int... " >&6; }
15354 if test "${ac_cv_sizeof_int+set}" = set; then :
15355 $as_echo_n "(cached) " >&6
15357 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15360 if test "$ac_cv_type_int" = yes; then
15361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15363 { as_fn_set_status 77
15364 as_fn_error "cannot compute sizeof (int)
15365 See \`config.log' for more details." "$LINENO" 5; }; }
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15373 $as_echo "$ac_cv_sizeof_int" >&6; }
15377 cat >>confdefs.h <<_ACEOF
15378 #define SIZEOF_INT $ac_cv_sizeof_int
15382 # The cast to long int works around a bug in the HP C Compiler
15383 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15384 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15385 # This bug is HP SR number 8606223364.
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15387 $as_echo_n "checking size of short... " >&6; }
15388 if test "${ac_cv_sizeof_short+set}" = set; then :
15389 $as_echo_n "(cached) " >&6
15391 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15394 if test "$ac_cv_type_short" = yes; then
15395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15397 { as_fn_set_status 77
15398 as_fn_error "cannot compute sizeof (short)
15399 See \`config.log' for more details." "$LINENO" 5; }; }
15401 ac_cv_sizeof_short=0
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15407 $as_echo "$ac_cv_sizeof_short" >&6; }
15411 cat >>confdefs.h <<_ACEOF
15412 #define SIZEOF_SHORT $ac_cv_sizeof_short
15416 # The cast to long int works around a bug in the HP C Compiler
15417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15419 # This bug is HP SR number 8606223364.
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15421 $as_echo_n "checking size of char... " >&6; }
15422 if test "${ac_cv_sizeof_char+set}" = set; then :
15423 $as_echo_n "(cached) " >&6
15425 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15428 if test "$ac_cv_type_char" = yes; then
15429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15431 { as_fn_set_status 77
15432 as_fn_error "cannot compute sizeof (char)
15433 See \`config.log' for more details." "$LINENO" 5; }; }
15435 ac_cv_sizeof_char=0
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15441 $as_echo "$ac_cv_sizeof_char" >&6; }
15445 cat >>confdefs.h <<_ACEOF
15446 #define SIZEOF_CHAR $ac_cv_sizeof_char
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15452 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15453 case "$ac_cv_sizeof_char" in
15454 1) acx_cv_type_int8_t=char ;;
15455 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15458 $as_echo "$acx_cv_type_int8_t" >&6; }
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15461 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15462 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15463 2:*) acx_cv_type_int16_t=int ;;
15464 *:2) acx_cv_type_int16_t=short ;;
15465 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15468 $as_echo "$acx_cv_type_int16_t" >&6; }
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15471 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15472 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15473 4:*) acx_cv_type_int32_t=int ;;
15474 *:4) acx_cv_type_int32_t=long ;;
15475 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15478 $as_echo "$acx_cv_type_int32_t" >&6; }
15481 # These tests are here to make the output prettier
15483 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15484 case "$ac_cv_sizeof_long" in
15485 8) acx_cv_type_int64_t=long ;;
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15488 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15490 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15493 # Now we can use the above types
15495 if test "$ac_cv_type_uintptr_t" != yes; then
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15497 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15498 case $ac_cv_sizeof_void_p in
15499 2) acx_cv_type_intptr_t=int16_t ;;
15500 4) acx_cv_type_intptr_t=int32_t ;;
15501 8) acx_cv_type_intptr_t=int64_t ;;
15502 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15505 $as_echo "$acx_cv_type_intptr_t" >&6; }
15508 # ----------------- done all checks, emit header -------------
15509 ac_config_commands="$ac_config_commands gstdint.h"
15514 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15515 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
15517 cat >>confdefs.h <<_ACEOF
15518 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15524 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15525 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
15527 cat >>confdefs.h <<_ACEOF
15528 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15534 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15535 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
15537 cat >>confdefs.h <<_ACEOF
15538 #define HAVE_STRUCT_STAT_ST_RDEV 1
15545 # Check for library functions.
15546 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
15548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15550 eval as_val=\$$as_ac_var
15551 if test "x$as_val" = x""yes; then :
15552 cat >>confdefs.h <<_ACEOF
15553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15559 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
15561 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15562 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15563 eval as_val=\$$as_ac_var
15564 if test "x$as_val" = x""yes; then :
15565 cat >>confdefs.h <<_ACEOF
15566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15572 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
15574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15576 eval as_val=\$$as_ac_var
15577 if test "x$as_val" = x""yes; then :
15578 cat >>confdefs.h <<_ACEOF
15579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15585 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15589 eval as_val=\$$as_ac_var
15590 if test "x$as_val" = x""yes; then :
15591 cat >>confdefs.h <<_ACEOF
15592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15598 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15602 eval as_val=\$$as_ac_var
15603 if test "x$as_val" = x""yes; then :
15604 cat >>confdefs.h <<_ACEOF
15605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15611 for ac_func in localtime_r gmtime_r
15613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15615 eval as_val=\$$as_ac_var
15616 if test "x$as_val" = x""yes; then :
15617 cat >>confdefs.h <<_ACEOF
15618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15625 # Check for glibc backtrace functions
15626 for ac_func in backtrace backtrace_symbols
15628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15630 eval as_val=\$$as_ac_var
15631 if test "x$as_val" = x""yes; then :
15632 cat >>confdefs.h <<_ACEOF
15633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15641 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15642 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15644 cat >>confdefs.h <<_ACEOF
15645 #define HAVE_INTPTR_T 1
15651 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15652 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15654 cat >>confdefs.h <<_ACEOF
15655 #define HAVE_UINTPTR_T 1
15662 # Check libc for getgid, getpid, getuid
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15664 $as_echo_n "checking for getgid in -lc... " >&6; }
15665 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15666 $as_echo_n "(cached) " >&6
15668 ac_check_lib_save_LIBS=$LIBS
15670 if test x$gcc_no_link = xyes; then
15671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15676 /* Override any GCC internal prototype to avoid an error.
15677 Use char because int might match the return type of a GCC
15678 builtin and then its argument prototype would still apply. */
15691 if ac_fn_c_try_link "$LINENO"; then :
15692 ac_cv_lib_c_getgid=yes
15694 ac_cv_lib_c_getgid=no
15696 rm -f core conftest.err conftest.$ac_objext \
15697 conftest$ac_exeext conftest.$ac_ext
15698 LIBS=$ac_check_lib_save_LIBS
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15701 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15702 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
15704 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15709 $as_echo_n "checking for getpid in -lc... " >&6; }
15710 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15711 $as_echo_n "(cached) " >&6
15713 ac_check_lib_save_LIBS=$LIBS
15715 if test x$gcc_no_link = xyes; then
15716 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h. */
15721 /* Override any GCC internal prototype to avoid an error.
15722 Use char because int might match the return type of a GCC
15723 builtin and then its argument prototype would still apply. */
15736 if ac_fn_c_try_link "$LINENO"; then :
15737 ac_cv_lib_c_getpid=yes
15739 ac_cv_lib_c_getpid=no
15741 rm -f core conftest.err conftest.$ac_objext \
15742 conftest$ac_exeext conftest.$ac_ext
15743 LIBS=$ac_check_lib_save_LIBS
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15746 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15747 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
15749 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15754 $as_echo_n "checking for getppid in -lc... " >&6; }
15755 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15756 $as_echo_n "(cached) " >&6
15758 ac_check_lib_save_LIBS=$LIBS
15760 if test x$gcc_no_link = xyes; then
15761 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15766 /* Override any GCC internal prototype to avoid an error.
15767 Use char because int might match the return type of a GCC
15768 builtin and then its argument prototype would still apply. */
15781 if ac_fn_c_try_link "$LINENO"; then :
15782 ac_cv_lib_c_getppid=yes
15784 ac_cv_lib_c_getppid=no
15786 rm -f core conftest.err conftest.$ac_objext \
15787 conftest$ac_exeext conftest.$ac_ext
15788 LIBS=$ac_check_lib_save_LIBS
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15791 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15792 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
15794 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15799 $as_echo_n "checking for getuid in -lc... " >&6; }
15800 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15801 $as_echo_n "(cached) " >&6
15803 ac_check_lib_save_LIBS=$LIBS
15805 if test x$gcc_no_link = xyes; then
15806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15811 /* Override any GCC internal prototype to avoid an error.
15812 Use char because int might match the return type of a GCC
15813 builtin and then its argument prototype would still apply. */
15826 if ac_fn_c_try_link "$LINENO"; then :
15827 ac_cv_lib_c_getuid=yes
15829 ac_cv_lib_c_getuid=no
15831 rm -f core conftest.err conftest.$ac_objext \
15832 conftest$ac_exeext conftest.$ac_ext
15833 LIBS=$ac_check_lib_save_LIBS
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15836 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15837 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
15839 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15844 $as_echo_n "checking for geteuid in -lc... " >&6; }
15845 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15846 $as_echo_n "(cached) " >&6
15848 ac_check_lib_save_LIBS=$LIBS
15850 if test x$gcc_no_link = xyes; then
15851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15854 /* end confdefs.h. */
15856 /* Override any GCC internal prototype to avoid an error.
15857 Use char because int might match the return type of a GCC
15858 builtin and then its argument prototype would still apply. */
15871 if ac_fn_c_try_link "$LINENO"; then :
15872 ac_cv_lib_c_geteuid=yes
15874 ac_cv_lib_c_geteuid=no
15876 rm -f core conftest.err conftest.$ac_objext \
15877 conftest$ac_exeext conftest.$ac_ext
15878 LIBS=$ac_check_lib_save_LIBS
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15881 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15882 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
15884 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15889 # Check for C99 (and other IEEE) math functions
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15891 $as_echo_n "checking for acosf in -lm... " >&6; }
15892 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15893 $as_echo_n "(cached) " >&6
15895 ac_check_lib_save_LIBS=$LIBS
15897 if test x$gcc_no_link = xyes; then
15898 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15903 /* Override any GCC internal prototype to avoid an error.
15904 Use char because int might match the return type of a GCC
15905 builtin and then its argument prototype would still apply. */
15918 if ac_fn_c_try_link "$LINENO"; then :
15919 ac_cv_lib_m_acosf=yes
15921 ac_cv_lib_m_acosf=no
15923 rm -f core conftest.err conftest.$ac_objext \
15924 conftest$ac_exeext conftest.$ac_ext
15925 LIBS=$ac_check_lib_save_LIBS
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15928 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15929 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
15931 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15936 $as_echo_n "checking for acos in -lm... " >&6; }
15937 if test "${ac_cv_lib_m_acos+set}" = set; then :
15938 $as_echo_n "(cached) " >&6
15940 ac_check_lib_save_LIBS=$LIBS
15942 if test x$gcc_no_link = xyes; then
15943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15948 /* Override any GCC internal prototype to avoid an error.
15949 Use char because int might match the return type of a GCC
15950 builtin and then its argument prototype would still apply. */
15963 if ac_fn_c_try_link "$LINENO"; then :
15964 ac_cv_lib_m_acos=yes
15966 ac_cv_lib_m_acos=no
15968 rm -f core conftest.err conftest.$ac_objext \
15969 conftest$ac_exeext conftest.$ac_ext
15970 LIBS=$ac_check_lib_save_LIBS
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15973 $as_echo "$ac_cv_lib_m_acos" >&6; }
15974 if test "x$ac_cv_lib_m_acos" = x""yes; then :
15976 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
15981 $as_echo_n "checking for acosl in -lm... " >&6; }
15982 if test "${ac_cv_lib_m_acosl+set}" = set; then :
15983 $as_echo_n "(cached) " >&6
15985 ac_check_lib_save_LIBS=$LIBS
15987 if test x$gcc_no_link = xyes; then
15988 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15991 /* end confdefs.h. */
15993 /* Override any GCC internal prototype to avoid an error.
15994 Use char because int might match the return type of a GCC
15995 builtin and then its argument prototype would still apply. */
16008 if ac_fn_c_try_link "$LINENO"; then :
16009 ac_cv_lib_m_acosl=yes
16011 ac_cv_lib_m_acosl=no
16013 rm -f core conftest.err conftest.$ac_objext \
16014 conftest$ac_exeext conftest.$ac_ext
16015 LIBS=$ac_check_lib_save_LIBS
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16018 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16019 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16021 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16026 $as_echo_n "checking for acoshf in -lm... " >&6; }
16027 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16028 $as_echo_n "(cached) " >&6
16030 ac_check_lib_save_LIBS=$LIBS
16032 if test x$gcc_no_link = xyes; then
16033 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h. */
16038 /* Override any GCC internal prototype to avoid an error.
16039 Use char because int might match the return type of a GCC
16040 builtin and then its argument prototype would still apply. */
16053 if ac_fn_c_try_link "$LINENO"; then :
16054 ac_cv_lib_m_acoshf=yes
16056 ac_cv_lib_m_acoshf=no
16058 rm -f core conftest.err conftest.$ac_objext \
16059 conftest$ac_exeext conftest.$ac_ext
16060 LIBS=$ac_check_lib_save_LIBS
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16063 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16064 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16066 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16071 $as_echo_n "checking for acosh in -lm... " >&6; }
16072 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16073 $as_echo_n "(cached) " >&6
16075 ac_check_lib_save_LIBS=$LIBS
16077 if test x$gcc_no_link = xyes; then
16078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16081 /* end confdefs.h. */
16083 /* Override any GCC internal prototype to avoid an error.
16084 Use char because int might match the return type of a GCC
16085 builtin and then its argument prototype would still apply. */
16098 if ac_fn_c_try_link "$LINENO"; then :
16099 ac_cv_lib_m_acosh=yes
16101 ac_cv_lib_m_acosh=no
16103 rm -f core conftest.err conftest.$ac_objext \
16104 conftest$ac_exeext conftest.$ac_ext
16105 LIBS=$ac_check_lib_save_LIBS
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16108 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16109 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16111 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16116 $as_echo_n "checking for acoshl in -lm... " >&6; }
16117 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16118 $as_echo_n "(cached) " >&6
16120 ac_check_lib_save_LIBS=$LIBS
16122 if test x$gcc_no_link = xyes; then
16123 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h. */
16128 /* Override any GCC internal prototype to avoid an error.
16129 Use char because int might match the return type of a GCC
16130 builtin and then its argument prototype would still apply. */
16143 if ac_fn_c_try_link "$LINENO"; then :
16144 ac_cv_lib_m_acoshl=yes
16146 ac_cv_lib_m_acoshl=no
16148 rm -f core conftest.err conftest.$ac_objext \
16149 conftest$ac_exeext conftest.$ac_ext
16150 LIBS=$ac_check_lib_save_LIBS
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16153 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16154 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16156 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16161 $as_echo_n "checking for asinf in -lm... " >&6; }
16162 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16163 $as_echo_n "(cached) " >&6
16165 ac_check_lib_save_LIBS=$LIBS
16167 if test x$gcc_no_link = xyes; then
16168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16171 /* end confdefs.h. */
16173 /* Override any GCC internal prototype to avoid an error.
16174 Use char because int might match the return type of a GCC
16175 builtin and then its argument prototype would still apply. */
16188 if ac_fn_c_try_link "$LINENO"; then :
16189 ac_cv_lib_m_asinf=yes
16191 ac_cv_lib_m_asinf=no
16193 rm -f core conftest.err conftest.$ac_objext \
16194 conftest$ac_exeext conftest.$ac_ext
16195 LIBS=$ac_check_lib_save_LIBS
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16198 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16199 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16201 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16206 $as_echo_n "checking for asin in -lm... " >&6; }
16207 if test "${ac_cv_lib_m_asin+set}" = set; then :
16208 $as_echo_n "(cached) " >&6
16210 ac_check_lib_save_LIBS=$LIBS
16212 if test x$gcc_no_link = xyes; then
16213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16216 /* end confdefs.h. */
16218 /* Override any GCC internal prototype to avoid an error.
16219 Use char because int might match the return type of a GCC
16220 builtin and then its argument prototype would still apply. */
16233 if ac_fn_c_try_link "$LINENO"; then :
16234 ac_cv_lib_m_asin=yes
16236 ac_cv_lib_m_asin=no
16238 rm -f core conftest.err conftest.$ac_objext \
16239 conftest$ac_exeext conftest.$ac_ext
16240 LIBS=$ac_check_lib_save_LIBS
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16243 $as_echo "$ac_cv_lib_m_asin" >&6; }
16244 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16246 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16251 $as_echo_n "checking for asinl in -lm... " >&6; }
16252 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16253 $as_echo_n "(cached) " >&6
16255 ac_check_lib_save_LIBS=$LIBS
16257 if test x$gcc_no_link = xyes; then
16258 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16261 /* end confdefs.h. */
16263 /* Override any GCC internal prototype to avoid an error.
16264 Use char because int might match the return type of a GCC
16265 builtin and then its argument prototype would still apply. */
16278 if ac_fn_c_try_link "$LINENO"; then :
16279 ac_cv_lib_m_asinl=yes
16281 ac_cv_lib_m_asinl=no
16283 rm -f core conftest.err conftest.$ac_objext \
16284 conftest$ac_exeext conftest.$ac_ext
16285 LIBS=$ac_check_lib_save_LIBS
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16288 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16289 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16291 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16296 $as_echo_n "checking for asinhf in -lm... " >&6; }
16297 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16298 $as_echo_n "(cached) " >&6
16300 ac_check_lib_save_LIBS=$LIBS
16302 if test x$gcc_no_link = xyes; then
16303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h. */
16308 /* Override any GCC internal prototype to avoid an error.
16309 Use char because int might match the return type of a GCC
16310 builtin and then its argument prototype would still apply. */
16323 if ac_fn_c_try_link "$LINENO"; then :
16324 ac_cv_lib_m_asinhf=yes
16326 ac_cv_lib_m_asinhf=no
16328 rm -f core conftest.err conftest.$ac_objext \
16329 conftest$ac_exeext conftest.$ac_ext
16330 LIBS=$ac_check_lib_save_LIBS
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16333 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16334 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16336 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16341 $as_echo_n "checking for asinh in -lm... " >&6; }
16342 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16343 $as_echo_n "(cached) " >&6
16345 ac_check_lib_save_LIBS=$LIBS
16347 if test x$gcc_no_link = xyes; then
16348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16351 /* end confdefs.h. */
16353 /* Override any GCC internal prototype to avoid an error.
16354 Use char because int might match the return type of a GCC
16355 builtin and then its argument prototype would still apply. */
16368 if ac_fn_c_try_link "$LINENO"; then :
16369 ac_cv_lib_m_asinh=yes
16371 ac_cv_lib_m_asinh=no
16373 rm -f core conftest.err conftest.$ac_objext \
16374 conftest$ac_exeext conftest.$ac_ext
16375 LIBS=$ac_check_lib_save_LIBS
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16378 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16379 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
16381 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16386 $as_echo_n "checking for asinhl in -lm... " >&6; }
16387 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16388 $as_echo_n "(cached) " >&6
16390 ac_check_lib_save_LIBS=$LIBS
16392 if test x$gcc_no_link = xyes; then
16393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16398 /* Override any GCC internal prototype to avoid an error.
16399 Use char because int might match the return type of a GCC
16400 builtin and then its argument prototype would still apply. */
16413 if ac_fn_c_try_link "$LINENO"; then :
16414 ac_cv_lib_m_asinhl=yes
16416 ac_cv_lib_m_asinhl=no
16418 rm -f core conftest.err conftest.$ac_objext \
16419 conftest$ac_exeext conftest.$ac_ext
16420 LIBS=$ac_check_lib_save_LIBS
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16423 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16424 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
16426 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16431 $as_echo_n "checking for atan2f in -lm... " >&6; }
16432 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16433 $as_echo_n "(cached) " >&6
16435 ac_check_lib_save_LIBS=$LIBS
16437 if test x$gcc_no_link = xyes; then
16438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16443 /* Override any GCC internal prototype to avoid an error.
16444 Use char because int might match the return type of a GCC
16445 builtin and then its argument prototype would still apply. */
16458 if ac_fn_c_try_link "$LINENO"; then :
16459 ac_cv_lib_m_atan2f=yes
16461 ac_cv_lib_m_atan2f=no
16463 rm -f core conftest.err conftest.$ac_objext \
16464 conftest$ac_exeext conftest.$ac_ext
16465 LIBS=$ac_check_lib_save_LIBS
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16468 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16469 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
16471 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16476 $as_echo_n "checking for atan2 in -lm... " >&6; }
16477 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16478 $as_echo_n "(cached) " >&6
16480 ac_check_lib_save_LIBS=$LIBS
16482 if test x$gcc_no_link = xyes; then
16483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h. */
16488 /* Override any GCC internal prototype to avoid an error.
16489 Use char because int might match the return type of a GCC
16490 builtin and then its argument prototype would still apply. */
16503 if ac_fn_c_try_link "$LINENO"; then :
16504 ac_cv_lib_m_atan2=yes
16506 ac_cv_lib_m_atan2=no
16508 rm -f core conftest.err conftest.$ac_objext \
16509 conftest$ac_exeext conftest.$ac_ext
16510 LIBS=$ac_check_lib_save_LIBS
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16513 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16514 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
16516 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16521 $as_echo_n "checking for atan2l in -lm... " >&6; }
16522 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16523 $as_echo_n "(cached) " >&6
16525 ac_check_lib_save_LIBS=$LIBS
16527 if test x$gcc_no_link = xyes; then
16528 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16533 /* Override any GCC internal prototype to avoid an error.
16534 Use char because int might match the return type of a GCC
16535 builtin and then its argument prototype would still apply. */
16548 if ac_fn_c_try_link "$LINENO"; then :
16549 ac_cv_lib_m_atan2l=yes
16551 ac_cv_lib_m_atan2l=no
16553 rm -f core conftest.err conftest.$ac_objext \
16554 conftest$ac_exeext conftest.$ac_ext
16555 LIBS=$ac_check_lib_save_LIBS
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16558 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16559 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
16561 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16566 $as_echo_n "checking for atanf in -lm... " >&6; }
16567 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16568 $as_echo_n "(cached) " >&6
16570 ac_check_lib_save_LIBS=$LIBS
16572 if test x$gcc_no_link = xyes; then
16573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16576 /* end confdefs.h. */
16578 /* Override any GCC internal prototype to avoid an error.
16579 Use char because int might match the return type of a GCC
16580 builtin and then its argument prototype would still apply. */
16593 if ac_fn_c_try_link "$LINENO"; then :
16594 ac_cv_lib_m_atanf=yes
16596 ac_cv_lib_m_atanf=no
16598 rm -f core conftest.err conftest.$ac_objext \
16599 conftest$ac_exeext conftest.$ac_ext
16600 LIBS=$ac_check_lib_save_LIBS
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16603 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16604 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
16606 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16611 $as_echo_n "checking for atan in -lm... " >&6; }
16612 if test "${ac_cv_lib_m_atan+set}" = set; then :
16613 $as_echo_n "(cached) " >&6
16615 ac_check_lib_save_LIBS=$LIBS
16617 if test x$gcc_no_link = xyes; then
16618 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16621 /* end confdefs.h. */
16623 /* Override any GCC internal prototype to avoid an error.
16624 Use char because int might match the return type of a GCC
16625 builtin and then its argument prototype would still apply. */
16638 if ac_fn_c_try_link "$LINENO"; then :
16639 ac_cv_lib_m_atan=yes
16641 ac_cv_lib_m_atan=no
16643 rm -f core conftest.err conftest.$ac_objext \
16644 conftest$ac_exeext conftest.$ac_ext
16645 LIBS=$ac_check_lib_save_LIBS
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16648 $as_echo "$ac_cv_lib_m_atan" >&6; }
16649 if test "x$ac_cv_lib_m_atan" = x""yes; then :
16651 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16656 $as_echo_n "checking for atanl in -lm... " >&6; }
16657 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16658 $as_echo_n "(cached) " >&6
16660 ac_check_lib_save_LIBS=$LIBS
16662 if test x$gcc_no_link = xyes; then
16663 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16668 /* Override any GCC internal prototype to avoid an error.
16669 Use char because int might match the return type of a GCC
16670 builtin and then its argument prototype would still apply. */
16683 if ac_fn_c_try_link "$LINENO"; then :
16684 ac_cv_lib_m_atanl=yes
16686 ac_cv_lib_m_atanl=no
16688 rm -f core conftest.err conftest.$ac_objext \
16689 conftest$ac_exeext conftest.$ac_ext
16690 LIBS=$ac_check_lib_save_LIBS
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16693 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16694 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
16696 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16701 $as_echo_n "checking for atanhf in -lm... " >&6; }
16702 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16703 $as_echo_n "(cached) " >&6
16705 ac_check_lib_save_LIBS=$LIBS
16707 if test x$gcc_no_link = xyes; then
16708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h. */
16713 /* Override any GCC internal prototype to avoid an error.
16714 Use char because int might match the return type of a GCC
16715 builtin and then its argument prototype would still apply. */
16728 if ac_fn_c_try_link "$LINENO"; then :
16729 ac_cv_lib_m_atanhf=yes
16731 ac_cv_lib_m_atanhf=no
16733 rm -f core conftest.err conftest.$ac_objext \
16734 conftest$ac_exeext conftest.$ac_ext
16735 LIBS=$ac_check_lib_save_LIBS
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16738 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16739 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
16741 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16746 $as_echo_n "checking for atanh in -lm... " >&6; }
16747 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16748 $as_echo_n "(cached) " >&6
16750 ac_check_lib_save_LIBS=$LIBS
16752 if test x$gcc_no_link = xyes; then
16753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16758 /* Override any GCC internal prototype to avoid an error.
16759 Use char because int might match the return type of a GCC
16760 builtin and then its argument prototype would still apply. */
16773 if ac_fn_c_try_link "$LINENO"; then :
16774 ac_cv_lib_m_atanh=yes
16776 ac_cv_lib_m_atanh=no
16778 rm -f core conftest.err conftest.$ac_objext \
16779 conftest$ac_exeext conftest.$ac_ext
16780 LIBS=$ac_check_lib_save_LIBS
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16783 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16784 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
16786 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16791 $as_echo_n "checking for atanhl in -lm... " >&6; }
16792 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16793 $as_echo_n "(cached) " >&6
16795 ac_check_lib_save_LIBS=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
16804 Use char because int might match the return type of a GCC
16805 builtin and then its argument prototype would still apply. */
16818 if ac_fn_c_try_link "$LINENO"; then :
16819 ac_cv_lib_m_atanhl=yes
16821 ac_cv_lib_m_atanhl=no
16823 rm -f core conftest.err conftest.$ac_objext \
16824 conftest$ac_exeext conftest.$ac_ext
16825 LIBS=$ac_check_lib_save_LIBS
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16828 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16829 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
16831 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16836 $as_echo_n "checking for cargf in -lm... " >&6; }
16837 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16838 $as_echo_n "(cached) " >&6
16840 ac_check_lib_save_LIBS=$LIBS
16842 if test x$gcc_no_link = xyes; then
16843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846 /* end confdefs.h. */
16848 /* Override any GCC internal prototype to avoid an error.
16849 Use char because int might match the return type of a GCC
16850 builtin and then its argument prototype would still apply. */
16863 if ac_fn_c_try_link "$LINENO"; then :
16864 ac_cv_lib_m_cargf=yes
16866 ac_cv_lib_m_cargf=no
16868 rm -f core conftest.err conftest.$ac_objext \
16869 conftest$ac_exeext conftest.$ac_ext
16870 LIBS=$ac_check_lib_save_LIBS
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16873 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16874 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
16876 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16881 $as_echo_n "checking for carg in -lm... " >&6; }
16882 if test "${ac_cv_lib_m_carg+set}" = set; then :
16883 $as_echo_n "(cached) " >&6
16885 ac_check_lib_save_LIBS=$LIBS
16887 if test x$gcc_no_link = xyes; then
16888 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16891 /* end confdefs.h. */
16893 /* Override any GCC internal prototype to avoid an error.
16894 Use char because int might match the return type of a GCC
16895 builtin and then its argument prototype would still apply. */
16908 if ac_fn_c_try_link "$LINENO"; then :
16909 ac_cv_lib_m_carg=yes
16911 ac_cv_lib_m_carg=no
16913 rm -f core conftest.err conftest.$ac_objext \
16914 conftest$ac_exeext conftest.$ac_ext
16915 LIBS=$ac_check_lib_save_LIBS
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16918 $as_echo "$ac_cv_lib_m_carg" >&6; }
16919 if test "x$ac_cv_lib_m_carg" = x""yes; then :
16921 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16926 $as_echo_n "checking for cargl in -lm... " >&6; }
16927 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16928 $as_echo_n "(cached) " >&6
16930 ac_check_lib_save_LIBS=$LIBS
16932 if test x$gcc_no_link = xyes; then
16933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16938 /* Override any GCC internal prototype to avoid an error.
16939 Use char because int might match the return type of a GCC
16940 builtin and then its argument prototype would still apply. */
16953 if ac_fn_c_try_link "$LINENO"; then :
16954 ac_cv_lib_m_cargl=yes
16956 ac_cv_lib_m_cargl=no
16958 rm -f core conftest.err conftest.$ac_objext \
16959 conftest$ac_exeext conftest.$ac_ext
16960 LIBS=$ac_check_lib_save_LIBS
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16963 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16964 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
16966 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16971 $as_echo_n "checking for ceilf in -lm... " >&6; }
16972 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16973 $as_echo_n "(cached) " >&6
16975 ac_check_lib_save_LIBS=$LIBS
16977 if test x$gcc_no_link = xyes; then
16978 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16983 /* Override any GCC internal prototype to avoid an error.
16984 Use char because int might match the return type of a GCC
16985 builtin and then its argument prototype would still apply. */
16998 if ac_fn_c_try_link "$LINENO"; then :
16999 ac_cv_lib_m_ceilf=yes
17001 ac_cv_lib_m_ceilf=no
17003 rm -f core conftest.err conftest.$ac_objext \
17004 conftest$ac_exeext conftest.$ac_ext
17005 LIBS=$ac_check_lib_save_LIBS
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17008 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17009 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17011 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17016 $as_echo_n "checking for ceil in -lm... " >&6; }
17017 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17018 $as_echo_n "(cached) " >&6
17020 ac_check_lib_save_LIBS=$LIBS
17022 if test x$gcc_no_link = xyes; then
17023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17028 /* Override any GCC internal prototype to avoid an error.
17029 Use char because int might match the return type of a GCC
17030 builtin and then its argument prototype would still apply. */
17043 if ac_fn_c_try_link "$LINENO"; then :
17044 ac_cv_lib_m_ceil=yes
17046 ac_cv_lib_m_ceil=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17050 LIBS=$ac_check_lib_save_LIBS
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17053 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17054 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17056 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17061 $as_echo_n "checking for ceill in -lm... " >&6; }
17062 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17063 $as_echo_n "(cached) " >&6
17065 ac_check_lib_save_LIBS=$LIBS
17067 if test x$gcc_no_link = xyes; then
17068 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071 /* end confdefs.h. */
17073 /* Override any GCC internal prototype to avoid an error.
17074 Use char because int might match the return type of a GCC
17075 builtin and then its argument prototype would still apply. */
17088 if ac_fn_c_try_link "$LINENO"; then :
17089 ac_cv_lib_m_ceill=yes
17091 ac_cv_lib_m_ceill=no
17093 rm -f core conftest.err conftest.$ac_objext \
17094 conftest$ac_exeext conftest.$ac_ext
17095 LIBS=$ac_check_lib_save_LIBS
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17098 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17099 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17101 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17106 $as_echo_n "checking for copysignf in -lm... " >&6; }
17107 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17108 $as_echo_n "(cached) " >&6
17110 ac_check_lib_save_LIBS=$LIBS
17112 if test x$gcc_no_link = xyes; then
17113 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17118 /* Override any GCC internal prototype to avoid an error.
17119 Use char because int might match the return type of a GCC
17120 builtin and then its argument prototype would still apply. */
17128 return copysignf ();
17133 if ac_fn_c_try_link "$LINENO"; then :
17134 ac_cv_lib_m_copysignf=yes
17136 ac_cv_lib_m_copysignf=no
17138 rm -f core conftest.err conftest.$ac_objext \
17139 conftest$ac_exeext conftest.$ac_ext
17140 LIBS=$ac_check_lib_save_LIBS
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17143 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17144 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17146 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17151 $as_echo_n "checking for copysign in -lm... " >&6; }
17152 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17153 $as_echo_n "(cached) " >&6
17155 ac_check_lib_save_LIBS=$LIBS
17157 if test x$gcc_no_link = xyes; then
17158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17163 /* Override any GCC internal prototype to avoid an error.
17164 Use char because int might match the return type of a GCC
17165 builtin and then its argument prototype would still apply. */
17173 return copysign ();
17178 if ac_fn_c_try_link "$LINENO"; then :
17179 ac_cv_lib_m_copysign=yes
17181 ac_cv_lib_m_copysign=no
17183 rm -f core conftest.err conftest.$ac_objext \
17184 conftest$ac_exeext conftest.$ac_ext
17185 LIBS=$ac_check_lib_save_LIBS
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17188 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17189 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17191 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17196 $as_echo_n "checking for copysignl in -lm... " >&6; }
17197 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17198 $as_echo_n "(cached) " >&6
17200 ac_check_lib_save_LIBS=$LIBS
17202 if test x$gcc_no_link = xyes; then
17203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17208 /* Override any GCC internal prototype to avoid an error.
17209 Use char because int might match the return type of a GCC
17210 builtin and then its argument prototype would still apply. */
17218 return copysignl ();
17223 if ac_fn_c_try_link "$LINENO"; then :
17224 ac_cv_lib_m_copysignl=yes
17226 ac_cv_lib_m_copysignl=no
17228 rm -f core conftest.err conftest.$ac_objext \
17229 conftest$ac_exeext conftest.$ac_ext
17230 LIBS=$ac_check_lib_save_LIBS
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17233 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17234 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17236 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17241 $as_echo_n "checking for cosf in -lm... " >&6; }
17242 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17243 $as_echo_n "(cached) " >&6
17245 ac_check_lib_save_LIBS=$LIBS
17247 if test x$gcc_no_link = xyes; then
17248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17253 /* Override any GCC internal prototype to avoid an error.
17254 Use char because int might match the return type of a GCC
17255 builtin and then its argument prototype would still apply. */
17268 if ac_fn_c_try_link "$LINENO"; then :
17269 ac_cv_lib_m_cosf=yes
17271 ac_cv_lib_m_cosf=no
17273 rm -f core conftest.err conftest.$ac_objext \
17274 conftest$ac_exeext conftest.$ac_ext
17275 LIBS=$ac_check_lib_save_LIBS
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17278 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17279 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17281 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17286 $as_echo_n "checking for cos in -lm... " >&6; }
17287 if test "${ac_cv_lib_m_cos+set}" = set; then :
17288 $as_echo_n "(cached) " >&6
17290 ac_check_lib_save_LIBS=$LIBS
17292 if test x$gcc_no_link = xyes; then
17293 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17298 /* Override any GCC internal prototype to avoid an error.
17299 Use char because int might match the return type of a GCC
17300 builtin and then its argument prototype would still apply. */
17313 if ac_fn_c_try_link "$LINENO"; then :
17314 ac_cv_lib_m_cos=yes
17318 rm -f core conftest.err conftest.$ac_objext \
17319 conftest$ac_exeext conftest.$ac_ext
17320 LIBS=$ac_check_lib_save_LIBS
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17323 $as_echo "$ac_cv_lib_m_cos" >&6; }
17324 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17326 $as_echo "#define HAVE_COS 1" >>confdefs.h
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17331 $as_echo_n "checking for cosl in -lm... " >&6; }
17332 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17333 $as_echo_n "(cached) " >&6
17335 ac_check_lib_save_LIBS=$LIBS
17337 if test x$gcc_no_link = xyes; then
17338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17343 /* Override any GCC internal prototype to avoid an error.
17344 Use char because int might match the return type of a GCC
17345 builtin and then its argument prototype would still apply. */
17358 if ac_fn_c_try_link "$LINENO"; then :
17359 ac_cv_lib_m_cosl=yes
17361 ac_cv_lib_m_cosl=no
17363 rm -f core conftest.err conftest.$ac_objext \
17364 conftest$ac_exeext conftest.$ac_ext
17365 LIBS=$ac_check_lib_save_LIBS
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17368 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17369 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
17371 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17376 $as_echo_n "checking for ccosf in -lm... " >&6; }
17377 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17378 $as_echo_n "(cached) " >&6
17380 ac_check_lib_save_LIBS=$LIBS
17382 if test x$gcc_no_link = xyes; then
17383 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17388 /* Override any GCC internal prototype to avoid an error.
17389 Use char because int might match the return type of a GCC
17390 builtin and then its argument prototype would still apply. */
17403 if ac_fn_c_try_link "$LINENO"; then :
17404 ac_cv_lib_m_ccosf=yes
17406 ac_cv_lib_m_ccosf=no
17408 rm -f core conftest.err conftest.$ac_objext \
17409 conftest$ac_exeext conftest.$ac_ext
17410 LIBS=$ac_check_lib_save_LIBS
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17413 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17414 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
17416 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17421 $as_echo_n "checking for ccos in -lm... " >&6; }
17422 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17423 $as_echo_n "(cached) " >&6
17425 ac_check_lib_save_LIBS=$LIBS
17427 if test x$gcc_no_link = xyes; then
17428 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17433 /* Override any GCC internal prototype to avoid an error.
17434 Use char because int might match the return type of a GCC
17435 builtin and then its argument prototype would still apply. */
17448 if ac_fn_c_try_link "$LINENO"; then :
17449 ac_cv_lib_m_ccos=yes
17451 ac_cv_lib_m_ccos=no
17453 rm -f core conftest.err conftest.$ac_objext \
17454 conftest$ac_exeext conftest.$ac_ext
17455 LIBS=$ac_check_lib_save_LIBS
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17458 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17459 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
17461 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17466 $as_echo_n "checking for ccosl in -lm... " >&6; }
17467 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17468 $as_echo_n "(cached) " >&6
17470 ac_check_lib_save_LIBS=$LIBS
17472 if test x$gcc_no_link = xyes; then
17473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h. */
17478 /* Override any GCC internal prototype to avoid an error.
17479 Use char because int might match the return type of a GCC
17480 builtin and then its argument prototype would still apply. */
17493 if ac_fn_c_try_link "$LINENO"; then :
17494 ac_cv_lib_m_ccosl=yes
17496 ac_cv_lib_m_ccosl=no
17498 rm -f core conftest.err conftest.$ac_objext \
17499 conftest$ac_exeext conftest.$ac_ext
17500 LIBS=$ac_check_lib_save_LIBS
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17503 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17504 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
17506 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17511 $as_echo_n "checking for coshf in -lm... " >&6; }
17512 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17513 $as_echo_n "(cached) " >&6
17515 ac_check_lib_save_LIBS=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
17524 Use char because int might match the return type of a GCC
17525 builtin and then its argument prototype would still apply. */
17538 if ac_fn_c_try_link "$LINENO"; then :
17539 ac_cv_lib_m_coshf=yes
17541 ac_cv_lib_m_coshf=no
17543 rm -f core conftest.err conftest.$ac_objext \
17544 conftest$ac_exeext conftest.$ac_ext
17545 LIBS=$ac_check_lib_save_LIBS
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17548 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17549 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
17551 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17556 $as_echo_n "checking for cosh in -lm... " >&6; }
17557 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17558 $as_echo_n "(cached) " >&6
17560 ac_check_lib_save_LIBS=$LIBS
17562 if test x$gcc_no_link = xyes; then
17563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17568 /* Override any GCC internal prototype to avoid an error.
17569 Use char because int might match the return type of a GCC
17570 builtin and then its argument prototype would still apply. */
17583 if ac_fn_c_try_link "$LINENO"; then :
17584 ac_cv_lib_m_cosh=yes
17586 ac_cv_lib_m_cosh=no
17588 rm -f core conftest.err conftest.$ac_objext \
17589 conftest$ac_exeext conftest.$ac_ext
17590 LIBS=$ac_check_lib_save_LIBS
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17593 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17594 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
17596 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17601 $as_echo_n "checking for coshl in -lm... " >&6; }
17602 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17605 ac_check_lib_save_LIBS=$LIBS
17607 if test x$gcc_no_link = xyes; then
17608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17613 /* Override any GCC internal prototype to avoid an error.
17614 Use char because int might match the return type of a GCC
17615 builtin and then its argument prototype would still apply. */
17628 if ac_fn_c_try_link "$LINENO"; then :
17629 ac_cv_lib_m_coshl=yes
17631 ac_cv_lib_m_coshl=no
17633 rm -f core conftest.err conftest.$ac_objext \
17634 conftest$ac_exeext conftest.$ac_ext
17635 LIBS=$ac_check_lib_save_LIBS
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17638 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17639 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
17641 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17646 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17647 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17648 $as_echo_n "(cached) " >&6
17650 ac_check_lib_save_LIBS=$LIBS
17652 if test x$gcc_no_link = xyes; then
17653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17658 /* Override any GCC internal prototype to avoid an error.
17659 Use char because int might match the return type of a GCC
17660 builtin and then its argument prototype would still apply. */
17673 if ac_fn_c_try_link "$LINENO"; then :
17674 ac_cv_lib_m_ccoshf=yes
17676 ac_cv_lib_m_ccoshf=no
17678 rm -f core conftest.err conftest.$ac_objext \
17679 conftest$ac_exeext conftest.$ac_ext
17680 LIBS=$ac_check_lib_save_LIBS
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17683 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17684 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
17686 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17691 $as_echo_n "checking for ccosh in -lm... " >&6; }
17692 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17693 $as_echo_n "(cached) " >&6
17695 ac_check_lib_save_LIBS=$LIBS
17697 if test x$gcc_no_link = xyes; then
17698 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17703 /* Override any GCC internal prototype to avoid an error.
17704 Use char because int might match the return type of a GCC
17705 builtin and then its argument prototype would still apply. */
17718 if ac_fn_c_try_link "$LINENO"; then :
17719 ac_cv_lib_m_ccosh=yes
17721 ac_cv_lib_m_ccosh=no
17723 rm -f core conftest.err conftest.$ac_objext \
17724 conftest$ac_exeext conftest.$ac_ext
17725 LIBS=$ac_check_lib_save_LIBS
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17728 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17729 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
17731 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17736 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17737 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17738 $as_echo_n "(cached) " >&6
17740 ac_check_lib_save_LIBS=$LIBS
17742 if test x$gcc_no_link = xyes; then
17743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17748 /* Override any GCC internal prototype to avoid an error.
17749 Use char because int might match the return type of a GCC
17750 builtin and then its argument prototype would still apply. */
17763 if ac_fn_c_try_link "$LINENO"; then :
17764 ac_cv_lib_m_ccoshl=yes
17766 ac_cv_lib_m_ccoshl=no
17768 rm -f core conftest.err conftest.$ac_objext \
17769 conftest$ac_exeext conftest.$ac_ext
17770 LIBS=$ac_check_lib_save_LIBS
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17773 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17774 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
17776 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17781 $as_echo_n "checking for expf in -lm... " >&6; }
17782 if test "${ac_cv_lib_m_expf+set}" = set; then :
17783 $as_echo_n "(cached) " >&6
17785 ac_check_lib_save_LIBS=$LIBS
17787 if test x$gcc_no_link = xyes; then
17788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17793 /* Override any GCC internal prototype to avoid an error.
17794 Use char because int might match the return type of a GCC
17795 builtin and then its argument prototype would still apply. */
17808 if ac_fn_c_try_link "$LINENO"; then :
17809 ac_cv_lib_m_expf=yes
17811 ac_cv_lib_m_expf=no
17813 rm -f core conftest.err conftest.$ac_objext \
17814 conftest$ac_exeext conftest.$ac_ext
17815 LIBS=$ac_check_lib_save_LIBS
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17818 $as_echo "$ac_cv_lib_m_expf" >&6; }
17819 if test "x$ac_cv_lib_m_expf" = x""yes; then :
17821 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17826 $as_echo_n "checking for exp in -lm... " >&6; }
17827 if test "${ac_cv_lib_m_exp+set}" = set; then :
17828 $as_echo_n "(cached) " >&6
17830 ac_check_lib_save_LIBS=$LIBS
17832 if test x$gcc_no_link = xyes; then
17833 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17838 /* Override any GCC internal prototype to avoid an error.
17839 Use char because int might match the return type of a GCC
17840 builtin and then its argument prototype would still apply. */
17853 if ac_fn_c_try_link "$LINENO"; then :
17854 ac_cv_lib_m_exp=yes
17858 rm -f core conftest.err conftest.$ac_objext \
17859 conftest$ac_exeext conftest.$ac_ext
17860 LIBS=$ac_check_lib_save_LIBS
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17863 $as_echo "$ac_cv_lib_m_exp" >&6; }
17864 if test "x$ac_cv_lib_m_exp" = x""yes; then :
17866 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17871 $as_echo_n "checking for expl in -lm... " >&6; }
17872 if test "${ac_cv_lib_m_expl+set}" = set; then :
17873 $as_echo_n "(cached) " >&6
17875 ac_check_lib_save_LIBS=$LIBS
17877 if test x$gcc_no_link = xyes; then
17878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17881 /* end confdefs.h. */
17883 /* Override any GCC internal prototype to avoid an error.
17884 Use char because int might match the return type of a GCC
17885 builtin and then its argument prototype would still apply. */
17898 if ac_fn_c_try_link "$LINENO"; then :
17899 ac_cv_lib_m_expl=yes
17901 ac_cv_lib_m_expl=no
17903 rm -f core conftest.err conftest.$ac_objext \
17904 conftest$ac_exeext conftest.$ac_ext
17905 LIBS=$ac_check_lib_save_LIBS
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17908 $as_echo "$ac_cv_lib_m_expl" >&6; }
17909 if test "x$ac_cv_lib_m_expl" = x""yes; then :
17911 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17916 $as_echo_n "checking for cexpf in -lm... " >&6; }
17917 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17918 $as_echo_n "(cached) " >&6
17920 ac_check_lib_save_LIBS=$LIBS
17922 if test x$gcc_no_link = xyes; then
17923 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17928 /* Override any GCC internal prototype to avoid an error.
17929 Use char because int might match the return type of a GCC
17930 builtin and then its argument prototype would still apply. */
17943 if ac_fn_c_try_link "$LINENO"; then :
17944 ac_cv_lib_m_cexpf=yes
17946 ac_cv_lib_m_cexpf=no
17948 rm -f core conftest.err conftest.$ac_objext \
17949 conftest$ac_exeext conftest.$ac_ext
17950 LIBS=$ac_check_lib_save_LIBS
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17953 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17954 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
17956 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17961 $as_echo_n "checking for cexp in -lm... " >&6; }
17962 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17963 $as_echo_n "(cached) " >&6
17965 ac_check_lib_save_LIBS=$LIBS
17967 if test x$gcc_no_link = xyes; then
17968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17971 /* end confdefs.h. */
17973 /* Override any GCC internal prototype to avoid an error.
17974 Use char because int might match the return type of a GCC
17975 builtin and then its argument prototype would still apply. */
17988 if ac_fn_c_try_link "$LINENO"; then :
17989 ac_cv_lib_m_cexp=yes
17991 ac_cv_lib_m_cexp=no
17993 rm -f core conftest.err conftest.$ac_objext \
17994 conftest$ac_exeext conftest.$ac_ext
17995 LIBS=$ac_check_lib_save_LIBS
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
17998 $as_echo "$ac_cv_lib_m_cexp" >&6; }
17999 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
18001 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18006 $as_echo_n "checking for cexpl in -lm... " >&6; }
18007 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18008 $as_echo_n "(cached) " >&6
18010 ac_check_lib_save_LIBS=$LIBS
18012 if test x$gcc_no_link = xyes; then
18013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h. */
18018 /* Override any GCC internal prototype to avoid an error.
18019 Use char because int might match the return type of a GCC
18020 builtin and then its argument prototype would still apply. */
18033 if ac_fn_c_try_link "$LINENO"; then :
18034 ac_cv_lib_m_cexpl=yes
18036 ac_cv_lib_m_cexpl=no
18038 rm -f core conftest.err conftest.$ac_objext \
18039 conftest$ac_exeext conftest.$ac_ext
18040 LIBS=$ac_check_lib_save_LIBS
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18043 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18044 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18046 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18051 $as_echo_n "checking for fabsf in -lm... " >&6; }
18052 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18053 $as_echo_n "(cached) " >&6
18055 ac_check_lib_save_LIBS=$LIBS
18057 if test x$gcc_no_link = xyes; then
18058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18061 /* end confdefs.h. */
18063 /* Override any GCC internal prototype to avoid an error.
18064 Use char because int might match the return type of a GCC
18065 builtin and then its argument prototype would still apply. */
18078 if ac_fn_c_try_link "$LINENO"; then :
18079 ac_cv_lib_m_fabsf=yes
18081 ac_cv_lib_m_fabsf=no
18083 rm -f core conftest.err conftest.$ac_objext \
18084 conftest$ac_exeext conftest.$ac_ext
18085 LIBS=$ac_check_lib_save_LIBS
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18088 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18089 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18091 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18096 $as_echo_n "checking for fabs in -lm... " >&6; }
18097 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18098 $as_echo_n "(cached) " >&6
18100 ac_check_lib_save_LIBS=$LIBS
18102 if test x$gcc_no_link = xyes; then
18103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18106 /* end confdefs.h. */
18108 /* Override any GCC internal prototype to avoid an error.
18109 Use char because int might match the return type of a GCC
18110 builtin and then its argument prototype would still apply. */
18123 if ac_fn_c_try_link "$LINENO"; then :
18124 ac_cv_lib_m_fabs=yes
18126 ac_cv_lib_m_fabs=no
18128 rm -f core conftest.err conftest.$ac_objext \
18129 conftest$ac_exeext conftest.$ac_ext
18130 LIBS=$ac_check_lib_save_LIBS
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18133 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18134 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18136 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18141 $as_echo_n "checking for fabsl in -lm... " >&6; }
18142 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18143 $as_echo_n "(cached) " >&6
18145 ac_check_lib_save_LIBS=$LIBS
18147 if test x$gcc_no_link = xyes; then
18148 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18151 /* end confdefs.h. */
18153 /* Override any GCC internal prototype to avoid an error.
18154 Use char because int might match the return type of a GCC
18155 builtin and then its argument prototype would still apply. */
18168 if ac_fn_c_try_link "$LINENO"; then :
18169 ac_cv_lib_m_fabsl=yes
18171 ac_cv_lib_m_fabsl=no
18173 rm -f core conftest.err conftest.$ac_objext \
18174 conftest$ac_exeext conftest.$ac_ext
18175 LIBS=$ac_check_lib_save_LIBS
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18178 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18179 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18181 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18186 $as_echo_n "checking for cabsf in -lm... " >&6; }
18187 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18188 $as_echo_n "(cached) " >&6
18190 ac_check_lib_save_LIBS=$LIBS
18192 if test x$gcc_no_link = xyes; then
18193 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18198 /* Override any GCC internal prototype to avoid an error.
18199 Use char because int might match the return type of a GCC
18200 builtin and then its argument prototype would still apply. */
18213 if ac_fn_c_try_link "$LINENO"; then :
18214 ac_cv_lib_m_cabsf=yes
18216 ac_cv_lib_m_cabsf=no
18218 rm -f core conftest.err conftest.$ac_objext \
18219 conftest$ac_exeext conftest.$ac_ext
18220 LIBS=$ac_check_lib_save_LIBS
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18223 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18224 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18226 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18231 $as_echo_n "checking for cabs in -lm... " >&6; }
18232 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18233 $as_echo_n "(cached) " >&6
18235 ac_check_lib_save_LIBS=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
18244 Use char because int might match the return type of a GCC
18245 builtin and then its argument prototype would still apply. */
18258 if ac_fn_c_try_link "$LINENO"; then :
18259 ac_cv_lib_m_cabs=yes
18261 ac_cv_lib_m_cabs=no
18263 rm -f core conftest.err conftest.$ac_objext \
18264 conftest$ac_exeext conftest.$ac_ext
18265 LIBS=$ac_check_lib_save_LIBS
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18268 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18269 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18271 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18276 $as_echo_n "checking for cabsl in -lm... " >&6; }
18277 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18278 $as_echo_n "(cached) " >&6
18280 ac_check_lib_save_LIBS=$LIBS
18282 if test x$gcc_no_link = xyes; then
18283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18288 /* Override any GCC internal prototype to avoid an error.
18289 Use char because int might match the return type of a GCC
18290 builtin and then its argument prototype would still apply. */
18303 if ac_fn_c_try_link "$LINENO"; then :
18304 ac_cv_lib_m_cabsl=yes
18306 ac_cv_lib_m_cabsl=no
18308 rm -f core conftest.err conftest.$ac_objext \
18309 conftest$ac_exeext conftest.$ac_ext
18310 LIBS=$ac_check_lib_save_LIBS
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18313 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18314 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18316 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18321 $as_echo_n "checking for floorf in -lm... " >&6; }
18322 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18323 $as_echo_n "(cached) " >&6
18325 ac_check_lib_save_LIBS=$LIBS
18327 if test x$gcc_no_link = xyes; then
18328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18333 /* Override any GCC internal prototype to avoid an error.
18334 Use char because int might match the return type of a GCC
18335 builtin and then its argument prototype would still apply. */
18348 if ac_fn_c_try_link "$LINENO"; then :
18349 ac_cv_lib_m_floorf=yes
18351 ac_cv_lib_m_floorf=no
18353 rm -f core conftest.err conftest.$ac_objext \
18354 conftest$ac_exeext conftest.$ac_ext
18355 LIBS=$ac_check_lib_save_LIBS
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18358 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18359 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
18361 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18366 $as_echo_n "checking for floor in -lm... " >&6; }
18367 if test "${ac_cv_lib_m_floor+set}" = set; then :
18368 $as_echo_n "(cached) " >&6
18370 ac_check_lib_save_LIBS=$LIBS
18372 if test x$gcc_no_link = xyes; then
18373 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18378 /* Override any GCC internal prototype to avoid an error.
18379 Use char because int might match the return type of a GCC
18380 builtin and then its argument prototype would still apply. */
18393 if ac_fn_c_try_link "$LINENO"; then :
18394 ac_cv_lib_m_floor=yes
18396 ac_cv_lib_m_floor=no
18398 rm -f core conftest.err conftest.$ac_objext \
18399 conftest$ac_exeext conftest.$ac_ext
18400 LIBS=$ac_check_lib_save_LIBS
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18403 $as_echo "$ac_cv_lib_m_floor" >&6; }
18404 if test "x$ac_cv_lib_m_floor" = x""yes; then :
18406 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18411 $as_echo_n "checking for floorl in -lm... " >&6; }
18412 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18413 $as_echo_n "(cached) " >&6
18415 ac_check_lib_save_LIBS=$LIBS
18417 if test x$gcc_no_link = xyes; then
18418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18421 /* end confdefs.h. */
18423 /* Override any GCC internal prototype to avoid an error.
18424 Use char because int might match the return type of a GCC
18425 builtin and then its argument prototype would still apply. */
18438 if ac_fn_c_try_link "$LINENO"; then :
18439 ac_cv_lib_m_floorl=yes
18441 ac_cv_lib_m_floorl=no
18443 rm -f core conftest.err conftest.$ac_objext \
18444 conftest$ac_exeext conftest.$ac_ext
18445 LIBS=$ac_check_lib_save_LIBS
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18448 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18449 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
18451 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18456 $as_echo_n "checking for fmodf in -lm... " >&6; }
18457 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18458 $as_echo_n "(cached) " >&6
18460 ac_check_lib_save_LIBS=$LIBS
18462 if test x$gcc_no_link = xyes; then
18463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18468 /* Override any GCC internal prototype to avoid an error.
18469 Use char because int might match the return type of a GCC
18470 builtin and then its argument prototype would still apply. */
18483 if ac_fn_c_try_link "$LINENO"; then :
18484 ac_cv_lib_m_fmodf=yes
18486 ac_cv_lib_m_fmodf=no
18488 rm -f core conftest.err conftest.$ac_objext \
18489 conftest$ac_exeext conftest.$ac_ext
18490 LIBS=$ac_check_lib_save_LIBS
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18493 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18494 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
18496 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18501 $as_echo_n "checking for fmod in -lm... " >&6; }
18502 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18503 $as_echo_n "(cached) " >&6
18505 ac_check_lib_save_LIBS=$LIBS
18507 if test x$gcc_no_link = xyes; then
18508 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511 /* end confdefs.h. */
18513 /* Override any GCC internal prototype to avoid an error.
18514 Use char because int might match the return type of a GCC
18515 builtin and then its argument prototype would still apply. */
18528 if ac_fn_c_try_link "$LINENO"; then :
18529 ac_cv_lib_m_fmod=yes
18531 ac_cv_lib_m_fmod=no
18533 rm -f core conftest.err conftest.$ac_objext \
18534 conftest$ac_exeext conftest.$ac_ext
18535 LIBS=$ac_check_lib_save_LIBS
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18538 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18539 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
18541 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18546 $as_echo_n "checking for fmodl in -lm... " >&6; }
18547 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18548 $as_echo_n "(cached) " >&6
18550 ac_check_lib_save_LIBS=$LIBS
18552 if test x$gcc_no_link = xyes; then
18553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h. */
18558 /* Override any GCC internal prototype to avoid an error.
18559 Use char because int might match the return type of a GCC
18560 builtin and then its argument prototype would still apply. */
18573 if ac_fn_c_try_link "$LINENO"; then :
18574 ac_cv_lib_m_fmodl=yes
18576 ac_cv_lib_m_fmodl=no
18578 rm -f core conftest.err conftest.$ac_objext \
18579 conftest$ac_exeext conftest.$ac_ext
18580 LIBS=$ac_check_lib_save_LIBS
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18583 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18584 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
18586 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18591 $as_echo_n "checking for frexpf in -lm... " >&6; }
18592 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18593 $as_echo_n "(cached) " >&6
18595 ac_check_lib_save_LIBS=$LIBS
18597 if test x$gcc_no_link = xyes; then
18598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h. */
18603 /* Override any GCC internal prototype to avoid an error.
18604 Use char because int might match the return type of a GCC
18605 builtin and then its argument prototype would still apply. */
18618 if ac_fn_c_try_link "$LINENO"; then :
18619 ac_cv_lib_m_frexpf=yes
18621 ac_cv_lib_m_frexpf=no
18623 rm -f core conftest.err conftest.$ac_objext \
18624 conftest$ac_exeext conftest.$ac_ext
18625 LIBS=$ac_check_lib_save_LIBS
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18628 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18629 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
18631 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18636 $as_echo_n "checking for frexp in -lm... " >&6; }
18637 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18638 $as_echo_n "(cached) " >&6
18640 ac_check_lib_save_LIBS=$LIBS
18642 if test x$gcc_no_link = xyes; then
18643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18648 /* Override any GCC internal prototype to avoid an error.
18649 Use char because int might match the return type of a GCC
18650 builtin and then its argument prototype would still apply. */
18663 if ac_fn_c_try_link "$LINENO"; then :
18664 ac_cv_lib_m_frexp=yes
18666 ac_cv_lib_m_frexp=no
18668 rm -f core conftest.err conftest.$ac_objext \
18669 conftest$ac_exeext conftest.$ac_ext
18670 LIBS=$ac_check_lib_save_LIBS
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18673 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18674 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
18676 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18681 $as_echo_n "checking for frexpl in -lm... " >&6; }
18682 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18683 $as_echo_n "(cached) " >&6
18685 ac_check_lib_save_LIBS=$LIBS
18687 if test x$gcc_no_link = xyes; then
18688 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18693 /* Override any GCC internal prototype to avoid an error.
18694 Use char because int might match the return type of a GCC
18695 builtin and then its argument prototype would still apply. */
18708 if ac_fn_c_try_link "$LINENO"; then :
18709 ac_cv_lib_m_frexpl=yes
18711 ac_cv_lib_m_frexpl=no
18713 rm -f core conftest.err conftest.$ac_objext \
18714 conftest$ac_exeext conftest.$ac_ext
18715 LIBS=$ac_check_lib_save_LIBS
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18718 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18719 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
18721 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18726 $as_echo_n "checking for hypotf in -lm... " >&6; }
18727 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18728 $as_echo_n "(cached) " >&6
18730 ac_check_lib_save_LIBS=$LIBS
18732 if test x$gcc_no_link = xyes; then
18733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18738 /* Override any GCC internal prototype to avoid an error.
18739 Use char because int might match the return type of a GCC
18740 builtin and then its argument prototype would still apply. */
18753 if ac_fn_c_try_link "$LINENO"; then :
18754 ac_cv_lib_m_hypotf=yes
18756 ac_cv_lib_m_hypotf=no
18758 rm -f core conftest.err conftest.$ac_objext \
18759 conftest$ac_exeext conftest.$ac_ext
18760 LIBS=$ac_check_lib_save_LIBS
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18763 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18764 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
18766 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18771 $as_echo_n "checking for hypot in -lm... " >&6; }
18772 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18773 $as_echo_n "(cached) " >&6
18775 ac_check_lib_save_LIBS=$LIBS
18777 if test x$gcc_no_link = xyes; then
18778 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18783 /* Override any GCC internal prototype to avoid an error.
18784 Use char because int might match the return type of a GCC
18785 builtin and then its argument prototype would still apply. */
18798 if ac_fn_c_try_link "$LINENO"; then :
18799 ac_cv_lib_m_hypot=yes
18801 ac_cv_lib_m_hypot=no
18803 rm -f core conftest.err conftest.$ac_objext \
18804 conftest$ac_exeext conftest.$ac_ext
18805 LIBS=$ac_check_lib_save_LIBS
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18808 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18809 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
18811 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18816 $as_echo_n "checking for hypotl in -lm... " >&6; }
18817 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18818 $as_echo_n "(cached) " >&6
18820 ac_check_lib_save_LIBS=$LIBS
18822 if test x$gcc_no_link = xyes; then
18823 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18826 /* end confdefs.h. */
18828 /* Override any GCC internal prototype to avoid an error.
18829 Use char because int might match the return type of a GCC
18830 builtin and then its argument prototype would still apply. */
18843 if ac_fn_c_try_link "$LINENO"; then :
18844 ac_cv_lib_m_hypotl=yes
18846 ac_cv_lib_m_hypotl=no
18848 rm -f core conftest.err conftest.$ac_objext \
18849 conftest$ac_exeext conftest.$ac_ext
18850 LIBS=$ac_check_lib_save_LIBS
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18853 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18854 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
18856 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18861 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18862 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18863 $as_echo_n "(cached) " >&6
18865 ac_check_lib_save_LIBS=$LIBS
18867 if test x$gcc_no_link = xyes; then
18868 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18873 /* Override any GCC internal prototype to avoid an error.
18874 Use char because int might match the return type of a GCC
18875 builtin and then its argument prototype would still apply. */
18888 if ac_fn_c_try_link "$LINENO"; then :
18889 ac_cv_lib_m_ldexpf=yes
18891 ac_cv_lib_m_ldexpf=no
18893 rm -f core conftest.err conftest.$ac_objext \
18894 conftest$ac_exeext conftest.$ac_ext
18895 LIBS=$ac_check_lib_save_LIBS
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18898 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18899 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
18901 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18906 $as_echo_n "checking for ldexp in -lm... " >&6; }
18907 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18908 $as_echo_n "(cached) " >&6
18910 ac_check_lib_save_LIBS=$LIBS
18912 if test x$gcc_no_link = xyes; then
18913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18916 /* end confdefs.h. */
18918 /* Override any GCC internal prototype to avoid an error.
18919 Use char because int might match the return type of a GCC
18920 builtin and then its argument prototype would still apply. */
18933 if ac_fn_c_try_link "$LINENO"; then :
18934 ac_cv_lib_m_ldexp=yes
18936 ac_cv_lib_m_ldexp=no
18938 rm -f core conftest.err conftest.$ac_objext \
18939 conftest$ac_exeext conftest.$ac_ext
18940 LIBS=$ac_check_lib_save_LIBS
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18943 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18944 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
18946 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18951 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18952 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18953 $as_echo_n "(cached) " >&6
18955 ac_check_lib_save_LIBS=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
18964 Use char because int might match the return type of a GCC
18965 builtin and then its argument prototype would still apply. */
18978 if ac_fn_c_try_link "$LINENO"; then :
18979 ac_cv_lib_m_ldexpl=yes
18981 ac_cv_lib_m_ldexpl=no
18983 rm -f core conftest.err conftest.$ac_objext \
18984 conftest$ac_exeext conftest.$ac_ext
18985 LIBS=$ac_check_lib_save_LIBS
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
18988 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
18989 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
18991 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
18996 $as_echo_n "checking for logf in -lm... " >&6; }
18997 if test "${ac_cv_lib_m_logf+set}" = set; then :
18998 $as_echo_n "(cached) " >&6
19000 ac_check_lib_save_LIBS=$LIBS
19002 if test x$gcc_no_link = xyes; then
19003 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h. */
19008 /* Override any GCC internal prototype to avoid an error.
19009 Use char because int might match the return type of a GCC
19010 builtin and then its argument prototype would still apply. */
19023 if ac_fn_c_try_link "$LINENO"; then :
19024 ac_cv_lib_m_logf=yes
19026 ac_cv_lib_m_logf=no
19028 rm -f core conftest.err conftest.$ac_objext \
19029 conftest$ac_exeext conftest.$ac_ext
19030 LIBS=$ac_check_lib_save_LIBS
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19033 $as_echo "$ac_cv_lib_m_logf" >&6; }
19034 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19036 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19041 $as_echo_n "checking for log in -lm... " >&6; }
19042 if test "${ac_cv_lib_m_log+set}" = set; then :
19043 $as_echo_n "(cached) " >&6
19045 ac_check_lib_save_LIBS=$LIBS
19047 if test x$gcc_no_link = xyes; then
19048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19053 /* Override any GCC internal prototype to avoid an error.
19054 Use char because int might match the return type of a GCC
19055 builtin and then its argument prototype would still apply. */
19068 if ac_fn_c_try_link "$LINENO"; then :
19069 ac_cv_lib_m_log=yes
19073 rm -f core conftest.err conftest.$ac_objext \
19074 conftest$ac_exeext conftest.$ac_ext
19075 LIBS=$ac_check_lib_save_LIBS
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19078 $as_echo "$ac_cv_lib_m_log" >&6; }
19079 if test "x$ac_cv_lib_m_log" = x""yes; then :
19081 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19086 $as_echo_n "checking for logl in -lm... " >&6; }
19087 if test "${ac_cv_lib_m_logl+set}" = set; then :
19088 $as_echo_n "(cached) " >&6
19090 ac_check_lib_save_LIBS=$LIBS
19092 if test x$gcc_no_link = xyes; then
19093 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h. */
19098 /* Override any GCC internal prototype to avoid an error.
19099 Use char because int might match the return type of a GCC
19100 builtin and then its argument prototype would still apply. */
19113 if ac_fn_c_try_link "$LINENO"; then :
19114 ac_cv_lib_m_logl=yes
19116 ac_cv_lib_m_logl=no
19118 rm -f core conftest.err conftest.$ac_objext \
19119 conftest$ac_exeext conftest.$ac_ext
19120 LIBS=$ac_check_lib_save_LIBS
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19123 $as_echo "$ac_cv_lib_m_logl" >&6; }
19124 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19126 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19131 $as_echo_n "checking for clogf in -lm... " >&6; }
19132 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19133 $as_echo_n "(cached) " >&6
19135 ac_check_lib_save_LIBS=$LIBS
19137 if test x$gcc_no_link = xyes; then
19138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19143 /* Override any GCC internal prototype to avoid an error.
19144 Use char because int might match the return type of a GCC
19145 builtin and then its argument prototype would still apply. */
19158 if ac_fn_c_try_link "$LINENO"; then :
19159 ac_cv_lib_m_clogf=yes
19161 ac_cv_lib_m_clogf=no
19163 rm -f core conftest.err conftest.$ac_objext \
19164 conftest$ac_exeext conftest.$ac_ext
19165 LIBS=$ac_check_lib_save_LIBS
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19168 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19169 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19171 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19176 $as_echo_n "checking for clog in -lm... " >&6; }
19177 if test "${ac_cv_lib_m_clog+set}" = set; then :
19178 $as_echo_n "(cached) " >&6
19180 ac_check_lib_save_LIBS=$LIBS
19182 if test x$gcc_no_link = xyes; then
19183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19186 /* end confdefs.h. */
19188 /* Override any GCC internal prototype to avoid an error.
19189 Use char because int might match the return type of a GCC
19190 builtin and then its argument prototype would still apply. */
19203 if ac_fn_c_try_link "$LINENO"; then :
19204 ac_cv_lib_m_clog=yes
19206 ac_cv_lib_m_clog=no
19208 rm -f core conftest.err conftest.$ac_objext \
19209 conftest$ac_exeext conftest.$ac_ext
19210 LIBS=$ac_check_lib_save_LIBS
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19213 $as_echo "$ac_cv_lib_m_clog" >&6; }
19214 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19216 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19221 $as_echo_n "checking for clogl in -lm... " >&6; }
19222 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19223 $as_echo_n "(cached) " >&6
19225 ac_check_lib_save_LIBS=$LIBS
19227 if test x$gcc_no_link = xyes; then
19228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19233 /* Override any GCC internal prototype to avoid an error.
19234 Use char because int might match the return type of a GCC
19235 builtin and then its argument prototype would still apply. */
19248 if ac_fn_c_try_link "$LINENO"; then :
19249 ac_cv_lib_m_clogl=yes
19251 ac_cv_lib_m_clogl=no
19253 rm -f core conftest.err conftest.$ac_objext \
19254 conftest$ac_exeext conftest.$ac_ext
19255 LIBS=$ac_check_lib_save_LIBS
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19258 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19259 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19261 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19266 $as_echo_n "checking for log10f in -lm... " >&6; }
19267 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19268 $as_echo_n "(cached) " >&6
19270 ac_check_lib_save_LIBS=$LIBS
19272 if test x$gcc_no_link = xyes; then
19273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19276 /* end confdefs.h. */
19278 /* Override any GCC internal prototype to avoid an error.
19279 Use char because int might match the return type of a GCC
19280 builtin and then its argument prototype would still apply. */
19293 if ac_fn_c_try_link "$LINENO"; then :
19294 ac_cv_lib_m_log10f=yes
19296 ac_cv_lib_m_log10f=no
19298 rm -f core conftest.err conftest.$ac_objext \
19299 conftest$ac_exeext conftest.$ac_ext
19300 LIBS=$ac_check_lib_save_LIBS
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19303 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19304 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19306 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19311 $as_echo_n "checking for log10 in -lm... " >&6; }
19312 if test "${ac_cv_lib_m_log10+set}" = set; then :
19313 $as_echo_n "(cached) " >&6
19315 ac_check_lib_save_LIBS=$LIBS
19317 if test x$gcc_no_link = xyes; then
19318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h. */
19323 /* Override any GCC internal prototype to avoid an error.
19324 Use char because int might match the return type of a GCC
19325 builtin and then its argument prototype would still apply. */
19338 if ac_fn_c_try_link "$LINENO"; then :
19339 ac_cv_lib_m_log10=yes
19341 ac_cv_lib_m_log10=no
19343 rm -f core conftest.err conftest.$ac_objext \
19344 conftest$ac_exeext conftest.$ac_ext
19345 LIBS=$ac_check_lib_save_LIBS
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19348 $as_echo "$ac_cv_lib_m_log10" >&6; }
19349 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19351 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19356 $as_echo_n "checking for log10l in -lm... " >&6; }
19357 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19358 $as_echo_n "(cached) " >&6
19360 ac_check_lib_save_LIBS=$LIBS
19362 if test x$gcc_no_link = xyes; then
19363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h. */
19368 /* Override any GCC internal prototype to avoid an error.
19369 Use char because int might match the return type of a GCC
19370 builtin and then its argument prototype would still apply. */
19383 if ac_fn_c_try_link "$LINENO"; then :
19384 ac_cv_lib_m_log10l=yes
19386 ac_cv_lib_m_log10l=no
19388 rm -f core conftest.err conftest.$ac_objext \
19389 conftest$ac_exeext conftest.$ac_ext
19390 LIBS=$ac_check_lib_save_LIBS
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19393 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19394 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
19396 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19401 $as_echo_n "checking for clog10f in -lm... " >&6; }
19402 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19403 $as_echo_n "(cached) " >&6
19405 ac_check_lib_save_LIBS=$LIBS
19407 if test x$gcc_no_link = xyes; then
19408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19413 /* Override any GCC internal prototype to avoid an error.
19414 Use char because int might match the return type of a GCC
19415 builtin and then its argument prototype would still apply. */
19428 if ac_fn_c_try_link "$LINENO"; then :
19429 ac_cv_lib_m_clog10f=yes
19431 ac_cv_lib_m_clog10f=no
19433 rm -f core conftest.err conftest.$ac_objext \
19434 conftest$ac_exeext conftest.$ac_ext
19435 LIBS=$ac_check_lib_save_LIBS
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19438 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19439 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
19441 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19446 $as_echo_n "checking for clog10 in -lm... " >&6; }
19447 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19448 $as_echo_n "(cached) " >&6
19450 ac_check_lib_save_LIBS=$LIBS
19452 if test x$gcc_no_link = xyes; then
19453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19458 /* Override any GCC internal prototype to avoid an error.
19459 Use char because int might match the return type of a GCC
19460 builtin and then its argument prototype would still apply. */
19473 if ac_fn_c_try_link "$LINENO"; then :
19474 ac_cv_lib_m_clog10=yes
19476 ac_cv_lib_m_clog10=no
19478 rm -f core conftest.err conftest.$ac_objext \
19479 conftest$ac_exeext conftest.$ac_ext
19480 LIBS=$ac_check_lib_save_LIBS
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19483 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19484 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
19486 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19491 $as_echo_n "checking for clog10l in -lm... " >&6; }
19492 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19493 $as_echo_n "(cached) " >&6
19495 ac_check_lib_save_LIBS=$LIBS
19497 if test x$gcc_no_link = xyes; then
19498 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19503 /* Override any GCC internal prototype to avoid an error.
19504 Use char because int might match the return type of a GCC
19505 builtin and then its argument prototype would still apply. */
19518 if ac_fn_c_try_link "$LINENO"; then :
19519 ac_cv_lib_m_clog10l=yes
19521 ac_cv_lib_m_clog10l=no
19523 rm -f core conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19525 LIBS=$ac_check_lib_save_LIBS
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19528 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19529 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
19531 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19536 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19537 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19538 $as_echo_n "(cached) " >&6
19540 ac_check_lib_save_LIBS=$LIBS
19542 if test x$gcc_no_link = xyes; then
19543 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19546 /* end confdefs.h. */
19548 /* Override any GCC internal prototype to avoid an error.
19549 Use char because int might match the return type of a GCC
19550 builtin and then its argument prototype would still apply. */
19554 char nextafterf ();
19558 return nextafterf ();
19563 if ac_fn_c_try_link "$LINENO"; then :
19564 ac_cv_lib_m_nextafterf=yes
19566 ac_cv_lib_m_nextafterf=no
19568 rm -f core conftest.err conftest.$ac_objext \
19569 conftest$ac_exeext conftest.$ac_ext
19570 LIBS=$ac_check_lib_save_LIBS
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19573 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19574 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
19576 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19581 $as_echo_n "checking for nextafter in -lm... " >&6; }
19582 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19583 $as_echo_n "(cached) " >&6
19585 ac_check_lib_save_LIBS=$LIBS
19587 if test x$gcc_no_link = xyes; then
19588 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19593 /* Override any GCC internal prototype to avoid an error.
19594 Use char because int might match the return type of a GCC
19595 builtin and then its argument prototype would still apply. */
19603 return nextafter ();
19608 if ac_fn_c_try_link "$LINENO"; then :
19609 ac_cv_lib_m_nextafter=yes
19611 ac_cv_lib_m_nextafter=no
19613 rm -f core conftest.err conftest.$ac_objext \
19614 conftest$ac_exeext conftest.$ac_ext
19615 LIBS=$ac_check_lib_save_LIBS
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19618 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19619 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
19621 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19626 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19627 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19628 $as_echo_n "(cached) " >&6
19630 ac_check_lib_save_LIBS=$LIBS
19632 if test x$gcc_no_link = xyes; then
19633 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19636 /* end confdefs.h. */
19638 /* Override any GCC internal prototype to avoid an error.
19639 Use char because int might match the return type of a GCC
19640 builtin and then its argument prototype would still apply. */
19644 char nextafterl ();
19648 return nextafterl ();
19653 if ac_fn_c_try_link "$LINENO"; then :
19654 ac_cv_lib_m_nextafterl=yes
19656 ac_cv_lib_m_nextafterl=no
19658 rm -f core conftest.err conftest.$ac_objext \
19659 conftest$ac_exeext conftest.$ac_ext
19660 LIBS=$ac_check_lib_save_LIBS
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19663 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19664 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
19666 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19671 $as_echo_n "checking for powf in -lm... " >&6; }
19672 if test "${ac_cv_lib_m_powf+set}" = set; then :
19673 $as_echo_n "(cached) " >&6
19675 ac_check_lib_save_LIBS=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
19684 Use char because int might match the return type of a GCC
19685 builtin and then its argument prototype would still apply. */
19698 if ac_fn_c_try_link "$LINENO"; then :
19699 ac_cv_lib_m_powf=yes
19701 ac_cv_lib_m_powf=no
19703 rm -f core conftest.err conftest.$ac_objext \
19704 conftest$ac_exeext conftest.$ac_ext
19705 LIBS=$ac_check_lib_save_LIBS
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19708 $as_echo "$ac_cv_lib_m_powf" >&6; }
19709 if test "x$ac_cv_lib_m_powf" = x""yes; then :
19711 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19716 $as_echo_n "checking for pow in -lm... " >&6; }
19717 if test "${ac_cv_lib_m_pow+set}" = set; then :
19718 $as_echo_n "(cached) " >&6
19720 ac_check_lib_save_LIBS=$LIBS
19722 if test x$gcc_no_link = xyes; then
19723 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19726 /* end confdefs.h. */
19728 /* Override any GCC internal prototype to avoid an error.
19729 Use char because int might match the return type of a GCC
19730 builtin and then its argument prototype would still apply. */
19743 if ac_fn_c_try_link "$LINENO"; then :
19744 ac_cv_lib_m_pow=yes
19748 rm -f core conftest.err conftest.$ac_objext \
19749 conftest$ac_exeext conftest.$ac_ext
19750 LIBS=$ac_check_lib_save_LIBS
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19753 $as_echo "$ac_cv_lib_m_pow" >&6; }
19754 if test "x$ac_cv_lib_m_pow" = x""yes; then :
19756 $as_echo "#define HAVE_POW 1" >>confdefs.h
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19761 $as_echo_n "checking for powl in -lm... " >&6; }
19762 if test "${ac_cv_lib_m_powl+set}" = set; then :
19763 $as_echo_n "(cached) " >&6
19765 ac_check_lib_save_LIBS=$LIBS
19767 if test x$gcc_no_link = xyes; then
19768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19771 /* end confdefs.h. */
19773 /* Override any GCC internal prototype to avoid an error.
19774 Use char because int might match the return type of a GCC
19775 builtin and then its argument prototype would still apply. */
19788 if ac_fn_c_try_link "$LINENO"; then :
19789 ac_cv_lib_m_powl=yes
19791 ac_cv_lib_m_powl=no
19793 rm -f core conftest.err conftest.$ac_objext \
19794 conftest$ac_exeext conftest.$ac_ext
19795 LIBS=$ac_check_lib_save_LIBS
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19798 $as_echo "$ac_cv_lib_m_powl" >&6; }
19799 if test "x$ac_cv_lib_m_powl" = x""yes; then :
19801 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19806 $as_echo_n "checking for cpowf in -lm... " >&6; }
19807 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19808 $as_echo_n "(cached) " >&6
19810 ac_check_lib_save_LIBS=$LIBS
19812 if test x$gcc_no_link = xyes; then
19813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19818 /* Override any GCC internal prototype to avoid an error.
19819 Use char because int might match the return type of a GCC
19820 builtin and then its argument prototype would still apply. */
19833 if ac_fn_c_try_link "$LINENO"; then :
19834 ac_cv_lib_m_cpowf=yes
19836 ac_cv_lib_m_cpowf=no
19838 rm -f core conftest.err conftest.$ac_objext \
19839 conftest$ac_exeext conftest.$ac_ext
19840 LIBS=$ac_check_lib_save_LIBS
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19843 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19844 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
19846 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19851 $as_echo_n "checking for cpow in -lm... " >&6; }
19852 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19853 $as_echo_n "(cached) " >&6
19855 ac_check_lib_save_LIBS=$LIBS
19857 if test x$gcc_no_link = xyes; then
19858 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h. */
19863 /* Override any GCC internal prototype to avoid an error.
19864 Use char because int might match the return type of a GCC
19865 builtin and then its argument prototype would still apply. */
19878 if ac_fn_c_try_link "$LINENO"; then :
19879 ac_cv_lib_m_cpow=yes
19881 ac_cv_lib_m_cpow=no
19883 rm -f core conftest.err conftest.$ac_objext \
19884 conftest$ac_exeext conftest.$ac_ext
19885 LIBS=$ac_check_lib_save_LIBS
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19888 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19889 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
19891 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19896 $as_echo_n "checking for cpowl in -lm... " >&6; }
19897 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19898 $as_echo_n "(cached) " >&6
19900 ac_check_lib_save_LIBS=$LIBS
19902 if test x$gcc_no_link = xyes; then
19903 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19908 /* Override any GCC internal prototype to avoid an error.
19909 Use char because int might match the return type of a GCC
19910 builtin and then its argument prototype would still apply. */
19923 if ac_fn_c_try_link "$LINENO"; then :
19924 ac_cv_lib_m_cpowl=yes
19926 ac_cv_lib_m_cpowl=no
19928 rm -f core conftest.err conftest.$ac_objext \
19929 conftest$ac_exeext conftest.$ac_ext
19930 LIBS=$ac_check_lib_save_LIBS
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19933 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19934 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
19936 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19941 $as_echo_n "checking for roundf in -lm... " >&6; }
19942 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19943 $as_echo_n "(cached) " >&6
19945 ac_check_lib_save_LIBS=$LIBS
19947 if test x$gcc_no_link = xyes; then
19948 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19951 /* end confdefs.h. */
19953 /* Override any GCC internal prototype to avoid an error.
19954 Use char because int might match the return type of a GCC
19955 builtin and then its argument prototype would still apply. */
19968 if ac_fn_c_try_link "$LINENO"; then :
19969 ac_cv_lib_m_roundf=yes
19971 ac_cv_lib_m_roundf=no
19973 rm -f core conftest.err conftest.$ac_objext \
19974 conftest$ac_exeext conftest.$ac_ext
19975 LIBS=$ac_check_lib_save_LIBS
19977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
19978 $as_echo "$ac_cv_lib_m_roundf" >&6; }
19979 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
19981 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
19986 $as_echo_n "checking for round in -lm... " >&6; }
19987 if test "${ac_cv_lib_m_round+set}" = set; then :
19988 $as_echo_n "(cached) " >&6
19990 ac_check_lib_save_LIBS=$LIBS
19992 if test x$gcc_no_link = xyes; then
19993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19996 /* end confdefs.h. */
19998 /* Override any GCC internal prototype to avoid an error.
19999 Use char because int might match the return type of a GCC
20000 builtin and then its argument prototype would still apply. */
20013 if ac_fn_c_try_link "$LINENO"; then :
20014 ac_cv_lib_m_round=yes
20016 ac_cv_lib_m_round=no
20018 rm -f core conftest.err conftest.$ac_objext \
20019 conftest$ac_exeext conftest.$ac_ext
20020 LIBS=$ac_check_lib_save_LIBS
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20023 $as_echo "$ac_cv_lib_m_round" >&6; }
20024 if test "x$ac_cv_lib_m_round" = x""yes; then :
20026 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20031 $as_echo_n "checking for roundl in -lm... " >&6; }
20032 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20033 $as_echo_n "(cached) " >&6
20035 ac_check_lib_save_LIBS=$LIBS
20037 if test x$gcc_no_link = xyes; then
20038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20043 /* Override any GCC internal prototype to avoid an error.
20044 Use char because int might match the return type of a GCC
20045 builtin and then its argument prototype would still apply. */
20058 if ac_fn_c_try_link "$LINENO"; then :
20059 ac_cv_lib_m_roundl=yes
20061 ac_cv_lib_m_roundl=no
20063 rm -f core conftest.err conftest.$ac_objext \
20064 conftest$ac_exeext conftest.$ac_ext
20065 LIBS=$ac_check_lib_save_LIBS
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20068 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20069 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20071 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20076 $as_echo_n "checking for lroundf in -lm... " >&6; }
20077 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20078 $as_echo_n "(cached) " >&6
20080 ac_check_lib_save_LIBS=$LIBS
20082 if test x$gcc_no_link = xyes; then
20083 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20088 /* Override any GCC internal prototype to avoid an error.
20089 Use char because int might match the return type of a GCC
20090 builtin and then its argument prototype would still apply. */
20103 if ac_fn_c_try_link "$LINENO"; then :
20104 ac_cv_lib_m_lroundf=yes
20106 ac_cv_lib_m_lroundf=no
20108 rm -f core conftest.err conftest.$ac_objext \
20109 conftest$ac_exeext conftest.$ac_ext
20110 LIBS=$ac_check_lib_save_LIBS
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20113 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20114 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20116 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20121 $as_echo_n "checking for lround in -lm... " >&6; }
20122 if test "${ac_cv_lib_m_lround+set}" = set; then :
20123 $as_echo_n "(cached) " >&6
20125 ac_check_lib_save_LIBS=$LIBS
20127 if test x$gcc_no_link = xyes; then
20128 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20131 /* end confdefs.h. */
20133 /* Override any GCC internal prototype to avoid an error.
20134 Use char because int might match the return type of a GCC
20135 builtin and then its argument prototype would still apply. */
20148 if ac_fn_c_try_link "$LINENO"; then :
20149 ac_cv_lib_m_lround=yes
20151 ac_cv_lib_m_lround=no
20153 rm -f core conftest.err conftest.$ac_objext \
20154 conftest$ac_exeext conftest.$ac_ext
20155 LIBS=$ac_check_lib_save_LIBS
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20158 $as_echo "$ac_cv_lib_m_lround" >&6; }
20159 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20161 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20166 $as_echo_n "checking for lroundl in -lm... " >&6; }
20167 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20168 $as_echo_n "(cached) " >&6
20170 ac_check_lib_save_LIBS=$LIBS
20172 if test x$gcc_no_link = xyes; then
20173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h. */
20178 /* Override any GCC internal prototype to avoid an error.
20179 Use char because int might match the return type of a GCC
20180 builtin and then its argument prototype would still apply. */
20193 if ac_fn_c_try_link "$LINENO"; then :
20194 ac_cv_lib_m_lroundl=yes
20196 ac_cv_lib_m_lroundl=no
20198 rm -f core conftest.err conftest.$ac_objext \
20199 conftest$ac_exeext conftest.$ac_ext
20200 LIBS=$ac_check_lib_save_LIBS
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20203 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20204 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20206 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20211 $as_echo_n "checking for llroundf in -lm... " >&6; }
20212 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20213 $as_echo_n "(cached) " >&6
20215 ac_check_lib_save_LIBS=$LIBS
20217 if test x$gcc_no_link = xyes; then
20218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20221 /* end confdefs.h. */
20223 /* Override any GCC internal prototype to avoid an error.
20224 Use char because int might match the return type of a GCC
20225 builtin and then its argument prototype would still apply. */
20233 return llroundf ();
20238 if ac_fn_c_try_link "$LINENO"; then :
20239 ac_cv_lib_m_llroundf=yes
20241 ac_cv_lib_m_llroundf=no
20243 rm -f core conftest.err conftest.$ac_objext \
20244 conftest$ac_exeext conftest.$ac_ext
20245 LIBS=$ac_check_lib_save_LIBS
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20248 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20249 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20251 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20256 $as_echo_n "checking for llround in -lm... " >&6; }
20257 if test "${ac_cv_lib_m_llround+set}" = set; then :
20258 $as_echo_n "(cached) " >&6
20260 ac_check_lib_save_LIBS=$LIBS
20262 if test x$gcc_no_link = xyes; then
20263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20266 /* end confdefs.h. */
20268 /* Override any GCC internal prototype to avoid an error.
20269 Use char because int might match the return type of a GCC
20270 builtin and then its argument prototype would still apply. */
20283 if ac_fn_c_try_link "$LINENO"; then :
20284 ac_cv_lib_m_llround=yes
20286 ac_cv_lib_m_llround=no
20288 rm -f core conftest.err conftest.$ac_objext \
20289 conftest$ac_exeext conftest.$ac_ext
20290 LIBS=$ac_check_lib_save_LIBS
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20293 $as_echo "$ac_cv_lib_m_llround" >&6; }
20294 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20296 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20301 $as_echo_n "checking for llroundl in -lm... " >&6; }
20302 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20303 $as_echo_n "(cached) " >&6
20305 ac_check_lib_save_LIBS=$LIBS
20307 if test x$gcc_no_link = xyes; then
20308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20313 /* Override any GCC internal prototype to avoid an error.
20314 Use char because int might match the return type of a GCC
20315 builtin and then its argument prototype would still apply. */
20323 return llroundl ();
20328 if ac_fn_c_try_link "$LINENO"; then :
20329 ac_cv_lib_m_llroundl=yes
20331 ac_cv_lib_m_llroundl=no
20333 rm -f core conftest.err conftest.$ac_objext \
20334 conftest$ac_exeext conftest.$ac_ext
20335 LIBS=$ac_check_lib_save_LIBS
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20338 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20339 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20341 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20346 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20347 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20348 $as_echo_n "(cached) " >&6
20350 ac_check_lib_save_LIBS=$LIBS
20352 if test x$gcc_no_link = xyes; then
20353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20356 /* end confdefs.h. */
20358 /* Override any GCC internal prototype to avoid an error.
20359 Use char because int might match the return type of a GCC
20360 builtin and then its argument prototype would still apply. */
20373 if ac_fn_c_try_link "$LINENO"; then :
20374 ac_cv_lib_m_scalbnf=yes
20376 ac_cv_lib_m_scalbnf=no
20378 rm -f core conftest.err conftest.$ac_objext \
20379 conftest$ac_exeext conftest.$ac_ext
20380 LIBS=$ac_check_lib_save_LIBS
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20383 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20384 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
20386 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20391 $as_echo_n "checking for scalbn in -lm... " >&6; }
20392 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20393 $as_echo_n "(cached) " >&6
20395 ac_check_lib_save_LIBS=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
20404 Use char because int might match the return type of a GCC
20405 builtin and then its argument prototype would still apply. */
20418 if ac_fn_c_try_link "$LINENO"; then :
20419 ac_cv_lib_m_scalbn=yes
20421 ac_cv_lib_m_scalbn=no
20423 rm -f core conftest.err conftest.$ac_objext \
20424 conftest$ac_exeext conftest.$ac_ext
20425 LIBS=$ac_check_lib_save_LIBS
20427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20428 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20429 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
20431 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20436 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20437 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20438 $as_echo_n "(cached) " >&6
20440 ac_check_lib_save_LIBS=$LIBS
20442 if test x$gcc_no_link = xyes; then
20443 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20446 /* end confdefs.h. */
20448 /* Override any GCC internal prototype to avoid an error.
20449 Use char because int might match the return type of a GCC
20450 builtin and then its argument prototype would still apply. */
20463 if ac_fn_c_try_link "$LINENO"; then :
20464 ac_cv_lib_m_scalbnl=yes
20466 ac_cv_lib_m_scalbnl=no
20468 rm -f core conftest.err conftest.$ac_objext \
20469 conftest$ac_exeext conftest.$ac_ext
20470 LIBS=$ac_check_lib_save_LIBS
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20473 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20474 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
20476 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20481 $as_echo_n "checking for sinf in -lm... " >&6; }
20482 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20483 $as_echo_n "(cached) " >&6
20485 ac_check_lib_save_LIBS=$LIBS
20487 if test x$gcc_no_link = xyes; then
20488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20491 /* end confdefs.h. */
20493 /* Override any GCC internal prototype to avoid an error.
20494 Use char because int might match the return type of a GCC
20495 builtin and then its argument prototype would still apply. */
20508 if ac_fn_c_try_link "$LINENO"; then :
20509 ac_cv_lib_m_sinf=yes
20511 ac_cv_lib_m_sinf=no
20513 rm -f core conftest.err conftest.$ac_objext \
20514 conftest$ac_exeext conftest.$ac_ext
20515 LIBS=$ac_check_lib_save_LIBS
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20518 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20519 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
20521 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20526 $as_echo_n "checking for sin in -lm... " >&6; }
20527 if test "${ac_cv_lib_m_sin+set}" = set; then :
20528 $as_echo_n "(cached) " >&6
20530 ac_check_lib_save_LIBS=$LIBS
20532 if test x$gcc_no_link = xyes; then
20533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20536 /* end confdefs.h. */
20538 /* Override any GCC internal prototype to avoid an error.
20539 Use char because int might match the return type of a GCC
20540 builtin and then its argument prototype would still apply. */
20553 if ac_fn_c_try_link "$LINENO"; then :
20554 ac_cv_lib_m_sin=yes
20558 rm -f core conftest.err conftest.$ac_objext \
20559 conftest$ac_exeext conftest.$ac_ext
20560 LIBS=$ac_check_lib_save_LIBS
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20563 $as_echo "$ac_cv_lib_m_sin" >&6; }
20564 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20566 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20571 $as_echo_n "checking for sinl in -lm... " >&6; }
20572 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20573 $as_echo_n "(cached) " >&6
20575 ac_check_lib_save_LIBS=$LIBS
20577 if test x$gcc_no_link = xyes; then
20578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20581 /* end confdefs.h. */
20583 /* Override any GCC internal prototype to avoid an error.
20584 Use char because int might match the return type of a GCC
20585 builtin and then its argument prototype would still apply. */
20598 if ac_fn_c_try_link "$LINENO"; then :
20599 ac_cv_lib_m_sinl=yes
20601 ac_cv_lib_m_sinl=no
20603 rm -f core conftest.err conftest.$ac_objext \
20604 conftest$ac_exeext conftest.$ac_ext
20605 LIBS=$ac_check_lib_save_LIBS
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20608 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20609 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
20611 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20616 $as_echo_n "checking for csinf in -lm... " >&6; }
20617 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20618 $as_echo_n "(cached) " >&6
20620 ac_check_lib_save_LIBS=$LIBS
20622 if test x$gcc_no_link = xyes; then
20623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20626 /* end confdefs.h. */
20628 /* Override any GCC internal prototype to avoid an error.
20629 Use char because int might match the return type of a GCC
20630 builtin and then its argument prototype would still apply. */
20643 if ac_fn_c_try_link "$LINENO"; then :
20644 ac_cv_lib_m_csinf=yes
20646 ac_cv_lib_m_csinf=no
20648 rm -f core conftest.err conftest.$ac_objext \
20649 conftest$ac_exeext conftest.$ac_ext
20650 LIBS=$ac_check_lib_save_LIBS
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20653 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20654 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
20656 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20661 $as_echo_n "checking for csin in -lm... " >&6; }
20662 if test "${ac_cv_lib_m_csin+set}" = set; then :
20663 $as_echo_n "(cached) " >&6
20665 ac_check_lib_save_LIBS=$LIBS
20667 if test x$gcc_no_link = xyes; then
20668 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20671 /* end confdefs.h. */
20673 /* Override any GCC internal prototype to avoid an error.
20674 Use char because int might match the return type of a GCC
20675 builtin and then its argument prototype would still apply. */
20688 if ac_fn_c_try_link "$LINENO"; then :
20689 ac_cv_lib_m_csin=yes
20691 ac_cv_lib_m_csin=no
20693 rm -f core conftest.err conftest.$ac_objext \
20694 conftest$ac_exeext conftest.$ac_ext
20695 LIBS=$ac_check_lib_save_LIBS
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20698 $as_echo "$ac_cv_lib_m_csin" >&6; }
20699 if test "x$ac_cv_lib_m_csin" = x""yes; then :
20701 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20706 $as_echo_n "checking for csinl in -lm... " >&6; }
20707 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20708 $as_echo_n "(cached) " >&6
20710 ac_check_lib_save_LIBS=$LIBS
20712 if test x$gcc_no_link = xyes; then
20713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h. */
20718 /* Override any GCC internal prototype to avoid an error.
20719 Use char because int might match the return type of a GCC
20720 builtin and then its argument prototype would still apply. */
20733 if ac_fn_c_try_link "$LINENO"; then :
20734 ac_cv_lib_m_csinl=yes
20736 ac_cv_lib_m_csinl=no
20738 rm -f core conftest.err conftest.$ac_objext \
20739 conftest$ac_exeext conftest.$ac_ext
20740 LIBS=$ac_check_lib_save_LIBS
20742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20743 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20744 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
20746 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20751 $as_echo_n "checking for sinhf in -lm... " >&6; }
20752 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20753 $as_echo_n "(cached) " >&6
20755 ac_check_lib_save_LIBS=$LIBS
20757 if test x$gcc_no_link = xyes; then
20758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20761 /* end confdefs.h. */
20763 /* Override any GCC internal prototype to avoid an error.
20764 Use char because int might match the return type of a GCC
20765 builtin and then its argument prototype would still apply. */
20778 if ac_fn_c_try_link "$LINENO"; then :
20779 ac_cv_lib_m_sinhf=yes
20781 ac_cv_lib_m_sinhf=no
20783 rm -f core conftest.err conftest.$ac_objext \
20784 conftest$ac_exeext conftest.$ac_ext
20785 LIBS=$ac_check_lib_save_LIBS
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20788 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20789 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
20791 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20796 $as_echo_n "checking for sinh in -lm... " >&6; }
20797 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20798 $as_echo_n "(cached) " >&6
20800 ac_check_lib_save_LIBS=$LIBS
20802 if test x$gcc_no_link = xyes; then
20803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h. */
20808 /* Override any GCC internal prototype to avoid an error.
20809 Use char because int might match the return type of a GCC
20810 builtin and then its argument prototype would still apply. */
20823 if ac_fn_c_try_link "$LINENO"; then :
20824 ac_cv_lib_m_sinh=yes
20826 ac_cv_lib_m_sinh=no
20828 rm -f core conftest.err conftest.$ac_objext \
20829 conftest$ac_exeext conftest.$ac_ext
20830 LIBS=$ac_check_lib_save_LIBS
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20833 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20834 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
20836 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20841 $as_echo_n "checking for sinhl in -lm... " >&6; }
20842 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20843 $as_echo_n "(cached) " >&6
20845 ac_check_lib_save_LIBS=$LIBS
20847 if test x$gcc_no_link = xyes; then
20848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20853 /* Override any GCC internal prototype to avoid an error.
20854 Use char because int might match the return type of a GCC
20855 builtin and then its argument prototype would still apply. */
20868 if ac_fn_c_try_link "$LINENO"; then :
20869 ac_cv_lib_m_sinhl=yes
20871 ac_cv_lib_m_sinhl=no
20873 rm -f core conftest.err conftest.$ac_objext \
20874 conftest$ac_exeext conftest.$ac_ext
20875 LIBS=$ac_check_lib_save_LIBS
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20878 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20879 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
20881 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20886 $as_echo_n "checking for csinhf in -lm... " >&6; }
20887 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20888 $as_echo_n "(cached) " >&6
20890 ac_check_lib_save_LIBS=$LIBS
20892 if test x$gcc_no_link = xyes; then
20893 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20896 /* end confdefs.h. */
20898 /* Override any GCC internal prototype to avoid an error.
20899 Use char because int might match the return type of a GCC
20900 builtin and then its argument prototype would still apply. */
20913 if ac_fn_c_try_link "$LINENO"; then :
20914 ac_cv_lib_m_csinhf=yes
20916 ac_cv_lib_m_csinhf=no
20918 rm -f core conftest.err conftest.$ac_objext \
20919 conftest$ac_exeext conftest.$ac_ext
20920 LIBS=$ac_check_lib_save_LIBS
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20923 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20924 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
20926 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20931 $as_echo_n "checking for csinh in -lm... " >&6; }
20932 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20933 $as_echo_n "(cached) " >&6
20935 ac_check_lib_save_LIBS=$LIBS
20937 if test x$gcc_no_link = xyes; then
20938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20941 /* end confdefs.h. */
20943 /* Override any GCC internal prototype to avoid an error.
20944 Use char because int might match the return type of a GCC
20945 builtin and then its argument prototype would still apply. */
20958 if ac_fn_c_try_link "$LINENO"; then :
20959 ac_cv_lib_m_csinh=yes
20961 ac_cv_lib_m_csinh=no
20963 rm -f core conftest.err conftest.$ac_objext \
20964 conftest$ac_exeext conftest.$ac_ext
20965 LIBS=$ac_check_lib_save_LIBS
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20968 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20969 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
20971 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20976 $as_echo_n "checking for csinhl in -lm... " >&6; }
20977 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
20978 $as_echo_n "(cached) " >&6
20980 ac_check_lib_save_LIBS=$LIBS
20982 if test x$gcc_no_link = xyes; then
20983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20986 /* end confdefs.h. */
20988 /* Override any GCC internal prototype to avoid an error.
20989 Use char because int might match the return type of a GCC
20990 builtin and then its argument prototype would still apply. */
21003 if ac_fn_c_try_link "$LINENO"; then :
21004 ac_cv_lib_m_csinhl=yes
21006 ac_cv_lib_m_csinhl=no
21008 rm -f core conftest.err conftest.$ac_objext \
21009 conftest$ac_exeext conftest.$ac_ext
21010 LIBS=$ac_check_lib_save_LIBS
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21013 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21014 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21016 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21021 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21022 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21023 $as_echo_n "(cached) " >&6
21025 ac_check_lib_save_LIBS=$LIBS
21027 if test x$gcc_no_link = xyes; then
21028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21031 /* end confdefs.h. */
21033 /* Override any GCC internal prototype to avoid an error.
21034 Use char because int might match the return type of a GCC
21035 builtin and then its argument prototype would still apply. */
21048 if ac_fn_c_try_link "$LINENO"; then :
21049 ac_cv_lib_m_sqrtf=yes
21051 ac_cv_lib_m_sqrtf=no
21053 rm -f core conftest.err conftest.$ac_objext \
21054 conftest$ac_exeext conftest.$ac_ext
21055 LIBS=$ac_check_lib_save_LIBS
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21058 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21059 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21061 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21066 $as_echo_n "checking for sqrt in -lm... " >&6; }
21067 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21068 $as_echo_n "(cached) " >&6
21070 ac_check_lib_save_LIBS=$LIBS
21072 if test x$gcc_no_link = xyes; then
21073 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21076 /* end confdefs.h. */
21078 /* Override any GCC internal prototype to avoid an error.
21079 Use char because int might match the return type of a GCC
21080 builtin and then its argument prototype would still apply. */
21093 if ac_fn_c_try_link "$LINENO"; then :
21094 ac_cv_lib_m_sqrt=yes
21096 ac_cv_lib_m_sqrt=no
21098 rm -f core conftest.err conftest.$ac_objext \
21099 conftest$ac_exeext conftest.$ac_ext
21100 LIBS=$ac_check_lib_save_LIBS
21102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21103 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21104 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21106 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21111 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21112 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21113 $as_echo_n "(cached) " >&6
21115 ac_check_lib_save_LIBS=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
21124 Use char because int might match the return type of a GCC
21125 builtin and then its argument prototype would still apply. */
21138 if ac_fn_c_try_link "$LINENO"; then :
21139 ac_cv_lib_m_sqrtl=yes
21141 ac_cv_lib_m_sqrtl=no
21143 rm -f core conftest.err conftest.$ac_objext \
21144 conftest$ac_exeext conftest.$ac_ext
21145 LIBS=$ac_check_lib_save_LIBS
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21148 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21149 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21151 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21156 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21157 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21158 $as_echo_n "(cached) " >&6
21160 ac_check_lib_save_LIBS=$LIBS
21162 if test x$gcc_no_link = xyes; then
21163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21166 /* end confdefs.h. */
21168 /* Override any GCC internal prototype to avoid an error.
21169 Use char because int might match the return type of a GCC
21170 builtin and then its argument prototype would still apply. */
21183 if ac_fn_c_try_link "$LINENO"; then :
21184 ac_cv_lib_m_csqrtf=yes
21186 ac_cv_lib_m_csqrtf=no
21188 rm -f core conftest.err conftest.$ac_objext \
21189 conftest$ac_exeext conftest.$ac_ext
21190 LIBS=$ac_check_lib_save_LIBS
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21193 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21194 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21196 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21201 $as_echo_n "checking for csqrt in -lm... " >&6; }
21202 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21203 $as_echo_n "(cached) " >&6
21205 ac_check_lib_save_LIBS=$LIBS
21207 if test x$gcc_no_link = xyes; then
21208 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21211 /* end confdefs.h. */
21213 /* Override any GCC internal prototype to avoid an error.
21214 Use char because int might match the return type of a GCC
21215 builtin and then its argument prototype would still apply. */
21228 if ac_fn_c_try_link "$LINENO"; then :
21229 ac_cv_lib_m_csqrt=yes
21231 ac_cv_lib_m_csqrt=no
21233 rm -f core conftest.err conftest.$ac_objext \
21234 conftest$ac_exeext conftest.$ac_ext
21235 LIBS=$ac_check_lib_save_LIBS
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21238 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21239 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21241 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21246 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21247 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21248 $as_echo_n "(cached) " >&6
21250 ac_check_lib_save_LIBS=$LIBS
21252 if test x$gcc_no_link = xyes; then
21253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21256 /* end confdefs.h. */
21258 /* Override any GCC internal prototype to avoid an error.
21259 Use char because int might match the return type of a GCC
21260 builtin and then its argument prototype would still apply. */
21273 if ac_fn_c_try_link "$LINENO"; then :
21274 ac_cv_lib_m_csqrtl=yes
21276 ac_cv_lib_m_csqrtl=no
21278 rm -f core conftest.err conftest.$ac_objext \
21279 conftest$ac_exeext conftest.$ac_ext
21280 LIBS=$ac_check_lib_save_LIBS
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21283 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21284 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21286 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21291 $as_echo_n "checking for tanf in -lm... " >&6; }
21292 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21293 $as_echo_n "(cached) " >&6
21295 ac_check_lib_save_LIBS=$LIBS
21297 if test x$gcc_no_link = xyes; then
21298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21301 /* end confdefs.h. */
21303 /* Override any GCC internal prototype to avoid an error.
21304 Use char because int might match the return type of a GCC
21305 builtin and then its argument prototype would still apply. */
21318 if ac_fn_c_try_link "$LINENO"; then :
21319 ac_cv_lib_m_tanf=yes
21321 ac_cv_lib_m_tanf=no
21323 rm -f core conftest.err conftest.$ac_objext \
21324 conftest$ac_exeext conftest.$ac_ext
21325 LIBS=$ac_check_lib_save_LIBS
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21328 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21329 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21331 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21336 $as_echo_n "checking for tan in -lm... " >&6; }
21337 if test "${ac_cv_lib_m_tan+set}" = set; then :
21338 $as_echo_n "(cached) " >&6
21340 ac_check_lib_save_LIBS=$LIBS
21342 if test x$gcc_no_link = xyes; then
21343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346 /* end confdefs.h. */
21348 /* Override any GCC internal prototype to avoid an error.
21349 Use char because int might match the return type of a GCC
21350 builtin and then its argument prototype would still apply. */
21363 if ac_fn_c_try_link "$LINENO"; then :
21364 ac_cv_lib_m_tan=yes
21368 rm -f core conftest.err conftest.$ac_objext \
21369 conftest$ac_exeext conftest.$ac_ext
21370 LIBS=$ac_check_lib_save_LIBS
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21373 $as_echo "$ac_cv_lib_m_tan" >&6; }
21374 if test "x$ac_cv_lib_m_tan" = x""yes; then :
21376 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21381 $as_echo_n "checking for tanl in -lm... " >&6; }
21382 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21383 $as_echo_n "(cached) " >&6
21385 ac_check_lib_save_LIBS=$LIBS
21387 if test x$gcc_no_link = xyes; then
21388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21391 /* end confdefs.h. */
21393 /* Override any GCC internal prototype to avoid an error.
21394 Use char because int might match the return type of a GCC
21395 builtin and then its argument prototype would still apply. */
21408 if ac_fn_c_try_link "$LINENO"; then :
21409 ac_cv_lib_m_tanl=yes
21411 ac_cv_lib_m_tanl=no
21413 rm -f core conftest.err conftest.$ac_objext \
21414 conftest$ac_exeext conftest.$ac_ext
21415 LIBS=$ac_check_lib_save_LIBS
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21418 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21419 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
21421 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21426 $as_echo_n "checking for ctanf in -lm... " >&6; }
21427 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21428 $as_echo_n "(cached) " >&6
21430 ac_check_lib_save_LIBS=$LIBS
21432 if test x$gcc_no_link = xyes; then
21433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h. */
21438 /* Override any GCC internal prototype to avoid an error.
21439 Use char because int might match the return type of a GCC
21440 builtin and then its argument prototype would still apply. */
21453 if ac_fn_c_try_link "$LINENO"; then :
21454 ac_cv_lib_m_ctanf=yes
21456 ac_cv_lib_m_ctanf=no
21458 rm -f core conftest.err conftest.$ac_objext \
21459 conftest$ac_exeext conftest.$ac_ext
21460 LIBS=$ac_check_lib_save_LIBS
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21463 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21464 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
21466 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21471 $as_echo_n "checking for ctan in -lm... " >&6; }
21472 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21473 $as_echo_n "(cached) " >&6
21475 ac_check_lib_save_LIBS=$LIBS
21477 if test x$gcc_no_link = xyes; then
21478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21481 /* end confdefs.h. */
21483 /* Override any GCC internal prototype to avoid an error.
21484 Use char because int might match the return type of a GCC
21485 builtin and then its argument prototype would still apply. */
21498 if ac_fn_c_try_link "$LINENO"; then :
21499 ac_cv_lib_m_ctan=yes
21501 ac_cv_lib_m_ctan=no
21503 rm -f core conftest.err conftest.$ac_objext \
21504 conftest$ac_exeext conftest.$ac_ext
21505 LIBS=$ac_check_lib_save_LIBS
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21508 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21509 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
21511 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21516 $as_echo_n "checking for ctanl in -lm... " >&6; }
21517 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21518 $as_echo_n "(cached) " >&6
21520 ac_check_lib_save_LIBS=$LIBS
21522 if test x$gcc_no_link = xyes; then
21523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21526 /* end confdefs.h. */
21528 /* Override any GCC internal prototype to avoid an error.
21529 Use char because int might match the return type of a GCC
21530 builtin and then its argument prototype would still apply. */
21543 if ac_fn_c_try_link "$LINENO"; then :
21544 ac_cv_lib_m_ctanl=yes
21546 ac_cv_lib_m_ctanl=no
21548 rm -f core conftest.err conftest.$ac_objext \
21549 conftest$ac_exeext conftest.$ac_ext
21550 LIBS=$ac_check_lib_save_LIBS
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21553 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21554 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
21556 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21561 $as_echo_n "checking for tanhf in -lm... " >&6; }
21562 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21563 $as_echo_n "(cached) " >&6
21565 ac_check_lib_save_LIBS=$LIBS
21567 if test x$gcc_no_link = xyes; then
21568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21571 /* end confdefs.h. */
21573 /* Override any GCC internal prototype to avoid an error.
21574 Use char because int might match the return type of a GCC
21575 builtin and then its argument prototype would still apply. */
21588 if ac_fn_c_try_link "$LINENO"; then :
21589 ac_cv_lib_m_tanhf=yes
21591 ac_cv_lib_m_tanhf=no
21593 rm -f core conftest.err conftest.$ac_objext \
21594 conftest$ac_exeext conftest.$ac_ext
21595 LIBS=$ac_check_lib_save_LIBS
21597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21598 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21599 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
21601 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21606 $as_echo_n "checking for tanh in -lm... " >&6; }
21607 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21608 $as_echo_n "(cached) " >&6
21610 ac_check_lib_save_LIBS=$LIBS
21612 if test x$gcc_no_link = xyes; then
21613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21616 /* end confdefs.h. */
21618 /* Override any GCC internal prototype to avoid an error.
21619 Use char because int might match the return type of a GCC
21620 builtin and then its argument prototype would still apply. */
21633 if ac_fn_c_try_link "$LINENO"; then :
21634 ac_cv_lib_m_tanh=yes
21636 ac_cv_lib_m_tanh=no
21638 rm -f core conftest.err conftest.$ac_objext \
21639 conftest$ac_exeext conftest.$ac_ext
21640 LIBS=$ac_check_lib_save_LIBS
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21643 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21644 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
21646 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21651 $as_echo_n "checking for tanhl in -lm... " >&6; }
21652 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21653 $as_echo_n "(cached) " >&6
21655 ac_check_lib_save_LIBS=$LIBS
21657 if test x$gcc_no_link = xyes; then
21658 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21661 /* end confdefs.h. */
21663 /* Override any GCC internal prototype to avoid an error.
21664 Use char because int might match the return type of a GCC
21665 builtin and then its argument prototype would still apply. */
21678 if ac_fn_c_try_link "$LINENO"; then :
21679 ac_cv_lib_m_tanhl=yes
21681 ac_cv_lib_m_tanhl=no
21683 rm -f core conftest.err conftest.$ac_objext \
21684 conftest$ac_exeext conftest.$ac_ext
21685 LIBS=$ac_check_lib_save_LIBS
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21688 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21689 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
21691 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21696 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21697 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21698 $as_echo_n "(cached) " >&6
21700 ac_check_lib_save_LIBS=$LIBS
21702 if test x$gcc_no_link = xyes; then
21703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21706 /* end confdefs.h. */
21708 /* Override any GCC internal prototype to avoid an error.
21709 Use char because int might match the return type of a GCC
21710 builtin and then its argument prototype would still apply. */
21723 if ac_fn_c_try_link "$LINENO"; then :
21724 ac_cv_lib_m_ctanhf=yes
21726 ac_cv_lib_m_ctanhf=no
21728 rm -f core conftest.err conftest.$ac_objext \
21729 conftest$ac_exeext conftest.$ac_ext
21730 LIBS=$ac_check_lib_save_LIBS
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21733 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21734 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
21736 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21741 $as_echo_n "checking for ctanh in -lm... " >&6; }
21742 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21743 $as_echo_n "(cached) " >&6
21745 ac_check_lib_save_LIBS=$LIBS
21747 if test x$gcc_no_link = xyes; then
21748 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21751 /* end confdefs.h. */
21753 /* Override any GCC internal prototype to avoid an error.
21754 Use char because int might match the return type of a GCC
21755 builtin and then its argument prototype would still apply. */
21768 if ac_fn_c_try_link "$LINENO"; then :
21769 ac_cv_lib_m_ctanh=yes
21771 ac_cv_lib_m_ctanh=no
21773 rm -f core conftest.err conftest.$ac_objext \
21774 conftest$ac_exeext conftest.$ac_ext
21775 LIBS=$ac_check_lib_save_LIBS
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21778 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21779 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
21781 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21786 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21787 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21788 $as_echo_n "(cached) " >&6
21790 ac_check_lib_save_LIBS=$LIBS
21792 if test x$gcc_no_link = xyes; then
21793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796 /* end confdefs.h. */
21798 /* Override any GCC internal prototype to avoid an error.
21799 Use char because int might match the return type of a GCC
21800 builtin and then its argument prototype would still apply. */
21813 if ac_fn_c_try_link "$LINENO"; then :
21814 ac_cv_lib_m_ctanhl=yes
21816 ac_cv_lib_m_ctanhl=no
21818 rm -f core conftest.err conftest.$ac_objext \
21819 conftest$ac_exeext conftest.$ac_ext
21820 LIBS=$ac_check_lib_save_LIBS
21822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21823 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21824 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
21826 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21831 $as_echo_n "checking for truncf in -lm... " >&6; }
21832 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21833 $as_echo_n "(cached) " >&6
21835 ac_check_lib_save_LIBS=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
21844 Use char because int might match the return type of a GCC
21845 builtin and then its argument prototype would still apply. */
21858 if ac_fn_c_try_link "$LINENO"; then :
21859 ac_cv_lib_m_truncf=yes
21861 ac_cv_lib_m_truncf=no
21863 rm -f core conftest.err conftest.$ac_objext \
21864 conftest$ac_exeext conftest.$ac_ext
21865 LIBS=$ac_check_lib_save_LIBS
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21868 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21869 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
21871 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21876 $as_echo_n "checking for trunc in -lm... " >&6; }
21877 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21878 $as_echo_n "(cached) " >&6
21880 ac_check_lib_save_LIBS=$LIBS
21882 if test x$gcc_no_link = xyes; then
21883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21886 /* end confdefs.h. */
21888 /* Override any GCC internal prototype to avoid an error.
21889 Use char because int might match the return type of a GCC
21890 builtin and then its argument prototype would still apply. */
21903 if ac_fn_c_try_link "$LINENO"; then :
21904 ac_cv_lib_m_trunc=yes
21906 ac_cv_lib_m_trunc=no
21908 rm -f core conftest.err conftest.$ac_objext \
21909 conftest$ac_exeext conftest.$ac_ext
21910 LIBS=$ac_check_lib_save_LIBS
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21913 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21914 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
21916 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21921 $as_echo_n "checking for truncl in -lm... " >&6; }
21922 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21923 $as_echo_n "(cached) " >&6
21925 ac_check_lib_save_LIBS=$LIBS
21927 if test x$gcc_no_link = xyes; then
21928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h. */
21933 /* Override any GCC internal prototype to avoid an error.
21934 Use char because int might match the return type of a GCC
21935 builtin and then its argument prototype would still apply. */
21948 if ac_fn_c_try_link "$LINENO"; then :
21949 ac_cv_lib_m_truncl=yes
21951 ac_cv_lib_m_truncl=no
21953 rm -f core conftest.err conftest.$ac_objext \
21954 conftest$ac_exeext conftest.$ac_ext
21955 LIBS=$ac_check_lib_save_LIBS
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21958 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21959 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
21961 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21966 $as_echo_n "checking for erff in -lm... " >&6; }
21967 if test "${ac_cv_lib_m_erff+set}" = set; then :
21968 $as_echo_n "(cached) " >&6
21970 ac_check_lib_save_LIBS=$LIBS
21972 if test x$gcc_no_link = xyes; then
21973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21976 /* end confdefs.h. */
21978 /* Override any GCC internal prototype to avoid an error.
21979 Use char because int might match the return type of a GCC
21980 builtin and then its argument prototype would still apply. */
21993 if ac_fn_c_try_link "$LINENO"; then :
21994 ac_cv_lib_m_erff=yes
21996 ac_cv_lib_m_erff=no
21998 rm -f core conftest.err conftest.$ac_objext \
21999 conftest$ac_exeext conftest.$ac_ext
22000 LIBS=$ac_check_lib_save_LIBS
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22003 $as_echo "$ac_cv_lib_m_erff" >&6; }
22004 if test "x$ac_cv_lib_m_erff" = x""yes; then :
22006 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22011 $as_echo_n "checking for erf in -lm... " >&6; }
22012 if test "${ac_cv_lib_m_erf+set}" = set; then :
22013 $as_echo_n "(cached) " >&6
22015 ac_check_lib_save_LIBS=$LIBS
22017 if test x$gcc_no_link = xyes; then
22018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22021 /* end confdefs.h. */
22023 /* Override any GCC internal prototype to avoid an error.
22024 Use char because int might match the return type of a GCC
22025 builtin and then its argument prototype would still apply. */
22038 if ac_fn_c_try_link "$LINENO"; then :
22039 ac_cv_lib_m_erf=yes
22043 rm -f core conftest.err conftest.$ac_objext \
22044 conftest$ac_exeext conftest.$ac_ext
22045 LIBS=$ac_check_lib_save_LIBS
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22048 $as_echo "$ac_cv_lib_m_erf" >&6; }
22049 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22051 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22056 $as_echo_n "checking for erfl in -lm... " >&6; }
22057 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22058 $as_echo_n "(cached) " >&6
22060 ac_check_lib_save_LIBS=$LIBS
22062 if test x$gcc_no_link = xyes; then
22063 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22066 /* end confdefs.h. */
22068 /* Override any GCC internal prototype to avoid an error.
22069 Use char because int might match the return type of a GCC
22070 builtin and then its argument prototype would still apply. */
22083 if ac_fn_c_try_link "$LINENO"; then :
22084 ac_cv_lib_m_erfl=yes
22086 ac_cv_lib_m_erfl=no
22088 rm -f core conftest.err conftest.$ac_objext \
22089 conftest$ac_exeext conftest.$ac_ext
22090 LIBS=$ac_check_lib_save_LIBS
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22093 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22094 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22096 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22101 $as_echo_n "checking for erfcf in -lm... " >&6; }
22102 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22103 $as_echo_n "(cached) " >&6
22105 ac_check_lib_save_LIBS=$LIBS
22107 if test x$gcc_no_link = xyes; then
22108 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22111 /* end confdefs.h. */
22113 /* Override any GCC internal prototype to avoid an error.
22114 Use char because int might match the return type of a GCC
22115 builtin and then its argument prototype would still apply. */
22128 if ac_fn_c_try_link "$LINENO"; then :
22129 ac_cv_lib_m_erfcf=yes
22131 ac_cv_lib_m_erfcf=no
22133 rm -f core conftest.err conftest.$ac_objext \
22134 conftest$ac_exeext conftest.$ac_ext
22135 LIBS=$ac_check_lib_save_LIBS
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22138 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22139 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22141 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22146 $as_echo_n "checking for erfc in -lm... " >&6; }
22147 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22148 $as_echo_n "(cached) " >&6
22150 ac_check_lib_save_LIBS=$LIBS
22152 if test x$gcc_no_link = xyes; then
22153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22156 /* end confdefs.h. */
22158 /* Override any GCC internal prototype to avoid an error.
22159 Use char because int might match the return type of a GCC
22160 builtin and then its argument prototype would still apply. */
22173 if ac_fn_c_try_link "$LINENO"; then :
22174 ac_cv_lib_m_erfc=yes
22176 ac_cv_lib_m_erfc=no
22178 rm -f core conftest.err conftest.$ac_objext \
22179 conftest$ac_exeext conftest.$ac_ext
22180 LIBS=$ac_check_lib_save_LIBS
22182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22183 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22184 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22186 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22191 $as_echo_n "checking for erfcl in -lm... " >&6; }
22192 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22193 $as_echo_n "(cached) " >&6
22195 ac_check_lib_save_LIBS=$LIBS
22197 if test x$gcc_no_link = xyes; then
22198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22201 /* end confdefs.h. */
22203 /* Override any GCC internal prototype to avoid an error.
22204 Use char because int might match the return type of a GCC
22205 builtin and then its argument prototype would still apply. */
22218 if ac_fn_c_try_link "$LINENO"; then :
22219 ac_cv_lib_m_erfcl=yes
22221 ac_cv_lib_m_erfcl=no
22223 rm -f core conftest.err conftest.$ac_objext \
22224 conftest$ac_exeext conftest.$ac_ext
22225 LIBS=$ac_check_lib_save_LIBS
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22228 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22229 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22231 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22236 $as_echo_n "checking for j0f in -lm... " >&6; }
22237 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22238 $as_echo_n "(cached) " >&6
22240 ac_check_lib_save_LIBS=$LIBS
22242 if test x$gcc_no_link = xyes; then
22243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22246 /* end confdefs.h. */
22248 /* Override any GCC internal prototype to avoid an error.
22249 Use char because int might match the return type of a GCC
22250 builtin and then its argument prototype would still apply. */
22263 if ac_fn_c_try_link "$LINENO"; then :
22264 ac_cv_lib_m_j0f=yes
22268 rm -f core conftest.err conftest.$ac_objext \
22269 conftest$ac_exeext conftest.$ac_ext
22270 LIBS=$ac_check_lib_save_LIBS
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22273 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22274 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22276 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22281 $as_echo_n "checking for j0 in -lm... " >&6; }
22282 if test "${ac_cv_lib_m_j0+set}" = set; then :
22283 $as_echo_n "(cached) " >&6
22285 ac_check_lib_save_LIBS=$LIBS
22287 if test x$gcc_no_link = xyes; then
22288 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22291 /* end confdefs.h. */
22293 /* Override any GCC internal prototype to avoid an error.
22294 Use char because int might match the return type of a GCC
22295 builtin and then its argument prototype would still apply. */
22308 if ac_fn_c_try_link "$LINENO"; then :
22313 rm -f core conftest.err conftest.$ac_objext \
22314 conftest$ac_exeext conftest.$ac_ext
22315 LIBS=$ac_check_lib_save_LIBS
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22318 $as_echo "$ac_cv_lib_m_j0" >&6; }
22319 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22321 $as_echo "#define HAVE_J0 1" >>confdefs.h
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22326 $as_echo_n "checking for j0l in -lm... " >&6; }
22327 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22328 $as_echo_n "(cached) " >&6
22330 ac_check_lib_save_LIBS=$LIBS
22332 if test x$gcc_no_link = xyes; then
22333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22336 /* end confdefs.h. */
22338 /* Override any GCC internal prototype to avoid an error.
22339 Use char because int might match the return type of a GCC
22340 builtin and then its argument prototype would still apply. */
22353 if ac_fn_c_try_link "$LINENO"; then :
22354 ac_cv_lib_m_j0l=yes
22358 rm -f core conftest.err conftest.$ac_objext \
22359 conftest$ac_exeext conftest.$ac_ext
22360 LIBS=$ac_check_lib_save_LIBS
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22363 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22364 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
22366 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22371 $as_echo_n "checking for j1f in -lm... " >&6; }
22372 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22373 $as_echo_n "(cached) " >&6
22375 ac_check_lib_save_LIBS=$LIBS
22377 if test x$gcc_no_link = xyes; then
22378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22381 /* end confdefs.h. */
22383 /* Override any GCC internal prototype to avoid an error.
22384 Use char because int might match the return type of a GCC
22385 builtin and then its argument prototype would still apply. */
22398 if ac_fn_c_try_link "$LINENO"; then :
22399 ac_cv_lib_m_j1f=yes
22403 rm -f core conftest.err conftest.$ac_objext \
22404 conftest$ac_exeext conftest.$ac_ext
22405 LIBS=$ac_check_lib_save_LIBS
22407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22408 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22409 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
22411 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22416 $as_echo_n "checking for j1 in -lm... " >&6; }
22417 if test "${ac_cv_lib_m_j1+set}" = set; then :
22418 $as_echo_n "(cached) " >&6
22420 ac_check_lib_save_LIBS=$LIBS
22422 if test x$gcc_no_link = xyes; then
22423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22426 /* end confdefs.h. */
22428 /* Override any GCC internal prototype to avoid an error.
22429 Use char because int might match the return type of a GCC
22430 builtin and then its argument prototype would still apply. */
22443 if ac_fn_c_try_link "$LINENO"; then :
22448 rm -f core conftest.err conftest.$ac_objext \
22449 conftest$ac_exeext conftest.$ac_ext
22450 LIBS=$ac_check_lib_save_LIBS
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22453 $as_echo "$ac_cv_lib_m_j1" >&6; }
22454 if test "x$ac_cv_lib_m_j1" = x""yes; then :
22456 $as_echo "#define HAVE_J1 1" >>confdefs.h
22460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22461 $as_echo_n "checking for j1l in -lm... " >&6; }
22462 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22463 $as_echo_n "(cached) " >&6
22465 ac_check_lib_save_LIBS=$LIBS
22467 if test x$gcc_no_link = xyes; then
22468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22471 /* end confdefs.h. */
22473 /* Override any GCC internal prototype to avoid an error.
22474 Use char because int might match the return type of a GCC
22475 builtin and then its argument prototype would still apply. */
22488 if ac_fn_c_try_link "$LINENO"; then :
22489 ac_cv_lib_m_j1l=yes
22493 rm -f core conftest.err conftest.$ac_objext \
22494 conftest$ac_exeext conftest.$ac_ext
22495 LIBS=$ac_check_lib_save_LIBS
22497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22498 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22499 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
22501 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22506 $as_echo_n "checking for jnf in -lm... " >&6; }
22507 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22508 $as_echo_n "(cached) " >&6
22510 ac_check_lib_save_LIBS=$LIBS
22512 if test x$gcc_no_link = xyes; then
22513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h. */
22518 /* Override any GCC internal prototype to avoid an error.
22519 Use char because int might match the return type of a GCC
22520 builtin and then its argument prototype would still apply. */
22533 if ac_fn_c_try_link "$LINENO"; then :
22534 ac_cv_lib_m_jnf=yes
22538 rm -f core conftest.err conftest.$ac_objext \
22539 conftest$ac_exeext conftest.$ac_ext
22540 LIBS=$ac_check_lib_save_LIBS
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22543 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22544 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
22546 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22551 $as_echo_n "checking for jn in -lm... " >&6; }
22552 if test "${ac_cv_lib_m_jn+set}" = set; then :
22553 $as_echo_n "(cached) " >&6
22555 ac_check_lib_save_LIBS=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
22564 Use char because int might match the return type of a GCC
22565 builtin and then its argument prototype would still apply. */
22578 if ac_fn_c_try_link "$LINENO"; then :
22583 rm -f core conftest.err conftest.$ac_objext \
22584 conftest$ac_exeext conftest.$ac_ext
22585 LIBS=$ac_check_lib_save_LIBS
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22588 $as_echo "$ac_cv_lib_m_jn" >&6; }
22589 if test "x$ac_cv_lib_m_jn" = x""yes; then :
22591 $as_echo "#define HAVE_JN 1" >>confdefs.h
22595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22596 $as_echo_n "checking for jnl in -lm... " >&6; }
22597 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22598 $as_echo_n "(cached) " >&6
22600 ac_check_lib_save_LIBS=$LIBS
22602 if test x$gcc_no_link = xyes; then
22603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22606 /* end confdefs.h. */
22608 /* Override any GCC internal prototype to avoid an error.
22609 Use char because int might match the return type of a GCC
22610 builtin and then its argument prototype would still apply. */
22623 if ac_fn_c_try_link "$LINENO"; then :
22624 ac_cv_lib_m_jnl=yes
22628 rm -f core conftest.err conftest.$ac_objext \
22629 conftest$ac_exeext conftest.$ac_ext
22630 LIBS=$ac_check_lib_save_LIBS
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22633 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22634 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
22636 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22641 $as_echo_n "checking for y0f in -lm... " >&6; }
22642 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22643 $as_echo_n "(cached) " >&6
22645 ac_check_lib_save_LIBS=$LIBS
22647 if test x$gcc_no_link = xyes; then
22648 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22651 /* end confdefs.h. */
22653 /* Override any GCC internal prototype to avoid an error.
22654 Use char because int might match the return type of a GCC
22655 builtin and then its argument prototype would still apply. */
22668 if ac_fn_c_try_link "$LINENO"; then :
22669 ac_cv_lib_m_y0f=yes
22673 rm -f core conftest.err conftest.$ac_objext \
22674 conftest$ac_exeext conftest.$ac_ext
22675 LIBS=$ac_check_lib_save_LIBS
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22678 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22679 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
22681 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22686 $as_echo_n "checking for y0 in -lm... " >&6; }
22687 if test "${ac_cv_lib_m_y0+set}" = set; then :
22688 $as_echo_n "(cached) " >&6
22690 ac_check_lib_save_LIBS=$LIBS
22692 if test x$gcc_no_link = xyes; then
22693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22696 /* end confdefs.h. */
22698 /* Override any GCC internal prototype to avoid an error.
22699 Use char because int might match the return type of a GCC
22700 builtin and then its argument prototype would still apply. */
22713 if ac_fn_c_try_link "$LINENO"; then :
22718 rm -f core conftest.err conftest.$ac_objext \
22719 conftest$ac_exeext conftest.$ac_ext
22720 LIBS=$ac_check_lib_save_LIBS
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22723 $as_echo "$ac_cv_lib_m_y0" >&6; }
22724 if test "x$ac_cv_lib_m_y0" = x""yes; then :
22726 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22731 $as_echo_n "checking for y0l in -lm... " >&6; }
22732 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22733 $as_echo_n "(cached) " >&6
22735 ac_check_lib_save_LIBS=$LIBS
22737 if test x$gcc_no_link = xyes; then
22738 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22741 /* end confdefs.h. */
22743 /* Override any GCC internal prototype to avoid an error.
22744 Use char because int might match the return type of a GCC
22745 builtin and then its argument prototype would still apply. */
22758 if ac_fn_c_try_link "$LINENO"; then :
22759 ac_cv_lib_m_y0l=yes
22763 rm -f core conftest.err conftest.$ac_objext \
22764 conftest$ac_exeext conftest.$ac_ext
22765 LIBS=$ac_check_lib_save_LIBS
22767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22768 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22769 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
22771 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22776 $as_echo_n "checking for y1f in -lm... " >&6; }
22777 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22778 $as_echo_n "(cached) " >&6
22780 ac_check_lib_save_LIBS=$LIBS
22782 if test x$gcc_no_link = xyes; then
22783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22788 /* Override any GCC internal prototype to avoid an error.
22789 Use char because int might match the return type of a GCC
22790 builtin and then its argument prototype would still apply. */
22803 if ac_fn_c_try_link "$LINENO"; then :
22804 ac_cv_lib_m_y1f=yes
22808 rm -f core conftest.err conftest.$ac_objext \
22809 conftest$ac_exeext conftest.$ac_ext
22810 LIBS=$ac_check_lib_save_LIBS
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22813 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22814 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
22816 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22821 $as_echo_n "checking for y1 in -lm... " >&6; }
22822 if test "${ac_cv_lib_m_y1+set}" = set; then :
22823 $as_echo_n "(cached) " >&6
22825 ac_check_lib_save_LIBS=$LIBS
22827 if test x$gcc_no_link = xyes; then
22828 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22831 /* end confdefs.h. */
22833 /* Override any GCC internal prototype to avoid an error.
22834 Use char because int might match the return type of a GCC
22835 builtin and then its argument prototype would still apply. */
22848 if ac_fn_c_try_link "$LINENO"; then :
22853 rm -f core conftest.err conftest.$ac_objext \
22854 conftest$ac_exeext conftest.$ac_ext
22855 LIBS=$ac_check_lib_save_LIBS
22857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22858 $as_echo "$ac_cv_lib_m_y1" >&6; }
22859 if test "x$ac_cv_lib_m_y1" = x""yes; then :
22861 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22866 $as_echo_n "checking for y1l in -lm... " >&6; }
22867 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22868 $as_echo_n "(cached) " >&6
22870 ac_check_lib_save_LIBS=$LIBS
22872 if test x$gcc_no_link = xyes; then
22873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22876 /* end confdefs.h. */
22878 /* Override any GCC internal prototype to avoid an error.
22879 Use char because int might match the return type of a GCC
22880 builtin and then its argument prototype would still apply. */
22893 if ac_fn_c_try_link "$LINENO"; then :
22894 ac_cv_lib_m_y1l=yes
22898 rm -f core conftest.err conftest.$ac_objext \
22899 conftest$ac_exeext conftest.$ac_ext
22900 LIBS=$ac_check_lib_save_LIBS
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22903 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22904 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
22906 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22911 $as_echo_n "checking for ynf in -lm... " >&6; }
22912 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22913 $as_echo_n "(cached) " >&6
22915 ac_check_lib_save_LIBS=$LIBS
22917 if test x$gcc_no_link = xyes; then
22918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22921 /* end confdefs.h. */
22923 /* Override any GCC internal prototype to avoid an error.
22924 Use char because int might match the return type of a GCC
22925 builtin and then its argument prototype would still apply. */
22938 if ac_fn_c_try_link "$LINENO"; then :
22939 ac_cv_lib_m_ynf=yes
22943 rm -f core conftest.err conftest.$ac_objext \
22944 conftest$ac_exeext conftest.$ac_ext
22945 LIBS=$ac_check_lib_save_LIBS
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22948 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22949 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
22951 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22956 $as_echo_n "checking for yn in -lm... " >&6; }
22957 if test "${ac_cv_lib_m_yn+set}" = set; then :
22958 $as_echo_n "(cached) " >&6
22960 ac_check_lib_save_LIBS=$LIBS
22962 if test x$gcc_no_link = xyes; then
22963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22966 /* end confdefs.h. */
22968 /* Override any GCC internal prototype to avoid an error.
22969 Use char because int might match the return type of a GCC
22970 builtin and then its argument prototype would still apply. */
22983 if ac_fn_c_try_link "$LINENO"; then :
22988 rm -f core conftest.err conftest.$ac_objext \
22989 conftest$ac_exeext conftest.$ac_ext
22990 LIBS=$ac_check_lib_save_LIBS
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
22993 $as_echo "$ac_cv_lib_m_yn" >&6; }
22994 if test "x$ac_cv_lib_m_yn" = x""yes; then :
22996 $as_echo "#define HAVE_YN 1" >>confdefs.h
23000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23001 $as_echo_n "checking for ynl in -lm... " >&6; }
23002 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23003 $as_echo_n "(cached) " >&6
23005 ac_check_lib_save_LIBS=$LIBS
23007 if test x$gcc_no_link = xyes; then
23008 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23011 /* end confdefs.h. */
23013 /* Override any GCC internal prototype to avoid an error.
23014 Use char because int might match the return type of a GCC
23015 builtin and then its argument prototype would still apply. */
23028 if ac_fn_c_try_link "$LINENO"; then :
23029 ac_cv_lib_m_ynl=yes
23033 rm -f core conftest.err conftest.$ac_objext \
23034 conftest$ac_exeext conftest.$ac_ext
23035 LIBS=$ac_check_lib_save_LIBS
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23038 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23039 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23041 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23046 $as_echo_n "checking for tgamma in -lm... " >&6; }
23047 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23048 $as_echo_n "(cached) " >&6
23050 ac_check_lib_save_LIBS=$LIBS
23052 if test x$gcc_no_link = xyes; then
23053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23056 /* end confdefs.h. */
23058 /* Override any GCC internal prototype to avoid an error.
23059 Use char because int might match the return type of a GCC
23060 builtin and then its argument prototype would still apply. */
23073 if ac_fn_c_try_link "$LINENO"; then :
23074 ac_cv_lib_m_tgamma=yes
23076 ac_cv_lib_m_tgamma=no
23078 rm -f core conftest.err conftest.$ac_objext \
23079 conftest$ac_exeext conftest.$ac_ext
23080 LIBS=$ac_check_lib_save_LIBS
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23083 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23084 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23086 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23091 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23092 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23093 $as_echo_n "(cached) " >&6
23095 ac_check_lib_save_LIBS=$LIBS
23097 if test x$gcc_no_link = xyes; then
23098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23101 /* end confdefs.h. */
23103 /* Override any GCC internal prototype to avoid an error.
23104 Use char because int might match the return type of a GCC
23105 builtin and then its argument prototype would still apply. */
23118 if ac_fn_c_try_link "$LINENO"; then :
23119 ac_cv_lib_m_tgammaf=yes
23121 ac_cv_lib_m_tgammaf=no
23123 rm -f core conftest.err conftest.$ac_objext \
23124 conftest$ac_exeext conftest.$ac_ext
23125 LIBS=$ac_check_lib_save_LIBS
23127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23128 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23129 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23131 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23136 $as_echo_n "checking for tgammal in -lm... " >&6; }
23137 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23138 $as_echo_n "(cached) " >&6
23140 ac_check_lib_save_LIBS=$LIBS
23142 if test x$gcc_no_link = xyes; then
23143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23146 /* end confdefs.h. */
23148 /* Override any GCC internal prototype to avoid an error.
23149 Use char because int might match the return type of a GCC
23150 builtin and then its argument prototype would still apply. */
23163 if ac_fn_c_try_link "$LINENO"; then :
23164 ac_cv_lib_m_tgammal=yes
23166 ac_cv_lib_m_tgammal=no
23168 rm -f core conftest.err conftest.$ac_objext \
23169 conftest$ac_exeext conftest.$ac_ext
23170 LIBS=$ac_check_lib_save_LIBS
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23173 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23174 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23176 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23181 $as_echo_n "checking for lgamma in -lm... " >&6; }
23182 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23183 $as_echo_n "(cached) " >&6
23185 ac_check_lib_save_LIBS=$LIBS
23187 if test x$gcc_no_link = xyes; then
23188 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23191 /* end confdefs.h. */
23193 /* Override any GCC internal prototype to avoid an error.
23194 Use char because int might match the return type of a GCC
23195 builtin and then its argument prototype would still apply. */
23208 if ac_fn_c_try_link "$LINENO"; then :
23209 ac_cv_lib_m_lgamma=yes
23211 ac_cv_lib_m_lgamma=no
23213 rm -f core conftest.err conftest.$ac_objext \
23214 conftest$ac_exeext conftest.$ac_ext
23215 LIBS=$ac_check_lib_save_LIBS
23217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23218 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23219 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23221 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23226 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23227 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23228 $as_echo_n "(cached) " >&6
23230 ac_check_lib_save_LIBS=$LIBS
23232 if test x$gcc_no_link = xyes; then
23233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23236 /* end confdefs.h. */
23238 /* Override any GCC internal prototype to avoid an error.
23239 Use char because int might match the return type of a GCC
23240 builtin and then its argument prototype would still apply. */
23253 if ac_fn_c_try_link "$LINENO"; then :
23254 ac_cv_lib_m_lgammaf=yes
23256 ac_cv_lib_m_lgammaf=no
23258 rm -f core conftest.err conftest.$ac_objext \
23259 conftest$ac_exeext conftest.$ac_ext
23260 LIBS=$ac_check_lib_save_LIBS
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23263 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23264 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23266 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23271 $as_echo_n "checking for lgammal in -lm... " >&6; }
23272 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23273 $as_echo_n "(cached) " >&6
23275 ac_check_lib_save_LIBS=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
23284 Use char because int might match the return type of a GCC
23285 builtin and then its argument prototype would still apply. */
23298 if ac_fn_c_try_link "$LINENO"; then :
23299 ac_cv_lib_m_lgammal=yes
23301 ac_cv_lib_m_lgammal=no
23303 rm -f core conftest.err conftest.$ac_objext \
23304 conftest$ac_exeext conftest.$ac_ext
23305 LIBS=$ac_check_lib_save_LIBS
23307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23308 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23309 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23311 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23316 # Check for GFORTRAN_C99_1.1 funcs
23317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23318 $as_echo_n "checking for cacos in -lm... " >&6; }
23319 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23320 $as_echo_n "(cached) " >&6
23322 ac_check_lib_save_LIBS=$LIBS
23324 if test x$gcc_no_link = xyes; then
23325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23328 /* end confdefs.h. */
23330 /* Override any GCC internal prototype to avoid an error.
23331 Use char because int might match the return type of a GCC
23332 builtin and then its argument prototype would still apply. */
23345 if ac_fn_c_try_link "$LINENO"; then :
23346 ac_cv_lib_m_cacos=yes
23348 ac_cv_lib_m_cacos=no
23350 rm -f core conftest.err conftest.$ac_objext \
23351 conftest$ac_exeext conftest.$ac_ext
23352 LIBS=$ac_check_lib_save_LIBS
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23355 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23356 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
23358 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23363 $as_echo_n "checking for cacosf in -lm... " >&6; }
23364 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23365 $as_echo_n "(cached) " >&6
23367 ac_check_lib_save_LIBS=$LIBS
23369 if test x$gcc_no_link = xyes; then
23370 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23373 /* end confdefs.h. */
23375 /* Override any GCC internal prototype to avoid an error.
23376 Use char because int might match the return type of a GCC
23377 builtin and then its argument prototype would still apply. */
23390 if ac_fn_c_try_link "$LINENO"; then :
23391 ac_cv_lib_m_cacosf=yes
23393 ac_cv_lib_m_cacosf=no
23395 rm -f core conftest.err conftest.$ac_objext \
23396 conftest$ac_exeext conftest.$ac_ext
23397 LIBS=$ac_check_lib_save_LIBS
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23400 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23401 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
23403 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23408 $as_echo_n "checking for cacosh in -lm... " >&6; }
23409 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23410 $as_echo_n "(cached) " >&6
23412 ac_check_lib_save_LIBS=$LIBS
23414 if test x$gcc_no_link = xyes; then
23415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23418 /* end confdefs.h. */
23420 /* Override any GCC internal prototype to avoid an error.
23421 Use char because int might match the return type of a GCC
23422 builtin and then its argument prototype would still apply. */
23435 if ac_fn_c_try_link "$LINENO"; then :
23436 ac_cv_lib_m_cacosh=yes
23438 ac_cv_lib_m_cacosh=no
23440 rm -f core conftest.err conftest.$ac_objext \
23441 conftest$ac_exeext conftest.$ac_ext
23442 LIBS=$ac_check_lib_save_LIBS
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23445 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23446 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
23448 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23453 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23454 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23455 $as_echo_n "(cached) " >&6
23457 ac_check_lib_save_LIBS=$LIBS
23459 if test x$gcc_no_link = xyes; then
23460 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23463 /* end confdefs.h. */
23465 /* Override any GCC internal prototype to avoid an error.
23466 Use char because int might match the return type of a GCC
23467 builtin and then its argument prototype would still apply. */
23480 if ac_fn_c_try_link "$LINENO"; then :
23481 ac_cv_lib_m_cacoshf=yes
23483 ac_cv_lib_m_cacoshf=no
23485 rm -f core conftest.err conftest.$ac_objext \
23486 conftest$ac_exeext conftest.$ac_ext
23487 LIBS=$ac_check_lib_save_LIBS
23489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23490 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23491 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
23493 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23498 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23499 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23500 $as_echo_n "(cached) " >&6
23502 ac_check_lib_save_LIBS=$LIBS
23504 if test x$gcc_no_link = xyes; then
23505 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23508 /* end confdefs.h. */
23510 /* Override any GCC internal prototype to avoid an error.
23511 Use char because int might match the return type of a GCC
23512 builtin and then its argument prototype would still apply. */
23525 if ac_fn_c_try_link "$LINENO"; then :
23526 ac_cv_lib_m_cacoshl=yes
23528 ac_cv_lib_m_cacoshl=no
23530 rm -f core conftest.err conftest.$ac_objext \
23531 conftest$ac_exeext conftest.$ac_ext
23532 LIBS=$ac_check_lib_save_LIBS
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23535 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23536 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
23538 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23543 $as_echo_n "checking for cacosl in -lm... " >&6; }
23544 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23545 $as_echo_n "(cached) " >&6
23547 ac_check_lib_save_LIBS=$LIBS
23549 if test x$gcc_no_link = xyes; then
23550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23553 /* end confdefs.h. */
23555 /* Override any GCC internal prototype to avoid an error.
23556 Use char because int might match the return type of a GCC
23557 builtin and then its argument prototype would still apply. */
23570 if ac_fn_c_try_link "$LINENO"; then :
23571 ac_cv_lib_m_cacosl=yes
23573 ac_cv_lib_m_cacosl=no
23575 rm -f core conftest.err conftest.$ac_objext \
23576 conftest$ac_exeext conftest.$ac_ext
23577 LIBS=$ac_check_lib_save_LIBS
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23580 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23581 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
23583 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23588 $as_echo_n "checking for casin in -lm... " >&6; }
23589 if test "${ac_cv_lib_m_casin+set}" = set; then :
23590 $as_echo_n "(cached) " >&6
23592 ac_check_lib_save_LIBS=$LIBS
23594 if test x$gcc_no_link = xyes; then
23595 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23598 /* end confdefs.h. */
23600 /* Override any GCC internal prototype to avoid an error.
23601 Use char because int might match the return type of a GCC
23602 builtin and then its argument prototype would still apply. */
23615 if ac_fn_c_try_link "$LINENO"; then :
23616 ac_cv_lib_m_casin=yes
23618 ac_cv_lib_m_casin=no
23620 rm -f core conftest.err conftest.$ac_objext \
23621 conftest$ac_exeext conftest.$ac_ext
23622 LIBS=$ac_check_lib_save_LIBS
23624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23625 $as_echo "$ac_cv_lib_m_casin" >&6; }
23626 if test "x$ac_cv_lib_m_casin" = x""yes; then :
23628 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23633 $as_echo_n "checking for casinf in -lm... " >&6; }
23634 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23635 $as_echo_n "(cached) " >&6
23637 ac_check_lib_save_LIBS=$LIBS
23639 if test x$gcc_no_link = xyes; then
23640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23645 /* Override any GCC internal prototype to avoid an error.
23646 Use char because int might match the return type of a GCC
23647 builtin and then its argument prototype would still apply. */
23660 if ac_fn_c_try_link "$LINENO"; then :
23661 ac_cv_lib_m_casinf=yes
23663 ac_cv_lib_m_casinf=no
23665 rm -f core conftest.err conftest.$ac_objext \
23666 conftest$ac_exeext conftest.$ac_ext
23667 LIBS=$ac_check_lib_save_LIBS
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23670 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23671 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
23673 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23678 $as_echo_n "checking for casinh in -lm... " >&6; }
23679 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23680 $as_echo_n "(cached) " >&6
23682 ac_check_lib_save_LIBS=$LIBS
23684 if test x$gcc_no_link = xyes; then
23685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23688 /* end confdefs.h. */
23690 /* Override any GCC internal prototype to avoid an error.
23691 Use char because int might match the return type of a GCC
23692 builtin and then its argument prototype would still apply. */
23705 if ac_fn_c_try_link "$LINENO"; then :
23706 ac_cv_lib_m_casinh=yes
23708 ac_cv_lib_m_casinh=no
23710 rm -f core conftest.err conftest.$ac_objext \
23711 conftest$ac_exeext conftest.$ac_ext
23712 LIBS=$ac_check_lib_save_LIBS
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23715 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23716 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
23718 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23723 $as_echo_n "checking for casinhf in -lm... " >&6; }
23724 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23725 $as_echo_n "(cached) " >&6
23727 ac_check_lib_save_LIBS=$LIBS
23729 if test x$gcc_no_link = xyes; then
23730 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23733 /* end confdefs.h. */
23735 /* Override any GCC internal prototype to avoid an error.
23736 Use char because int might match the return type of a GCC
23737 builtin and then its argument prototype would still apply. */
23750 if ac_fn_c_try_link "$LINENO"; then :
23751 ac_cv_lib_m_casinhf=yes
23753 ac_cv_lib_m_casinhf=no
23755 rm -f core conftest.err conftest.$ac_objext \
23756 conftest$ac_exeext conftest.$ac_ext
23757 LIBS=$ac_check_lib_save_LIBS
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23760 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23761 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
23763 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23768 $as_echo_n "checking for casinhl in -lm... " >&6; }
23769 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23770 $as_echo_n "(cached) " >&6
23772 ac_check_lib_save_LIBS=$LIBS
23774 if test x$gcc_no_link = xyes; then
23775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23778 /* end confdefs.h. */
23780 /* Override any GCC internal prototype to avoid an error.
23781 Use char because int might match the return type of a GCC
23782 builtin and then its argument prototype would still apply. */
23795 if ac_fn_c_try_link "$LINENO"; then :
23796 ac_cv_lib_m_casinhl=yes
23798 ac_cv_lib_m_casinhl=no
23800 rm -f core conftest.err conftest.$ac_objext \
23801 conftest$ac_exeext conftest.$ac_ext
23802 LIBS=$ac_check_lib_save_LIBS
23804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23805 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23806 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
23808 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23813 $as_echo_n "checking for casinl in -lm... " >&6; }
23814 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23815 $as_echo_n "(cached) " >&6
23817 ac_check_lib_save_LIBS=$LIBS
23819 if test x$gcc_no_link = xyes; then
23820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23823 /* end confdefs.h. */
23825 /* Override any GCC internal prototype to avoid an error.
23826 Use char because int might match the return type of a GCC
23827 builtin and then its argument prototype would still apply. */
23840 if ac_fn_c_try_link "$LINENO"; then :
23841 ac_cv_lib_m_casinl=yes
23843 ac_cv_lib_m_casinl=no
23845 rm -f core conftest.err conftest.$ac_objext \
23846 conftest$ac_exeext conftest.$ac_ext
23847 LIBS=$ac_check_lib_save_LIBS
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23850 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23851 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
23853 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23858 $as_echo_n "checking for catan in -lm... " >&6; }
23859 if test "${ac_cv_lib_m_catan+set}" = set; then :
23860 $as_echo_n "(cached) " >&6
23862 ac_check_lib_save_LIBS=$LIBS
23864 if test x$gcc_no_link = xyes; then
23865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23868 /* end confdefs.h. */
23870 /* Override any GCC internal prototype to avoid an error.
23871 Use char because int might match the return type of a GCC
23872 builtin and then its argument prototype would still apply. */
23885 if ac_fn_c_try_link "$LINENO"; then :
23886 ac_cv_lib_m_catan=yes
23888 ac_cv_lib_m_catan=no
23890 rm -f core conftest.err conftest.$ac_objext \
23891 conftest$ac_exeext conftest.$ac_ext
23892 LIBS=$ac_check_lib_save_LIBS
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23895 $as_echo "$ac_cv_lib_m_catan" >&6; }
23896 if test "x$ac_cv_lib_m_catan" = x""yes; then :
23898 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23903 $as_echo_n "checking for catanf in -lm... " >&6; }
23904 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23905 $as_echo_n "(cached) " >&6
23907 ac_check_lib_save_LIBS=$LIBS
23909 if test x$gcc_no_link = xyes; then
23910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23913 /* end confdefs.h. */
23915 /* Override any GCC internal prototype to avoid an error.
23916 Use char because int might match the return type of a GCC
23917 builtin and then its argument prototype would still apply. */
23930 if ac_fn_c_try_link "$LINENO"; then :
23931 ac_cv_lib_m_catanf=yes
23933 ac_cv_lib_m_catanf=no
23935 rm -f core conftest.err conftest.$ac_objext \
23936 conftest$ac_exeext conftest.$ac_ext
23937 LIBS=$ac_check_lib_save_LIBS
23939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23940 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23941 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
23943 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23948 $as_echo_n "checking for catanh in -lm... " >&6; }
23949 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23950 $as_echo_n "(cached) " >&6
23952 ac_check_lib_save_LIBS=$LIBS
23954 if test x$gcc_no_link = xyes; then
23955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23958 /* end confdefs.h. */
23960 /* Override any GCC internal prototype to avoid an error.
23961 Use char because int might match the return type of a GCC
23962 builtin and then its argument prototype would still apply. */
23975 if ac_fn_c_try_link "$LINENO"; then :
23976 ac_cv_lib_m_catanh=yes
23978 ac_cv_lib_m_catanh=no
23980 rm -f core conftest.err conftest.$ac_objext \
23981 conftest$ac_exeext conftest.$ac_ext
23982 LIBS=$ac_check_lib_save_LIBS
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
23985 $as_echo "$ac_cv_lib_m_catanh" >&6; }
23986 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
23988 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
23993 $as_echo_n "checking for catanhf in -lm... " >&6; }
23994 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
23995 $as_echo_n "(cached) " >&6
23997 ac_check_lib_save_LIBS=$LIBS
23999 if test x$gcc_no_link = xyes; then
24000 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24003 /* end confdefs.h. */
24005 /* Override any GCC internal prototype to avoid an error.
24006 Use char because int might match the return type of a GCC
24007 builtin and then its argument prototype would still apply. */
24020 if ac_fn_c_try_link "$LINENO"; then :
24021 ac_cv_lib_m_catanhf=yes
24023 ac_cv_lib_m_catanhf=no
24025 rm -f core conftest.err conftest.$ac_objext \
24026 conftest$ac_exeext conftest.$ac_ext
24027 LIBS=$ac_check_lib_save_LIBS
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24030 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24031 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24033 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24038 $as_echo_n "checking for catanhl in -lm... " >&6; }
24039 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24040 $as_echo_n "(cached) " >&6
24042 ac_check_lib_save_LIBS=$LIBS
24044 if test x$gcc_no_link = xyes; then
24045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24048 /* end confdefs.h. */
24050 /* Override any GCC internal prototype to avoid an error.
24051 Use char because int might match the return type of a GCC
24052 builtin and then its argument prototype would still apply. */
24065 if ac_fn_c_try_link "$LINENO"; then :
24066 ac_cv_lib_m_catanhl=yes
24068 ac_cv_lib_m_catanhl=no
24070 rm -f core conftest.err conftest.$ac_objext \
24071 conftest$ac_exeext conftest.$ac_ext
24072 LIBS=$ac_check_lib_save_LIBS
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24075 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24076 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24078 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24083 $as_echo_n "checking for catanl in -lm... " >&6; }
24084 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24085 $as_echo_n "(cached) " >&6
24087 ac_check_lib_save_LIBS=$LIBS
24089 if test x$gcc_no_link = xyes; then
24090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24093 /* end confdefs.h. */
24095 /* Override any GCC internal prototype to avoid an error.
24096 Use char because int might match the return type of a GCC
24097 builtin and then its argument prototype would still apply. */
24110 if ac_fn_c_try_link "$LINENO"; then :
24111 ac_cv_lib_m_catanl=yes
24113 ac_cv_lib_m_catanl=no
24115 rm -f core conftest.err conftest.$ac_objext \
24116 conftest$ac_exeext conftest.$ac_ext
24117 LIBS=$ac_check_lib_save_LIBS
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24120 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24121 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24123 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24128 # On AIX, clog is present in libm as __clog
24129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24130 $as_echo_n "checking for __clog in -lm... " >&6; }
24131 if test "${ac_cv_lib_m___clog+set}" = set; then :
24132 $as_echo_n "(cached) " >&6
24134 ac_check_lib_save_LIBS=$LIBS
24136 if test x$gcc_no_link = xyes; then
24137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24140 /* end confdefs.h. */
24142 /* Override any GCC internal prototype to avoid an error.
24143 Use char because int might match the return type of a GCC
24144 builtin and then its argument prototype would still apply. */
24157 if ac_fn_c_try_link "$LINENO"; then :
24158 ac_cv_lib_m___clog=yes
24160 ac_cv_lib_m___clog=no
24162 rm -f core conftest.err conftest.$ac_objext \
24163 conftest$ac_exeext conftest.$ac_ext
24164 LIBS=$ac_check_lib_save_LIBS
24166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24167 $as_echo "$ac_cv_lib_m___clog" >&6; }
24168 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24170 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24175 # Check whether the system has a working stat()
24177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24178 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24179 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24180 $as_echo_n "(cached) " >&6
24183 if test "$cross_compiling" = yes; then :
24185 case "${target}" in
24186 *mingw*) libgfor_cv_have_working_stat=no ;;
24187 *) libgfor_cv_have_working_stat=yes;;
24190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24191 /* end confdefs.h. */
24194 #include <sys/types.h>
24195 #include <sys/stat.h>
24196 #include <unistd.h>
24201 struct stat st1, st2;
24203 f = fopen ("foo", "w");
24204 g = fopen ("bar", "w");
24205 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24207 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24214 if ac_fn_c_try_run "$LINENO"; then :
24215 libgfor_cv_have_working_stat=yes
24217 libgfor_cv_have_working_stat=no
24219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24220 conftest.$ac_objext conftest.beam conftest.$ac_ext
24224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24225 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24226 if test x"$libgfor_cv_have_working_stat" = xyes; then
24228 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24232 # Check whether __mingw_snprintf() is present
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24235 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24236 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24237 $as_echo_n "(cached) " >&6
24240 if test x$gcc_no_link = xyes; then
24241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24244 /* end confdefs.h. */
24247 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24253 __mingw_snprintf (NULL, 0, "%d\n", 1);
24259 if ac_fn_c_try_link "$LINENO"; then :
24260 eval "libgfor_cv_have_mingw_snprintf=yes"
24262 eval "libgfor_cv_have_mingw_snprintf=no"
24264 rm -f core conftest.err conftest.$ac_objext \
24265 conftest$ac_exeext conftest.$ac_ext
24268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24269 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24270 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24272 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24277 # Check for a broken powf implementation
24279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24280 $as_echo_n "checking whether powf is broken... " >&6; }
24281 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24282 $as_echo_n "(cached) " >&6
24285 case "${target}" in
24286 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24287 *) libgfor_cv_have_broken_powf=no;;
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24291 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24292 if test x"$libgfor_cv_have_broken_powf" = xyes; then
24294 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24299 # Check whether we have a __float128 type
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
24303 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
24304 if test "${libgfor_cv_have_float128+set}" = set; then :
24305 $as_echo_n "(cached) " >&6
24308 if test x$gcc_no_link = xyes; then
24309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24312 /* end confdefs.h. */
24320 typedef _Complex float __attribute__((mode(TC))) __complex128;
24323 x = __builtin_huge_valq() - 2.e1000Q;
24325 __complex128 z1, z2;
24336 if ac_fn_c_try_link "$LINENO"; then :
24337 libgfor_cv_have_float128=yes
24339 libgfor_cv_have_float128=no
24341 rm -f core conftest.err conftest.$ac_objext \
24342 conftest$ac_exeext conftest.$ac_ext
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
24346 $as_echo "$libgfor_cv_have_float128" >&6; }
24348 if test "x$libgfor_cv_have_float128" = xyes; then
24350 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
24353 ac_xsave_c_werror_flag=$ac_c_werror_flag
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
24355 $as_echo_n "checking whether --as-needed works... " >&6; }
24356 if test "${libgfor_cv_have_as_needed+set}" = set; then :
24357 $as_echo_n "(cached) " >&6
24360 save_LDFLAGS="$LDFLAGS"
24361 LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
24362 libgfor_cv_have_as_needed=no
24364 ac_c_werror_flag=yes
24365 if test x$gcc_no_link = xyes; then
24366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24369 /* end confdefs.h. */
24379 if ac_fn_c_try_link "$LINENO"; then :
24380 libgfor_cv_have_as_needed=yes
24382 libgfor_cv_have_as_needed=no
24384 rm -f core conftest.err conftest.$ac_objext \
24385 conftest$ac_exeext conftest.$ac_ext
24386 LDFLAGS="$save_LDFLAGS"
24387 ac_c_werror_flag=$ac_xsave_c_werror_flag
24390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
24391 $as_echo "$libgfor_cv_have_as_needed" >&6; }
24393 if test "x$libgfor_cv_have_as_needed" = xyes; then
24394 LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
24396 LIBQUADSPEC="-lquadmath"
24398 if test -f ../libquadmath/libquadmath.la; then
24399 LIBQUADLIB=../libquadmath/libquadmath.la
24400 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
24401 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
24403 LIBQUADLIB="-lquadmath"
24414 if test "x$libgfor_cv_have_float128" = xyes; then
24415 LIBGFOR_BUILD_QUAD_TRUE=
24416 LIBGFOR_BUILD_QUAD_FALSE='#'
24418 LIBGFOR_BUILD_QUAD_TRUE='#'
24419 LIBGFOR_BUILD_QUAD_FALSE=
24424 # Check for GNU libc feenableexcept
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24426 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24427 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24428 $as_echo_n "(cached) " >&6
24430 ac_check_lib_save_LIBS=$LIBS
24432 if test x$gcc_no_link = xyes; then
24433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24436 /* end confdefs.h. */
24438 /* Override any GCC internal prototype to avoid an error.
24439 Use char because int might match the return type of a GCC
24440 builtin and then its argument prototype would still apply. */
24444 char feenableexcept ();
24448 return feenableexcept ();
24453 if ac_fn_c_try_link "$LINENO"; then :
24454 ac_cv_lib_m_feenableexcept=yes
24456 ac_cv_lib_m_feenableexcept=no
24458 rm -f core conftest.err conftest.$ac_objext \
24459 conftest$ac_exeext conftest.$ac_ext
24460 LIBS=$ac_check_lib_save_LIBS
24462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24463 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24464 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24465 have_feenableexcept=yes
24466 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24471 # Check for SysV fpsetmask
24473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24474 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24475 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24476 $as_echo_n "(cached) " >&6
24479 if test x$gcc_no_link = xyes; then
24480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24483 /* end confdefs.h. */
24485 #if HAVE_FLOATINGPOINT_H
24486 # include <floatingpoint.h>
24487 #endif /* HAVE_FLOATINGPOINT_H */
24489 # include <ieeefp.h>
24490 #endif /* HAVE_IEEEFP_H */
24499 if ac_fn_c_try_link "$LINENO"; then :
24500 eval "libgfor_cv_have_fpsetmask=yes"
24502 eval "libgfor_cv_have_fpsetmask=no"
24504 rm -f core conftest.err conftest.$ac_objext \
24505 conftest$ac_exeext conftest.$ac_ext
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24509 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24510 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
24512 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24517 # Check for AIX fp_trap and fp_enable
24518 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24519 if test "x$ac_cv_func_fp_trap" = x""yes; then :
24521 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24525 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24526 if test "x$ac_cv_func_fp_enable" = x""yes; then :
24528 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24533 # Runs configure.host to set up necessary host-dependent shell variables.
24534 # We then display a message about it, and propagate them through the
24536 . ${srcdir}/configure.host
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24538 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24539 FPU_HOST_HEADER=config/${fpu_host}.h
24542 # Some targets require additional compiler options for IEEE compatibility.
24543 IEEE_FLAGS="${ieee_flags}"
24546 # Check out attribute support.
24548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24549 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24550 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24551 $as_echo_n "(cached) " >&6
24554 save_CFLAGS="$CFLAGS"
24555 CFLAGS="$CFLAGS -Werror"
24556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24557 /* end confdefs.h. */
24558 void __attribute__((visibility("hidden"))) foo(void) { }
24567 if ac_fn_c_try_compile "$LINENO"; then :
24568 libgfor_cv_have_attribute_visibility=yes
24570 libgfor_cv_have_attribute_visibility=no
24572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24573 CFLAGS="$save_CFLAGS"
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24576 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24577 if test $libgfor_cv_have_attribute_visibility = yes; then
24579 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24584 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24585 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24586 $as_echo_n "(cached) " >&6
24589 save_CFLAGS="$CFLAGS"
24590 CFLAGS="$CFLAGS -Werror"
24591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24592 /* end confdefs.h. */
24593 void __attribute__((dllexport)) foo(void) { }
24602 if ac_fn_c_try_compile "$LINENO"; then :
24603 libgfor_cv_have_attribute_dllexport=yes
24605 libgfor_cv_have_attribute_dllexport=no
24607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24608 CFLAGS="$save_CFLAGS"
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24611 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24612 if test $libgfor_cv_have_attribute_dllexport = yes; then
24614 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24619 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24620 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24621 $as_echo_n "(cached) " >&6
24624 if test x$gcc_no_link = xyes; then
24625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24628 /* end confdefs.h. */
24631 extern void bar(void) __attribute__((alias("foo")));
24640 if ac_fn_c_try_link "$LINENO"; then :
24641 libgfor_cv_have_attribute_alias=yes
24643 libgfor_cv_have_attribute_alias=no
24645 rm -f core conftest.err conftest.$ac_objext \
24646 conftest$ac_exeext conftest.$ac_ext
24648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24649 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24650 if test $libgfor_cv_have_attribute_alias = yes; then
24652 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24656 # Check out sync builtins support.
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24659 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24660 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24661 $as_echo_n "(cached) " >&6
24664 if test x$gcc_no_link = xyes; then
24665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24668 /* end confdefs.h. */
24674 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24675 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24680 if ac_fn_c_try_link "$LINENO"; then :
24681 libgfor_cv_have_sync_fetch_and_add=yes
24683 libgfor_cv_have_sync_fetch_and_add=no
24685 rm -f core conftest.err conftest.$ac_objext \
24686 conftest$ac_exeext conftest.$ac_ext
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24689 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24690 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24692 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24696 # Check out thread support.
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24699 $as_echo_n "checking configured target thread model... " >&6; }
24700 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24701 $as_echo_n "(cached) " >&6
24704 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24707 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24709 if test $libgfor_cv_target_thread_file != single; then
24711 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24715 # Check out #pragma weak.
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24718 $as_echo_n "checking whether pragma weak works... " >&6; }
24719 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24720 $as_echo_n "(cached) " >&6
24723 gfor_save_CFLAGS="$CFLAGS"
24724 CFLAGS="$CFLAGS -Wunknown-pragmas"
24725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24726 /* end confdefs.h. */
24737 if ac_fn_c_try_compile "$LINENO"; then :
24738 libgfor_cv_have_pragma_weak=yes
24740 libgfor_cv_have_pragma_weak=no
24742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24745 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24746 if test $libgfor_cv_have_pragma_weak = yes; then
24748 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24752 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
24754 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24759 # Various other checks on target
24761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24762 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24763 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24764 $as_echo_n "(cached) " >&6
24767 if test "$cross_compiling" = yes; then :
24769 case "${target}" in
24770 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
24771 *) libgfor_cv_have_unlink_open_file=yes;;
24774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24775 /* end confdefs.h. */
24779 #include <unistd.h>
24780 #include <sys/stat.h>
24786 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24789 if (unlink ("testfile") == -1)
24791 write (fd, "This is a test\n", 15);
24794 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24800 if ac_fn_c_try_run "$LINENO"; then :
24801 libgfor_cv_have_unlink_open_file=yes
24803 libgfor_cv_have_unlink_open_file=no
24805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24806 conftest.$ac_objext conftest.beam conftest.$ac_ext
24810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24811 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24812 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
24814 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24818 # Check whether line terminator is LF or CRLF
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24821 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24822 if test "${libgfor_cv_have_crlf+set}" = set; then :
24823 $as_echo_n "(cached) " >&6
24826 if test "$cross_compiling" = yes; then :
24828 case "${target}" in
24829 *mingw*) libgfor_cv_have_crlf=yes ;;
24830 *) libgfor_cv_have_crlf=no;;
24833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24834 /* end confdefs.h. */
24836 /* This test program should exit with status 0 if system uses a CRLF as
24837 line terminator, and status 1 otherwise.
24838 Since it is used to check for mingw systems, and should return 0 in any
24839 other case, in case of a failure we will not use CRLF. */
24840 #include <sys/stat.h>
24841 #include <stdlib.h>
24853 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24856 if (write (fd, "\n", 1) < 0)
24861 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24863 bytes = read (fd, buff, 5);
24864 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24871 if ac_fn_c_try_run "$LINENO"; then :
24872 libgfor_cv_have_crlf=yes
24874 libgfor_cv_have_crlf=no
24876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24877 conftest.$ac_objext conftest.beam conftest.$ac_ext
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24882 $as_echo "$libgfor_cv_have_crlf" >&6; }
24883 if test x"$libgfor_cv_have_crlf" = xyes; then
24885 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24889 cat >confcache <<\_ACEOF
24890 # This file is a shell script that caches the results of configure
24891 # tests run on this system so they can be shared between configure
24892 # scripts and configure runs, see configure's option --config-cache.
24893 # It is not useful on other systems. If it contains results you don't
24894 # want to keep, you may remove or edit it.
24896 # config.status only pays attention to the cache file if you give it
24897 # the --recheck option to rerun configure.
24899 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24900 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24901 # following values.
24905 # The following way of writing the cache mishandles newlines in values,
24906 # but we know of no workaround that is simple, portable, and efficient.
24907 # So, we kill variables containing newlines.
24908 # Ultrix sh set writes to stderr and can't be redirected directly,
24909 # and sets the high bit in the cache file unless we assign to the vars.
24911 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24912 eval ac_val=\$$ac_var
24916 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24917 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24920 _ | IFS | as_nl) ;; #(
24921 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24922 *) { eval $ac_var=; unset $ac_var;} ;;
24928 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24929 *${as_nl}ac_space=\ *)
24930 # `set' does not quote correctly, so add quotes: double-quote
24931 # substitution turns \\\\ into \\, and sed turns \\ into \.
24934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24937 # `set' quotes correctly as required by POSIX, so do not add quotes.
24938 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24947 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24949 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24951 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24952 if test -w "$cache_file"; then
24953 test "x$cache_file" != "x/dev/null" &&
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24955 $as_echo "$as_me: updating cache $cache_file" >&6;}
24956 cat confcache >$cache_file
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24959 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24964 if test ${multilib} = yes; then
24965 multilib_arg="--enable-multilib"
24970 # Write our Makefile and spec file.
24971 ac_config_files="$ac_config_files Makefile libgfortran.spec"
24973 cat >confcache <<\_ACEOF
24974 # This file is a shell script that caches the results of configure
24975 # tests run on this system so they can be shared between configure
24976 # scripts and configure runs, see configure's option --config-cache.
24977 # It is not useful on other systems. If it contains results you don't
24978 # want to keep, you may remove or edit it.
24980 # config.status only pays attention to the cache file if you give it
24981 # the --recheck option to rerun configure.
24983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24985 # following values.
24989 # The following way of writing the cache mishandles newlines in values,
24990 # but we know of no workaround that is simple, portable, and efficient.
24991 # So, we kill variables containing newlines.
24992 # Ultrix sh set writes to stderr and can't be redirected directly,
24993 # and sets the high bit in the cache file unless we assign to the vars.
24995 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24996 eval ac_val=\$$ac_var
25000 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25004 _ | IFS | as_nl) ;; #(
25005 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25006 *) { eval $ac_var=; unset $ac_var;} ;;
25012 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25013 *${as_nl}ac_space=\ *)
25014 # `set' does not quote correctly, so add quotes: double-quote
25015 # substitution turns \\\\ into \\, and sed turns \\ into \.
25018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25021 # `set' quotes correctly as required by POSIX, so do not add quotes.
25022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25033 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25035 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25036 if test -w "$cache_file"; then
25037 test "x$cache_file" != "x/dev/null" &&
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25039 $as_echo "$as_me: updating cache $cache_file" >&6;}
25040 cat confcache >$cache_file
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25043 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25048 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25049 # Let make expand exec_prefix.
25050 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25052 DEFS=-DHAVE_CONFIG_H
25056 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25057 # 1. Remove the extension, and $U if already installed.
25058 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25059 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25060 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25061 # will be set to the directory where LIBOBJS objects are built.
25062 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25063 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25065 LIBOBJS=$ac_libobjs
25067 LTLIBOBJS=$ac_ltlibobjs
25070 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25071 as_fn_error "conditional \"onestep\" was never defined.
25072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25074 if test -n "$EXEEXT"; then
25076 am__EXEEXT_FALSE='#'
25078 am__EXEEXT_TRUE='#'
25082 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25083 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25086 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25087 as_fn_error "conditional \"AMDEP\" was never defined.
25088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25090 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25091 as_fn_error "conditional \"am__fastdepCC\" was never defined.
25092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25094 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25095 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25098 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25099 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25102 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25103 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25106 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
25107 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
25108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25111 : ${CONFIG_STATUS=./config.status}
25113 ac_clean_files_save=$ac_clean_files
25114 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25116 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25118 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25120 # Generated by $as_me.
25121 # Run this file to recreate the current configuration.
25122 # Compiler output produced by configure, useful for debugging
25123 # configure, is in config.log if it exists.
25126 ac_cs_recheck=false
25129 SHELL=\${CONFIG_SHELL-$SHELL}
25132 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25133 ## -------------------- ##
25134 ## M4sh Initialization. ##
25135 ## -------------------- ##
25137 # Be more Bourne compatible
25138 DUALCASE=1; export DUALCASE # for MKS sh
25139 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25142 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25143 # is contrary to our usage. Disable this feature.
25144 alias -g '${1+"$@"}'='"$@"'
25145 setopt NO_GLOB_SUBST
25147 case `(set -o) 2>/dev/null` in #(
25159 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25160 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25161 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25162 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25163 # Prefer a ksh shell builtin over an external printf program on Solaris,
25164 # but without wasting forks for bash or zsh.
25165 if test -z "$BASH_VERSION$ZSH_VERSION" \
25166 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25167 as_echo='print -r --'
25168 as_echo_n='print -rn --'
25169 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25170 as_echo='printf %s\n'
25171 as_echo_n='printf %s'
25173 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25174 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25175 as_echo_n='/usr/ucb/echo -n'
25177 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25178 as_echo_n_body='eval
25182 expr "X$arg" : "X\\(.*\\)$as_nl";
25183 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25185 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25187 export as_echo_n_body
25188 as_echo_n='sh -c $as_echo_n_body as_echo'
25190 export as_echo_body
25191 as_echo='sh -c $as_echo_body as_echo'
25194 # The user is always right.
25195 if test "${PATH_SEPARATOR+set}" != set; then
25197 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25198 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25205 # We need space, tab and new line, in precisely that order. Quoting is
25206 # there to prevent editors from complaining about space-tab.
25207 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25208 # splitting by setting IFS to empty value.)
25211 # Find who we are. Look in the path if we contain no directory separator.
25213 *[\\/]* ) as_myself=$0 ;;
25214 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25215 for as_dir in $PATH
25218 test -z "$as_dir" && as_dir=.
25219 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25225 # We did not find ourselves, most probably we were run as `sh COMMAND'
25226 # in which case we are not to be found in the path.
25227 if test "x$as_myself" = x; then
25230 if test ! -f "$as_myself"; then
25231 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25235 # Unset variables that we do not need and which cause bugs (e.g. in
25236 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25237 # suppresses any "Segmentation fault" message there. '((' could
25238 # trigger a bug in pdksh 5.2.14.
25239 for as_var in BASH_ENV ENV MAIL MAILPATH
25240 do eval test x\${$as_var+set} = xset \
25241 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25254 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25257 # as_fn_error ERROR [LINENO LOG_FD]
25258 # ---------------------------------
25259 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25260 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25261 # script with status $?, using 1 if that was 0.
25264 as_status=$?; test $as_status -eq 0 && as_status=1
25266 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25267 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25269 $as_echo "$as_me: error: $1" >&2
25270 as_fn_exit $as_status
25274 # as_fn_set_status STATUS
25275 # -----------------------
25276 # Set $? to STATUS, without forking.
25277 as_fn_set_status ()
25280 } # as_fn_set_status
25282 # as_fn_exit STATUS
25283 # -----------------
25284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25288 as_fn_set_status $1
25294 # Portably unset VAR.
25297 { eval $1=; unset $1;}
25299 as_unset=as_fn_unset
25300 # as_fn_append VAR VALUE
25301 # ----------------------
25302 # Append the text in VALUE to the end of the definition contained in VAR. Take
25303 # advantage of any shell optimizations that allow amortized linear growth over
25304 # repeated appends, instead of the typical quadratic growth present in naive
25306 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25307 eval 'as_fn_append ()
25318 # as_fn_arith ARG...
25319 # ------------------
25320 # Perform arithmetic evaluation on the ARGs, and store the result in the
25321 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25322 # must be portable across $(()) and expr.
25323 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25324 eval 'as_fn_arith ()
25331 as_val=`expr "$@" || test $? -eq 1`
25336 if expr a : '\(a\)' >/dev/null 2>&1 &&
25337 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25343 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25344 as_basename=basename
25349 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25355 as_me=`$as_basename -- "$0" ||
25356 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25357 X"$0" : 'X\(//\)$' \| \
25358 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25360 sed '/^.*\/\([^/][^/]*\)\/*$/{
25374 # Avoid depending upon Character Ranges.
25375 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25376 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25377 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25378 as_cr_digits='0123456789'
25379 as_cr_alnum=$as_cr_Letters$as_cr_digits
25381 ECHO_C= ECHO_N= ECHO_T=
25382 case `echo -n x` in #(((((
25384 case `echo 'xy\c'` in
25385 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25387 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25394 rm -f conf$$ conf$$.exe conf$$.file
25395 if test -d conf$$.dir; then
25396 rm -f conf$$.dir/conf$$.file
25399 mkdir conf$$.dir 2>/dev/null
25401 if (echo >conf$$.file) 2>/dev/null; then
25402 if ln -s conf$$.file conf$$ 2>/dev/null; then
25404 # ... but there are two gotchas:
25405 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25406 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25407 # In both cases, we have to default to `cp -p'.
25408 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25410 elif ln conf$$.file conf$$ 2>/dev/null; then
25418 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25419 rmdir conf$$.dir 2>/dev/null
25424 # Create "$as_dir" as a directory, including parents if necessary.
25429 -*) as_dir=./$as_dir;;
25431 test -d "$as_dir" || eval $as_mkdir_p || {
25435 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25436 *) as_qdir=$as_dir;;
25438 as_dirs="'$as_qdir' $as_dirs"
25439 as_dir=`$as_dirname -- "$as_dir" ||
25440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25441 X"$as_dir" : 'X\(//\)[^/]' \| \
25442 X"$as_dir" : 'X\(//\)$' \| \
25443 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25444 $as_echo X"$as_dir" |
25445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25449 /^X\(\/\/\)[^/].*/{
25462 test -d "$as_dir" && break
25464 test -z "$as_dirs" || eval "mkdir $as_dirs"
25465 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25469 if mkdir -p . 2>/dev/null; then
25470 as_mkdir_p='mkdir -p "$as_dir"'
25472 test -d ./-p && rmdir ./-p
25476 if test -x / >/dev/null 2>&1; then
25477 as_test_x='test -x'
25479 if ls -dL / >/dev/null 2>&1; then
25486 if test -d "$1"; then
25492 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25493 ???[sx]*):;;*)false;;esac;fi
25497 as_executable_p=$as_test_x
25499 # Sed expression to map a string onto a valid CPP name.
25500 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25502 # Sed expression to map a string onto a valid variable name.
25503 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25507 ## ----------------------------------- ##
25508 ## Main body of $CONFIG_STATUS script. ##
25509 ## ----------------------------------- ##
25511 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25514 # Save the log message, to keep $0 and so on meaningful, and to
25515 # report actual input values of CONFIG_FILES etc. instead of their
25516 # values after options handling.
25518 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25519 generated by GNU Autoconf 2.64. Invocation command line was
25521 CONFIG_FILES = $CONFIG_FILES
25522 CONFIG_HEADERS = $CONFIG_HEADERS
25523 CONFIG_LINKS = $CONFIG_LINKS
25524 CONFIG_COMMANDS = $CONFIG_COMMANDS
25527 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25532 case $ac_config_files in *"
25533 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25536 case $ac_config_headers in *"
25537 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25542 # Files that config.status was made for.
25543 config_files="$ac_config_files"
25544 config_headers="$ac_config_headers"
25545 config_commands="$ac_config_commands"
25549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25551 \`$as_me' instantiates files and other configuration actions
25552 from templates according to the current configuration. Unless the files
25553 and actions are specified as TAGs, all are instantiated by default.
25555 Usage: $0 [OPTION]... [TAG]...
25557 -h, --help print this help, then exit
25558 -V, --version print version number and configuration settings, then exit
25559 -q, --quiet, --silent
25560 do not print progress messages
25561 -d, --debug don't remove temporary files
25562 --recheck update $as_me by reconfiguring in the same conditions
25563 --file=FILE[:TEMPLATE]
25564 instantiate the configuration file FILE
25565 --header=FILE[:TEMPLATE]
25566 instantiate the configuration header FILE
25568 Configuration files:
25571 Configuration headers:
25574 Configuration commands:
25577 Report bugs to the package provider.
25578 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25579 General help using GNU software: <http://www.gnu.org/gethelp/>."
25582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25584 GNU Fortran Runtime Library config.status 0.3
25585 configured by $0, generated by GNU Autoconf 2.64,
25586 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25588 Copyright (C) 2009 Free Software Foundation, Inc.
25589 This config.status script is free software; the Free Software Foundation
25590 gives unlimited permission to copy, distribute and modify it."
25597 test -n "\$AWK" || AWK=awk
25600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25601 # The default lists apply if the user does not specify any file.
25607 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25608 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25619 # Handling of the options.
25620 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25622 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25623 $as_echo "$ac_cs_version"; exit ;;
25624 --debug | --debu | --deb | --de | --d | -d )
25626 --file | --fil | --fi | --f )
25629 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25631 as_fn_append CONFIG_FILES " '$ac_optarg'"
25632 ac_need_defaults=false;;
25633 --header | --heade | --head | --hea )
25636 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25638 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25639 ac_need_defaults=false;;
25641 # Conflict between --help and --header
25642 as_fn_error "ambiguous option: \`$1'
25643 Try \`$0 --help' for more information.";;
25644 --help | --hel | -h )
25645 $as_echo "$ac_cs_usage"; exit ;;
25646 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25647 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25650 # This is an error.
25651 -*) as_fn_error "unrecognized option: \`$1'
25652 Try \`$0 --help' for more information." ;;
25654 *) as_fn_append ac_config_targets " $1"
25655 ac_need_defaults=false ;;
25661 ac_configure_extra_args=
25663 if $ac_cs_silent; then
25665 ac_configure_extra_args="$ac_configure_extra_args --silent"
25669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25670 if \$ac_cs_recheck; then
25671 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25673 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25674 CONFIG_SHELL='$SHELL'
25675 export CONFIG_SHELL
25680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25684 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25685 ## Running $as_me. ##
25691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25699 with_multisubdir="$with_multisubdir"
25700 with_multisrctop="$with_multisrctop"
25701 with_target_subdir="$with_target_subdir"
25702 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25703 multi_basedir="$multi_basedir"
25704 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25707 GFORTRAN="$GFORTRAN"
25709 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25712 # The HP-UX ksh and POSIX shell print the target directory to stdout
25713 # if CDPATH is set.
25714 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25716 sed_quote_subst='$sed_quote_subst'
25717 double_quote_subst='$double_quote_subst'
25718 delay_variable_subst='$delay_variable_subst'
25719 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25720 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25721 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25722 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25723 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25724 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25725 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25726 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25727 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25728 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25729 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25730 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25731 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25732 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25733 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25734 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25735 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25736 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25737 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25738 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25739 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25740 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25741 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25742 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25743 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25744 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25745 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25746 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25747 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25748 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25749 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25750 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25751 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25752 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25753 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25754 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25755 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25756 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25757 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25758 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25759 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25760 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25761 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25762 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25763 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25764 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25765 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25766 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25767 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"`'
25768 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25769 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25770 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25771 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25772 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25773 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25774 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25775 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25776 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25777 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25778 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25779 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25780 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25781 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25782 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25783 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25784 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25785 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25786 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25787 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25788 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25789 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25790 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25791 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25792 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25793 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25794 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25795 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25796 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25797 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25798 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25799 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25800 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25801 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25802 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25803 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25804 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25805 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25806 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25807 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25808 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25809 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25810 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25811 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25812 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25813 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25814 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25815 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25816 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25817 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25818 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25819 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25820 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25821 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25822 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25823 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25824 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25825 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25826 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25827 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25828 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25829 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25830 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25831 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25832 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25833 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25834 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25835 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25836 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25837 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25838 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25839 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25840 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25841 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25842 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25843 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25844 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25845 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25846 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25847 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25848 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25849 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25850 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25851 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25852 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25853 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25854 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25855 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25856 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25857 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25858 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25859 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25860 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25861 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25862 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25863 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25864 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25865 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25866 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25867 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25868 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25869 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25870 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25871 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25872 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25873 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25874 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25875 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25876 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25877 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25878 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25879 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25880 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25881 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25882 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25883 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25884 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25885 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25886 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25887 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25888 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25889 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25890 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25891 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25892 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25893 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25896 LTCFLAGS='$LTCFLAGS'
25897 compiler='$compiler_DEFAULT'
25899 # A function that is used when there is no print builtin or printf.
25900 func_fallback_echo ()
25902 eval 'cat <<_LTECHO_EOF
25907 # Quote evaled strings.
25921 deplibs_check_method \
25930 lt_cv_sys_global_symbol_pipe \
25931 lt_cv_sys_global_symbol_to_cdecl \
25932 lt_cv_sys_global_symbol_to_c_name_address \
25933 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25934 lt_prog_compiler_no_builtin_flag \
25935 lt_prog_compiler_wl \
25936 lt_prog_compiler_pic \
25937 lt_prog_compiler_static \
25938 lt_cv_prog_compiler_c_o \
25946 export_dynamic_flag_spec \
25947 whole_archive_flag_spec \
25948 compiler_needs_object \
25950 allow_undefined_flag \
25951 no_undefined_flag \
25952 hardcode_libdir_flag_spec \
25953 hardcode_libdir_flag_spec_ld \
25954 hardcode_libdir_separator \
25959 variables_saved_for_relink \
25961 library_names_spec \
25963 install_override_mode \
25967 compiler_lib_search_dirs \
25972 compiler_lib_search_path \
25976 lt_prog_compiler_no_builtin_flag_FC \
25977 lt_prog_compiler_wl_FC \
25978 lt_prog_compiler_pic_FC \
25979 lt_prog_compiler_static_FC \
25980 lt_cv_prog_compiler_c_o_FC \
25981 export_dynamic_flag_spec_FC \
25982 whole_archive_flag_spec_FC \
25983 compiler_needs_object_FC \
25985 allow_undefined_flag_FC \
25986 no_undefined_flag_FC \
25987 hardcode_libdir_flag_spec_FC \
25988 hardcode_libdir_flag_spec_ld_FC \
25989 hardcode_libdir_separator_FC \
25990 fix_srcfile_path_FC \
25991 exclude_expsyms_FC \
25992 include_expsyms_FC \
25993 file_list_spec_FC \
25994 compiler_lib_search_dirs_FC \
25995 predep_objects_FC \
25996 postdep_objects_FC \
25999 compiler_lib_search_path_FC; do
26000 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26001 *[\\\\\\\`\\"\\\$]*)
26002 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26005 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26010 # Double-quote double-evaled strings.
26011 for var in reload_cmds \
26012 old_postinstall_cmds \
26013 old_postuninstall_cmds \
26015 extract_expsyms_cmds \
26016 old_archive_from_new_cmds \
26017 old_archive_from_expsyms_cmds \
26019 archive_expsym_cmds \
26021 module_expsym_cmds \
26022 export_symbols_cmds \
26025 postuninstall_cmds \
26027 sys_lib_search_path_spec \
26028 sys_lib_dlsearch_path_spec \
26030 old_archive_cmds_FC \
26031 old_archive_from_new_cmds_FC \
26032 old_archive_from_expsyms_cmds_FC \
26034 archive_expsym_cmds_FC \
26036 module_expsym_cmds_FC \
26037 export_symbols_cmds_FC \
26038 prelink_cmds_FC; do
26039 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26040 *[\\\\\\\`\\"\\\$]*)
26041 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26044 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26049 ac_aux_dir='$ac_aux_dir'
26050 xsi_shell='$xsi_shell'
26051 lt_shell_append='$lt_shell_append'
26053 # See if we are running on zsh, and set the options which allow our
26054 # commands through without removal of \ escapes INIT.
26055 if test -n "\${ZSH_VERSION+set}" ; then
26056 setopt NO_GLOB_SUBST
26062 TIMESTAMP='$TIMESTAMP'
26073 acx_cv_header_stdint="$acx_cv_header_stdint"
26074 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26075 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26076 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26077 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26078 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26079 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26080 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26081 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26082 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26083 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26084 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26085 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26086 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26093 # Handling of arguments.
26094 for ac_config_target in $ac_config_targets
26096 case $ac_config_target in
26097 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26098 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26099 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26100 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26101 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26102 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26103 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
26105 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26110 # If the user did not use the arguments to specify the items to instantiate,
26111 # then the envvar interface is used. Set only those that are not.
26112 # We use the long form for the default assignment because of an extremely
26113 # bizarre bug on SunOS 4.1.3.
26114 if $ac_need_defaults; then
26115 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26116 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26117 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26120 # Have a temporary directory for convenience. Make it in the build tree
26121 # simply because there is no reason against having it here, and in addition,
26122 # creating and moving files from /tmp can sometimes cause problems.
26123 # Hook for its removal unless debugging.
26124 # Note that there is a small window in which the directory will not be cleaned:
26125 # after its creation but before its name has been assigned to `$tmp'.
26129 trap 'exit_status=$?
26130 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26132 trap 'as_fn_exit 1' 1 2 13 15
26134 # Create a (secure) tmp directory for tmp files.
26137 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26138 test -n "$tmp" && test -d "$tmp"
26141 tmp=./conf$$-$RANDOM
26142 (umask 077 && mkdir "$tmp")
26143 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26145 # Set up the scripts for CONFIG_FILES section.
26146 # No need to generate them if there are no CONFIG_FILES.
26147 # This happens for instance with `./config.status config.h'.
26148 if test -n "$CONFIG_FILES"; then
26151 ac_cr=`echo X | tr X '\015'`
26152 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26153 # But we know of no other shell where ac_cr would be empty at this
26154 # point, so we can use a bashism as a fallback.
26155 if test "x$ac_cr" = x; then
26156 eval ac_cr=\$\'\\r\'
26158 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26159 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26162 ac_cs_awk_cr=$ac_cr
26165 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26170 echo "cat >conf$$subs.awk <<_ACEOF" &&
26171 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26173 } >conf$$subs.sh ||
26174 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26175 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26177 for ac_last_try in false false false false false :; do
26178 . ./conf$$subs.sh ||
26179 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26181 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26182 if test $ac_delim_n = $ac_delim_num; then
26184 elif $ac_last_try; then
26185 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26187 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26190 rm -f conf$$subs.sh
26192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26193 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26197 s/^/S["/; s/!.*/"]=/
26207 s/\(.\{148\}\).*/\1/
26209 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26214 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26221 s/\(.\{148\}\).*/\1/
26223 s/["\\]/\\&/g; s/^/"/; s/$/"/
26227 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26232 ' <conf$$subs.awk | sed '
26237 ' >>$CONFIG_STATUS || ac_write_fail=1
26238 rm -f conf$$subs.awk
26239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26241 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26242 for (key in S) S_is_set[key] = 1
26248 nfields = split(line, field, "@")
26250 len = length(field[1])
26251 for (i = 2; i < nfields; i++) {
26253 keylen = length(key)
26254 if (S_is_set[key]) {
26256 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26257 len += length(value) + length(field[++i])
26268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26269 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26270 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26273 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26274 || as_fn_error "could not setup config files machinery" "$LINENO" 5
26277 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26278 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26279 # trailing colons and then remove the whole line if VPATH becomes empty
26280 # (actually we leave an empty line to preserve line numbers).
26281 if test "x$srcdir" = x.; then
26282 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26283 s/:*\$(srcdir):*/:/
26284 s/:*\${srcdir}:*/:/
26286 s/^\([^=]*=[ ]*\):*/\1/
26292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26293 fi # test -n "$CONFIG_FILES"
26295 # Set up the scripts for CONFIG_HEADERS section.
26296 # No need to generate them if there are no CONFIG_HEADERS.
26297 # This happens for instance with `./config.status Makefile'.
26298 if test -n "$CONFIG_HEADERS"; then
26299 cat >"$tmp/defines.awk" <<\_ACAWK ||
26303 # Transform confdefs.h into an awk script `defines.awk', embedded as
26304 # here-document in config.status, that substitutes the proper values into
26305 # config.h.in to produce config.h.
26307 # Create a delimiter string that does not exist in confdefs.h, to ease
26308 # handling of long lines.
26310 for ac_last_try in false false :; do
26311 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26312 if test -z "$ac_t"; then
26314 elif $ac_last_try; then
26315 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26317 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26321 # For the awk script, D is an array of macro values keyed by name,
26322 # likewise P contains macro parameters if any. Preserve backslash
26323 # newline sequences.
26325 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26327 s/.\{148\}/&'"$ac_delim"'/g
26330 s/^[ ]*#[ ]*define[ ][ ]*/ /
26337 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26339 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26343 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26344 D["\1"]=" \3\\\\\\n"\\/p
26346 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26351 s/.\{148\}/&'"$ac_delim"'/g
26356 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26359 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26361 ' <confdefs.h | sed '
26362 s/'"$ac_delim"'/"\\\
26363 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26366 for (key in D) D_is_set[key] = 1
26369 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26371 split(line, arg, " ")
26372 if (arg[1] == "#") {
26376 defundef = substr(arg[1], 2)
26379 split(mac1, mac2, "(") #)
26381 prefix = substr(line, 1, index(line, defundef) - 1)
26382 if (D_is_set[macro]) {
26383 # Preserve the white space surrounding the "#".
26384 print prefix "define", macro P[macro] D[macro]
26387 # Replace #undef with comments. This is necessary, for example,
26388 # in the case of _POSIX_SOURCE, which is predefined and required
26389 # on some systems where configure will not decide to define it.
26390 if (defundef == "undef") {
26391 print "/*", prefix defundef, macro, "*/"
26399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26400 as_fn_error "could not setup config headers machinery" "$LINENO" 5
26401 fi # test -n "$CONFIG_HEADERS"
26404 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26409 :[FHLC]) ac_mode=$ac_tag; continue;;
26411 case $ac_mode$ac_tag in
26413 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26414 :[FH]-) ac_tag=-:-;;
26415 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26432 -) ac_f="$tmp/stdin";;
26433 *) # Look for the file first in the build tree, then in the source tree
26434 # (if the path is not absolute). The absolute path cannot be DOS-style,
26435 # because $ac_f cannot contain `:'.
26439 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26441 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26443 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26444 as_fn_append ac_file_inputs " '$ac_f'"
26447 # Let's still pretend it is `configure' which instantiates (i.e., don't
26448 # use $as_me), people would be surprised to read:
26449 # /* config.h. Generated by config.status. */
26450 configure_input='Generated from '`
26451 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26453 if test x"$ac_file" != x-; then
26454 configure_input="$ac_file. $configure_input"
26455 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26456 $as_echo "$as_me: creating $ac_file" >&6;}
26458 # Neutralize special characters interpreted by sed in replacement strings.
26459 case $configure_input in #(
26460 *\&* | *\|* | *\\* )
26461 ac_sed_conf_input=`$as_echo "$configure_input" |
26462 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26463 *) ac_sed_conf_input=$configure_input;;
26467 *:-:* | *:-) cat >"$tmp/stdin" \
26468 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26473 ac_dir=`$as_dirname -- "$ac_file" ||
26474 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26475 X"$ac_file" : 'X\(//\)[^/]' \| \
26476 X"$ac_file" : 'X\(//\)$' \| \
26477 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26478 $as_echo X"$ac_file" |
26479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26483 /^X\(\/\/\)[^/].*/{
26496 as_dir="$ac_dir"; as_fn_mkdir_p
26500 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26502 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26503 # A ".." for each directory in $ac_dir_suffix.
26504 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26505 case $ac_top_builddir_sub in
26506 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26507 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26510 ac_abs_top_builddir=$ac_pwd
26511 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26512 # for backward compatibility:
26513 ac_top_builddir=$ac_top_build_prefix
26516 .) # We are building in place.
26518 ac_top_srcdir=$ac_top_builddir_sub
26519 ac_abs_top_srcdir=$ac_pwd ;;
26520 [\\/]* | ?:[\\/]* ) # Absolute name.
26521 ac_srcdir=$srcdir$ac_dir_suffix;
26522 ac_top_srcdir=$srcdir
26523 ac_abs_top_srcdir=$srcdir ;;
26524 *) # Relative name.
26525 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26526 ac_top_srcdir=$ac_top_build_prefix$srcdir
26527 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26529 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26539 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26540 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26542 ac_MKDIR_P=$MKDIR_P
26544 [\\/$]* | ?:[\\/]* ) ;;
26545 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26550 # If the template does not know about datarootdir, expand it.
26551 # FIXME: This hack should be removed a few years after 2.60.
26552 ac_datarootdir_hack=; ac_datarootdir_seen=
26563 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26564 *datarootdir*) ac_datarootdir_seen=yes;;
26565 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26567 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26570 ac_datarootdir_hack='
26571 s&@datadir@&$datadir&g
26572 s&@docdir@&$docdir&g
26573 s&@infodir@&$infodir&g
26574 s&@localedir@&$localedir&g
26575 s&@mandir@&$mandir&g
26576 s&\\\${datarootdir}&$datarootdir&g' ;;
26580 # Neutralize VPATH when `$srcdir' = `.'.
26581 # Shell code in configure.ac might set extrasub.
26582 # FIXME: do we really want to maintain this feature?
26583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26584 ac_sed_extra="$ac_vpsub
26587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26589 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26590 s|@configure_input@|$ac_sed_conf_input|;t t
26591 s&@top_builddir@&$ac_top_builddir_sub&;t t
26592 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26593 s&@srcdir@&$ac_srcdir&;t t
26594 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26595 s&@top_srcdir@&$ac_top_srcdir&;t t
26596 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26597 s&@builddir@&$ac_builddir&;t t
26598 s&@abs_builddir@&$ac_abs_builddir&;t t
26599 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26600 s&@INSTALL@&$ac_INSTALL&;t t
26601 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26602 $ac_datarootdir_hack
26604 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26605 || as_fn_error "could not create $ac_file" "$LINENO" 5
26607 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26608 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26609 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26611 which seems to be undefined. Please make sure it is defined." >&5
26612 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26613 which seems to be undefined. Please make sure it is defined." >&2;}
26617 -) cat "$tmp/out" && rm -f "$tmp/out";;
26618 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26620 || as_fn_error "could not create $ac_file" "$LINENO" 5
26626 if test x"$ac_file" != x-; then
26628 $as_echo "/* $configure_input */" \
26629 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26630 } >"$tmp/config.h" \
26631 || as_fn_error "could not create $ac_file" "$LINENO" 5
26632 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26634 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26637 mv "$tmp/config.h" "$ac_file" \
26638 || as_fn_error "could not create $ac_file" "$LINENO" 5
26641 $as_echo "/* $configure_input */" \
26642 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26643 || as_fn_error "could not create -" "$LINENO" 5
26645 # Compute "$ac_file"'s index in $config_headers.
26648 for _am_header in $config_headers :; do
26649 case $_am_header in
26650 $_am_arg | $_am_arg:* )
26653 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26656 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26657 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26658 X"$_am_arg" : 'X\(//\)[^/]' \| \
26659 X"$_am_arg" : 'X\(//\)$' \| \
26660 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26661 $as_echo X"$_am_arg" |
26662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26666 /^X\(\/\/\)[^/].*/{
26678 s/.*/./; q'`/stamp-h$_am_stamp_count
26681 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26682 $as_echo "$as_me: executing $ac_file commands" >&6;}
26687 case $ac_file$ac_mode in
26689 # Only add multilib support code if we just rebuilt the top-level
26691 case " $CONFIG_FILES " in
26693 ac_file=Makefile . ${multi_basedir}/config-ml.in
26696 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26697 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26698 # are listed without --file. Let's play safe and only enable the eval
26699 # if we detect the quoting.
26700 case $CONFIG_FILES in
26701 *\'*) eval set x "$CONFIG_FILES" ;;
26702 *) set x $CONFIG_FILES ;;
26707 # Strip MF so we end up with the name of the file.
26708 mf=`echo "$mf" | sed -e 's/:.*$//'`
26709 # Check whether this is an Automake generated Makefile or not.
26710 # We used to match only the files named `Makefile.in', but
26711 # some people rename them; so instead we look at the file content.
26712 # Grep'ing the first line is not enough: some people post-process
26713 # each Makefile.in and add a new line on top of each file to say so.
26714 # Grep'ing the whole file is not good either: AIX grep has a line
26715 # limit of 2048, but all sed's we know have understand at least 4000.
26716 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26717 dirpart=`$as_dirname -- "$mf" ||
26718 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26719 X"$mf" : 'X\(//\)[^/]' \| \
26720 X"$mf" : 'X\(//\)$' \| \
26721 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26727 /^X\(\/\/\)[^/].*/{
26743 # Extract the definition of DEPDIR, am__include, and am__quote
26744 # from the Makefile without running `make'.
26745 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26746 test -z "$DEPDIR" && continue
26747 am__include=`sed -n 's/^am__include = //p' < "$mf"`
26748 test -z "am__include" && continue
26749 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26750 # When using ansi2knr, U may be empty or an underscore; expand it
26751 U=`sed -n 's/^U = //p' < "$mf"`
26752 # Find all dependency output files, they are included files with
26753 # $(DEPDIR) in their names. We invoke sed twice because it is the
26754 # simplest approach to changing $(DEPDIR) to its actual value in the
26756 for file in `sed -n "
26757 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26758 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26759 # Make sure the directory exists.
26760 test -f "$dirpart/$file" && continue
26761 fdir=`$as_dirname -- "$file" ||
26762 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26763 X"$file" : 'X\(//\)[^/]' \| \
26764 X"$file" : 'X\(//\)$' \| \
26765 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26766 $as_echo X"$file" |
26767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26771 /^X\(\/\/\)[^/].*/{
26784 as_dir=$dirpart/$fdir; as_fn_mkdir_p
26785 # echo "creating $dirpart/$file"
26786 echo '# dummy' > "$dirpart/$file"
26793 # See if we are running on zsh, and set the options which allow our
26794 # commands through without removal of \ escapes.
26795 if test -n "${ZSH_VERSION+set}" ; then
26796 setopt NO_GLOB_SUBST
26799 cfgfile="${ofile}T"
26800 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26803 cat <<_LT_EOF >> "$cfgfile"
26806 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26807 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26808 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26809 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26811 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26812 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26813 # Written by Gordon Matzigkeit, 1996
26815 # This file is part of GNU Libtool.
26817 # GNU Libtool is free software; you can redistribute it and/or
26818 # modify it under the terms of the GNU General Public License as
26819 # published by the Free Software Foundation; either version 2 of
26820 # the License, or (at your option) any later version.
26822 # As a special exception to the GNU General Public License,
26823 # if you distribute this file as part of a program or library that
26824 # is built using GNU Libtool, you may include this file under the
26825 # same distribution terms that you use for the rest of that program.
26827 # GNU Libtool is distributed in the hope that it will be useful,
26828 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26829 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26830 # GNU General Public License for more details.
26832 # You should have received a copy of the GNU General Public License
26833 # along with GNU Libtool; see the file COPYING. If not, a copy
26834 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26835 # obtained by writing to the Free Software Foundation, Inc.,
26836 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26839 # The names of the tagged configurations supported by this script.
26840 available_tags="FC "
26842 # ### BEGIN LIBTOOL CONFIG
26844 # Which release of libtool.m4 was used?
26845 macro_version=$macro_version
26846 macro_revision=$macro_revision
26848 # Whether or not to build shared libraries.
26849 build_libtool_libs=$enable_shared
26851 # Whether or not to build static libraries.
26852 build_old_libs=$enable_static
26854 # What type of objects to build.
26857 # Whether or not to optimize for fast installation.
26858 fast_install=$enable_fast_install
26860 # Shell to use when invoking shell scripts.
26863 # An echo program that protects backslashes.
26867 host_alias=$host_alias
26871 # The build system.
26872 build_alias=$build_alias
26876 # A sed program that does not truncate output.
26879 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26880 Xsed="\$SED -e 1s/^X//"
26882 # A grep program that handles long lines.
26888 # A literal string matcher.
26891 # A BSD- or MS-compatible name lister.
26894 # Whether we need soft or hard links.
26897 # What is the maximum length of a command?
26898 max_cmd_len=$max_cmd_len
26900 # Object file suffix (normally "o").
26903 # Executable file suffix (normally "").
26906 # whether the shell understands "unset".
26909 # turn spaces into newlines.
26912 # turn newlines into spaces.
26915 # An object symbol dumper.
26916 OBJDUMP=$lt_OBJDUMP
26918 # Method to check whether dependent libraries are shared objects.
26919 deplibs_check_method=$lt_deplibs_check_method
26921 # Command to use when deplibs_check_method == "file_magic".
26922 file_magic_cmd=$lt_file_magic_cmd
26926 AR_FLAGS=$lt_AR_FLAGS
26928 # A symbol stripping program.
26931 # Commands used to install an old-style archive.
26933 old_postinstall_cmds=$lt_old_postinstall_cmds
26934 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26936 # Whether to use a lock for old archive extraction.
26937 lock_old_archive_extraction=$lock_old_archive_extraction
26942 # LTCC compiler flags.
26943 LTCFLAGS=$lt_CFLAGS
26945 # Take the output of nm and produce a listing of raw symbols and C names.
26946 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26948 # Transform the output of nm in a proper C declaration.
26949 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26951 # Transform the output of nm in a C name address pair.
26952 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26954 # Transform the output of nm in a C name address pair when lib prefix is needed.
26955 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26957 # The name of the directory that contains temporary libtool files.
26960 # Used to examine libraries when file_magic_cmd begins with "file".
26961 MAGIC_CMD=$MAGIC_CMD
26963 # Must we lock files when doing compilation?
26964 need_locks=$lt_need_locks
26966 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26967 DSYMUTIL=$lt_DSYMUTIL
26969 # Tool to change global to local symbols on Mac OS X.
26972 # Tool to manipulate fat objects and archives on Mac OS X.
26975 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26978 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26979 OTOOL64=$lt_OTOOL64
26981 # Old archive suffix (normally "a").
26984 # Shared library suffix (normally ".so").
26985 shrext_cmds=$lt_shrext_cmds
26987 # The commands to extract the exported symbol list from a shared archive.
26988 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26990 # Variables whose values should be saved in libtool wrapper scripts and
26991 # restored at link time.
26992 variables_saved_for_relink=$lt_variables_saved_for_relink
26994 # Do we need the "lib" prefix for modules?
26995 need_lib_prefix=$need_lib_prefix
26997 # Do we need a version for libraries?
26998 need_version=$need_version
27000 # Library versioning type.
27001 version_type=$version_type
27003 # Shared library runtime path variable.
27004 runpath_var=$runpath_var
27006 # Shared library path variable.
27007 shlibpath_var=$shlibpath_var
27009 # Is shlibpath searched before the hard-coded library search path?
27010 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27012 # Format of library name prefix.
27013 libname_spec=$lt_libname_spec
27015 # List of archive names. First name is the real one, the rest are links.
27016 # The last name is the one that the linker finds with -lNAME
27017 library_names_spec=$lt_library_names_spec
27019 # The coded name of the library, if different from the real name.
27020 soname_spec=$lt_soname_spec
27022 # Permission mode override for installation of shared libraries.
27023 install_override_mode=$lt_install_override_mode
27025 # Command to use after installation of a shared archive.
27026 postinstall_cmds=$lt_postinstall_cmds
27028 # Command to use after uninstallation of a shared archive.
27029 postuninstall_cmds=$lt_postuninstall_cmds
27031 # Commands used to finish a libtool library installation in a directory.
27032 finish_cmds=$lt_finish_cmds
27034 # As "finish_cmds", except a single script fragment to be evaled but
27036 finish_eval=$lt_finish_eval
27038 # Whether we should hardcode library paths into libraries.
27039 hardcode_into_libs=$hardcode_into_libs
27041 # Compile-time system search path for libraries.
27042 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27044 # Run-time system search path for libraries.
27045 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27047 # Whether dlopen is supported.
27048 dlopen_support=$enable_dlopen
27050 # Whether dlopen of programs is supported.
27051 dlopen_self=$enable_dlopen_self
27053 # Whether dlopen of statically linked programs is supported.
27054 dlopen_self_static=$enable_dlopen_self_static
27056 # Commands to strip libraries.
27057 old_striplib=$lt_old_striplib
27058 striplib=$lt_striplib
27061 # The linker used to build libraries.
27064 # How to create reloadable object files.
27065 reload_flag=$lt_reload_flag
27066 reload_cmds=$lt_reload_cmds
27068 # Commands used to build an old-style archive.
27069 old_archive_cmds=$lt_old_archive_cmds
27071 # A language specific compiler.
27074 # Is the compiler the GNU compiler?
27077 # Compiler flag to turn off builtin functions.
27078 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27080 # How to pass a linker flag through the compiler.
27081 wl=$lt_lt_prog_compiler_wl
27083 # Additional compiler flags for building library objects.
27084 pic_flag=$lt_lt_prog_compiler_pic
27086 # Compiler flag to prevent dynamic linking.
27087 link_static_flag=$lt_lt_prog_compiler_static
27089 # Does compiler simultaneously support -c and -o options?
27090 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27092 # Whether or not to add -lc for building shared libraries.
27093 build_libtool_need_lc=$archive_cmds_need_lc
27095 # Whether or not to disallow shared libs when runtime libs are static.
27096 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27098 # Compiler flag to allow reflexive dlopens.
27099 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27101 # Compiler flag to generate shared objects directly from archives.
27102 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27104 # Whether the compiler copes with passing no objects directly.
27105 compiler_needs_object=$lt_compiler_needs_object
27107 # Create an old-style archive from a shared archive.
27108 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27110 # Create a temporary old-style archive to link instead of a shared archive.
27111 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27113 # Commands used to build a shared archive.
27114 archive_cmds=$lt_archive_cmds
27115 archive_expsym_cmds=$lt_archive_expsym_cmds
27117 # Commands used to build a loadable module if different from building
27118 # a shared archive.
27119 module_cmds=$lt_module_cmds
27120 module_expsym_cmds=$lt_module_expsym_cmds
27122 # Whether we are building with GNU ld or not.
27123 with_gnu_ld=$lt_with_gnu_ld
27125 # Flag that allows shared libraries with undefined symbols to be built.
27126 allow_undefined_flag=$lt_allow_undefined_flag
27128 # Flag that enforces no undefined symbols.
27129 no_undefined_flag=$lt_no_undefined_flag
27131 # Flag to hardcode \$libdir into a binary during linking.
27132 # This must work even if \$libdir does not exist
27133 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27135 # If ld is used when linking, flag to hardcode \$libdir into a binary
27136 # during linking. This must work even if \$libdir does not exist.
27137 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27139 # Whether we need a single "-rpath" flag with a separated argument.
27140 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27142 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27143 # DIR into the resulting binary.
27144 hardcode_direct=$hardcode_direct
27146 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27147 # DIR into the resulting binary and the resulting library dependency is
27148 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27149 # library is relocated.
27150 hardcode_direct_absolute=$hardcode_direct_absolute
27152 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27153 # into the resulting binary.
27154 hardcode_minus_L=$hardcode_minus_L
27156 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27157 # into the resulting binary.
27158 hardcode_shlibpath_var=$hardcode_shlibpath_var
27160 # Set to "yes" if building a shared library automatically hardcodes DIR
27161 # into the library and all subsequent libraries and executables linked
27163 hardcode_automatic=$hardcode_automatic
27165 # Set to yes if linker adds runtime paths of dependent libraries
27166 # to runtime path list.
27167 inherit_rpath=$inherit_rpath
27169 # Whether libtool must link a program against all its dependency libraries.
27170 link_all_deplibs=$link_all_deplibs
27172 # Fix the shell variable \$srcfile for the compiler.
27173 fix_srcfile_path=$lt_fix_srcfile_path
27175 # Set to "yes" if exported symbols are required.
27176 always_export_symbols=$always_export_symbols
27178 # The commands to list exported symbols.
27179 export_symbols_cmds=$lt_export_symbols_cmds
27181 # Symbols that should not be listed in the preloaded symbols.
27182 exclude_expsyms=$lt_exclude_expsyms
27184 # Symbols that must always be exported.
27185 include_expsyms=$lt_include_expsyms
27187 # Commands necessary for linking programs (against libraries) with templates.
27188 prelink_cmds=$lt_prelink_cmds
27190 # Specify filename containing input files.
27191 file_list_spec=$lt_file_list_spec
27193 # How to hardcode a shared library path into an executable.
27194 hardcode_action=$hardcode_action
27196 # The directories searched by this compiler when creating a shared library.
27197 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27199 # Dependencies to place before and after the objects being linked to
27200 # create a shared library.
27201 predep_objects=$lt_predep_objects
27202 postdep_objects=$lt_postdep_objects
27203 predeps=$lt_predeps
27204 postdeps=$lt_postdeps
27206 # The library search path used internally by the compiler when linking
27207 # a shared library.
27208 compiler_lib_search_path=$lt_compiler_lib_search_path
27210 # ### END LIBTOOL CONFIG
27216 cat <<\_LT_EOF >> "$cfgfile"
27217 # AIX sometimes has problems with the GCC collect2 program. For some
27218 # reason, if we set the COLLECT_NAMES environment variable, the problems
27219 # vanish in a puff of smoke.
27220 if test "X${COLLECT_NAMES+set}" != Xset; then
27222 export COLLECT_NAMES
27229 ltmain="$ac_aux_dir/ltmain.sh"
27232 # We use sed instead of cat because bash on DJGPP gets confused if
27233 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27234 # text mode, it properly converts lines to CR/LF. This bash problem
27235 # is reportedly fixed, but why not run on old versions too?
27236 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27237 || (rm -f "$cfgfile"; exit 1)
27241 cat << \_LT_EOF >> "$cfgfile"
27243 # func_dirname file append nondir_replacement
27244 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27245 # otherwise set result to NONDIR_REPLACEMENT.
27249 */*) func_dirname_result="${1%/*}${2}" ;;
27250 * ) func_dirname_result="${3}" ;;
27254 # func_basename file
27257 func_basename_result="${1##*/}"
27260 # func_dirname_and_basename file append nondir_replacement
27261 # perform func_basename and func_dirname in a single function
27263 # dirname: Compute the dirname of FILE. If nonempty,
27264 # add APPEND to the result, otherwise set result
27265 # to NONDIR_REPLACEMENT.
27266 # value returned in "$func_dirname_result"
27267 # basename: Compute filename of FILE.
27268 # value retuned in "$func_basename_result"
27269 # Implementation must be kept synchronized with func_dirname
27270 # and func_basename. For efficiency, we do not delegate to
27271 # those functions but instead duplicate the functionality here.
27272 func_dirname_and_basename ()
27275 */*) func_dirname_result="${1%/*}${2}" ;;
27276 * ) func_dirname_result="${3}" ;;
27278 func_basename_result="${1##*/}"
27281 # func_stripname prefix suffix name
27282 # strip PREFIX and SUFFIX off of NAME.
27283 # PREFIX and SUFFIX must not contain globbing or regex special
27284 # characters, hashes, percent signs, but SUFFIX may contain a leading
27285 # dot (in which case that matches only a dot).
27288 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27289 # positional parameters, so assign one to ordinary parameter first.
27290 func_stripname_result=${3}
27291 func_stripname_result=${func_stripname_result#"${1}"}
27292 func_stripname_result=${func_stripname_result%"${2}"}
27298 func_opt_split_opt=${1%%=*}
27299 func_opt_split_arg=${1#*=}
27306 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27307 *) func_lo2o_result=${1} ;;
27311 # func_xform libobj-or-source
27314 func_xform_result=${1%.*}.lo
27317 # func_arith arithmetic-term...
27320 func_arith_result=$(( $* ))
27324 # STRING may not start with a hyphen.
27327 func_len_result=${#1}
27332 *) # Bourne compatible functions.
27333 cat << \_LT_EOF >> "$cfgfile"
27335 # func_dirname file append nondir_replacement
27336 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27337 # otherwise set result to NONDIR_REPLACEMENT.
27340 # Extract subdirectory from the argument.
27341 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
27342 if test "X$func_dirname_result" = "X${1}"; then
27343 func_dirname_result="${3}"
27345 func_dirname_result="$func_dirname_result${2}"
27349 # func_basename file
27352 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
27356 # func_stripname prefix suffix name
27357 # strip PREFIX and SUFFIX off of NAME.
27358 # PREFIX and SUFFIX must not contain globbing or regex special
27359 # characters, hashes, percent signs, but SUFFIX may contain a leading
27360 # dot (in which case that matches only a dot).
27361 # func_strip_suffix prefix name
27365 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27366 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27371 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27372 my_sed_long_arg='1s/^-[^=]*=//'
27377 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27378 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27384 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
27387 # func_xform libobj-or-source
27390 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27393 # func_arith arithmetic-term...
27396 func_arith_result=`expr "$@"`
27400 # STRING may not start with a hyphen.
27403 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27409 case $lt_shell_append in
27411 cat << \_LT_EOF >> "$cfgfile"
27413 # func_append var value
27414 # Append VALUE to the end of shell variable VAR.
27422 cat << \_LT_EOF >> "$cfgfile"
27424 # func_append var value
27425 # Append VALUE to the end of shell variable VAR.
27436 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27437 || (rm -f "$cfgfile"; exit 1)
27439 mv -f "$cfgfile" "$ofile" ||
27440 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27444 cat <<_LT_EOF >> "$ofile"
27446 # ### BEGIN LIBTOOL TAG CONFIG: FC
27448 # The linker used to build libraries.
27451 # How to create reloadable object files.
27452 reload_flag=$lt_reload_flag_FC
27453 reload_cmds=$lt_reload_cmds_FC
27455 # Commands used to build an old-style archive.
27456 old_archive_cmds=$lt_old_archive_cmds_FC
27458 # A language specific compiler.
27461 # Is the compiler the GNU compiler?
27464 # Compiler flag to turn off builtin functions.
27465 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27467 # How to pass a linker flag through the compiler.
27468 wl=$lt_lt_prog_compiler_wl_FC
27470 # Additional compiler flags for building library objects.
27471 pic_flag=$lt_lt_prog_compiler_pic_FC
27473 # Compiler flag to prevent dynamic linking.
27474 link_static_flag=$lt_lt_prog_compiler_static_FC
27476 # Does compiler simultaneously support -c and -o options?
27477 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27479 # Whether or not to add -lc for building shared libraries.
27480 build_libtool_need_lc=$archive_cmds_need_lc_FC
27482 # Whether or not to disallow shared libs when runtime libs are static.
27483 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27485 # Compiler flag to allow reflexive dlopens.
27486 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27488 # Compiler flag to generate shared objects directly from archives.
27489 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27491 # Whether the compiler copes with passing no objects directly.
27492 compiler_needs_object=$lt_compiler_needs_object_FC
27494 # Create an old-style archive from a shared archive.
27495 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27497 # Create a temporary old-style archive to link instead of a shared archive.
27498 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27500 # Commands used to build a shared archive.
27501 archive_cmds=$lt_archive_cmds_FC
27502 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27504 # Commands used to build a loadable module if different from building
27505 # a shared archive.
27506 module_cmds=$lt_module_cmds_FC
27507 module_expsym_cmds=$lt_module_expsym_cmds_FC
27509 # Whether we are building with GNU ld or not.
27510 with_gnu_ld=$lt_with_gnu_ld_FC
27512 # Flag that allows shared libraries with undefined symbols to be built.
27513 allow_undefined_flag=$lt_allow_undefined_flag_FC
27515 # Flag that enforces no undefined symbols.
27516 no_undefined_flag=$lt_no_undefined_flag_FC
27518 # Flag to hardcode \$libdir into a binary during linking.
27519 # This must work even if \$libdir does not exist
27520 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27522 # If ld is used when linking, flag to hardcode \$libdir into a binary
27523 # during linking. This must work even if \$libdir does not exist.
27524 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27526 # Whether we need a single "-rpath" flag with a separated argument.
27527 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27529 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27530 # DIR into the resulting binary.
27531 hardcode_direct=$hardcode_direct_FC
27533 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27534 # DIR into the resulting binary and the resulting library dependency is
27535 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27536 # library is relocated.
27537 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27539 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27540 # into the resulting binary.
27541 hardcode_minus_L=$hardcode_minus_L_FC
27543 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27544 # into the resulting binary.
27545 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27547 # Set to "yes" if building a shared library automatically hardcodes DIR
27548 # into the library and all subsequent libraries and executables linked
27550 hardcode_automatic=$hardcode_automatic_FC
27552 # Set to yes if linker adds runtime paths of dependent libraries
27553 # to runtime path list.
27554 inherit_rpath=$inherit_rpath_FC
27556 # Whether libtool must link a program against all its dependency libraries.
27557 link_all_deplibs=$link_all_deplibs_FC
27559 # Fix the shell variable \$srcfile for the compiler.
27560 fix_srcfile_path=$lt_fix_srcfile_path_FC
27562 # Set to "yes" if exported symbols are required.
27563 always_export_symbols=$always_export_symbols_FC
27565 # The commands to list exported symbols.
27566 export_symbols_cmds=$lt_export_symbols_cmds_FC
27568 # Symbols that should not be listed in the preloaded symbols.
27569 exclude_expsyms=$lt_exclude_expsyms_FC
27571 # Symbols that must always be exported.
27572 include_expsyms=$lt_include_expsyms_FC
27574 # Commands necessary for linking programs (against libraries) with templates.
27575 prelink_cmds=$lt_prelink_cmds_FC
27577 # Specify filename containing input files.
27578 file_list_spec=$lt_file_list_spec_FC
27580 # How to hardcode a shared library path into an executable.
27581 hardcode_action=$hardcode_action_FC
27583 # The directories searched by this compiler when creating a shared library.
27584 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27586 # Dependencies to place before and after the objects being linked to
27587 # create a shared library.
27588 predep_objects=$lt_predep_objects_FC
27589 postdep_objects=$lt_postdep_objects_FC
27590 predeps=$lt_predeps_FC
27591 postdeps=$lt_postdeps_FC
27593 # The library search path used internally by the compiler when linking
27594 # a shared library.
27595 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27597 # ### END LIBTOOL TAG CONFIG: FC
27602 if test "$GCC" = yes; then
27603 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27605 echo "/* generated for $CC */" > tmp-stdint.h
27608 sed 's/^ *//' >> tmp-stdint.h <<EOF
27610 #ifndef GCC_GENERATED_STDINT_H
27611 #define GCC_GENERATED_STDINT_H 1
27613 #include <sys/types.h>
27616 if test "$acx_cv_header_stdint" != stdint.h; then
27617 echo "#include <stddef.h>" >> tmp-stdint.h
27619 if test "$acx_cv_header_stdint" != stddef.h; then
27620 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27623 sed 's/^ *//' >> tmp-stdint.h <<EOF
27624 /* glibc uses these symbols as guards to prevent redefinitions. */
27625 #ifdef __int8_t_defined
27630 #ifdef __uint32_t_defined
27636 # ----------------- done header, emit basic int types -------------
27637 if test "$acx_cv_header_stdint" = stddef.h; then
27638 sed 's/^ *//' >> tmp-stdint.h <<EOF
27642 #ifndef __uint8_t_defined
27643 #define __uint8_t_defined
27645 typedef unsigned $acx_cv_type_int8_t uint8_t;
27652 #ifndef __uint16_t_defined
27653 #define __uint16_t_defined
27655 typedef unsigned $acx_cv_type_int16_t uint16_t;
27662 #ifndef __uint32_t_defined
27663 #define __uint32_t_defined
27665 typedef unsigned $acx_cv_type_int32_t uint32_t;
27672 #ifndef __int8_t_defined
27673 #define __int8_t_defined
27675 typedef $acx_cv_type_int8_t int8_t;
27682 #ifndef __int16_t_defined
27683 #define __int16_t_defined
27685 typedef $acx_cv_type_int16_t int16_t;
27692 #ifndef __int32_t_defined
27693 #define __int32_t_defined
27695 typedef $acx_cv_type_int32_t int32_t;
27700 elif test "$ac_cv_type_u_int32_t" = yes; then
27701 sed 's/^ *//' >> tmp-stdint.h <<EOF
27703 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27716 #ifndef __uint8_t_defined
27717 #define __uint8_t_defined
27719 typedef u_int8_t uint8_t;
27726 #ifndef __uint16_t_defined
27727 #define __uint16_t_defined
27729 typedef u_int16_t uint16_t;
27736 #ifndef __uint32_t_defined
27737 #define __uint32_t_defined
27739 typedef u_int32_t uint32_t;
27745 sed 's/^ *//' >> tmp-stdint.h <<EOF
27747 /* Some systems have guard macros to prevent redefinitions, define them. */
27769 # ------------- done basic int types, emit int64_t types ------------
27770 if test "$ac_cv_type_uint64_t" = yes; then
27771 sed 's/^ *//' >> tmp-stdint.h <<EOF
27773 /* system headers have good uint64_t and int64_t */
27781 elif test "$ac_cv_type_u_int64_t" = yes; then
27782 sed 's/^ *//' >> tmp-stdint.h <<EOF
27784 /* system headers have an u_int64_t (and int64_t) */
27790 #ifndef __uint64_t_defined
27791 #define __uint64_t_defined
27793 typedef u_int64_t uint64_t;
27798 elif test -n "$acx_cv_type_int64_t"; then
27799 sed 's/^ *//' >> tmp-stdint.h <<EOF
27801 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27805 typedef $acx_cv_type_int64_t int64_t;
27810 #ifndef __uint64_t_defined
27811 #define __uint64_t_defined
27813 typedef unsigned $acx_cv_type_int64_t uint64_t;
27819 sed 's/^ *//' >> tmp-stdint.h <<EOF
27821 /* some common heuristics for int64_t, using compiler-specific tests */
27822 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27825 #ifndef __int64_t_defined
27827 typedef long long int64_t;
27834 typedef unsigned long long uint64_t;
27838 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27839 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27840 does not implement __extension__. But that compiler doesn't define
27842 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27843 # define __extension__
27849 __extension__ typedef long long int64_t;
27855 __extension__ typedef unsigned long long uint64_t;
27859 #elif !defined __STRICT_ANSI__
27860 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27865 typedef __int64 int64_t;
27871 typedef unsigned __int64 uint64_t;
27874 # endif /* compiler */
27876 #endif /* ANSI version */
27880 # ------------- done int64_t types, emit intptr types ------------
27881 if test "$ac_cv_type_uintptr_t" != yes; then
27882 sed 's/^ *//' >> tmp-stdint.h <<EOF
27884 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27885 #ifndef __uintptr_t_defined
27887 typedef u$acx_cv_type_intptr_t uintptr_t;
27890 #ifndef __intptr_t_defined
27892 typedef $acx_cv_type_intptr_t intptr_t;
27898 # ------------- done intptr types, emit int_least types ------------
27899 if test "$ac_cv_type_int_least32_t" != yes; then
27900 sed 's/^ *//' >> tmp-stdint.h <<EOF
27902 /* Define int_least types */
27903 typedef int8_t int_least8_t;
27904 typedef int16_t int_least16_t;
27905 typedef int32_t int_least32_t;
27907 typedef int64_t int_least64_t;
27910 typedef uint8_t uint_least8_t;
27911 typedef uint16_t uint_least16_t;
27912 typedef uint32_t uint_least32_t;
27914 typedef uint64_t uint_least64_t;
27919 # ------------- done intptr types, emit int_fast types ------------
27920 if test "$ac_cv_type_int_fast32_t" != yes; then
27921 sed 's/^ *//' >> tmp-stdint.h <<EOF
27923 /* Define int_fast types. short is often slow */
27924 typedef int8_t int_fast8_t;
27925 typedef int int_fast16_t;
27926 typedef int32_t int_fast32_t;
27928 typedef int64_t int_fast64_t;
27931 typedef uint8_t uint_fast8_t;
27932 typedef unsigned int uint_fast16_t;
27933 typedef uint32_t uint_fast32_t;
27935 typedef uint64_t uint_fast64_t;
27940 if test "$ac_cv_type_uintmax_t" != yes; then
27941 sed 's/^ *//' >> tmp-stdint.h <<EOF
27943 /* Define intmax based on what we found */
27946 typedef int64_t intmax_t;
27948 typedef long intmax_t;
27953 typedef uint64_t uintmax_t;
27955 typedef unsigned long uintmax_t;
27961 sed 's/^ *//' >> tmp-stdint.h <<EOF
27963 #endif /* GCC_GENERATED_STDINT_H */
27966 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
27969 mv -f tmp-stdint.h gstdint.h
27980 ac_clean_files=$ac_clean_files_save
27982 test $ac_write_fail = 0 ||
27983 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
27986 # configure is writing to config.log, and then calls config.status.
27987 # config.status does its own redirection, appending to config.log.
27988 # Unfortunately, on DOS this fails, as config.log is still kept open
27989 # by configure, so config.status won't be able to write to it; its
27990 # output is simply discarded. So we exec the FD to /dev/null,
27991 # effectively closing config.log, so it can be properly (re)opened and
27992 # appended to by config.status. When coming back to configure, we
27993 # need to make the FD available again.
27994 if test "$no_create" != yes; then
27996 ac_config_status_args=
27997 test "$silent" = yes &&
27998 ac_config_status_args="$ac_config_status_args --quiet"
28000 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28002 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28003 # would make configure fail if this is the last instruction.
28004 $ac_cs_success || as_fn_exit $?
28006 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28008 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}